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.

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

String version()

Get the version property: Virtual cluster version.

VirtualClusterInner withLocation(String location)
VirtualClusterInner withTags(Map<String,String> tags)
VirtualClusterInner withVersion(String version)

Set the version property: Virtual cluster version.

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<String> childResources()

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

Returns:

the childResources 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.

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.

version

public String version()

Get the version property: Virtual cluster version.

Returns:

the version value.

withLocation

public VirtualClusterInner withLocation(String location)

Overrides:

VirtualClusterInner.withLocation(String location)

Parameters:

location

withTags

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

Overrides:

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

Parameters:

tags

withVersion

public VirtualClusterInner withVersion(String version)

Set the version property: Virtual cluster version.

Parameters:

version - the version value to set.

Returns:

the VirtualClusterInner object itself.

Applies to