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

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