Class SessionPoolInner
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.core.management.Resource
com.azure.resourcemanager.appcontainers.fluent.models.SessionPoolInner
- All Implemented Interfaces:
com.azure.json.JsonSerializable<com.azure.core.management.ProxyResource>
public final class SessionPoolInner
extends com.azure.core.management.Resource
Container App session pool.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the containerType property: The container type of the sessions.Get the customContainerTemplate property: The custom container configuration if the containerType is CustomContainer.Get the dynamicPoolConfiguration property: The pool configuration if the poolManagementType is dynamic.Get the environmentId property: Resource ID of the session pool's environment.static SessionPoolInner
fromJson
(com.azure.json.JsonReader jsonReader) Reads an instance of SessionPoolInner from the JsonReader.id()
Get the id property: Fully qualified resource Id for the resource.identity()
Get the identity property: Managed identities needed by a session pool to interact with other Azure services to not maintain any secrets or credentials in code.Get the managedIdentitySettings property: Optional settings for a Managed Identity that is assigned to the Session pool.name()
Get the name property: The name of the resource.Get the nodeCount property: The number of nodes the session pool is using.Get the poolManagementEndpoint property: The endpoint to manage the pool.Get the poolManagementType property: The pool management type of the session pool.Get the provisioningState property: Provisioning state of the session pool.Get the scaleConfiguration property: The scale configuration of the session pool.secrets()
Get the secrets property: The secrets of the session pool.Get the sessionNetworkConfiguration property: The network configuration of the sessions in the session pool.com.azure.core.management.SystemData
Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.com.azure.json.JsonWriter
toJson
(com.azure.json.JsonWriter jsonWriter) type()
Get the type property: The type of the resource.void
validate()
Validates the instance.withContainerType
(ContainerType containerType) Set the containerType property: The container type of the sessions.withCustomContainerTemplate
(CustomContainerTemplate customContainerTemplate) Set the customContainerTemplate property: The custom container configuration if the containerType is CustomContainer.withDynamicPoolConfiguration
(DynamicPoolConfiguration dynamicPoolConfiguration) Set the dynamicPoolConfiguration property: The pool configuration if the poolManagementType is dynamic.withEnvironmentId
(String environmentId) Set the environmentId property: Resource ID of the session pool's environment.withIdentity
(ManagedServiceIdentity identity) Set the identity property: Managed identities needed by a session pool to interact with other Azure services to not maintain any secrets or credentials in code.withLocation
(String location) withManagedIdentitySettings
(List<ManagedIdentitySetting> managedIdentitySettings) Set the managedIdentitySettings property: Optional settings for a Managed Identity that is assigned to the Session pool.withPoolManagementType
(PoolManagementType poolManagementType) Set the poolManagementType property: The pool management type of the session pool.withScaleConfiguration
(ScaleConfiguration scaleConfiguration) Set the scaleConfiguration property: The scale configuration of the session pool.withSecrets
(List<SessionPoolSecret> secrets) Set the secrets property: The secrets of the session pool.withSessionNetworkConfiguration
(SessionNetworkConfiguration sessionNetworkConfiguration) Set the sessionNetworkConfiguration property: The network configuration of the sessions in the session pool.Methods inherited from class com.azure.core.management.Resource
location, tags
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
SessionPoolInner
public SessionPoolInner()Creates an instance of SessionPoolInner class.
-
-
Method Details
-
identity
Get the identity property: Managed identities needed by a session pool to interact with other Azure services to not maintain any secrets or credentials in code.- Returns:
- the identity value.
-
withIdentity
Set the identity property: Managed identities needed by a session pool to interact with other Azure services to not maintain any secrets or credentials in code.- Parameters:
identity
- the identity value to set.- Returns:
- the SessionPoolInner object itself.
-
systemData
public com.azure.core.management.SystemData systemData()Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.- Returns:
- the systemData value.
-
type
Get the type property: The type of the resource.- Overrides:
type
in classcom.azure.core.management.ProxyResource
- Returns:
- the type value.
-
name
Get the name property: The name of the resource.- Overrides:
name
in classcom.azure.core.management.ProxyResource
- Returns:
- the name value.
-
id
Get the id property: Fully qualified resource Id for the resource.- Overrides:
id
in classcom.azure.core.management.ProxyResource
- Returns:
- the id value.
-
withLocation
- Overrides:
withLocation
in classcom.azure.core.management.Resource
-
withTags
- Overrides:
withTags
in classcom.azure.core.management.Resource
-
environmentId
Get the environmentId property: Resource ID of the session pool's environment.- Returns:
- the environmentId value.
-
withEnvironmentId
Set the environmentId property: Resource ID of the session pool's environment.- Parameters:
environmentId
- the environmentId value to set.- Returns:
- the SessionPoolInner object itself.
-
containerType
Get the containerType property: The container type of the sessions.- Returns:
- the containerType value.
-
withContainerType
Set the containerType property: The container type of the sessions.- Parameters:
containerType
- the containerType value to set.- Returns:
- the SessionPoolInner object itself.
-
poolManagementType
Get the poolManagementType property: The pool management type of the session pool.- Returns:
- the poolManagementType value.
-
withPoolManagementType
Set the poolManagementType property: The pool management type of the session pool.- Parameters:
poolManagementType
- the poolManagementType value to set.- Returns:
- the SessionPoolInner object itself.
-
nodeCount
Get the nodeCount property: The number of nodes the session pool is using.- Returns:
- the nodeCount value.
-
scaleConfiguration
Get the scaleConfiguration property: The scale configuration of the session pool.- Returns:
- the scaleConfiguration value.
-
withScaleConfiguration
Set the scaleConfiguration property: The scale configuration of the session pool.- Parameters:
scaleConfiguration
- the scaleConfiguration value to set.- Returns:
- the SessionPoolInner object itself.
-
secrets
Get the secrets property: The secrets of the session pool.- Returns:
- the secrets value.
-
withSecrets
Set the secrets property: The secrets of the session pool.- Parameters:
secrets
- the secrets value to set.- Returns:
- the SessionPoolInner object itself.
-
dynamicPoolConfiguration
Get the dynamicPoolConfiguration property: The pool configuration if the poolManagementType is dynamic.- Returns:
- the dynamicPoolConfiguration value.
-
withDynamicPoolConfiguration
public SessionPoolInner withDynamicPoolConfiguration(DynamicPoolConfiguration dynamicPoolConfiguration) Set the dynamicPoolConfiguration property: The pool configuration if the poolManagementType is dynamic.- Parameters:
dynamicPoolConfiguration
- the dynamicPoolConfiguration value to set.- Returns:
- the SessionPoolInner object itself.
-
customContainerTemplate
Get the customContainerTemplate property: The custom container configuration if the containerType is CustomContainer.- Returns:
- the customContainerTemplate value.
-
withCustomContainerTemplate
public SessionPoolInner withCustomContainerTemplate(CustomContainerTemplate customContainerTemplate) Set the customContainerTemplate property: The custom container configuration if the containerType is CustomContainer.- Parameters:
customContainerTemplate
- the customContainerTemplate value to set.- Returns:
- the SessionPoolInner object itself.
-
sessionNetworkConfiguration
Get the sessionNetworkConfiguration property: The network configuration of the sessions in the session pool.- Returns:
- the sessionNetworkConfiguration value.
-
withSessionNetworkConfiguration
public SessionPoolInner withSessionNetworkConfiguration(SessionNetworkConfiguration sessionNetworkConfiguration) Set the sessionNetworkConfiguration property: The network configuration of the sessions in the session pool.- Parameters:
sessionNetworkConfiguration
- the sessionNetworkConfiguration value to set.- Returns:
- the SessionPoolInner object itself.
-
poolManagementEndpoint
Get the poolManagementEndpoint property: The endpoint to manage the pool.- Returns:
- the poolManagementEndpoint value.
-
provisioningState
Get the provisioningState property: Provisioning state of the session pool.- Returns:
- the provisioningState value.
-
managedIdentitySettings
Get the managedIdentitySettings property: Optional settings for a Managed Identity that is assigned to the Session pool.- Returns:
- the managedIdentitySettings value.
-
withManagedIdentitySettings
public SessionPoolInner withManagedIdentitySettings(List<ManagedIdentitySetting> managedIdentitySettings) Set the managedIdentitySettings property: Optional settings for a Managed Identity that is assigned to the Session pool.- Parameters:
managedIdentitySettings
- the managedIdentitySettings value to set.- Returns:
- the SessionPoolInner object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
toJson
- Specified by:
toJson
in interfacecom.azure.json.JsonSerializable<com.azure.core.management.ProxyResource>
- Overrides:
toJson
in classcom.azure.core.management.Resource
- Throws:
IOException
-
fromJson
Reads an instance of SessionPoolInner from the JsonReader.- Parameters:
jsonReader
- The JsonReader being read.- Returns:
- An instance of SessionPoolInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
- Throws:
IllegalStateException
- If the deserialized JSON object was missing any required properties.IOException
- If an error occurs while reading the SessionPoolInner.
-