VirtualMachineScaleSetVMsOperationsExtensions.Get Method
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.
Gets a virtual machine from a VM scale set.
public static Microsoft.Azure.Management.Compute.Models.VirtualMachineScaleSetVM Get (this Microsoft.Azure.Management.Compute.IVirtualMachineScaleSetVMsOperations operations, string resourceGroupName, string vmScaleSetName, string instanceId, Microsoft.Azure.Management.Compute.Models.InstanceViewTypes? expand = default);
static member Get : Microsoft.Azure.Management.Compute.IVirtualMachineScaleSetVMsOperations * string * string * string * Nullable<Microsoft.Azure.Management.Compute.Models.InstanceViewTypes> -> Microsoft.Azure.Management.Compute.Models.VirtualMachineScaleSetVM
<Extension()>
Public Function Get (operations As IVirtualMachineScaleSetVMsOperations, resourceGroupName As String, vmScaleSetName As String, instanceId As String, Optional expand As Nullable(Of InstanceViewTypes) = Nothing) As VirtualMachineScaleSetVM
Parameters
- operations
- IVirtualMachineScaleSetVMsOperations
The operations group for this extension method.
- resourceGroupName
- String
The name of the resource group.
- vmScaleSetName
- String
The name of the VM scale set.
- instanceId
- String
The instance ID of the virtual machine.
- expand
- Nullable<InstanceViewTypes>
The expand expression to apply on the operation. 'InstanceView' will retrieve the instance view of the virtual machine. 'UserData' will retrieve the UserData of the virtual machine. Possible values include: 'instanceView', 'userData'
Returns
Applies to
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應