Del via


VirtualClusterProperties Class

  • java.lang.Object
    • com.azure.resourcemanager.sql.fluent.models.VirtualClusterProperties

Implements

public final class VirtualClusterProperties
implements JsonSerializable<VirtualClusterProperties>

The properties of a virtual cluster.

Constructor Summary

Constructor Description
VirtualClusterProperties()

Creates an instance of VirtualClusterProperties class.

Method Summary

Modifier and Type Method and Description
List<String> childResources()

Get the childResources property: List of resources in this virtual cluster.

String family()

Get the family property: If the service has different generations of hardware, for the same SKU, then that can be captured here.

static VirtualClusterProperties fromJson(JsonReader jsonReader)

Reads an instance of VirtualClusterProperties from the JsonReader.

String maintenanceConfigurationId()

Get the maintenanceConfigurationId property: Specifies maintenance configuration id to apply to this virtual cluster.

String subnetId()

Get the subnetId property: Subnet resource ID for the virtual cluster.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

VirtualClusterProperties withFamily(String family)

Set the family property: If the service has different generations of hardware, for the same SKU, then that can be captured here.

VirtualClusterProperties withMaintenanceConfigurationId(String maintenanceConfigurationId)

Set the maintenanceConfigurationId property: Specifies maintenance configuration id to apply to this virtual cluster.

Methods inherited from java.lang.Object

Constructor Details

VirtualClusterProperties

public VirtualClusterProperties()

Creates an instance of VirtualClusterProperties class.

Method Details

childResources

public List<String> childResources()

Get the childResources property: List of resources in this virtual cluster.

Returns:

the childResources value.

family

public String family()

Get the family property: If the service has different generations of hardware, for the same SKU, then that can be captured here.

Returns:

the family value.

fromJson

public static VirtualClusterProperties fromJson(JsonReader jsonReader)

Reads an instance of VirtualClusterProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

maintenanceConfigurationId

public String maintenanceConfigurationId()

Get the maintenanceConfigurationId property: Specifies maintenance configuration id to apply to this virtual cluster.

Returns:

the maintenanceConfigurationId value.

subnetId

public String subnetId()

Get the subnetId property: Subnet resource ID for the virtual cluster.

Returns:

the subnetId value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withFamily

public VirtualClusterProperties withFamily(String family)

Set the family property: If the service has different generations of hardware, for the same SKU, then that can be captured here.

Parameters:

family - the family value to set.

Returns:

the VirtualClusterProperties object itself.

withMaintenanceConfigurationId

public VirtualClusterProperties withMaintenanceConfigurationId(String maintenanceConfigurationId)

Set the maintenanceConfigurationId property: Specifies maintenance configuration id to apply to this virtual cluster.

Parameters:

maintenanceConfigurationId - the maintenanceConfigurationId value to set.

Returns:

the VirtualClusterProperties object itself.

Applies to