ContainerAppInner Class

public final class ContainerAppInner
extends Resource

Container App.

Constructor Summary

Constructor Description
ContainerAppInner()

Creates an instance of ContainerAppInner class.

Method Summary

Modifier and Type Method and Description
Configuration configuration()

Get the configuration property: Non versioned Container App configuration properties.

static ContainerAppInner fromJson(JsonReader jsonReader)

Reads an instance of ContainerAppInner from the JsonReader.

String id()

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

String kind()

Get the kind property: Kind of resource.

String kubeEnvironmentId()

Get the kubeEnvironmentId property: Resource ID of the Container App's KubeEnvironment.

String latestRevisionFqdn()

Get the latestRevisionFqdn property: Fully Qualified Domain Name of the latest revision of the Container App.

String latestRevisionName()

Get the latestRevisionName property: Name of the latest revision of the Container App.

String name()

Get the name property: The name of the resource.

ContainerAppProvisioningState provisioningState()

Get the provisioningState property: Provisioning state of the Container App.

Template template()

Get the template property: Container App versioned application definition.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

void validate()

Validates the instance.

ContainerAppInner withConfiguration(Configuration configuration)

Set the configuration property: Non versioned Container App configuration properties.

ContainerAppInner withKind(String kind)

Set the kind property: Kind of resource.

ContainerAppInner withKubeEnvironmentId(String kubeEnvironmentId)

Set the kubeEnvironmentId property: Resource ID of the Container App's KubeEnvironment.

ContainerAppInner withLocation(String location)
ContainerAppInner withTags(Map<String,String> tags)
ContainerAppInner withTemplate(Template template)

Set the template property: Container App versioned application definition.

Methods inherited from ProxyResource

Methods inherited from Resource

Methods inherited from java.lang.Object

Constructor Details

ContainerAppInner

public ContainerAppInner()

Creates an instance of ContainerAppInner class.

Method Details

configuration

public Configuration configuration()

Get the configuration property: Non versioned Container App configuration properties.

Returns:

the configuration value.

fromJson

public static ContainerAppInner fromJson(JsonReader jsonReader)

Reads an instance of ContainerAppInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

ContainerAppInner.id()

Returns:

the id value.

kind

public String kind()

Get the kind property: Kind of resource.

Returns:

the kind value.

kubeEnvironmentId

public String kubeEnvironmentId()

Get the kubeEnvironmentId property: Resource ID of the Container App's KubeEnvironment.

Returns:

the kubeEnvironmentId value.

latestRevisionFqdn

public String latestRevisionFqdn()

Get the latestRevisionFqdn property: Fully Qualified Domain Name of the latest revision of the Container App.

Returns:

the latestRevisionFqdn value.

latestRevisionName

public String latestRevisionName()

Get the latestRevisionName property: Name of the latest revision of the Container App.

Returns:

the latestRevisionName value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

ContainerAppInner.name()

Returns:

the name value.

provisioningState

public ContainerAppProvisioningState provisioningState()

Get the provisioningState property: Provisioning state of the Container App.

Returns:

the provisioningState value.

template

public Template template()

Get the template property: Container App versioned application definition.

Returns:

the template value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

ContainerAppInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

ContainerAppInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

withConfiguration

public ContainerAppInner withConfiguration(Configuration configuration)

Set the configuration property: Non versioned Container App configuration properties.

Parameters:

configuration - the configuration value to set.

Returns:

the ContainerAppInner object itself.

withKind

public ContainerAppInner withKind(String kind)

Set the kind property: Kind of resource.

Parameters:

kind - the kind value to set.

Returns:

the ContainerAppInner object itself.

withKubeEnvironmentId

public ContainerAppInner withKubeEnvironmentId(String kubeEnvironmentId)

Set the kubeEnvironmentId property: Resource ID of the Container App's KubeEnvironment.

Parameters:

kubeEnvironmentId - the kubeEnvironmentId value to set.

Returns:

the ContainerAppInner object itself.

withLocation

public ContainerAppInner withLocation(String location)

Overrides:

ContainerAppInner.withLocation(String location)

Parameters:

location

withTags

public ContainerAppInner withTags(Map tags)

Overrides:

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

Parameters:

tags

withTemplate

public ContainerAppInner withTemplate(Template template)

Set the template property: Container App versioned application definition.

Parameters:

template - the template value to set.

Returns:

the ContainerAppInner object itself.

Applies to