Compartilhar via


SetAzureVMExtensionBaseCmdlet.VMName Property

Definition

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

Property Value

Attributes

Applies to