Interface ContainerAppsRevisionsClient
public interface ContainerAppsRevisionsClient
An instance of this class provides access to all the operations defined in ContainerAppsRevisionsClient.
-
Method Summary
Modifier and TypeMethodDescriptionvoidactivateRevision(String resourceGroupName, String containerAppName, String revisionName) Activates a revision for a Container App.com.azure.core.http.rest.Response<Void> activateRevisionWithResponse(String resourceGroupName, String containerAppName, String revisionName, com.azure.core.util.Context context) Activates a revision for a Container App.voiddeactivateRevision(String resourceGroupName, String containerAppName, String revisionName) Deactivates a revision for a Container App.com.azure.core.http.rest.Response<Void> deactivateRevisionWithResponse(String resourceGroupName, String containerAppName, String revisionName, com.azure.core.util.Context context) Deactivates a revision for a Container App.getRevision(String resourceGroupName, String containerAppName, String revisionName) Get a revision of a Container App.com.azure.core.http.rest.Response<RevisionInner> getRevisionWithResponse(String resourceGroupName, String containerAppName, String revisionName, com.azure.core.util.Context context) Get a revision of a Container App.com.azure.core.http.rest.PagedIterable<RevisionInner> listRevisions(String resourceGroupName, String containerAppName) Get the Revisions for a given Container App.com.azure.core.http.rest.PagedIterable<RevisionInner> listRevisions(String resourceGroupName, String containerAppName, String filter, com.azure.core.util.Context context) Get the Revisions for a given Container App.voidrestartRevision(String resourceGroupName, String containerAppName, String revisionName) Restarts a revision for a Container App.com.azure.core.http.rest.Response<Void> restartRevisionWithResponse(String resourceGroupName, String containerAppName, String revisionName, com.azure.core.util.Context context) Restarts a revision for a Container App.
-
Method Details
-
listRevisions
com.azure.core.http.rest.PagedIterable<RevisionInner> listRevisions(String resourceGroupName, String containerAppName) Get the Revisions for a given Container App.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.containerAppName- Name of the Container App for which Revisions are needed.- Returns:
- the Revisions for a given Container App as paginated response with
PagedIterable. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.DefaultErrorResponseErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listRevisions
com.azure.core.http.rest.PagedIterable<RevisionInner> listRevisions(String resourceGroupName, String containerAppName, String filter, com.azure.core.util.Context context) Get the Revisions for a given Container App.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.containerAppName- Name of the Container App for which Revisions are needed.filter- The filter to apply on the operation.context- The context to associate with this operation.- Returns:
- the Revisions for a given Container App as paginated response with
PagedIterable. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.DefaultErrorResponseErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getRevisionWithResponse
com.azure.core.http.rest.Response<RevisionInner> getRevisionWithResponse(String resourceGroupName, String containerAppName, String revisionName, com.azure.core.util.Context context) Get a revision of a Container App.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.containerAppName- Name of the Container App.revisionName- Name of the Container App Revision.context- The context to associate with this operation.- Returns:
- a revision of a Container App along with
Response. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.DefaultErrorResponseErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getRevision
Get a revision of a Container App.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.containerAppName- Name of the Container App.revisionName- Name of the Container App Revision.- Returns:
- a revision of a Container App.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.DefaultErrorResponseErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
activateRevisionWithResponse
com.azure.core.http.rest.Response<Void> activateRevisionWithResponse(String resourceGroupName, String containerAppName, String revisionName, com.azure.core.util.Context context) Activates a revision for a Container App.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.containerAppName- Name of the Container App.revisionName- Name of the Container App Revision.context- The context to associate with this operation.- Returns:
- the
Response. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.DefaultErrorResponseErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
activateRevision
Activates a revision for a Container App.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.containerAppName- Name of the Container App.revisionName- Name of the Container App Revision.- Throws:
IllegalArgumentException- thrown if parameters fail the validation.DefaultErrorResponseErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
deactivateRevisionWithResponse
com.azure.core.http.rest.Response<Void> deactivateRevisionWithResponse(String resourceGroupName, String containerAppName, String revisionName, com.azure.core.util.Context context) Deactivates a revision for a Container App.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.containerAppName- Name of the Container App.revisionName- Name of the Container App Revision.context- The context to associate with this operation.- Returns:
- the
Response. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.DefaultErrorResponseErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
deactivateRevision
Deactivates a revision for a Container App.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.containerAppName- Name of the Container App.revisionName- Name of the Container App Revision.- Throws:
IllegalArgumentException- thrown if parameters fail the validation.DefaultErrorResponseErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
restartRevisionWithResponse
com.azure.core.http.rest.Response<Void> restartRevisionWithResponse(String resourceGroupName, String containerAppName, String revisionName, com.azure.core.util.Context context) Restarts a revision for a Container App.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.containerAppName- Name of the Container App.revisionName- Name of the Container App Revision.context- The context to associate with this operation.- Returns:
- the
Response. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.DefaultErrorResponseErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
restartRevision
Restarts a revision for a Container App.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.containerAppName- Name of the Container App.revisionName- Name of the Container App Revision.- Throws:
IllegalArgumentException- thrown if parameters fail the validation.DefaultErrorResponseErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-