Interface ContainerAppsRevisionReplicas
public interface ContainerAppsRevisionReplicas
Resource collection API of ContainerAppsRevisionReplicas.
-
Method Summary
Modifier and TypeMethodDescriptiongetReplica
(String resourceGroupName, String containerAppName, String revisionName, String replicaName) Get a replica for a Container App Revision.com.azure.core.http.rest.Response<Replica>
getReplicaWithResponse
(String resourceGroupName, String containerAppName, String revisionName, String replicaName, com.azure.core.util.Context context) Get a replica for a Container App Revision.listReplicas
(String resourceGroupName, String containerAppName, String revisionName) List replicas for a Container App Revision.com.azure.core.http.rest.Response<ReplicaCollection>
listReplicasWithResponse
(String resourceGroupName, String containerAppName, String revisionName, com.azure.core.util.Context context) List replicas for a Container App Revision.
-
Method Details
-
getReplicaWithResponse
com.azure.core.http.rest.Response<Replica> getReplicaWithResponse(String resourceGroupName, String containerAppName, String revisionName, String replicaName, com.azure.core.util.Context context) Get a replica for a Container App Revision.- 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.replicaName
- Name of the Container App Revision Replica.context
- The context to associate with this operation.- Returns:
- a replica for a Container App Revision 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.
-
getReplica
Replica getReplica(String resourceGroupName, String containerAppName, String revisionName, String replicaName) Get a replica for a Container App Revision.- 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.replicaName
- Name of the Container App Revision Replica.- Returns:
- a replica for a 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.
-
listReplicasWithResponse
com.azure.core.http.rest.Response<ReplicaCollection> listReplicasWithResponse(String resourceGroupName, String containerAppName, String revisionName, com.azure.core.util.Context context) List replicas for a Container App Revision.- 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:
- container App Revision Replicas collection ARM resource 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.
-
listReplicas
ReplicaCollection listReplicas(String resourceGroupName, String containerAppName, String revisionName) List replicas for a Container App Revision.- 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:
- container App Revision Replicas collection ARM resource.
- 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.
-