AzureLargeInstanceProperties Class

  • java.lang.Object
    • com.azure.resourcemanager.largeinstance.models.AzureLargeInstanceProperties

Implements

public final class AzureLargeInstanceProperties
implements JsonSerializable<AzureLargeInstanceProperties>

Describes the properties of an Azure Large Instance.

Constructor Summary

Constructor Description
AzureLargeInstanceProperties()

Creates an instance of AzureLargeInstanceProperties class.

Method Summary

Modifier and Type Method and Description
String azureLargeInstanceId()

Get the azureLargeInstanceId property: Specifies the Azure Large Instance unique ID.

static AzureLargeInstanceProperties fromJson(JsonReader jsonReader)

Reads an instance of AzureLargeInstanceProperties from the JsonReader.

HardwareProfile hardwareProfile()

Get the hardwareProfile property: Specifies the hardware settings for the Azure Large Instance.

String hwRevision()

Get the hwRevision property: Hardware revision of an Azure Large Instance.

NetworkProfile networkProfile()

Get the networkProfile property: Specifies the network settings for the Azure Large Instance.

OsProfile osProfile()

Get the osProfile property: Specifies the operating system settings for the Azure Large Instance.

String partnerNodeId()

Get the partnerNodeId property: ARM ID of another AzureLargeInstance that will share a network with this AzureLargeInstance.

AzureLargeInstancePowerStateEnum powerState()

Get the powerState property: Resource power state.

AzureLargeInstanceProvisioningStatesEnum provisioningState()

Get the provisioningState property: State of provisioning of the AzureLargeInstance.

String proximityPlacementGroup()

Get the proximityPlacementGroup property: Resource proximity placement group.

StorageProfile storageProfile()

Get the storageProfile property: Specifies the storage settings for the Azure Large Instance disks.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

AzureLargeInstanceProperties withHardwareProfile(HardwareProfile hardwareProfile)

Set the hardwareProfile property: Specifies the hardware settings for the Azure Large Instance.

AzureLargeInstanceProperties withNetworkProfile(NetworkProfile networkProfile)

Set the networkProfile property: Specifies the network settings for the Azure Large Instance.

AzureLargeInstanceProperties withOsProfile(OsProfile osProfile)

Set the osProfile property: Specifies the operating system settings for the Azure Large Instance.

AzureLargeInstanceProperties withPartnerNodeId(String partnerNodeId)

Set the partnerNodeId property: ARM ID of another AzureLargeInstance that will share a network with this AzureLargeInstance.

AzureLargeInstanceProperties withStorageProfile(StorageProfile storageProfile)

Set the storageProfile property: Specifies the storage settings for the Azure Large Instance disks.

Methods inherited from java.lang.Object

Constructor Details

AzureLargeInstanceProperties

public AzureLargeInstanceProperties()

Creates an instance of AzureLargeInstanceProperties class.

Method Details

azureLargeInstanceId

public String azureLargeInstanceId()

Get the azureLargeInstanceId property: Specifies the Azure Large Instance unique ID.

Returns:

the azureLargeInstanceId value.

fromJson

public static AzureLargeInstanceProperties fromJson(JsonReader jsonReader)

Reads an instance of AzureLargeInstanceProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of AzureLargeInstanceProperties 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 AzureLargeInstanceProperties.

hardwareProfile

public HardwareProfile hardwareProfile()

Get the hardwareProfile property: Specifies the hardware settings for the Azure Large Instance.

Returns:

the hardwareProfile value.

hwRevision

public String hwRevision()

Get the hwRevision property: Hardware revision of an Azure Large Instance.

Returns:

the hwRevision value.

networkProfile

public NetworkProfile networkProfile()

Get the networkProfile property: Specifies the network settings for the Azure Large Instance.

Returns:

the networkProfile value.

osProfile

public OsProfile osProfile()

Get the osProfile property: Specifies the operating system settings for the Azure Large Instance.

Returns:

the osProfile value.

partnerNodeId

public String partnerNodeId()

Get the partnerNodeId property: ARM ID of another AzureLargeInstance that will share a network with this AzureLargeInstance.

Returns:

the partnerNodeId value.

powerState

public AzureLargeInstancePowerStateEnum powerState()

Get the powerState property: Resource power state.

Returns:

the powerState value.

provisioningState

public AzureLargeInstanceProvisioningStatesEnum provisioningState()

Get the provisioningState property: State of provisioning of the AzureLargeInstance.

Returns:

the provisioningState value.

proximityPlacementGroup

public String proximityPlacementGroup()

Get the proximityPlacementGroup property: Resource proximity placement group.

Returns:

the proximityPlacementGroup value.

storageProfile

public StorageProfile storageProfile()

Get the storageProfile property: Specifies the storage settings for the Azure Large Instance disks.

Returns:

the storageProfile value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withHardwareProfile

public AzureLargeInstanceProperties withHardwareProfile(HardwareProfile hardwareProfile)

Set the hardwareProfile property: Specifies the hardware settings for the Azure Large Instance.

Parameters:

hardwareProfile - the hardwareProfile value to set.

Returns:

the AzureLargeInstanceProperties object itself.

withNetworkProfile

public AzureLargeInstanceProperties withNetworkProfile(NetworkProfile networkProfile)

Set the networkProfile property: Specifies the network settings for the Azure Large Instance.

Parameters:

networkProfile - the networkProfile value to set.

Returns:

the AzureLargeInstanceProperties object itself.

withOsProfile

public AzureLargeInstanceProperties withOsProfile(OsProfile osProfile)

Set the osProfile property: Specifies the operating system settings for the Azure Large Instance.

Parameters:

osProfile - the osProfile value to set.

Returns:

the AzureLargeInstanceProperties object itself.

withPartnerNodeId

public AzureLargeInstanceProperties withPartnerNodeId(String partnerNodeId)

Set the partnerNodeId property: ARM ID of another AzureLargeInstance that will share a network with this AzureLargeInstance.

Parameters:

partnerNodeId - the partnerNodeId value to set.

Returns:

the AzureLargeInstanceProperties object itself.

withStorageProfile

public AzureLargeInstanceProperties withStorageProfile(StorageProfile storageProfile)

Set the storageProfile property: Specifies the storage settings for the Azure Large Instance disks.

Parameters:

storageProfile - the storageProfile value to set.

Returns:

the AzureLargeInstanceProperties object itself.

Applies to