Поделиться через


SqlManagedInstanceInner Class

public final class SqlManagedInstanceInner
extends Resource

A SqlManagedInstance.

Constructor Summary

Constructor Description
SqlManagedInstanceInner()

Creates an instance of SqlManagedInstanceInner class.

Method Summary

Modifier and Type Method and Description
ExtendedLocation extendedLocation()

Get the extendedLocation property: The extendedLocation of the resource.

static SqlManagedInstanceInner fromJson(JsonReader jsonReader)

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

SqlManagedInstanceProperties properties()

Get the properties property: null.

SqlManagedInstanceSku sku()

Get the sku property: Resource sku.

SystemData systemData()

Get the systemData property: Read only system data.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

void validate()

Validates the instance.

SqlManagedInstanceInner withExtendedLocation(ExtendedLocation extendedLocation)

Set the extendedLocation property: The extendedLocation of the resource.

SqlManagedInstanceInner withLocation(String location)
SqlManagedInstanceInner withProperties(SqlManagedInstanceProperties properties)

Set the properties property: null.

SqlManagedInstanceInner withSku(SqlManagedInstanceSku sku)

Set the sku property: Resource sku.

SqlManagedInstanceInner withTags(Map<String,String> tags)

Methods inherited from ProxyResource

Methods inherited from Resource

Methods inherited from java.lang.Object

Constructor Details

SqlManagedInstanceInner

public SqlManagedInstanceInner()

Creates an instance of SqlManagedInstanceInner class.

Method Details

extendedLocation

public ExtendedLocation extendedLocation()

Get the extendedLocation property: The extendedLocation of the resource.

Returns:

the extendedLocation value.

fromJson

public static SqlManagedInstanceInner fromJson(JsonReader jsonReader)

Reads an instance of SqlManagedInstanceInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of SqlManagedInstanceInner 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:

SqlManagedInstanceInner.id()

Returns:

the id value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

SqlManagedInstanceInner.name()

Returns:

the name value.

properties

public SqlManagedInstanceProperties properties()

Get the properties property: null.

Returns:

the properties value.

sku

public SqlManagedInstanceSku sku()

Get the sku property: Resource sku.

Returns:

the sku value.

systemData

public SystemData systemData()

Get the systemData property: Read only system data.

Returns:

the systemData value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

SqlManagedInstanceInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

SqlManagedInstanceInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

withExtendedLocation

public SqlManagedInstanceInner withExtendedLocation(ExtendedLocation extendedLocation)

Set the extendedLocation property: The extendedLocation of the resource.

Parameters:

extendedLocation - the extendedLocation value to set.

Returns:

the SqlManagedInstanceInner object itself.

withLocation

public SqlManagedInstanceInner withLocation(String location)

Overrides:

SqlManagedInstanceInner.withLocation(String location)

Parameters:

location

withProperties

public SqlManagedInstanceInner withProperties(SqlManagedInstanceProperties properties)

Set the properties property: null.

Parameters:

properties - the properties value to set.

Returns:

the SqlManagedInstanceInner object itself.

withSku

public SqlManagedInstanceInner withSku(SqlManagedInstanceSku sku)

Set the sku property: Resource sku.

Parameters:

sku - the sku value to set.

Returns:

the SqlManagedInstanceInner object itself.

withTags

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

Overrides:

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

Parameters:

tags

Applies to