SiteContainerInner Class

public final class SiteContainerInner
extends ProxyOnlyResource

Container of a site.

Constructor Summary

Constructor Description
SiteContainerInner()

Creates an instance of SiteContainerInner class.

Method Summary

Modifier and Type Method and Description
AuthType authType()

Get the authType property: Auth Type.

OffsetDateTime createdTime()

Get the createdTime property: Created Time.

List<EnvironmentVariable> environmentVariables()

Get the environmentVariables property: List of environment variables.

static SiteContainerInner fromJson(JsonReader jsonReader)

Reads an instance of SiteContainerInner from the JsonReader.

String id()

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

String image()

Get the image property: Image Name.

Boolean isMain()

Get the isMain property: true if the container is the main site container; false otherwise.

OffsetDateTime lastModifiedTime()

Get the lastModifiedTime property: Last Modified Time.

String name()

Get the name property: The name of the resource.

String passwordSecret()

Get the passwordSecret property: Password Secret.

String startUpCommand()

Get the startUpCommand property: StartUp Command.

String targetPort()

Get the targetPort property: Target Port.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

String userManagedIdentityClientId()

Get the userManagedIdentityClientId property: UserManagedIdentity ClientId.

String username()

Get the username property: User Name.

void validate()

Validates the instance.

List<VolumeMount> volumeMounts()

Get the volumeMounts property: List of volume mounts.

SiteContainerInner withAuthType(AuthType authType)

Set the authType property: Auth Type.

SiteContainerInner withEnvironmentVariables(List<EnvironmentVariable> environmentVariables)

Set the environmentVariables property: List of environment variables.

SiteContainerInner withImage(String image)

Set the image property: Image Name.

SiteContainerInner withIsMain(Boolean isMain)

Set the isMain property: true if the container is the main site container; false otherwise.

SiteContainerInner withKind(String kind)

Set the kind property: Kind of resource.

SiteContainerInner withPasswordSecret(String passwordSecret)

Set the passwordSecret property: Password Secret.

SiteContainerInner withStartUpCommand(String startUpCommand)

Set the startUpCommand property: StartUp Command.

SiteContainerInner withTargetPort(String targetPort)

Set the targetPort property: Target Port.

SiteContainerInner withUserManagedIdentityClientId(String userManagedIdentityClientId)

Set the userManagedIdentityClientId property: UserManagedIdentity ClientId.

SiteContainerInner withUsername(String username)

Set the username property: User Name.

SiteContainerInner withVolumeMounts(List<VolumeMount> volumeMounts)

Set the volumeMounts property: List of volume mounts.

Methods inherited from ProxyOnlyResource

Methods inherited from java.lang.Object

Constructor Details

SiteContainerInner

public SiteContainerInner()

Creates an instance of SiteContainerInner class.

Method Details

authType

public AuthType authType()

Get the authType property: Auth Type.

Returns:

the authType value.

createdTime

public OffsetDateTime createdTime()

Get the createdTime property: Created Time.

Returns:

the createdTime value.

environmentVariables

public List environmentVariables()

Get the environmentVariables property: List of environment variables.

Returns:

the environmentVariables value.

fromJson

public static SiteContainerInner fromJson(JsonReader jsonReader)

Reads an instance of SiteContainerInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

SiteContainerInner.id()

Returns:

the id value.

image

public String image()

Get the image property: Image Name.

Returns:

the image value.

isMain

public Boolean isMain()

Get the isMain property: true if the container is the main site container; false otherwise.

Returns:

the isMain value.

lastModifiedTime

public OffsetDateTime lastModifiedTime()

Get the lastModifiedTime property: Last Modified Time.

Returns:

the lastModifiedTime value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

SiteContainerInner.name()

Returns:

the name value.

passwordSecret

public String passwordSecret()

Get the passwordSecret property: Password Secret.

Returns:

the passwordSecret value.

startUpCommand

public String startUpCommand()

Get the startUpCommand property: StartUp Command.

Returns:

the startUpCommand value.

targetPort

public String targetPort()

Get the targetPort property: Target Port.

Returns:

the targetPort value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

SiteContainerInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

SiteContainerInner.type()

Returns:

the type value.

userManagedIdentityClientId

public String userManagedIdentityClientId()

Get the userManagedIdentityClientId property: UserManagedIdentity ClientId.

Returns:

the userManagedIdentityClientId value.

username

public String username()

Get the username property: User Name.

Returns:

the username value.

validate

public void validate()

Validates the instance.

Overrides:

SiteContainerInner.validate()

volumeMounts

public List volumeMounts()

Get the volumeMounts property: List of volume mounts.

Returns:

the volumeMounts value.

withAuthType

public SiteContainerInner withAuthType(AuthType authType)

Set the authType property: Auth Type.

Parameters:

authType - the authType value to set.

Returns:

the SiteContainerInner object itself.

withEnvironmentVariables

public SiteContainerInner withEnvironmentVariables(List environmentVariables)

Set the environmentVariables property: List of environment variables.

Parameters:

environmentVariables - the environmentVariables value to set.

Returns:

the SiteContainerInner object itself.

withImage

public SiteContainerInner withImage(String image)

Set the image property: Image Name.

Parameters:

image - the image value to set.

Returns:

the SiteContainerInner object itself.

withIsMain

public SiteContainerInner withIsMain(Boolean isMain)

Set the isMain property: true if the container is the main site container; false otherwise.

Parameters:

isMain - the isMain value to set.

Returns:

the SiteContainerInner object itself.

withKind

public SiteContainerInner withKind(String kind)

Set the kind property: Kind of resource.

Overrides:

SiteContainerInner.withKind(String kind)

Parameters:

kind

withPasswordSecret

public SiteContainerInner withPasswordSecret(String passwordSecret)

Set the passwordSecret property: Password Secret.

Parameters:

passwordSecret - the passwordSecret value to set.

Returns:

the SiteContainerInner object itself.

withStartUpCommand

public SiteContainerInner withStartUpCommand(String startUpCommand)

Set the startUpCommand property: StartUp Command.

Parameters:

startUpCommand - the startUpCommand value to set.

Returns:

the SiteContainerInner object itself.

withTargetPort

public SiteContainerInner withTargetPort(String targetPort)

Set the targetPort property: Target Port.

Parameters:

targetPort - the targetPort value to set.

Returns:

the SiteContainerInner object itself.

withUserManagedIdentityClientId

public SiteContainerInner withUserManagedIdentityClientId(String userManagedIdentityClientId)

Set the userManagedIdentityClientId property: UserManagedIdentity ClientId.

Parameters:

userManagedIdentityClientId - the userManagedIdentityClientId value to set.

Returns:

the SiteContainerInner object itself.

withUsername

public SiteContainerInner withUsername(String username)

Set the username property: User Name.

Parameters:

username - the username value to set.

Returns:

the SiteContainerInner object itself.

withVolumeMounts

public SiteContainerInner withVolumeMounts(List volumeMounts)

Set the volumeMounts property: List of volume mounts.

Parameters:

volumeMounts - the volumeMounts value to set.

Returns:

the SiteContainerInner object itself.

Applies to