Skip to content

Commit

Permalink
CodeGen from PR 18849 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
Fix incorrect description prefix (Azure#18849)
  • Loading branch information
SDKAuto committed May 12, 2022
1 parent 4114ec3 commit c803f1b
Show file tree
Hide file tree
Showing 53 changed files with 1,856 additions and 1,627 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-12)

- 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 @@ -48,22 +48,22 @@ PagedIterable<AuthConfigInner> listByContainerApp(
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param containerAppName Name of the Container App.
* @param name Name of the Container App AuthConfig.
* @param authConfigName Name of the Container App AuthConfig.
* @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 AuthConfig of a Container App.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
AuthConfigInner get(String resourceGroupName, String containerAppName, String name);
AuthConfigInner get(String resourceGroupName, String containerAppName, String authConfigName);

/**
* Get a AuthConfig of a Container App.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param containerAppName Name of the Container App.
* @param name Name of the Container App AuthConfig.
* @param authConfigName Name of the Container App AuthConfig.
* @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,14 +73,14 @@ PagedIterable<AuthConfigInner> listByContainerApp(
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response<AuthConfigInner> getWithResponse(
String resourceGroupName, String containerAppName, String name, Context context);
String resourceGroupName, String containerAppName, String authConfigName, Context context);

/**
* Description for Create or update the AuthConfig for a Container App.
* Create or update the AuthConfig for a Container App.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param containerAppName Name of the Container App.
* @param name Name of the Container App AuthConfig.
* @param authConfigName Name of the Container App AuthConfig.
* @param authConfigEnvelope Properties used to create a Container App AuthConfig.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
Expand All @@ -90,14 +90,14 @@ Response<AuthConfigInner> getWithResponse(
*/
@ServiceMethod(returns = ReturnType.SINGLE)
AuthConfigInner createOrUpdate(
String resourceGroupName, String containerAppName, String name, AuthConfigInner authConfigEnvelope);
String resourceGroupName, String containerAppName, String authConfigName, AuthConfigInner authConfigEnvelope);

/**
* Description for Create or update the AuthConfig for a Container App.
* Create or update the AuthConfig for a Container App.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param containerAppName Name of the Container App.
* @param name Name of the Container App AuthConfig.
* @param authConfigName Name of the Container App AuthConfig.
* @param authConfigEnvelope Properties used to create a Container App AuthConfig.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
Expand All @@ -111,30 +111,30 @@ AuthConfigInner createOrUpdate(
Response<AuthConfigInner> createOrUpdateWithResponse(
String resourceGroupName,
String containerAppName,
String name,
String authConfigName,
AuthConfigInner authConfigEnvelope,
Context context);

/**
* Description for Delete a Container App AuthConfig.
* Delete a Container App AuthConfig.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param containerAppName Name of the Container App.
* @param name Name of the Container App AuthConfig.
* @param authConfigName Name of the Container App AuthConfig.
* @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 containerAppName, String name);
void delete(String resourceGroupName, String containerAppName, String authConfigName);

/**
* Description for Delete a Container App AuthConfig.
* Delete a Container App AuthConfig.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param containerAppName Name of the Container App.
* @param name Name of the Container App AuthConfig.
* @param authConfigName Name of the Container App AuthConfig.
* @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 @@ -143,5 +143,6 @@ Response<AuthConfigInner> createOrUpdateWithResponse(
* @return the {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response<Void> deleteWithResponse(String resourceGroupName, String containerAppName, String name, Context context);
Response<Void> deleteWithResponse(
String resourceGroupName, String containerAppName, String authConfigName, Context context);
}
Loading

0 comments on commit c803f1b

Please sign in to comment.