InfrastructureProfile Class

  • java.lang.Object
    • com.azure.resourcemanager.scvmm.models.InfrastructureProfile

Implements

public final class InfrastructureProfile
implements JsonSerializable<InfrastructureProfile>

Specifies the vmmServer infrastructure specific settings for the virtual machine instance.

Constructor Summary

Constructor Description
InfrastructureProfile()

Creates an instance of InfrastructureProfile class.

Method Summary

Modifier and Type Method and Description
String biosGuid()

Get the biosGuid property: Gets or sets the bios guid for the vm.

List<Checkpoint> checkpoints()

Get the checkpoints property: Checkpoints in the vm.

String checkpointType()

Get the checkpointType property: Type of checkpoint supported for the vm.

String cloudId()

Get the cloudId property: ARM Id of the cloud resource to use for deploying the vm.

static InfrastructureProfile fromJson(JsonReader jsonReader)

Reads an instance of InfrastructureProfile from the JsonReader.

Integer generation()

Get the generation property: Gets or sets the generation for the vm.

String inventoryItemId()

Get the inventoryItemId property: Gets or sets the inventory Item ID for the resource.

Checkpoint lastRestoredVmCheckpoint()

Get the lastRestoredVmCheckpoint property: Last restored checkpoint in the vm.

String templateId()

Get the templateId property: ARM Id of the template resource to use for deploying the vm.

JsonWriter toJson(JsonWriter jsonWriter)
String uuid()

Get the uuid property: Unique ID of the virtual machine.

void validate()

Validates the instance.

String vmmServerId()

Get the vmmServerId property: ARM Id of the vmmServer resource in which this resource resides.

String vmName()

Get the vmName property: VMName is the name of VM on the SCVmm server.

InfrastructureProfile withBiosGuid(String biosGuid)

Set the biosGuid property: Gets or sets the bios guid for the vm.

InfrastructureProfile withCheckpointType(String checkpointType)

Set the checkpointType property: Type of checkpoint supported for the vm.

InfrastructureProfile withCloudId(String cloudId)

Set the cloudId property: ARM Id of the cloud resource to use for deploying the vm.

InfrastructureProfile withGeneration(Integer generation)

Set the generation property: Gets or sets the generation for the vm.

InfrastructureProfile withInventoryItemId(String inventoryItemId)

Set the inventoryItemId property: Gets or sets the inventory Item ID for the resource.

InfrastructureProfile withTemplateId(String templateId)

Set the templateId property: ARM Id of the template resource to use for deploying the vm.

InfrastructureProfile withUuid(String uuid)

Set the uuid property: Unique ID of the virtual machine.

InfrastructureProfile withVmmServerId(String vmmServerId)

Set the vmmServerId property: ARM Id of the vmmServer resource in which this resource resides.

InfrastructureProfile withVmName(String vmName)

Set the vmName property: VMName is the name of VM on the SCVmm server.

Methods inherited from java.lang.Object

Constructor Details

InfrastructureProfile

public InfrastructureProfile()

Creates an instance of InfrastructureProfile class.

Method Details

biosGuid

public String biosGuid()

Get the biosGuid property: Gets or sets the bios guid for the vm.

Returns:

the biosGuid value.

checkpoints

public List<Checkpoint> checkpoints()

Get the checkpoints property: Checkpoints in the vm.

Returns:

the checkpoints value.

checkpointType

public String checkpointType()

Get the checkpointType property: Type of checkpoint supported for the vm.

Returns:

the checkpointType value.

cloudId

public String cloudId()

Get the cloudId property: ARM Id of the cloud resource to use for deploying the vm.

Returns:

the cloudId value.

fromJson

public static InfrastructureProfile fromJson(JsonReader jsonReader)

Reads an instance of InfrastructureProfile from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of InfrastructureProfile if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the InfrastructureProfile.

generation

public Integer generation()

Get the generation property: Gets or sets the generation for the vm.

Returns:

the generation value.

inventoryItemId

public String inventoryItemId()

Get the inventoryItemId property: Gets or sets the inventory Item ID for the resource.

Returns:

the inventoryItemId value.

lastRestoredVmCheckpoint

public Checkpoint lastRestoredVmCheckpoint()

Get the lastRestoredVmCheckpoint property: Last restored checkpoint in the vm.

Returns:

the lastRestoredVmCheckpoint value.

templateId

public String templateId()

Get the templateId property: ARM Id of the template resource to use for deploying the vm.

Returns:

the templateId value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

uuid

public String uuid()

Get the uuid property: Unique ID of the virtual machine.

Returns:

the uuid value.

validate

public void validate()

Validates the instance.

vmmServerId

public String vmmServerId()

Get the vmmServerId property: ARM Id of the vmmServer resource in which this resource resides.

Returns:

the vmmServerId value.

vmName

public String vmName()

Get the vmName property: VMName is the name of VM on the SCVmm server.

Returns:

the vmName value.

withBiosGuid

public InfrastructureProfile withBiosGuid(String biosGuid)

Set the biosGuid property: Gets or sets the bios guid for the vm.

Parameters:

biosGuid - the biosGuid value to set.

Returns:

the InfrastructureProfile object itself.

withCheckpointType

public InfrastructureProfile withCheckpointType(String checkpointType)

Set the checkpointType property: Type of checkpoint supported for the vm.

Parameters:

checkpointType - the checkpointType value to set.

Returns:

the InfrastructureProfile object itself.

withCloudId

public InfrastructureProfile withCloudId(String cloudId)

Set the cloudId property: ARM Id of the cloud resource to use for deploying the vm.

Parameters:

cloudId - the cloudId value to set.

Returns:

the InfrastructureProfile object itself.

withGeneration

public InfrastructureProfile withGeneration(Integer generation)

Set the generation property: Gets or sets the generation for the vm.

Parameters:

generation - the generation value to set.

Returns:

the InfrastructureProfile object itself.

withInventoryItemId

public InfrastructureProfile withInventoryItemId(String inventoryItemId)

Set the inventoryItemId property: Gets or sets the inventory Item ID for the resource.

Parameters:

inventoryItemId - the inventoryItemId value to set.

Returns:

the InfrastructureProfile object itself.

withTemplateId

public InfrastructureProfile withTemplateId(String templateId)

Set the templateId property: ARM Id of the template resource to use for deploying the vm.

Parameters:

templateId - the templateId value to set.

Returns:

the InfrastructureProfile object itself.

withUuid

public InfrastructureProfile withUuid(String uuid)

Set the uuid property: Unique ID of the virtual machine.

Parameters:

uuid - the uuid value to set.

Returns:

the InfrastructureProfile object itself.

withVmmServerId

public InfrastructureProfile withVmmServerId(String vmmServerId)

Set the vmmServerId property: ARM Id of the vmmServer resource in which this resource resides.

Parameters:

vmmServerId - the vmmServerId value to set.

Returns:

the InfrastructureProfile object itself.

withVmName

public InfrastructureProfile withVmName(String vmName)

Set the vmName property: VMName is the name of VM on the SCVmm server.

Parameters:

vmName - the vmName value to set.

Returns:

the InfrastructureProfile object itself.

Applies to