你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

SetAzureVMExtensionBaseCmdlet.Name Property

Definition

[Microsoft.Azure.Commands.ResourceManager.Common.ArgumentCompleters.ResourceNameCompleter("Microsoft.Compute/virtualMachines/extensions", new System.String[] { "ResourceGroupName", "VMName" })]
[System.Management.Automation.Alias(new System.String[] { "ExtensionName" })]
[System.Management.Automation.Parameter(HelpMessage="The extension name.", Mandatory=true, ValueFromPipelineByPropertyName=true)]
[System.Management.Automation.ValidateNotNullOrEmpty]
public string Name { get; set; }
[System.Management.Automation.Alias(new System.String[] { "ExtensionName" })]
[System.Management.Automation.ValidateNotNullOrEmpty]
[System.Management.Automation.Parameter(HelpMessage="The extension name.", Mandatory=false, ValueFromPipelineByPropertyName=true)]
public string Name { get; set; }
[<Microsoft.Azure.Commands.ResourceManager.Common.ArgumentCompleters.ResourceNameCompleter("Microsoft.Compute/virtualMachines/extensions", new System.String[] { "ResourceGroupName", "VMName" })>]
[<System.Management.Automation.Alias(new System.String[] { "ExtensionName" })>]
[<System.Management.Automation.Parameter(HelpMessage="The extension name.", Mandatory=true, ValueFromPipelineByPropertyName=true)>]
[<System.Management.Automation.ValidateNotNullOrEmpty>]
member this.Name : string with get, set
[<System.Management.Automation.Alias(new System.String[] { "ExtensionName" })>]
[<System.Management.Automation.ValidateNotNullOrEmpty>]
[<System.Management.Automation.Parameter(HelpMessage="The extension name.", Mandatory=false, ValueFromPipelineByPropertyName=true)>]
member this.Name : string with get, set
Public Property Name As String

Property Value

Attributes

Applies to