共用方式為


ArmScVmmModelFactory.ScVmmInfrastructureProfile Method

Definition

Initializes a new instance of ScVmmInfrastructureProfile.

public static Azure.ResourceManager.ScVmm.Models.ScVmmInfrastructureProfile ScVmmInfrastructureProfile (string inventoryItemId = default, Azure.Core.ResourceIdentifier vmmServerId = default, Azure.Core.ResourceIdentifier cloudId = default, Azure.Core.ResourceIdentifier templateId = default, string vmName = default, string uuid = default, Azure.ResourceManager.ScVmm.Models.ScVmmCheckpoint lastRestoredVmCheckpoint = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.ScVmm.Models.ScVmmCheckpoint> checkpoints = default, string checkpointType = default, int? generation = default, string biosGuid = default);
static member ScVmmInfrastructureProfile : string * Azure.Core.ResourceIdentifier * Azure.Core.ResourceIdentifier * Azure.Core.ResourceIdentifier * string * string * Azure.ResourceManager.ScVmm.Models.ScVmmCheckpoint * seq<Azure.ResourceManager.ScVmm.Models.ScVmmCheckpoint> * string * Nullable<int> * string -> Azure.ResourceManager.ScVmm.Models.ScVmmInfrastructureProfile
Public Shared Function ScVmmInfrastructureProfile (Optional inventoryItemId As String = Nothing, Optional vmmServerId As ResourceIdentifier = Nothing, Optional cloudId As ResourceIdentifier = Nothing, Optional templateId As ResourceIdentifier = Nothing, Optional vmName As String = Nothing, Optional uuid As String = Nothing, Optional lastRestoredVmCheckpoint As ScVmmCheckpoint = Nothing, Optional checkpoints As IEnumerable(Of ScVmmCheckpoint) = Nothing, Optional checkpointType As String = Nothing, Optional generation As Nullable(Of Integer) = Nothing, Optional biosGuid As String = Nothing) As ScVmmInfrastructureProfile

Parameters

inventoryItemId
String

Gets or sets the inventory Item ID for the resource.

vmmServerId
ResourceIdentifier

ARM Id of the vmmServer resource in which this resource resides.

cloudId
ResourceIdentifier

ARM Id of the cloud resource to use for deploying the vm.

templateId
ResourceIdentifier

ARM Id of the template resource to use for deploying the vm.

vmName
String

VMName is the name of VM on the SCVMM server.

uuid
String

Unique ID of the virtual machine.

lastRestoredVmCheckpoint
ScVmmCheckpoint

Last restored checkpoint in the vm.

checkpoints
IEnumerable<ScVmmCheckpoint>

Checkpoints in the vm.

checkpointType
String

Type of checkpoint supported for the vm.

generation
Nullable<Int32>

Gets or sets the generation for the vm.

biosGuid
String

Gets or sets the bios guid for the vm.

Returns

A new ScVmmInfrastructureProfile instance for mocking.

Applies to