SqlServerInstanceInner Class

public final class SqlServerInstanceInner
extends Resource

A SqlServerInstance.

Constructor Summary

Constructor Description
SqlServerInstanceInner()

Creates an instance of SqlServerInstanceInner class.

Method Summary

Modifier and Type Method and Description
static SqlServerInstanceInner fromJson(JsonReader jsonReader)

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

SqlServerInstanceProperties properties()

Get the properties property: null.

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.

SqlServerInstanceInner withLocation(String location)
SqlServerInstanceInner withProperties(SqlServerInstanceProperties properties)

Set the properties property: null.

SqlServerInstanceInner withTags(Map<String,String> tags)

Methods inherited from ProxyResource

Methods inherited from Resource

Methods inherited from java.lang.Object

Constructor Details

SqlServerInstanceInner

public SqlServerInstanceInner()

Creates an instance of SqlServerInstanceInner class.

Method Details

fromJson

public static SqlServerInstanceInner fromJson(JsonReader jsonReader)

Reads an instance of SqlServerInstanceInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

SqlServerInstanceInner.id()

Returns:

the id value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

SqlServerInstanceInner.name()

Returns:

the name value.

properties

public SqlServerInstanceProperties properties()

Get the properties property: null.

Returns:

the properties value.

systemData

public SystemData systemData()

Get the systemData property: Read only system data.

Returns:

the systemData value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

SqlServerInstanceInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

SqlServerInstanceInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

withLocation

public SqlServerInstanceInner withLocation(String location)

Overrides:

SqlServerInstanceInner.withLocation(String location)

Parameters:

location

withProperties

public SqlServerInstanceInner withProperties(SqlServerInstanceProperties properties)

Set the properties property: null.

Parameters:

properties - the properties value to set.

Returns:

the SqlServerInstanceInner object itself.

withTags

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

Overrides:

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

Parameters:

tags

Applies to