
com.azure.resourcemanager.appcontainers.fluent.ContainerAppsRevisionReplicasClient Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-resourcemanager-appcontainers Show documentation
Show all versions of azure-resourcemanager-appcontainers Show documentation
This package contains Microsoft Azure SDK for ContainerAppsApi Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. Package tag package-2024-03.
The newest version!
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.resourcemanager.appcontainers.fluent;
import com.azure.core.annotation.ReturnType;
import com.azure.core.annotation.ServiceMethod;
import com.azure.core.http.rest.Response;
import com.azure.core.util.Context;
import com.azure.resourcemanager.appcontainers.fluent.models.ReplicaCollectionInner;
import com.azure.resourcemanager.appcontainers.fluent.models.ReplicaInner;
/**
* An instance of this class provides access to all the operations defined in ContainerAppsRevisionReplicasClient.
*/
public interface ContainerAppsRevisionReplicasClient {
/**
* Get a replica for a Container App Revision.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param containerAppName Name of the Container App.
* @param revisionName Name of the Container App Revision.
* @param replicaName Name of the Container App Revision Replica.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
* is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return a replica for a Container App Revision along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response getReplicaWithResponse(String resourceGroupName, String containerAppName,
String revisionName, String replicaName, Context context);
/**
* Get a replica for a Container App Revision.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param containerAppName Name of the Container App.
* @param revisionName Name of the Container App Revision.
* @param replicaName Name of the Container App Revision Replica.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
* is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return a replica for a Container App Revision.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
ReplicaInner getReplica(String resourceGroupName, String containerAppName, String revisionName, String replicaName);
/**
* List replicas for a Container App Revision.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param containerAppName Name of the Container App.
* @param revisionName Name of the Container App Revision.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
* is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return container App Revision Replicas collection ARM resource along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response listReplicasWithResponse(String resourceGroupName, String containerAppName,
String revisionName, Context context);
/**
* List replicas for a Container App Revision.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param containerAppName Name of the Container App.
* @param revisionName Name of the Container App Revision.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
* is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return container App Revision Replicas collection ARM resource.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
ReplicaCollectionInner listReplicas(String resourceGroupName, String containerAppName, String revisionName);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy