SetAzureVMExtensionBaseCmdlet.VMName Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
[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