Skip to content

Commit

Permalink
CodeGen from PR 19133 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
Merge af0952425f0a9addae574dcc3103df7e50e152f5 into a8a52b9e6c305f03c3a4c5411d59fc4454b5b372
  • Loading branch information
SDKAuto committed May 20, 2022
1 parent 2b9b3de commit 0ae000c
Show file tree
Hide file tree
Showing 58 changed files with 1,970 additions and 1,821 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-20)

- 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 Expand Up @@ -301,7 +301,7 @@ public ContainerAppsApiManager authenticate(TokenCredential credential, AzurePro
}

/**
* Gets the resource collection API of ContainerAppsAuthConfigs.
* Gets the resource collection API of ContainerAppsAuthConfigs. It manages AuthConfig.
*
* @return Resource collection API of ContainerAppsAuthConfigs.
*/
Expand All @@ -314,7 +314,7 @@ public ContainerAppsAuthConfigs containerAppsAuthConfigs() {
}

/**
* Gets the resource collection API of ContainerApps.
* Gets the resource collection API of ContainerApps. It manages ContainerApp.
*
* @return Resource collection API of ContainerApps.
*/
Expand Down Expand Up @@ -352,7 +352,7 @@ public ContainerAppsRevisionReplicas containerAppsRevisionReplicas() {
}

/**
* Gets the resource collection API of DaprComponents.
* Gets the resource collection API of DaprComponents. It manages DaprComponent.
*
* @return Resource collection API of DaprComponents.
*/
Expand All @@ -376,7 +376,7 @@ public Operations operations() {
}

/**
* Gets the resource collection API of ManagedEnvironments.
* Gets the resource collection API of ManagedEnvironments. It manages ManagedEnvironment.
*
* @return Resource collection API of ManagedEnvironments.
*/
Expand All @@ -388,7 +388,7 @@ public ManagedEnvironments managedEnvironments() {
}

/**
* Gets the resource collection API of Certificates.
* Gets the resource collection API of Certificates. It manages Certificate.
*
* @return Resource collection API of Certificates.
*/
Expand All @@ -412,7 +412,7 @@ public Namespaces namespaces() {
}

/**
* Gets the resource collection API of ManagedEnvironmentsStorages.
* Gets the resource collection API of ManagedEnvironmentsStorages. It manages ManagedEnvironmentStorage.
*
* @return Resource collection API of ManagedEnvironmentsStorages.
*/
Expand All @@ -425,7 +425,7 @@ public ManagedEnvironmentsStorages managedEnvironmentsStorages() {
}

/**
* Gets the resource collection API of ContainerAppsSourceControls.
* Gets the resource collection API of ContainerAppsSourceControls. It manages SourceControl.
*
* @return Resource collection API of ContainerAppsSourceControls.
*/
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 0ae000c

Please sign in to comment.