DeploymentStackInner Class

public final class DeploymentStackInner
extends ProxyResource

Deployment stack object.

Constructor Summary

Constructor Description
DeploymentStackInner()

Creates an instance of DeploymentStackInner class.

Method Summary

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

Reads an instance of DeploymentStackInner from the JsonReader.

String id()

Get the id property: Fully qualified resource Id for the 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.

DeploymentStackProperties properties()

Get the properties property: Deployment stack properties.

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.

DeploymentStackInner withLocation(String location)

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

DeploymentStackInner withProperties(DeploymentStackProperties properties)

Set the properties property: Deployment stack properties.

DeploymentStackInner withTags(Map<String,String> tags)

Set the tags property: Resource tags.

Methods inherited from ProxyResource

Methods inherited from java.lang.Object

Constructor Details

DeploymentStackInner

public DeploymentStackInner()

Creates an instance of DeploymentStackInner class.

Method Details

fromJson

public static DeploymentStackInner fromJson(JsonReader jsonReader)

Reads an instance of DeploymentStackInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

DeploymentStackInner.id()

Returns:

the id value.

location

public String location()

Get the location property: The geo-location where the resource lives. Required for subscription and management group scoped stacks. The location is inherited from the resource group for resource group scoped stacks.

Returns:

the location value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

DeploymentStackInner.name()

Returns:

the name value.

properties

public DeploymentStackProperties properties()

Get the properties property: Deployment stack properties.

Returns:

the properties 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:

DeploymentStackInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

DeploymentStackInner.type()

Returns:

the type value.

withLocation

public DeploymentStackInner withLocation(String location)

Set the location property: The geo-location where the resource lives. Required for subscription and management group scoped stacks. The location is inherited from the resource group for resource group scoped stacks.

Parameters:

location - the location value to set.

Returns:

the DeploymentStackInner object itself.

withProperties

public DeploymentStackInner withProperties(DeploymentStackProperties properties)

Set the properties property: Deployment stack properties.

Parameters:

properties - the properties value to set.

Returns:

the DeploymentStackInner object itself.

withTags

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

Set the tags property: Resource tags.

Parameters:

tags - the tags value to set.

Returns:

the DeploymentStackInner object itself.

Applies to