CloudProperties Class

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

Implements

public final class CloudProperties
implements JsonSerializable<CloudProperties>

Defines the resource properties.

Constructor Summary

Constructor Description
CloudProperties()

Creates an instance of CloudProperties class.

Method Summary

Modifier and Type Method and Description
CloudCapacity cloudCapacity()

Get the cloudCapacity property: Capacity of the cloud.

String cloudName()

Get the cloudName property: Name of the cloud in VmmServer.

static CloudProperties fromJson(JsonReader jsonReader)

Reads an instance of CloudProperties from the JsonReader.

String inventoryItemId()

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

ProvisioningState provisioningState()

Get the provisioningState property: Provisioning state of the resource.

List<StorageQosPolicy> storageQosPolicies()

Get the storageQosPolicies property: List of QoS policies available for the cloud.

JsonWriter toJson(JsonWriter jsonWriter)
String uuid()

Get the uuid property: Unique ID of the cloud.

void validate()

Validates the instance.

String vmmServerId()

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

CloudProperties withInventoryItemId(String inventoryItemId)

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

CloudProperties withUuid(String uuid)

Set the uuid property: Unique ID of the cloud.

CloudProperties withVmmServerId(String vmmServerId)

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

Methods inherited from java.lang.Object

Constructor Details

CloudProperties

public CloudProperties()

Creates an instance of CloudProperties class.

Method Details

cloudCapacity

public CloudCapacity cloudCapacity()

Get the cloudCapacity property: Capacity of the cloud.

Returns:

the cloudCapacity value.

cloudName

public String cloudName()

Get the cloudName property: Name of the cloud in VmmServer.

Returns:

the cloudName value.

fromJson

public static CloudProperties fromJson(JsonReader jsonReader)

Reads an instance of CloudProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

inventoryItemId

public String inventoryItemId()

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

Returns:

the inventoryItemId value.

provisioningState

public ProvisioningState provisioningState()

Get the provisioningState property: Provisioning state of the resource.

Returns:

the provisioningState value.

storageQosPolicies

public List<StorageQosPolicy> storageQosPolicies()

Get the storageQosPolicies property: List of QoS policies available for the cloud.

Returns:

the storageQosPolicies value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

uuid

public String uuid()

Get the uuid property: Unique ID of the cloud.

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.

withInventoryItemId

public CloudProperties 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 CloudProperties object itself.

withUuid

public CloudProperties withUuid(String uuid)

Set the uuid property: Unique ID of the cloud.

Parameters:

uuid - the uuid value to set.

Returns:

the CloudProperties object itself.

withVmmServerId

public CloudProperties 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 CloudProperties object itself.

Applies to