GetAzureVMCommand.Name Property

Definition

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

Property Value

String
Attributes

Applies to