Skip to content

Commit

Permalink
CodeGen from PR 19005 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
Merge bb86ee142e7292a01e579cd0ce68ffcefa6e421d into b71da9841769cfdf17c43d3dc58195f1237f1bed
  • Loading branch information
SDKAuto committed May 10, 2022
1 parent bbef6c2 commit 9388474
Show file tree
Hide file tree
Showing 37 changed files with 1,162 additions and 1,046 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# Release History

## 1.0.0-beta.3 (Unreleased)
## 1.0.0-beta.1 (2022-05-10)

- Azure Resource Manager ContainerAppsApi client library for Java. This package contains Microsoft Azure SDK for ContainerAppsApi Management SDK. Package tag package-2022-03. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt).

### Features Added

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ Various documentation is available to help you get started
<dependency>
<groupId>com.azure.resourcemanager</groupId>
<artifactId>azure-resourcemanager-appcontainers</artifactId>
<version>1.0.0-beta.2</version>
<version>1.0.0-beta.3</version>
</dependency>
```
[//]: # ({x-version-update-end})
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ public ContainerAppsApiManager authenticate(TokenCredential credential, AzurePro
.append("-")
.append("com.azure.resourcemanager.appcontainers")
.append("/")
.append("1.0.0-beta.2");
.append("1.0.0-beta.1");
if (!Configuration.getGlobalConfiguration().get("AZURE_TELEMETRY_DISABLED", false)) {
userAgentBuilder
.append(" (")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,21 +18,21 @@ public interface CertificatesClient {
* Get the Certificates in a given managed environment.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param managedEnvironmentName Name of the Managed Environment.
* @param environmentName Name of the Managed Environment.
* @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 the Certificates in a given managed environment as paginated response with {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
PagedIterable<CertificateInner> list(String resourceGroupName, String managedEnvironmentName);
PagedIterable<CertificateInner> list(String resourceGroupName, String environmentName);

/**
* Get the Certificates in a given managed environment.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param managedEnvironmentName Name of the Managed Environment.
* @param environmentName Name of the Managed Environment.
* @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
Expand All @@ -41,29 +41,29 @@ public interface CertificatesClient {
* @return the Certificates in a given managed environment as paginated response with {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
PagedIterable<CertificateInner> list(String resourceGroupName, String managedEnvironmentName, Context context);
PagedIterable<CertificateInner> list(String resourceGroupName, String environmentName, Context context);

/**
* Get the specified Certificate.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param managedEnvironmentName Name of the Managed Environment.
* @param name Name of the Certificate.
* @param environmentName Name of the Managed Environment.
* @param certificateName Name of the Certificate.
* @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 the specified Certificate.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
CertificateInner get(String resourceGroupName, String managedEnvironmentName, String name);
CertificateInner get(String resourceGroupName, String environmentName, String certificateName);

/**
* Get the specified Certificate.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param managedEnvironmentName Name of the Managed Environment.
* @param name Name of the Certificate.
* @param environmentName Name of the Managed Environment.
* @param certificateName Name of the Certificate.
* @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
Expand All @@ -73,29 +73,29 @@ public interface CertificatesClient {
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response<CertificateInner> getWithResponse(
String resourceGroupName, String managedEnvironmentName, String name, Context context);
String resourceGroupName, String environmentName, String certificateName, Context context);

/**
* Create or Update a Certificate.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param managedEnvironmentName Name of the Managed Environment.
* @param name Name of the Certificate.
* @param environmentName Name of the Managed Environment.
* @param certificateName Name of the Certificate.
* @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 certificate used for Custom Domain bindings of Container Apps in a Managed Environment.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
CertificateInner createOrUpdate(String resourceGroupName, String managedEnvironmentName, String name);
CertificateInner createOrUpdate(String resourceGroupName, String environmentName, String certificateName);

/**
* Create or Update a Certificate.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param managedEnvironmentName Name of the Managed Environment.
* @param name Name of the Certificate.
* @param environmentName Name of the Managed Environment.
* @param certificateName Name of the Certificate.
* @param certificateEnvelope Certificate to be created or updated.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
Expand All @@ -108,31 +108,31 @@ Response<CertificateInner> getWithResponse(
@ServiceMethod(returns = ReturnType.SINGLE)
Response<CertificateInner> createOrUpdateWithResponse(
String resourceGroupName,
String managedEnvironmentName,
String name,
String environmentName,
String certificateName,
CertificateInner certificateEnvelope,
Context context);

/**
* Deletes the specified Certificate.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param managedEnvironmentName Name of the Managed Environment.
* @param name Name of the Certificate.
* @param environmentName Name of the Managed Environment.
* @param certificateName Name of the Certificate.
* @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.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
void delete(String resourceGroupName, String managedEnvironmentName, String name);
void delete(String resourceGroupName, String environmentName, String certificateName);

/**
* Deletes the specified Certificate.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param managedEnvironmentName Name of the Managed Environment.
* @param name Name of the Certificate.
* @param environmentName Name of the Managed Environment.
* @param certificateName Name of the Certificate.
* @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
Expand All @@ -142,14 +142,14 @@ Response<CertificateInner> createOrUpdateWithResponse(
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response<Void> deleteWithResponse(
String resourceGroupName, String managedEnvironmentName, String name, Context context);
String resourceGroupName, String environmentName, String certificateName, Context context);

/**
* Patches a certificate. Currently only patching of tags is supported.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param managedEnvironmentName Name of the Managed Environment.
* @param name Name of the Certificate.
* @param environmentName Name of the Managed Environment.
* @param certificateName Name of the Certificate.
* @param certificateEnvelope Properties of a certificate that need to be updated.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
Expand All @@ -159,14 +159,14 @@ Response<Void> deleteWithResponse(
*/
@ServiceMethod(returns = ReturnType.SINGLE)
CertificateInner update(
String resourceGroupName, String managedEnvironmentName, String name, CertificatePatch certificateEnvelope);
String resourceGroupName, String environmentName, String certificateName, CertificatePatch certificateEnvelope);

/**
* Patches a certificate. Currently only patching of tags is supported.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param managedEnvironmentName Name of the Managed Environment.
* @param name Name of the Certificate.
* @param environmentName Name of the Managed Environment.
* @param certificateName Name of the Certificate.
* @param certificateEnvelope Properties of a certificate that need to be updated.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
Expand All @@ -179,8 +179,8 @@ CertificateInner update(
@ServiceMethod(returns = ReturnType.SINGLE)
Response<CertificateInner> updateWithResponse(
String resourceGroupName,
String managedEnvironmentName,
String name,
String environmentName,
String certificateName,
CertificatePatch certificateEnvelope,
Context context);
}
Original file line number Diff line number Diff line change
Expand Up @@ -19,23 +19,23 @@ public interface ContainerAppsRevisionReplicasClient {
* @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 name Name of the Container App Revision Replica.
* @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 name);
ReplicaInner getReplica(String resourceGroupName, String containerAppName, String revisionName, String replicaName);

/**
* 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 name Name of the Container App Revision Replica.
* @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
Expand All @@ -45,7 +45,7 @@ public interface ContainerAppsRevisionReplicasClient {
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response<ReplicaInner> getReplicaWithResponse(
String resourceGroupName, String containerAppName, String revisionName, String name, Context context);
String resourceGroupName, String containerAppName, String revisionName, String replicaName, Context context);

/**
* List replicas for a Container App Revision.
Expand Down
Loading

0 comments on commit 9388474

Please sign in to comment.