Share via


VirtualClusterUpdate Class

  • java.lang.Object
    • com.azure.resourcemanager.sql.models.VirtualClusterUpdate

Implements

public final class VirtualClusterUpdate
implements JsonSerializable<VirtualClusterUpdate>

An update request for an Azure SQL Database virtual cluster.

Constructor Summary

Constructor Description
VirtualClusterUpdate()

Creates an instance of VirtualClusterUpdate 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 VirtualClusterUpdate fromJson(JsonReader jsonReader)

Reads an instance of VirtualClusterUpdate 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.

Map<String,String> tags()

Get the tags property: Resource tags.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

VirtualClusterUpdate 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.

VirtualClusterUpdate withMaintenanceConfigurationId(String maintenanceConfigurationId)

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

VirtualClusterUpdate withTags(Map<String,String> tags)

Set the tags property: Resource tags.

Methods inherited from java.lang.Object

Constructor Details

VirtualClusterUpdate

public VirtualClusterUpdate()

Creates an instance of VirtualClusterUpdate 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 VirtualClusterUpdate fromJson(JsonReader jsonReader)

Reads an instance of VirtualClusterUpdate from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

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.

tags

public Map<String,String> tags()

Get the tags property: Resource tags.

Returns:

the tags value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withFamily

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

withMaintenanceConfigurationId

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

withTags

public VirtualClusterUpdate withTags(Map<String,String> tags)

Set the tags property: Resource tags.

Parameters:

tags - the tags value to set.

Returns:

the VirtualClusterUpdate object itself.

Applies to