VirtualClusterInner Class

public final class VirtualClusterInner
extends Resource

An Azure SQL virtual cluster.

Constructor Summary

Constructor Description
VirtualClusterInner()

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

Reads an instance of VirtualClusterInner from the JsonReader.

String id()

Get the id property: Fully qualified resource Id for the resource.

String maintenanceConfigurationId()

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

String name()

Get the name property: The name of the resource.

String subnetId()

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

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

void validate()

Validates the instance.

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

VirtualClusterInner withLocation(String location)
VirtualClusterInner withMaintenanceConfigurationId(String maintenanceConfigurationId)

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

VirtualClusterInner withTags(Map<String,String> tags)

Methods inherited from ProxyResource

Methods inherited from Resource

Methods inherited from java.lang.Object

Constructor Details

VirtualClusterInner

public VirtualClusterInner()

Creates an instance of VirtualClusterInner class.

Method Details

childResources

public List 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 VirtualClusterInner fromJson(JsonReader jsonReader)

Reads an instance of VirtualClusterInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

id

public String id()

Get the id property: Fully qualified resource Id for the resource.

Overrides:

VirtualClusterInner.id()

Returns:

the id value.

maintenanceConfigurationId

public String maintenanceConfigurationId()

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

Returns:

the maintenanceConfigurationId value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

VirtualClusterInner.name()

Returns:

the name 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)

Overrides:

VirtualClusterInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

VirtualClusterInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

withFamily

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

withLocation

public VirtualClusterInner withLocation(String location)

Overrides:

VirtualClusterInner.withLocation(String location)

Parameters:

location

withMaintenanceConfigurationId

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

withTags

public VirtualClusterInner withTags(Map tags)

Overrides:

VirtualClusterInner.withTags(Map<String,String> tags)

Parameters:

tags

Applies to