SiteContainerInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. appservice. models. ProxyOnlyResource - com.
azure. resourcemanager. appservice. fluent. models. SiteContainerInner
- com.
- com.
- com.
public final class SiteContainerInner
extends ProxyOnlyResource
Container of a site.
Constructor Summary
| Constructor | Description |
|---|---|
| SiteContainerInner() |
Creates an instance of Site |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Auth |
authType()
Get the auth |
|
Offset |
createdTime()
Get the created |
|
List<Environment |
environmentVariables()
Get the environment |
|
static
Site |
fromJson(JsonReader jsonReader)
Reads an instance of Site |
| String |
id()
Get the id property: Fully qualified resource Id for the resource. |
| String |
image()
Get the image property: Image Name. |
| Boolean |
inheritAppSettingsAndConnectionStrings()
Get the inherit |
| Boolean |
isMain()
Get the is |
|
Offset |
lastModifiedTime()
Get the last |
| String |
name()
Get the name property: The name of the resource. |
| String |
passwordSecret()
Get the password |
| String |
startUpCommand()
Get the start |
| String |
targetPort()
Get the target |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
type()
Get the type property: The type of the resource. |
| String |
userManagedIdentityClientId()
Get the user |
| String |
username()
Get the username property: User Name. |
| void |
validate()
Validates the instance. |
|
List<Volume |
volumeMounts()
Get the volume |
|
Site |
withAuthType(AuthType authType)
Set the auth |
|
Site |
withEnvironmentVariables(List<EnvironmentVariable> environmentVariables)
Set the environment |
|
Site |
withImage(String image)
Set the image property: Image Name. |
|
Site |
withInheritAppSettingsAndConnectionStrings(Boolean inheritAppSettingsAndConnectionStrings)
Set the inherit |
|
Site |
withIsMain(Boolean isMain)
Set the is |
|
Site |
withKind(String kind)
Set the kind property: Kind of resource. |
|
Site |
withPasswordSecret(String passwordSecret)
Set the password |
|
Site |
withStartUpCommand(String startUpCommand)
Set the start |
|
Site |
withTargetPort(String targetPort)
Set the target |
|
Site |
withUserManagedIdentityClientId(String userManagedIdentityClientId)
Set the user |
|
Site |
withUsername(String username)
Set the username property: User Name. |
|
Site |
withVolumeMounts(List<VolumeMount> volumeMounts)
Set the volume |
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:
createdTime
public OffsetDateTime createdTime()
Get the createdTime property: Created Time.
Returns:
environmentVariables
public List<EnvironmentVariable> environmentVariables()
Get the environmentVariables property: List of environment variables.
Returns:
fromJson
public static SiteContainerInner fromJson(JsonReader jsonReader)
Reads an instance of SiteContainerInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
SiteContainerInner.id()Returns:
image
public String image()
Get the image property: Image Name.
Returns:
inheritAppSettingsAndConnectionStrings
public Boolean inheritAppSettingsAndConnectionStrings()
Get the inheritAppSettingsAndConnectionStrings property: true if all AppSettings and ConnectionStrings have to be passed to the container as environment variables; false otherwise.
Returns:
isMain
public Boolean isMain()
Get the isMain property: true if the container is the main site container; false otherwise.
Returns:
lastModifiedTime
public OffsetDateTime lastModifiedTime()
Get the lastModifiedTime property: Last Modified Time.
Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
SiteContainerInner.name()Returns:
passwordSecret
public String passwordSecret()
Get the passwordSecret property: Password Secret.
Returns:
startUpCommand
public String startUpCommand()
Get the startUpCommand property: StartUp Command.
Returns:
targetPort
public String targetPort()
Get the targetPort property: Target Port.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
SiteContainerInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
SiteContainerInner.type()Returns:
userManagedIdentityClientId
public String userManagedIdentityClientId()
Get the userManagedIdentityClientId property: UserManagedIdentity ClientId.
Returns:
username
public String username()
Get the username property: User Name.
Returns:
validate
public void validate()
Validates the instance.
Overrides:
SiteContainerInner.validate()volumeMounts
public List<VolumeMount> volumeMounts()
Get the volumeMounts property: List of volume mounts.
Returns:
withAuthType
public SiteContainerInner withAuthType(AuthType authType)
Set the authType property: Auth Type.
Parameters:
Returns:
withEnvironmentVariables
public SiteContainerInner withEnvironmentVariables(List<EnvironmentVariable> environmentVariables)
Set the environmentVariables property: List of environment variables.
Parameters:
Returns:
withImage
public SiteContainerInner withImage(String image)
Set the image property: Image Name.
Parameters:
Returns:
withInheritAppSettingsAndConnectionStrings
public SiteContainerInner withInheritAppSettingsAndConnectionStrings(Boolean inheritAppSettingsAndConnectionStrings)
Set the inheritAppSettingsAndConnectionStrings property: true if all AppSettings and ConnectionStrings have to be passed to the container as environment variables; false otherwise.
Parameters:
Returns:
withIsMain
public SiteContainerInner withIsMain(Boolean isMain)
Set the isMain property: true if the container is the main site container; false otherwise.
Parameters:
Returns:
withKind
public SiteContainerInner withKind(String kind)
Set the kind property: Kind of resource.
Overrides:
SiteContainerInner.withKind(String kind)Parameters:
withPasswordSecret
public SiteContainerInner withPasswordSecret(String passwordSecret)
Set the passwordSecret property: Password Secret.
Parameters:
Returns:
withStartUpCommand
public SiteContainerInner withStartUpCommand(String startUpCommand)
Set the startUpCommand property: StartUp Command.
Parameters:
Returns:
withTargetPort
public SiteContainerInner withTargetPort(String targetPort)
Set the targetPort property: Target Port.
Parameters:
Returns:
withUserManagedIdentityClientId
public SiteContainerInner withUserManagedIdentityClientId(String userManagedIdentityClientId)
Set the userManagedIdentityClientId property: UserManagedIdentity ClientId.
Parameters:
Returns:
withUsername
public SiteContainerInner withUsername(String username)
Set the username property: User Name.
Parameters:
Returns:
withVolumeMounts
public SiteContainerInner withVolumeMounts(List<VolumeMount> volumeMounts)
Set the volumeMounts property: List of volume mounts.
Parameters:
Returns: