Interface ContainerAppsSessionPoolsClient
public interface ContainerAppsSessionPoolsClient
An instance of this class provides access to all the operations defined in ContainerAppsSessionPoolsClient.
-
Method Summary
Modifier and TypeMethodDescriptioncom.azure.core.util.polling.SyncPoller
<com.azure.core.management.polling.PollResult<SessionPoolInner>, SessionPoolInner> beginCreateOrUpdate
(String resourceGroupName, String sessionPoolName, SessionPoolInner sessionPoolEnvelope) Create or update a session pool.com.azure.core.util.polling.SyncPoller
<com.azure.core.management.polling.PollResult<SessionPoolInner>, SessionPoolInner> beginCreateOrUpdate
(String resourceGroupName, String sessionPoolName, SessionPoolInner sessionPoolEnvelope, com.azure.core.util.Context context) Create or update a session pool.beginDelete
(String resourceGroupName, String sessionPoolName) Delete a session pool.beginDelete
(String resourceGroupName, String sessionPoolName, com.azure.core.util.Context context) Delete a session pool.com.azure.core.util.polling.SyncPoller
<com.azure.core.management.polling.PollResult<SessionPoolInner>, SessionPoolInner> beginUpdate
(String resourceGroupName, String sessionPoolName, SessionPoolUpdatableProperties sessionPoolEnvelope) Update properties of a session pool Patches a session pool using JSON merge patch.com.azure.core.util.polling.SyncPoller
<com.azure.core.management.polling.PollResult<SessionPoolInner>, SessionPoolInner> beginUpdate
(String resourceGroupName, String sessionPoolName, SessionPoolUpdatableProperties sessionPoolEnvelope, com.azure.core.util.Context context) Update properties of a session pool Patches a session pool using JSON merge patch.createOrUpdate
(String resourceGroupName, String sessionPoolName, SessionPoolInner sessionPoolEnvelope) Create or update a session pool.createOrUpdate
(String resourceGroupName, String sessionPoolName, SessionPoolInner sessionPoolEnvelope, com.azure.core.util.Context context) Create or update a session pool.void
Delete a session pool.void
Delete a session pool.getByResourceGroup
(String resourceGroupName, String sessionPoolName) Get the properties of a session pool.com.azure.core.http.rest.Response
<SessionPoolInner> getByResourceGroupWithResponse
(String resourceGroupName, String sessionPoolName, com.azure.core.util.Context context) Get the properties of a session pool.com.azure.core.http.rest.PagedIterable
<SessionPoolInner> list()
Get the session pools in a given subscription.com.azure.core.http.rest.PagedIterable
<SessionPoolInner> list
(com.azure.core.util.Context context) Get the session pools in a given subscription.com.azure.core.http.rest.PagedIterable
<SessionPoolInner> listByResourceGroup
(String resourceGroupName) Get the session pools in a given resource group of a subscription.com.azure.core.http.rest.PagedIterable
<SessionPoolInner> listByResourceGroup
(String resourceGroupName, com.azure.core.util.Context context) Get the session pools in a given resource group of a subscription.update
(String resourceGroupName, String sessionPoolName, SessionPoolUpdatableProperties sessionPoolEnvelope) Update properties of a session pool Patches a session pool using JSON merge patch.update
(String resourceGroupName, String sessionPoolName, SessionPoolUpdatableProperties sessionPoolEnvelope, com.azure.core.util.Context context) Update properties of a session pool Patches a session pool using JSON merge patch.
-
Method Details
-
list
com.azure.core.http.rest.PagedIterable<SessionPoolInner> list()Get the session pools in a given subscription.- Returns:
- the session pools in a given subscription as paginated response with
PagedIterable
. - Throws:
com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
list
Get the session pools in a given subscription.- Parameters:
context
- The context to associate with this operation.- Returns:
- the session pools in a given subscription as paginated response with
PagedIterable
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
listByResourceGroup
com.azure.core.http.rest.PagedIterable<SessionPoolInner> listByResourceGroup(String resourceGroupName) Get the session pools in a given resource group of a subscription.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.- Returns:
- the session pools in a given resource group of a subscription as paginated response with
PagedIterable
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
listByResourceGroup
com.azure.core.http.rest.PagedIterable<SessionPoolInner> listByResourceGroup(String resourceGroupName, com.azure.core.util.Context context) Get the session pools in a given resource group of a subscription.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.context
- The context to associate with this operation.- Returns:
- the session pools in a given resource group of a subscription as paginated response with
PagedIterable
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
getByResourceGroupWithResponse
com.azure.core.http.rest.Response<SessionPoolInner> getByResourceGroupWithResponse(String resourceGroupName, String sessionPoolName, com.azure.core.util.Context context) Get the properties of a session pool.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.sessionPoolName
- Name of the session pool.context
- The context to associate with this operation.- Returns:
- the properties of a session pool along with
Response
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
getByResourceGroup
Get the properties of a session pool.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.sessionPoolName
- Name of the session pool.- Returns:
- the properties of a session pool.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
beginCreateOrUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<SessionPoolInner>,SessionPoolInner> beginCreateOrUpdate(String resourceGroupName, String sessionPoolName, SessionPoolInner sessionPoolEnvelope) Create or update a session pool. Create or update a session pool with the given properties.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.sessionPoolName
- Name of the session pool.sessionPoolEnvelope
- Properties used to create a session pool.- Returns:
- the
SyncPoller
for polling of container App session pool. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
beginCreateOrUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<SessionPoolInner>,SessionPoolInner> beginCreateOrUpdate(String resourceGroupName, String sessionPoolName, SessionPoolInner sessionPoolEnvelope, com.azure.core.util.Context context) Create or update a session pool. Create or update a session pool with the given properties.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.sessionPoolName
- Name of the session pool.sessionPoolEnvelope
- Properties used to create a session pool.context
- The context to associate with this operation.- Returns:
- the
SyncPoller
for polling of container App session pool. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
createOrUpdate
SessionPoolInner createOrUpdate(String resourceGroupName, String sessionPoolName, SessionPoolInner sessionPoolEnvelope) Create or update a session pool. Create or update a session pool with the given properties.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.sessionPoolName
- Name of the session pool.sessionPoolEnvelope
- Properties used to create a session pool.- Returns:
- container App session pool.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
createOrUpdate
SessionPoolInner createOrUpdate(String resourceGroupName, String sessionPoolName, SessionPoolInner sessionPoolEnvelope, com.azure.core.util.Context context) Create or update a session pool. Create or update a session pool with the given properties.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.sessionPoolName
- Name of the session pool.sessionPoolEnvelope
- Properties used to create a session pool.context
- The context to associate with this operation.- Returns:
- container App session pool.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
beginUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<SessionPoolInner>,SessionPoolInner> beginUpdate(String resourceGroupName, String sessionPoolName, SessionPoolUpdatableProperties sessionPoolEnvelope) Update properties of a session pool Patches a session pool using JSON merge patch.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.sessionPoolName
- Name of the session pool.sessionPoolEnvelope
- Properties used to create a session pool.- Returns:
- the
SyncPoller
for polling of container App session pool. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
beginUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<SessionPoolInner>,SessionPoolInner> beginUpdate(String resourceGroupName, String sessionPoolName, SessionPoolUpdatableProperties sessionPoolEnvelope, com.azure.core.util.Context context) Update properties of a session pool Patches a session pool using JSON merge patch.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.sessionPoolName
- Name of the session pool.sessionPoolEnvelope
- Properties used to create a session pool.context
- The context to associate with this operation.- Returns:
- the
SyncPoller
for polling of container App session pool. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
update
SessionPoolInner update(String resourceGroupName, String sessionPoolName, SessionPoolUpdatableProperties sessionPoolEnvelope) Update properties of a session pool Patches a session pool using JSON merge patch.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.sessionPoolName
- Name of the session pool.sessionPoolEnvelope
- Properties used to create a session pool.- Returns:
- container App session pool.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
update
SessionPoolInner update(String resourceGroupName, String sessionPoolName, SessionPoolUpdatableProperties sessionPoolEnvelope, com.azure.core.util.Context context) Update properties of a session pool Patches a session pool using JSON merge patch.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.sessionPoolName
- Name of the session pool.sessionPoolEnvelope
- Properties used to create a session pool.context
- The context to associate with this operation.- Returns:
- container App session pool.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
beginDelete
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String resourceGroupName, String sessionPoolName) Delete a session pool. Delete the session pool with the given name.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.sessionPoolName
- Name of the session pool.- Returns:
- the
SyncPoller
for polling of long-running operation. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
beginDelete
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String resourceGroupName, String sessionPoolName, com.azure.core.util.Context context) Delete a session pool. Delete the session pool with the given name.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.sessionPoolName
- Name of the session pool.context
- The context to associate with this operation.- Returns:
- the
SyncPoller
for polling of long-running operation. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
delete
Delete a session pool. Delete the session pool with the given name.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.sessionPoolName
- Name of the session pool.- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
delete
Delete a session pool. Delete the session pool with the given name.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.sessionPoolName
- Name of the session pool.context
- The context to associate with this operation.- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-