added new approved Build and Deploy verbs (#4725)

- Added Build and Deploy verbs, updated suggestions
- Reorganized verbs to be in alphabetical order making it easier to compare against https://msdn.microsoft.com/en-us/library/ms714428(VS.85).aspx
This commit is contained in:
Steve Lee 2017-09-01 17:41:07 -07:00 committed by Dongbo Wang
parent 803395b959
commit 2f34009328

View file

@ -71,6 +71,11 @@ namespace System.Management.Automation
/// </summary>
public const string Hide = "Hide";
/// <summary>
/// Combines resources into one resource
/// </summary>
public const string Join = "Join";
/// <summary>
/// Lock a resource.
/// </summary>
@ -107,6 +112,11 @@ namespace System.Management.Automation
/// </summary>
public const string Pop = "Pop";
/// <summary>
/// Act on a resource again.
/// </summary>
public const string Redo = "Redo";
/// <summary>
/// Remove a resource from a container
/// </summary>
@ -127,17 +137,22 @@ namespace System.Management.Automation
/// </summary>
public const string Resize = "Resize";
/// <summary>
/// Set the contents/object/properties/relations... of a resource
/// </summary>
public const string Set = "Set";
/// <summary>
/// Get a reference to a resource or summary information about a resource by looking in a specified collection.
/// Does not actually retrieve that resource.
/// </summary>
public const string Search = "Search";
/// <summary>
/// To take as a choice from among several; pick out
/// </summary>
public const string Select = "Select";
/// <summary>
/// Set the contents/object/properties/relations... of a resource
/// </summary>
public const string Set = "Set";
/// <summary>
/// Makes visible, or displays information. Combines get, format, and out verbs.
/// </summary>
@ -148,36 +163,21 @@ namespace System.Management.Automation
/// </summary>
public const string Skip = "Skip";
/// <summary>
/// Move to the next point or resource
/// </summary>
public const string Step = "Step";
/// <summary>
/// Join - to unite so as to form one unit
/// </summary>
public const string Join = "Join";
/// <summary>
/// Act on a resource again.
/// </summary>
public const string Redo = "Redo";
/// <summary>
/// Split an object into portions. parts or fragments
/// </summary>
public const string Split = "Split";
/// <summary>
/// Move to the next point or resource
/// </summary>
public const string Step = "Step";
/// <summary>
///
/// </summary>
public const string Switch = "Switch";
/// <summary>
/// To take as a choice from among several; pick out
/// </summary>
public const string Select = "Select";
/// <summary>
/// Reverse an action or process.
/// </summary>
@ -240,6 +240,11 @@ namespace System.Management.Automation
/// </summary>
public const string ConvertTo = "ConvertTo";
/// <summary>
/// To dismount - to get off. To detach.
/// </summary>
public const string Dismount = "Dismount";
/// <summary>
/// Performs an in-place modification of a resource.
/// </summary>
@ -280,6 +285,16 @@ namespace System.Management.Automation
/// </summary>
public const string Merge = "Merge";
/// <summary>
/// To mount - to attache a named entity to a hierarchy at the pathname location. To set in position.
/// </summary>
public const string Mount = "Mount";
/// <summary>
/// Out - direct to a port. Output something to a port.
/// </summary>
public const string Out = "Out";
/// <summary>
/// Make known and accessible to another
/// </summary>
@ -310,21 +325,6 @@ namespace System.Management.Automation
/// Update a resource with new elements or refresh from a source of truth
/// </summary>
public const string Update = "Update";
/// <summary>
/// To mount - to attache a named entity to a hierarchy at the pathname location. To set in position.
/// </summary>
public const string Mount = "Mount";
/// <summary>
/// To dismount - to get off. To detach.
/// </summary>
public const string Dismount = "Dismount";
/// <summary>
/// Out - direct to a port. Output something to a port.
/// </summary>
public const string Out = "Out";
}//VerbsData
/// <summary>
@ -347,6 +347,11 @@ namespace System.Management.Automation
/// </summary>
public const string Assert = "Assert";
/// <summary>
/// Creates an artifact (usually a binary or document) out of some set of input files (usually source code or declarative documents)
/// </summary>
public const string Build = "Build";
/// <summary>
/// Finalize an interruptable activity. Makes pending changes permanent.
/// </summary>
@ -362,6 +367,11 @@ namespace System.Management.Automation
/// </summary>
public const string Deny = "Deny";
/// <summary>
/// Sends an application, website, or solution to a remote target[s] in such a way that a consumer of that solution can access it after deployment is complete.
/// </summary>
public const string Deploy = "Deploy";
/// <summary>
/// Stop and/or configure something to be unavailable (e.g unable to not start again)
/// </summary>
@ -498,16 +508,6 @@ namespace System.Management.Automation
/// </remarks>
public static class VerbsCommunications
{
/// <summary>
/// Convey by an intermediary to a destination
/// </summary>
public const string Send = "Send";
/// <summary>
/// Take or acquire from a source
/// </summary>
public const string Receive = "Receive";
/// <summary>
/// Associate subsequent activities with a resource
/// </summary>
@ -518,15 +518,25 @@ namespace System.Management.Automation
/// </summary>
public const string Disconnect = "Disconnect";
/// <summary>
/// TO write - communicate or express. Display data.
/// </summary>
public const string Write = "Write";
/// <summary>
/// To read - to obtain (data) from a storage medium or port
/// </summary>
public const string Read = "Read";
/// <summary>
/// Take or acquire from a source
/// </summary>
public const string Receive = "Receive";
/// <summary>
/// Convey by an intermediary to a destination
/// </summary>
public const string Send = "Send";
/// <summary>
/// TO write - communicate or express. Display data.
/// </summary>
public const string Write = "Write";
}//VerbsCommunications
/// <summary>
@ -539,35 +549,35 @@ namespace System.Management.Automation
/// </remarks>
public static class VerbsSecurity
{
/// <summary>
/// Prevent access to or usage of a resource.
/// </summary>
public const string Block = "Block";
/// <summary>
/// Gives access to a resource.
/// </summary>
public const string Grant = "Grant";
/// <summary>
/// Removes access to a resource.
/// </summary>
public const string Revoke = "Revoke";
/// <summary>
/// Guard a resource from attack or loss
/// </summary>
public const string Protect = "Protect";
/// <summary>
/// Remove guards from a resource that prevent it from attack or loss
/// Removes access to a resource.
/// </summary>
public const string Unprotect = "Unprotect";
/// <summary>
/// Prevent access to or usage of a resource.
/// </summary>
public const string Block = "Block";
public const string Revoke = "Revoke";
/// <summary>
/// Allow access to or usage of a resource.
/// </summary>
public const string Unblock = "Unblock";
/// <summary>
/// Remove guards from a resource that prevent it from attack or loss
/// </summary>
public const string Unprotect = "Unprotect";
}//VerbsSecurity
/// <summary>
@ -635,7 +645,6 @@ namespace System.Management.Automation
s_recommendedAlternateVerbs.Add("boot", new string[] { "Start" });
s_recommendedAlternateVerbs.Add("break", new string[] { "Disconnect" });
s_recommendedAlternateVerbs.Add("broadcast", new string[] { "Send" });
s_recommendedAlternateVerbs.Add("build", new string[] { "New" });
s_recommendedAlternateVerbs.Add("burn", new string[] { "Backup" });
s_recommendedAlternateVerbs.Add("calculate", new string[] { "Measure" });
s_recommendedAlternateVerbs.Add("cancel", new string[] { "Stop" });
@ -645,13 +654,13 @@ namespace System.Management.Automation
s_recommendedAlternateVerbs.Add("clone", new string[] { "Copy" });
s_recommendedAlternateVerbs.Add("combine", new string[] { "Join", "Merge" });
s_recommendedAlternateVerbs.Add("compact", new string[] { "Compress" });
s_recommendedAlternateVerbs.Add("compile", new string[] { "Build" });
s_recommendedAlternateVerbs.Add("concatenate", new string[] { "Add" });
s_recommendedAlternateVerbs.Add("configure", new string[] { "Set" });
s_recommendedAlternateVerbs.Add("create", new string[] { "New" });
s_recommendedAlternateVerbs.Add("cut", new string[] { "Remove" });
//recommendedAlternateVerbs.Add("debug", new string[] {"Ping"});
s_recommendedAlternateVerbs.Add("delete", new string[] { "Remove" });
s_recommendedAlternateVerbs.Add("deploy", new string[] { "Install", "Publish" });
s_recommendedAlternateVerbs.Add("detach", new string[] { "Dismount", "Remove" });
s_recommendedAlternateVerbs.Add("determine", new string[] { "Measure", "Resolve" });
s_recommendedAlternateVerbs.Add("diagnose", new string[] { "Debug", "Test" });