다음을 통해 공유


VirtualMachineActionBaseCmdlet.Id Property

Definition

[Microsoft.Azure.Commands.ResourceManager.Common.ArgumentCompleters.ResourceIdCompleter("Microsoft.Compute/virtualMachines")]
[System.Management.Automation.Parameter(HelpMessage="The ID of the virtual machine.", Mandatory=true, ParameterSetName="IdParameterSetName", Position=0, ValueFromPipelineByPropertyName=true)]
[System.Management.Automation.ValidateNotNullOrEmpty]
public string Id { get; set; }
[System.Management.Automation.ValidateNotNullOrEmpty]
[System.Management.Automation.Parameter(HelpMessage="The resource group name.", Mandatory=true, ParameterSetName="IdParameterSetName", Position=0, ValueFromPipelineByPropertyName=true)]
public string Id { get; set; }
[<Microsoft.Azure.Commands.ResourceManager.Common.ArgumentCompleters.ResourceIdCompleter("Microsoft.Compute/virtualMachines")>]
[<System.Management.Automation.Parameter(HelpMessage="The ID of the virtual machine.", Mandatory=true, ParameterSetName="IdParameterSetName", Position=0, ValueFromPipelineByPropertyName=true)>]
[<System.Management.Automation.ValidateNotNullOrEmpty>]
member this.Id : string with get, set
[<System.Management.Automation.ValidateNotNullOrEmpty>]
[<System.Management.Automation.Parameter(HelpMessage="The resource group name.", Mandatory=true, ParameterSetName="IdParameterSetName", Position=0, ValueFromPipelineByPropertyName=true)>]
member this.Id : string with get, set
Public Property Id As String

Property Value

Attributes

Applies to