ArmLabServicesModelFactory.LabVirtualMachineData 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.
Initializes a new instance of LabVirtualMachineData.
public static Azure.ResourceManager.LabServices.LabVirtualMachineData LabVirtualMachineData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, Azure.ResourceManager.LabServices.Models.LabServicesProvisioningState? provisioningState = default, Azure.ResourceManager.LabServices.Models.LabVirtualMachineState? state = default, Azure.ResourceManager.LabServices.Models.LabVirtualMachineConnectionProfile connectionProfile = default, string claimedByUserId = default, Azure.ResourceManager.LabServices.Models.LabVirtualMachineType? vmType = default);
static member LabVirtualMachineData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Nullable<Azure.ResourceManager.LabServices.Models.LabServicesProvisioningState> * Nullable<Azure.ResourceManager.LabServices.Models.LabVirtualMachineState> * Azure.ResourceManager.LabServices.Models.LabVirtualMachineConnectionProfile * string * Nullable<Azure.ResourceManager.LabServices.Models.LabVirtualMachineType> -> Azure.ResourceManager.LabServices.LabVirtualMachineData
Public Shared Function LabVirtualMachineData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional provisioningState As Nullable(Of LabServicesProvisioningState) = Nothing, Optional state As Nullable(Of LabVirtualMachineState) = Nothing, Optional connectionProfile As LabVirtualMachineConnectionProfile = Nothing, Optional claimedByUserId As String = Nothing, Optional vmType As Nullable(Of LabVirtualMachineType) = Nothing) As LabVirtualMachineData
Parameters
The id.
- name
- String
The name.
- resourceType
- ResourceType
The resourceType.
- systemData
- SystemData
The systemData.
- provisioningState
- Nullable<LabServicesProvisioningState>
Current provisioning state of the virtual machine.
- state
- Nullable<LabVirtualMachineState>
The current state of the virtual machine.
- connectionProfile
- LabVirtualMachineConnectionProfile
Profile for information about connecting to the virtual machine.
- claimedByUserId
- String
The lab user ID (not the PUID!) of who claimed the virtual machine.
- vmType
- Nullable<LabVirtualMachineType>
The type of this VM resource.
Returns
A new LabVirtualMachineData instance for mocking.
Applies to
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
Azure SDK for .NET