Interface ContainerAppsRevisionReplicas
-
public interface ContainerAppsRevisionReplicas
Resource collection API of ContainerAppsRevisionReplicas.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Replica
getReplica(String resourceGroupName, String containerAppName, String revisionName, String name)
Get a replica for a Container App Revision.com.azure.core.http.rest.Response<Replica>
getReplicaWithResponse(String resourceGroupName, String containerAppName, String revisionName, String name, com.azure.core.util.Context context)
Get a replica for a Container App Revision.ReplicaCollection
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 Detail
-
getReplica
Replica getReplica(String resourceGroupName, String containerAppName, String revisionName, String name)
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.name
- 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.
-
getReplicaWithResponse
com.azure.core.http.rest.Response<Replica> getReplicaWithResponse(String resourceGroupName, String containerAppName, String revisionName, String name, 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.name
- 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.
-
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.
-
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.
-
-