ManagedGrafanaInner Class

public final class ManagedGrafanaInner
extends ProxyResource

The grafana resource type.

Constructor Summary

Constructor Description
ManagedGrafanaInner()

Creates an instance of ManagedGrafanaInner class.

Method Summary

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

Reads an instance of ManagedGrafanaInner from the JsonReader.

String id()

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

ManagedServiceIdentity identity()

Get the identity property: The managed service identities assigned to this resource.

String location()

Get the location property: The geo-location where the resource lives.

String name()

Get the name property: The name of the resource.

ManagedGrafanaProperties properties()

Get the properties property: Properties specific to the grafana resource.

ResourceSku sku()

Get the sku property: The Sku of the grafana resource.

SystemData systemData()

Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.

Map<String,String> tags()

Get the tags property: Resource tags.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

ManagedGrafanaInner withIdentity(ManagedServiceIdentity identity)

Set the identity property: The managed service identities assigned to this resource.

ManagedGrafanaInner withLocation(String location)

Set the location property: The geo-location where the resource lives.

ManagedGrafanaInner withProperties(ManagedGrafanaProperties properties)

Set the properties property: Properties specific to the grafana resource.

ManagedGrafanaInner withSku(ResourceSku sku)

Set the sku property: The Sku of the grafana resource.

ManagedGrafanaInner withTags(Map<String,String> tags)

Set the tags property: Resource tags.

Methods inherited from ProxyResource

Methods inherited from java.lang.Object

Constructor Details

ManagedGrafanaInner

public ManagedGrafanaInner()

Creates an instance of ManagedGrafanaInner class.

Method Details

fromJson

public static ManagedGrafanaInner fromJson(JsonReader jsonReader)

Reads an instance of ManagedGrafanaInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

ManagedGrafanaInner.id()

Returns:

the id value.

identity

public ManagedServiceIdentity identity()

Get the identity property: The managed service identities assigned to this resource.

Returns:

the identity value.

location

public String location()

Get the location property: The geo-location where the resource lives.

Returns:

the location value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

ManagedGrafanaInner.name()

Returns:

the name value.

properties

public ManagedGrafanaProperties properties()

Get the properties property: Properties specific to the grafana resource.

Returns:

the properties value.

sku

public ResourceSku sku()

Get the sku property: The Sku of the grafana resource.

Returns:

the sku value.

systemData

public SystemData systemData()

Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.

Returns:

the systemData value.

tags

public Map<String,String> tags()

Get the tags property: Resource tags.

Returns:

the tags value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

ManagedGrafanaInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

ManagedGrafanaInner.type()

Returns:

the type value.

withIdentity

public ManagedGrafanaInner withIdentity(ManagedServiceIdentity identity)

Set the identity property: The managed service identities assigned to this resource.

Parameters:

identity - the identity value to set.

Returns:

the ManagedGrafanaInner object itself.

withLocation

public ManagedGrafanaInner withLocation(String location)

Set the location property: The geo-location where the resource lives.

Parameters:

location - the location value to set.

Returns:

the ManagedGrafanaInner object itself.

withProperties

public ManagedGrafanaInner withProperties(ManagedGrafanaProperties properties)

Set the properties property: Properties specific to the grafana resource.

Parameters:

properties - the properties value to set.

Returns:

the ManagedGrafanaInner object itself.

withSku

public ManagedGrafanaInner withSku(ResourceSku sku)

Set the sku property: The Sku of the grafana resource.

Parameters:

sku - the sku value to set.

Returns:

the ManagedGrafanaInner object itself.

withTags

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

Set the tags property: Resource tags.

Parameters:

tags - the tags value to set.

Returns:

the ManagedGrafanaInner object itself.

Applies to