diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/CHANGELOG.md b/sdk/appcontainers/azure-resourcemanager-appcontainers/CHANGELOG.md
index df7bc59abf64..a5a37836ad46 100644
--- a/sdk/appcontainers/azure-resourcemanager-appcontainers/CHANGELOG.md
+++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/CHANGELOG.md
@@ -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
diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/README.md b/sdk/appcontainers/azure-resourcemanager-appcontainers/README.md
index b0ca9f7388c7..c456e0cf3e79 100644
--- a/sdk/appcontainers/azure-resourcemanager-appcontainers/README.md
+++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/README.md
@@ -32,7 +32,7 @@ Various documentation is available to help you get started
com.azure.resourcemanagerazure-resourcemanager-appcontainers
- 1.0.0-beta.2
+ 1.0.0-beta.3
```
[//]: # ({x-version-update-end})
diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/ContainerAppsApiManager.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/ContainerAppsApiManager.java
index c33a48ccf429..63cdd1c776f2 100644
--- a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/ContainerAppsApiManager.java
+++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/ContainerAppsApiManager.java
@@ -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(" (")
@@ -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.
*/
@@ -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.
*/
@@ -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.
*/
@@ -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.
*/
@@ -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.
*/
@@ -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.
*/
@@ -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.
*/
diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/CertificatesClient.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/CertificatesClient.java
index 31418f533203..32178bc86902 100644
--- a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/CertificatesClient.java
+++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/CertificatesClient.java
@@ -18,7 +18,7 @@ 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.
@@ -26,13 +26,13 @@ public interface CertificatesClient {
* @return the Certificates in a given managed environment as paginated response with {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list(String resourceGroupName, String managedEnvironmentName);
+ PagedIterable 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
@@ -41,14 +41,14 @@ public interface CertificatesClient {
* @return the Certificates in a given managed environment as paginated response with {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list(String resourceGroupName, String managedEnvironmentName, Context context);
+ PagedIterable 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.
@@ -56,14 +56,14 @@ public interface CertificatesClient {
* @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
@@ -73,14 +73,14 @@ public interface CertificatesClient {
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response 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.
@@ -88,14 +88,14 @@ Response getWithResponse(
* @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.
@@ -108,8 +108,8 @@ Response getWithResponse(
@ServiceMethod(returns = ReturnType.SINGLE)
Response createOrUpdateWithResponse(
String resourceGroupName,
- String managedEnvironmentName,
- String name,
+ String environmentName,
+ String certificateName,
CertificateInner certificateEnvelope,
Context context);
@@ -117,22 +117,22 @@ Response createOrUpdateWithResponse(
* 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
@@ -142,14 +142,14 @@ Response createOrUpdateWithResponse(
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response 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
@@ -159,14 +159,14 @@ Response 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.
@@ -179,8 +179,8 @@ CertificateInner update(
@ServiceMethod(returns = ReturnType.SINGLE)
Response updateWithResponse(
String resourceGroupName,
- String managedEnvironmentName,
- String name,
+ String environmentName,
+ String certificateName,
CertificatePatch certificateEnvelope,
Context context);
}
diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/ContainerAppsAuthConfigsClient.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/ContainerAppsAuthConfigsClient.java
index 8cc9c4ccd368..678a87d3ac7c 100644
--- a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/ContainerAppsAuthConfigsClient.java
+++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/ContainerAppsAuthConfigsClient.java
@@ -48,7 +48,7 @@ PagedIterable 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.
@@ -56,14 +56,14 @@ PagedIterable listByContainerApp(
* @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
@@ -73,14 +73,14 @@ PagedIterable listByContainerApp(
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response 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
@@ -90,14 +90,14 @@ Response 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.
@@ -111,30 +111,30 @@ AuthConfigInner createOrUpdate(
Response 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
@@ -143,5 +143,6 @@ Response createOrUpdateWithResponse(
* @return the {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response deleteWithResponse(String resourceGroupName, String containerAppName, String name, Context context);
+ Response deleteWithResponse(
+ String resourceGroupName, String containerAppName, String authConfigName, Context context);
}
diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/ContainerAppsClient.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/ContainerAppsClient.java
index c0455c7ca570..5ee0e85fc0d8 100644
--- a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/ContainerAppsClient.java
+++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/ContainerAppsClient.java
@@ -72,20 +72,20 @@ public interface ContainerAppsClient {
* Get the properties of a Container App.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param name Name of the Container App.
+ * @param containerAppName Name of the Container App.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the properties of a Container App.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- ContainerAppInner getByResourceGroup(String resourceGroupName, String name);
+ ContainerAppInner getByResourceGroup(String resourceGroupName, String containerAppName);
/**
* Get the properties of a Container App.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param name Name of the Container App.
+ * @param containerAppName Name of the Container App.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -93,13 +93,14 @@ public interface ContainerAppsClient {
* @return the properties of a Container App along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response getByResourceGroupWithResponse(String resourceGroupName, String name, Context context);
+ Response getByResourceGroupWithResponse(
+ String resourceGroupName, String containerAppName, Context context);
/**
- * Description for Create or update a Container App.
+ * Create or update a Container App.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param name Name of the Container App.
+ * @param containerAppName Name of the Container App.
* @param containerAppEnvelope Properties used to create a container app.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
@@ -109,13 +110,13 @@ public interface ContainerAppsClient {
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, ContainerAppInner> beginCreateOrUpdate(
- String resourceGroupName, String name, ContainerAppInner containerAppEnvelope);
+ String resourceGroupName, String containerAppName, ContainerAppInner containerAppEnvelope);
/**
- * Description for Create or update a Container App.
+ * Create or update a Container App.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param name Name of the Container App.
+ * @param containerAppName Name of the Container App.
* @param containerAppEnvelope Properties used to create a container app.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -126,13 +127,13 @@ SyncPoller, ContainerAppInner> beginCreateOrUpdate
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, ContainerAppInner> beginCreateOrUpdate(
- String resourceGroupName, String name, ContainerAppInner containerAppEnvelope, Context context);
+ String resourceGroupName, String containerAppName, ContainerAppInner containerAppEnvelope, Context context);
/**
- * Description for Create or update a Container App.
+ * Create or update a Container App.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param name Name of the Container App.
+ * @param containerAppName Name of the Container App.
* @param containerAppEnvelope Properties used to create a container app.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
@@ -141,13 +142,14 @@ SyncPoller, ContainerAppInner> beginCreateOrUpdate
* @return container App.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- ContainerAppInner createOrUpdate(String resourceGroupName, String name, ContainerAppInner containerAppEnvelope);
+ ContainerAppInner createOrUpdate(
+ String resourceGroupName, String containerAppName, ContainerAppInner containerAppEnvelope);
/**
- * Description for Create or update a Container App.
+ * Create or update a Container App.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param name Name of the Container App.
+ * @param containerAppName Name of the Container App.
* @param containerAppEnvelope Properties used to create a container app.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -158,13 +160,13 @@ SyncPoller, ContainerAppInner> beginCreateOrUpdate
*/
@ServiceMethod(returns = ReturnType.SINGLE)
ContainerAppInner createOrUpdate(
- String resourceGroupName, String name, ContainerAppInner containerAppEnvelope, Context context);
+ String resourceGroupName, String containerAppName, ContainerAppInner containerAppEnvelope, Context context);
/**
- * Description for Delete a Container App.
+ * Delete a Container App.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param name Name of the Container App.
+ * @param containerAppName Name of the Container App.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
* is rejected by server.
@@ -172,13 +174,13 @@ ContainerAppInner createOrUpdate(
* @return the {@link SyncPoller} for polling of long-running operation.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, Void> beginDelete(String resourceGroupName, String name);
+ SyncPoller, Void> beginDelete(String resourceGroupName, String containerAppName);
/**
- * Description for Delete a Container App.
+ * Delete a Container App.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param name Name of the Container App.
+ * @param containerAppName Name of the Container App.
* @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
@@ -187,26 +189,26 @@ ContainerAppInner createOrUpdate(
* @return the {@link SyncPoller} for polling of long-running operation.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, Void> beginDelete(String resourceGroupName, String name, Context context);
+ SyncPoller, Void> beginDelete(String resourceGroupName, String containerAppName, Context context);
/**
- * Description for Delete a Container App.
+ * Delete a Container App.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param name Name of the Container App.
+ * @param containerAppName Name of the Container App.
* @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 name);
+ void delete(String resourceGroupName, String containerAppName);
/**
- * Description for Delete a Container App.
+ * Delete a Container App.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param name Name of the Container App.
+ * @param containerAppName Name of the Container App.
* @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
@@ -214,13 +216,13 @@ ContainerAppInner createOrUpdate(
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- void delete(String resourceGroupName, String name, Context context);
+ void delete(String resourceGroupName, String containerAppName, Context context);
/**
* Patches a Container App using JSON Merge Patch.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param name Name of the Container App.
+ * @param containerAppName Name of the Container App.
* @param containerAppEnvelope Properties of a Container App that need to be updated.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
@@ -230,13 +232,13 @@ ContainerAppInner createOrUpdate(
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, Void> beginUpdate(
- String resourceGroupName, String name, ContainerAppInner containerAppEnvelope);
+ String resourceGroupName, String containerAppName, ContainerAppInner containerAppEnvelope);
/**
* Patches a Container App using JSON Merge Patch.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param name Name of the Container App.
+ * @param containerAppName Name of the Container App.
* @param containerAppEnvelope Properties of a Container App that need to be updated.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -247,13 +249,13 @@ SyncPoller, Void> beginUpdate(
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, Void> beginUpdate(
- String resourceGroupName, String name, ContainerAppInner containerAppEnvelope, Context context);
+ String resourceGroupName, String containerAppName, ContainerAppInner containerAppEnvelope, Context context);
/**
* Patches a Container App using JSON Merge Patch.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param name Name of the Container App.
+ * @param containerAppName Name of the Container App.
* @param containerAppEnvelope Properties of a Container App that need to be updated.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
@@ -261,13 +263,13 @@ SyncPoller, Void> beginUpdate(
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- void update(String resourceGroupName, String name, ContainerAppInner containerAppEnvelope);
+ void update(String resourceGroupName, String containerAppName, ContainerAppInner containerAppEnvelope);
/**
* Patches a Container App using JSON Merge Patch.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param name Name of the Container App.
+ * @param containerAppName Name of the Container App.
* @param containerAppEnvelope Properties of a Container App that need to be updated.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -276,7 +278,8 @@ SyncPoller, Void> beginUpdate(
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- void update(String resourceGroupName, String name, ContainerAppInner containerAppEnvelope, Context context);
+ void update(
+ String resourceGroupName, String containerAppName, ContainerAppInner containerAppEnvelope, Context context);
/**
* Analyzes a custom hostname for a Container App.
@@ -313,7 +316,7 @@ Response listCustomHostnameAnalysisWithRespon
* List secrets for a container app.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param name Name of the Container App.
+ * @param containerAppName Name of the Container App.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
* is rejected by server.
@@ -321,13 +324,13 @@ Response listCustomHostnameAnalysisWithRespon
* @return container App Secrets Collection ARM resource.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- SecretsCollectionInner listSecrets(String resourceGroupName, String name);
+ SecretsCollectionInner listSecrets(String resourceGroupName, String containerAppName);
/**
* List secrets for a container app.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param name Name of the Container App.
+ * @param containerAppName Name of the Container App.
* @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
@@ -336,5 +339,6 @@ Response listCustomHostnameAnalysisWithRespon
* @return container App Secrets Collection ARM resource along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response listSecretsWithResponse(String resourceGroupName, String name, Context context);
+ Response listSecretsWithResponse(
+ String resourceGroupName, String containerAppName, Context context);
}
diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/ContainerAppsRevisionReplicasClient.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/ContainerAppsRevisionReplicasClient.java
index 7e302a5a4788..33cedc706bc7 100644
--- a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/ContainerAppsRevisionReplicasClient.java
+++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/ContainerAppsRevisionReplicasClient.java
@@ -19,7 +19,7 @@ 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.
@@ -27,7 +27,7 @@ public interface ContainerAppsRevisionReplicasClient {
* @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.
@@ -35,7 +35,7 @@ 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.
* @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
@@ -45,7 +45,7 @@ public interface ContainerAppsRevisionReplicasClient {
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response 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.
diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/ContainerAppsRevisionsClient.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/ContainerAppsRevisionsClient.java
index ec91000bad4c..c5255955c77a 100644
--- a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/ContainerAppsRevisionsClient.java
+++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/ContainerAppsRevisionsClient.java
@@ -49,7 +49,7 @@ PagedIterable listRevisions(
*
* @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 Revision.
+ * @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.
@@ -57,14 +57,14 @@ PagedIterable listRevisions(
* @return a revision of a Container App.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- RevisionInner getRevision(String resourceGroupName, String containerAppName, String name);
+ RevisionInner getRevision(String resourceGroupName, String containerAppName, String revisionName);
/**
* Get a revision 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 Revision.
+ * @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
@@ -74,28 +74,28 @@ PagedIterable listRevisions(
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response getRevisionWithResponse(
- String resourceGroupName, String containerAppName, String name, Context context);
+ String resourceGroupName, String containerAppName, String revisionName, Context context);
/**
* Activates a revision 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 Revision.
+ * @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.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- void activateRevision(String resourceGroupName, String containerAppName, String name);
+ void activateRevision(String resourceGroupName, String containerAppName, String revisionName);
/**
* Activates a revision 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 Revision.
+ * @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
@@ -105,28 +105,28 @@ Response getRevisionWithResponse(
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response activateRevisionWithResponse(
- String resourceGroupName, String containerAppName, String name, Context context);
+ String resourceGroupName, String containerAppName, String revisionName, Context context);
/**
* Deactivates a revision 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 Revision.
+ * @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.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- void deactivateRevision(String resourceGroupName, String containerAppName, String name);
+ void deactivateRevision(String resourceGroupName, String containerAppName, String revisionName);
/**
* Deactivates a revision 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 Revision.
+ * @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
@@ -136,28 +136,28 @@ Response activateRevisionWithResponse(
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response deactivateRevisionWithResponse(
- String resourceGroupName, String containerAppName, String name, Context context);
+ String resourceGroupName, String containerAppName, String revisionName, Context context);
/**
* Restarts a revision 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 Revision.
+ * @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.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- void restartRevision(String resourceGroupName, String containerAppName, String name);
+ void restartRevision(String resourceGroupName, String containerAppName, String revisionName);
/**
* Restarts a revision 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 Revision.
+ * @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
@@ -167,5 +167,5 @@ Response deactivateRevisionWithResponse(
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response restartRevisionWithResponse(
- String resourceGroupName, String containerAppName, String name, Context context);
+ String resourceGroupName, String containerAppName, String revisionName, Context context);
}
diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/ContainerAppsSourceControlsClient.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/ContainerAppsSourceControlsClient.java
index 2ad98007dcbb..80fac7537516 100644
--- a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/ContainerAppsSourceControlsClient.java
+++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/ContainerAppsSourceControlsClient.java
@@ -52,7 +52,7 @@ PagedIterable 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 SourceControl.
+ * @param sourceControlName Name of the Container App SourceControl.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
* is rejected by server.
@@ -60,14 +60,14 @@ PagedIterable listByContainerApp(
* @return a SourceControl of a Container App.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- SourceControlInner get(String resourceGroupName, String containerAppName, String name);
+ SourceControlInner get(String resourceGroupName, String containerAppName, String sourceControlName);
/**
* Get a SourceControl 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 SourceControl.
+ * @param sourceControlName Name of the Container App SourceControl.
* @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
@@ -77,14 +77,14 @@ PagedIterable listByContainerApp(
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response getWithResponse(
- String resourceGroupName, String containerAppName, String name, Context context);
+ String resourceGroupName, String containerAppName, String sourceControlName, Context context);
/**
- * Description for Create or update the SourceControl for a Container App.
+ * Create or update the SourceControl 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 SourceControl.
+ * @param sourceControlName Name of the Container App SourceControl.
* @param sourceControlEnvelope Properties used to create a Container App SourceControl.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
@@ -94,14 +94,17 @@ Response getWithResponse(
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, SourceControlInner> beginCreateOrUpdate(
- String resourceGroupName, String containerAppName, String name, SourceControlInner sourceControlEnvelope);
+ String resourceGroupName,
+ String containerAppName,
+ String sourceControlName,
+ SourceControlInner sourceControlEnvelope);
/**
- * Description for Create or update the SourceControl for a Container App.
+ * Create or update the SourceControl 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 SourceControl.
+ * @param sourceControlName Name of the Container App SourceControl.
* @param sourceControlEnvelope Properties used to create a Container App SourceControl.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -114,16 +117,16 @@ SyncPoller, SourceControlInner> beginCreateOrUpda
SyncPoller, SourceControlInner> beginCreateOrUpdate(
String resourceGroupName,
String containerAppName,
- String name,
+ String sourceControlName,
SourceControlInner sourceControlEnvelope,
Context context);
/**
- * Description for Create or update the SourceControl for a Container App.
+ * Create or update the SourceControl 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 SourceControl.
+ * @param sourceControlName Name of the Container App SourceControl.
* @param sourceControlEnvelope Properties used to create a Container App SourceControl.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
@@ -133,14 +136,17 @@ SyncPoller, SourceControlInner> beginCreateOrUpda
*/
@ServiceMethod(returns = ReturnType.SINGLE)
SourceControlInner createOrUpdate(
- String resourceGroupName, String containerAppName, String name, SourceControlInner sourceControlEnvelope);
+ String resourceGroupName,
+ String containerAppName,
+ String sourceControlName,
+ SourceControlInner sourceControlEnvelope);
/**
- * Description for Create or update the SourceControl for a Container App.
+ * Create or update the SourceControl 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 SourceControl.
+ * @param sourceControlName Name of the Container App SourceControl.
* @param sourceControlEnvelope Properties used to create a Container App SourceControl.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -153,16 +159,16 @@ SourceControlInner createOrUpdate(
SourceControlInner createOrUpdate(
String resourceGroupName,
String containerAppName,
- String name,
+ String sourceControlName,
SourceControlInner sourceControlEnvelope,
Context context);
/**
- * Description for Delete a Container App SourceControl.
+ * Delete a Container App SourceControl.
*
* @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 SourceControl.
+ * @param sourceControlName Name of the Container App SourceControl.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
* is rejected by server.
@@ -170,14 +176,15 @@ SourceControlInner createOrUpdate(
* @return the {@link SyncPoller} for polling of long-running operation.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, Void> beginDelete(String resourceGroupName, String containerAppName, String name);
+ SyncPoller, Void> beginDelete(
+ String resourceGroupName, String containerAppName, String sourceControlName);
/**
- * Description for Delete a Container App SourceControl.
+ * Delete a Container App SourceControl.
*
* @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 SourceControl.
+ * @param sourceControlName Name of the Container App SourceControl.
* @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
@@ -187,28 +194,28 @@ SourceControlInner createOrUpdate(
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, Void> beginDelete(
- String resourceGroupName, String containerAppName, String name, Context context);
+ String resourceGroupName, String containerAppName, String sourceControlName, Context context);
/**
- * Description for Delete a Container App SourceControl.
+ * Delete a Container App SourceControl.
*
* @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 SourceControl.
+ * @param sourceControlName Name of the Container App SourceControl.
* @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 sourceControlName);
/**
- * Description for Delete a Container App SourceControl.
+ * Delete a Container App SourceControl.
*
* @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 SourceControl.
+ * @param sourceControlName Name of the Container App SourceControl.
* @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
@@ -216,5 +223,5 @@ SyncPoller, Void> beginDelete(
* @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, Context context);
+ void delete(String resourceGroupName, String containerAppName, String sourceControlName, Context context);
}
diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/DaprComponentsClient.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/DaprComponentsClient.java
index 4147f026ca8c..5a659b7517d8 100644
--- a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/DaprComponentsClient.java
+++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/DaprComponentsClient.java
@@ -48,7 +48,7 @@ public interface DaprComponentsClient {
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param environmentName Name of the Managed Environment.
- * @param name Name of the Dapr Component.
+ * @param componentName Name of the Dapr Component.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
* is rejected by server.
@@ -56,14 +56,14 @@ public interface DaprComponentsClient {
* @return a dapr component.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- DaprComponentInner get(String resourceGroupName, String environmentName, String name);
+ DaprComponentInner get(String resourceGroupName, String environmentName, String componentName);
/**
* Get a dapr component.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param environmentName Name of the Managed Environment.
- * @param name Name of the Dapr Component.
+ * @param componentName Name of the Dapr Component.
* @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
@@ -73,14 +73,14 @@ public interface DaprComponentsClient {
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response getWithResponse(
- String resourceGroupName, String environmentName, String name, Context context);
+ String resourceGroupName, String environmentName, String componentName, Context context);
/**
* Creates or updates a Dapr Component in a Managed Environment.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param environmentName Name of the Managed Environment.
- * @param name Name of the Dapr Component.
+ * @param componentName Name of the Dapr Component.
* @param daprComponentEnvelope Configuration details of the Dapr Component.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
@@ -90,14 +90,17 @@ Response getWithResponse(
*/
@ServiceMethod(returns = ReturnType.SINGLE)
DaprComponentInner createOrUpdate(
- String resourceGroupName, String environmentName, String name, DaprComponentInner daprComponentEnvelope);
+ String resourceGroupName,
+ String environmentName,
+ String componentName,
+ DaprComponentInner daprComponentEnvelope);
/**
* Creates or updates a Dapr Component in a Managed Environment.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param environmentName Name of the Managed Environment.
- * @param name Name of the Dapr Component.
+ * @param componentName Name of the Dapr Component.
* @param daprComponentEnvelope Configuration details of the Dapr Component.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -110,7 +113,7 @@ DaprComponentInner createOrUpdate(
Response createOrUpdateWithResponse(
String resourceGroupName,
String environmentName,
- String name,
+ String componentName,
DaprComponentInner daprComponentEnvelope,
Context context);
@@ -119,21 +122,21 @@ Response createOrUpdateWithResponse(
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param environmentName Name of the Managed Environment.
- * @param name Name of the Dapr Component.
+ * @param componentName Name of the Dapr Component.
* @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 environmentName, String name);
+ void delete(String resourceGroupName, String environmentName, String componentName);
/**
* Delete a Dapr Component from a Managed Environment.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param environmentName Name of the Managed Environment.
- * @param name Name of the Dapr Component.
+ * @param componentName Name of the Dapr Component.
* @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
@@ -142,14 +145,15 @@ Response createOrUpdateWithResponse(
* @return the {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response deleteWithResponse(String resourceGroupName, String environmentName, String name, Context context);
+ Response deleteWithResponse(
+ String resourceGroupName, String environmentName, String componentName, Context context);
/**
* List secrets for a dapr component.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param environmentName Name of the Managed Environment.
- * @param name Name of the Dapr Component.
+ * @param componentName Name of the Dapr Component.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
* is rejected by server.
@@ -157,14 +161,14 @@ Response createOrUpdateWithResponse(
* @return dapr component Secrets Collection ARM resource.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- DaprSecretsCollectionInner listSecrets(String resourceGroupName, String environmentName, String name);
+ DaprSecretsCollectionInner listSecrets(String resourceGroupName, String environmentName, String componentName);
/**
* List secrets for a dapr component.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param environmentName Name of the Managed Environment.
- * @param name Name of the Dapr Component.
+ * @param componentName Name of the Dapr Component.
* @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
@@ -174,5 +178,5 @@ Response createOrUpdateWithResponse(
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response listSecretsWithResponse(
- String resourceGroupName, String environmentName, String name, Context context);
+ String resourceGroupName, String environmentName, String componentName, Context context);
}
diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/ManagedEnvironmentsClient.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/ManagedEnvironmentsClient.java
index 352a540410fd..338dd07ce2e9 100644
--- a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/ManagedEnvironmentsClient.java
+++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/ManagedEnvironmentsClient.java
@@ -70,7 +70,7 @@ public interface ManagedEnvironmentsClient {
* Get the properties of a Managed Environment used to host container apps.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param name Name of the Environment.
+ * @param environmentName Name of the Environment.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
* is rejected by server.
@@ -78,13 +78,13 @@ public interface ManagedEnvironmentsClient {
* @return the properties of a Managed Environment used to host container apps.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- ManagedEnvironmentInner getByResourceGroup(String resourceGroupName, String name);
+ ManagedEnvironmentInner getByResourceGroup(String resourceGroupName, String environmentName);
/**
* Get the properties of a Managed Environment used to host container apps.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param name Name of the Environment.
+ * @param environmentName Name of the 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
@@ -94,13 +94,13 @@ public interface ManagedEnvironmentsClient {
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response getByResourceGroupWithResponse(
- String resourceGroupName, String name, Context context);
+ String resourceGroupName, String environmentName, Context context);
/**
* Creates or updates a Managed Environment used to host container apps.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param name Name of the Environment.
+ * @param environmentName Name of the Environment.
* @param environmentEnvelope Configuration details of the Environment.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
@@ -110,13 +110,13 @@ Response getByResourceGroupWithResponse(
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, ManagedEnvironmentInner> beginCreateOrUpdate(
- String resourceGroupName, String name, ManagedEnvironmentInner environmentEnvelope);
+ String resourceGroupName, String environmentName, ManagedEnvironmentInner environmentEnvelope);
/**
* Creates or updates a Managed Environment used to host container apps.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param name Name of the Environment.
+ * @param environmentName Name of the Environment.
* @param environmentEnvelope Configuration details of the Environment.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -127,13 +127,13 @@ SyncPoller, ManagedEnvironmentInner> beginCr
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, ManagedEnvironmentInner> beginCreateOrUpdate(
- String resourceGroupName, String name, ManagedEnvironmentInner environmentEnvelope, Context context);
+ String resourceGroupName, String environmentName, ManagedEnvironmentInner environmentEnvelope, Context context);
/**
* Creates or updates a Managed Environment used to host container apps.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param name Name of the Environment.
+ * @param environmentName Name of the Environment.
* @param environmentEnvelope Configuration details of the Environment.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
@@ -143,13 +143,13 @@ SyncPoller, ManagedEnvironmentInner> beginCr
*/
@ServiceMethod(returns = ReturnType.SINGLE)
ManagedEnvironmentInner createOrUpdate(
- String resourceGroupName, String name, ManagedEnvironmentInner environmentEnvelope);
+ String resourceGroupName, String environmentName, ManagedEnvironmentInner environmentEnvelope);
/**
* Creates or updates a Managed Environment used to host container apps.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param name Name of the Environment.
+ * @param environmentName Name of the Environment.
* @param environmentEnvelope Configuration details of the Environment.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -160,13 +160,13 @@ ManagedEnvironmentInner createOrUpdate(
*/
@ServiceMethod(returns = ReturnType.SINGLE)
ManagedEnvironmentInner createOrUpdate(
- String resourceGroupName, String name, ManagedEnvironmentInner environmentEnvelope, Context context);
+ String resourceGroupName, String environmentName, ManagedEnvironmentInner environmentEnvelope, Context context);
/**
* Delete a Managed Environment if it does not have any container apps.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param name Name of the Environment.
+ * @param environmentName Name of the Environment.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
* is rejected by server.
@@ -174,13 +174,13 @@ ManagedEnvironmentInner createOrUpdate(
* @return the {@link SyncPoller} for polling of long-running operation.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, Void> beginDelete(String resourceGroupName, String name);
+ SyncPoller, Void> beginDelete(String resourceGroupName, String environmentName);
/**
* Delete a Managed Environment if it does not have any container apps.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param name Name of the Environment.
+ * @param environmentName Name of the 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
@@ -189,26 +189,26 @@ ManagedEnvironmentInner createOrUpdate(
* @return the {@link SyncPoller} for polling of long-running operation.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, Void> beginDelete(String resourceGroupName, String name, Context context);
+ SyncPoller, Void> beginDelete(String resourceGroupName, String environmentName, Context context);
/**
* Delete a Managed Environment if it does not have any container apps.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param name Name of the Environment.
+ * @param environmentName Name of the 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.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- void delete(String resourceGroupName, String name);
+ void delete(String resourceGroupName, String environmentName);
/**
* Delete a Managed Environment if it does not have any container apps.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param name Name of the Environment.
+ * @param environmentName Name of the 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
@@ -216,13 +216,13 @@ ManagedEnvironmentInner createOrUpdate(
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- void delete(String resourceGroupName, String name, Context context);
+ void delete(String resourceGroupName, String environmentName, Context context);
/**
* Patches a Managed Environment using JSON Merge Patch.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param name Name of the Environment.
+ * @param environmentName Name of the Environment.
* @param environmentEnvelope Configuration details of the Environment.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
@@ -232,13 +232,13 @@ ManagedEnvironmentInner createOrUpdate(
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, Void> beginUpdate(
- String resourceGroupName, String name, ManagedEnvironmentInner environmentEnvelope);
+ String resourceGroupName, String environmentName, ManagedEnvironmentInner environmentEnvelope);
/**
* Patches a Managed Environment using JSON Merge Patch.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param name Name of the Environment.
+ * @param environmentName Name of the Environment.
* @param environmentEnvelope Configuration details of the Environment.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -249,13 +249,13 @@ SyncPoller, Void> beginUpdate(
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, Void> beginUpdate(
- String resourceGroupName, String name, ManagedEnvironmentInner environmentEnvelope, Context context);
+ String resourceGroupName, String environmentName, ManagedEnvironmentInner environmentEnvelope, Context context);
/**
* Patches a Managed Environment using JSON Merge Patch.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param name Name of the Environment.
+ * @param environmentName Name of the Environment.
* @param environmentEnvelope Configuration details of the Environment.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
@@ -263,13 +263,13 @@ SyncPoller, Void> beginUpdate(
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- void update(String resourceGroupName, String name, ManagedEnvironmentInner environmentEnvelope);
+ void update(String resourceGroupName, String environmentName, ManagedEnvironmentInner environmentEnvelope);
/**
* Patches a Managed Environment using JSON Merge Patch.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param name Name of the Environment.
+ * @param environmentName Name of the Environment.
* @param environmentEnvelope Configuration details of the Environment.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -278,5 +278,6 @@ SyncPoller, Void> beginUpdate(
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- void update(String resourceGroupName, String name, ManagedEnvironmentInner environmentEnvelope, Context context);
+ void update(
+ String resourceGroupName, String environmentName, ManagedEnvironmentInner environmentEnvelope, Context context);
}
diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/ManagedEnvironmentsStoragesClient.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/ManagedEnvironmentsStoragesClient.java
index 8d7fac32d847..02cea5645fd7 100644
--- a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/ManagedEnvironmentsStoragesClient.java
+++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/ManagedEnvironmentsStoragesClient.java
@@ -17,7 +17,7 @@ public interface ManagedEnvironmentsStoragesClient {
* Get all storages for a managedEnvironment.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param envName Name of the Environment.
+ * @param environmentName Name of the Environment.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
* is rejected by server.
@@ -25,13 +25,13 @@ public interface ManagedEnvironmentsStoragesClient {
* @return all storages for a managedEnvironment.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- ManagedEnvironmentStoragesCollectionInner list(String resourceGroupName, String envName);
+ ManagedEnvironmentStoragesCollectionInner list(String resourceGroupName, String environmentName);
/**
* Get all storages for a managedEnvironment.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param envName Name of the Environment.
+ * @param environmentName Name of the 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
@@ -41,14 +41,14 @@ public interface ManagedEnvironmentsStoragesClient {
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response listWithResponse(
- String resourceGroupName, String envName, Context context);
+ String resourceGroupName, String environmentName, Context context);
/**
* Get storage for a managedEnvironment.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param envName Name of the Environment.
- * @param name Name of the storage.
+ * @param environmentName Name of the Environment.
+ * @param storageName Name of the storage.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
* is rejected by server.
@@ -56,14 +56,14 @@ Response listWithResponse(
* @return storage for a managedEnvironment.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- ManagedEnvironmentStorageInner get(String resourceGroupName, String envName, String name);
+ ManagedEnvironmentStorageInner get(String resourceGroupName, String environmentName, String storageName);
/**
* Get storage for a managedEnvironment.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param envName Name of the Environment.
- * @param name Name of the storage.
+ * @param environmentName Name of the Environment.
+ * @param storageName Name of the storage.
* @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
@@ -73,14 +73,14 @@ Response listWithResponse(
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response getWithResponse(
- String resourceGroupName, String envName, String name, Context context);
+ String resourceGroupName, String environmentName, String storageName, Context context);
/**
* Create or update storage for a managedEnvironment.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param envName Name of the Environment.
- * @param name Name of the storage.
+ * @param environmentName Name of the Environment.
+ * @param storageName Name of the storage.
* @param storageEnvelope Configuration details of storage.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
@@ -90,14 +90,17 @@ Response getWithResponse(
*/
@ServiceMethod(returns = ReturnType.SINGLE)
ManagedEnvironmentStorageInner createOrUpdate(
- String resourceGroupName, String envName, String name, ManagedEnvironmentStorageInner storageEnvelope);
+ String resourceGroupName,
+ String environmentName,
+ String storageName,
+ ManagedEnvironmentStorageInner storageEnvelope);
/**
* Create or update storage for a managedEnvironment.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param envName Name of the Environment.
- * @param name Name of the storage.
+ * @param environmentName Name of the Environment.
+ * @param storageName Name of the storage.
* @param storageEnvelope Configuration details of storage.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -109,8 +112,8 @@ ManagedEnvironmentStorageInner createOrUpdate(
@ServiceMethod(returns = ReturnType.SINGLE)
Response createOrUpdateWithResponse(
String resourceGroupName,
- String envName,
- String name,
+ String environmentName,
+ String storageName,
ManagedEnvironmentStorageInner storageEnvelope,
Context context);
@@ -118,22 +121,22 @@ Response createOrUpdateWithResponse(
* Delete storage for a managedEnvironment.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param envName Name of the Environment.
- * @param name Name of the storage.
+ * @param environmentName Name of the Environment.
+ * @param storageName Name of the storage.
* @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 envName, String name);
+ void delete(String resourceGroupName, String environmentName, String storageName);
/**
* Delete storage for a managedEnvironment.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param envName Name of the Environment.
- * @param name Name of the storage.
+ * @param environmentName Name of the Environment.
+ * @param storageName Name of the storage.
* @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
@@ -142,5 +145,6 @@ Response createOrUpdateWithResponse(
* @return the {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response deleteWithResponse(String resourceGroupName, String envName, String name, Context context);
+ Response deleteWithResponse(
+ String resourceGroupName, String environmentName, String storageName, Context context);
}
diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/NamespacesClient.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/NamespacesClient.java
index 7c907d58a42b..1a0dc5841f94 100644
--- a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/NamespacesClient.java
+++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/NamespacesClient.java
@@ -17,7 +17,7 @@ public interface NamespacesClient {
* Checks if resource name is available.
*
* @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 checkNameAvailabilityRequest The check name availability request.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
@@ -27,15 +27,13 @@ public interface NamespacesClient {
*/
@ServiceMethod(returns = ReturnType.SINGLE)
CheckNameAvailabilityResponseInner checkNameAvailability(
- String resourceGroupName,
- String managedEnvironmentName,
- CheckNameAvailabilityRequest checkNameAvailabilityRequest);
+ String resourceGroupName, String environmentName, CheckNameAvailabilityRequest checkNameAvailabilityRequest);
/**
* Checks if resource name is available.
*
* @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 checkNameAvailabilityRequest The check name availability request.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -47,7 +45,7 @@ CheckNameAvailabilityResponseInner checkNameAvailability(
@ServiceMethod(returns = ReturnType.SINGLE)
Response checkNameAvailabilityWithResponse(
String resourceGroupName,
- String managedEnvironmentName,
+ String environmentName,
CheckNameAvailabilityRequest checkNameAvailabilityRequest,
Context context);
}
diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/implementation/AuthConfigImpl.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/implementation/AuthConfigImpl.java
index 7046b2bbef04..c0449ab74286 100644
--- a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/implementation/AuthConfigImpl.java
+++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/implementation/AuthConfigImpl.java
@@ -50,6 +50,10 @@ public HttpSettings httpSettings() {
return this.innerModel().httpSettings();
}
+ public String resourceGroupName() {
+ return resourceGroupName;
+ }
+
public AuthConfigInner innerModel() {
return this.innerObject;
}
@@ -62,7 +66,7 @@ private com.azure.resourcemanager.appcontainers.ContainerAppsApiManager manager(
private String containerAppName;
- private String name;
+ private String authConfigName;
public AuthConfigImpl withExistingContainerApp(String resourceGroupName, String containerAppName) {
this.resourceGroupName = resourceGroupName;
@@ -75,7 +79,8 @@ public AuthConfig create() {
serviceManager
.serviceClient()
.getContainerAppsAuthConfigs()
- .createOrUpdateWithResponse(resourceGroupName, containerAppName, name, this.innerModel(), Context.NONE)
+ .createOrUpdateWithResponse(
+ resourceGroupName, containerAppName, authConfigName, this.innerModel(), Context.NONE)
.getValue();
return this;
}
@@ -85,7 +90,8 @@ public AuthConfig create(Context context) {
serviceManager
.serviceClient()
.getContainerAppsAuthConfigs()
- .createOrUpdateWithResponse(resourceGroupName, containerAppName, name, this.innerModel(), context)
+ .createOrUpdateWithResponse(
+ resourceGroupName, containerAppName, authConfigName, this.innerModel(), context)
.getValue();
return this;
}
@@ -93,7 +99,7 @@ public AuthConfig create(Context context) {
AuthConfigImpl(String name, com.azure.resourcemanager.appcontainers.ContainerAppsApiManager serviceManager) {
this.innerObject = new AuthConfigInner();
this.serviceManager = serviceManager;
- this.name = name;
+ this.authConfigName = name;
}
public AuthConfigImpl update() {
@@ -105,7 +111,8 @@ public AuthConfig apply() {
serviceManager
.serviceClient()
.getContainerAppsAuthConfigs()
- .createOrUpdateWithResponse(resourceGroupName, containerAppName, name, this.innerModel(), Context.NONE)
+ .createOrUpdateWithResponse(
+ resourceGroupName, containerAppName, authConfigName, this.innerModel(), Context.NONE)
.getValue();
return this;
}
@@ -115,7 +122,8 @@ public AuthConfig apply(Context context) {
serviceManager
.serviceClient()
.getContainerAppsAuthConfigs()
- .createOrUpdateWithResponse(resourceGroupName, containerAppName, name, this.innerModel(), context)
+ .createOrUpdateWithResponse(
+ resourceGroupName, containerAppName, authConfigName, this.innerModel(), context)
.getValue();
return this;
}
@@ -126,7 +134,7 @@ public AuthConfig apply(Context context) {
this.serviceManager = serviceManager;
this.resourceGroupName = Utils.getValueFromIdByName(innerObject.id(), "resourceGroups");
this.containerAppName = Utils.getValueFromIdByName(innerObject.id(), "containerApps");
- this.name = Utils.getValueFromIdByName(innerObject.id(), "authConfigs");
+ this.authConfigName = Utils.getValueFromIdByName(innerObject.id(), "authConfigs");
}
public AuthConfig refresh() {
@@ -134,7 +142,7 @@ public AuthConfig refresh() {
serviceManager
.serviceClient()
.getContainerAppsAuthConfigs()
- .getWithResponse(resourceGroupName, containerAppName, name, Context.NONE)
+ .getWithResponse(resourceGroupName, containerAppName, authConfigName, Context.NONE)
.getValue();
return this;
}
@@ -144,7 +152,7 @@ public AuthConfig refresh(Context context) {
serviceManager
.serviceClient()
.getContainerAppsAuthConfigs()
- .getWithResponse(resourceGroupName, containerAppName, name, context)
+ .getWithResponse(resourceGroupName, containerAppName, authConfigName, context)
.getValue();
return this;
}
diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/implementation/CertificateImpl.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/implementation/CertificateImpl.java
index ec63db7d4017..0e95dfc5f011 100644
--- a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/implementation/CertificateImpl.java
+++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/implementation/CertificateImpl.java
@@ -60,6 +60,10 @@ public String regionName() {
return this.location();
}
+ public String resourceGroupName() {
+ return resourceGroupName;
+ }
+
public CertificateInner innerModel() {
return this.innerObject;
}
@@ -70,15 +74,15 @@ private com.azure.resourcemanager.appcontainers.ContainerAppsApiManager manager(
private String resourceGroupName;
- private String managedEnvironmentName;
+ private String environmentName;
- private String name;
+ private String certificateName;
private CertificatePatch updateCertificateEnvelope;
- public CertificateImpl withExistingManagedEnvironment(String resourceGroupName, String managedEnvironmentName) {
+ public CertificateImpl withExistingManagedEnvironment(String resourceGroupName, String environmentName) {
this.resourceGroupName = resourceGroupName;
- this.managedEnvironmentName = managedEnvironmentName;
+ this.environmentName = environmentName;
return this;
}
@@ -88,7 +92,7 @@ public Certificate create() {
.serviceClient()
.getCertificates()
.createOrUpdateWithResponse(
- resourceGroupName, managedEnvironmentName, name, this.innerModel(), Context.NONE)
+ resourceGroupName, environmentName, certificateName, this.innerModel(), Context.NONE)
.getValue();
return this;
}
@@ -98,7 +102,8 @@ public Certificate create(Context context) {
serviceManager
.serviceClient()
.getCertificates()
- .createOrUpdateWithResponse(resourceGroupName, managedEnvironmentName, name, this.innerModel(), context)
+ .createOrUpdateWithResponse(
+ resourceGroupName, environmentName, certificateName, this.innerModel(), context)
.getValue();
return this;
}
@@ -106,7 +111,7 @@ public Certificate create(Context context) {
CertificateImpl(String name, com.azure.resourcemanager.appcontainers.ContainerAppsApiManager serviceManager) {
this.innerObject = new CertificateInner();
this.serviceManager = serviceManager;
- this.name = name;
+ this.certificateName = name;
}
public CertificateImpl update() {
@@ -120,7 +125,7 @@ public Certificate apply() {
.serviceClient()
.getCertificates()
.updateWithResponse(
- resourceGroupName, managedEnvironmentName, name, updateCertificateEnvelope, Context.NONE)
+ resourceGroupName, environmentName, certificateName, updateCertificateEnvelope, Context.NONE)
.getValue();
return this;
}
@@ -130,7 +135,8 @@ public Certificate apply(Context context) {
serviceManager
.serviceClient()
.getCertificates()
- .updateWithResponse(resourceGroupName, managedEnvironmentName, name, updateCertificateEnvelope, context)
+ .updateWithResponse(
+ resourceGroupName, environmentName, certificateName, updateCertificateEnvelope, context)
.getValue();
return this;
}
@@ -140,8 +146,8 @@ public Certificate apply(Context context) {
this.innerObject = innerObject;
this.serviceManager = serviceManager;
this.resourceGroupName = Utils.getValueFromIdByName(innerObject.id(), "resourceGroups");
- this.managedEnvironmentName = Utils.getValueFromIdByName(innerObject.id(), "managedEnvironments");
- this.name = Utils.getValueFromIdByName(innerObject.id(), "certificates");
+ this.environmentName = Utils.getValueFromIdByName(innerObject.id(), "managedEnvironments");
+ this.certificateName = Utils.getValueFromIdByName(innerObject.id(), "certificates");
}
public Certificate refresh() {
@@ -149,7 +155,7 @@ public Certificate refresh() {
serviceManager
.serviceClient()
.getCertificates()
- .getWithResponse(resourceGroupName, managedEnvironmentName, name, Context.NONE)
+ .getWithResponse(resourceGroupName, environmentName, certificateName, Context.NONE)
.getValue();
return this;
}
@@ -159,7 +165,7 @@ public Certificate refresh(Context context) {
serviceManager
.serviceClient()
.getCertificates()
- .getWithResponse(resourceGroupName, managedEnvironmentName, name, context)
+ .getWithResponse(resourceGroupName, environmentName, certificateName, context)
.getValue();
return this;
}
diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/implementation/CertificatesClientImpl.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/implementation/CertificatesClientImpl.java
index b4d7f53d0142..419aa65a6c9f 100644
--- a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/implementation/CertificatesClientImpl.java
+++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/implementation/CertificatesClientImpl.java
@@ -64,14 +64,14 @@ private interface CertificatesService {
@Headers({"Content-Type: application/json"})
@Get(
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App"
- + "/managedEnvironments/{managedEnvironmentName}/certificates")
+ + "/managedEnvironments/{environmentName}/certificates")
@ExpectedResponses({200})
@UnexpectedResponseExceptionType(DefaultErrorResponseErrorException.class)
Mono> list(
@HostParam("$host") String endpoint,
@PathParam("subscriptionId") String subscriptionId,
@PathParam("resourceGroupName") String resourceGroupName,
- @PathParam("managedEnvironmentName") String managedEnvironmentName,
+ @PathParam("environmentName") String environmentName,
@QueryParam("api-version") String apiVersion,
@HeaderParam("Accept") String accept,
Context context);
@@ -79,15 +79,15 @@ Mono> list(
@Headers({"Content-Type: application/json"})
@Get(
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App"
- + "/managedEnvironments/{managedEnvironmentName}/certificates/{name}")
+ + "/managedEnvironments/{environmentName}/certificates/{certificateName}")
@ExpectedResponses({200})
@UnexpectedResponseExceptionType(DefaultErrorResponseErrorException.class)
Mono> get(
@HostParam("$host") String endpoint,
@PathParam("subscriptionId") String subscriptionId,
@PathParam("resourceGroupName") String resourceGroupName,
- @PathParam("managedEnvironmentName") String managedEnvironmentName,
- @PathParam("name") String name,
+ @PathParam("environmentName") String environmentName,
+ @PathParam("certificateName") String certificateName,
@QueryParam("api-version") String apiVersion,
@HeaderParam("Accept") String accept,
Context context);
@@ -95,15 +95,15 @@ Mono> get(
@Headers({"Content-Type: application/json"})
@Put(
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App"
- + "/managedEnvironments/{managedEnvironmentName}/certificates/{name}")
+ + "/managedEnvironments/{environmentName}/certificates/{certificateName}")
@ExpectedResponses({200})
@UnexpectedResponseExceptionType(DefaultErrorResponseErrorException.class)
Mono> createOrUpdate(
@HostParam("$host") String endpoint,
@PathParam("subscriptionId") String subscriptionId,
@PathParam("resourceGroupName") String resourceGroupName,
- @PathParam("managedEnvironmentName") String managedEnvironmentName,
- @PathParam("name") String name,
+ @PathParam("environmentName") String environmentName,
+ @PathParam("certificateName") String certificateName,
@QueryParam("api-version") String apiVersion,
@BodyParam("application/json") CertificateInner certificateEnvelope,
@HeaderParam("Accept") String accept,
@@ -112,15 +112,15 @@ Mono> createOrUpdate(
@Headers({"Content-Type: application/json"})
@Delete(
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App"
- + "/managedEnvironments/{managedEnvironmentName}/certificates/{name}")
+ + "/managedEnvironments/{environmentName}/certificates/{certificateName}")
@ExpectedResponses({200, 204})
@UnexpectedResponseExceptionType(DefaultErrorResponseErrorException.class)
Mono> delete(
@HostParam("$host") String endpoint,
@PathParam("subscriptionId") String subscriptionId,
@PathParam("resourceGroupName") String resourceGroupName,
- @PathParam("managedEnvironmentName") String managedEnvironmentName,
- @PathParam("name") String name,
+ @PathParam("environmentName") String environmentName,
+ @PathParam("certificateName") String certificateName,
@QueryParam("api-version") String apiVersion,
@HeaderParam("Accept") String accept,
Context context);
@@ -128,15 +128,15 @@ Mono> delete(
@Headers({"Content-Type: application/json"})
@Patch(
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App"
- + "/managedEnvironments/{managedEnvironmentName}/certificates/{name}")
+ + "/managedEnvironments/{environmentName}/certificates/{certificateName}")
@ExpectedResponses({200})
@UnexpectedResponseExceptionType(DefaultErrorResponseErrorException.class)
Mono> update(
@HostParam("$host") String endpoint,
@PathParam("subscriptionId") String subscriptionId,
@PathParam("resourceGroupName") String resourceGroupName,
- @PathParam("managedEnvironmentName") String managedEnvironmentName,
- @PathParam("name") String name,
+ @PathParam("environmentName") String environmentName,
+ @PathParam("certificateName") String certificateName,
@QueryParam("api-version") String apiVersion,
@BodyParam("application/json") CertificatePatch certificateEnvelope,
@HeaderParam("Accept") String accept,
@@ -157,7 +157,7 @@ Mono> listNext(
* 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 DefaultErrorResponseErrorException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
@@ -166,7 +166,7 @@ Mono> listNext(
*/
@ServiceMethod(returns = ReturnType.SINGLE)
private Mono> listSinglePageAsync(
- String resourceGroupName, String managedEnvironmentName) {
+ String resourceGroupName, String environmentName) {
if (this.client.getEndpoint() == null) {
return Mono
.error(
@@ -183,10 +183,9 @@ private Mono> listSinglePageAsync(
return Mono
.error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."));
}
- if (managedEnvironmentName == null) {
+ if (environmentName == null) {
return Mono
- .error(
- new IllegalArgumentException("Parameter managedEnvironmentName is required and cannot be null."));
+ .error(new IllegalArgumentException("Parameter environmentName is required and cannot be null."));
}
final String accept = "application/json";
return FluxUtil
@@ -197,7 +196,7 @@ private Mono> listSinglePageAsync(
this.client.getEndpoint(),
this.client.getSubscriptionId(),
resourceGroupName,
- managedEnvironmentName,
+ environmentName,
this.client.getApiVersion(),
accept,
context))
@@ -217,7 +216,7 @@ private Mono> listSinglePageAsync(
* 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 DefaultErrorResponseErrorException thrown if the request is rejected by server.
@@ -227,7 +226,7 @@ private Mono> listSinglePageAsync(
*/
@ServiceMethod(returns = ReturnType.SINGLE)
private Mono> listSinglePageAsync(
- String resourceGroupName, String managedEnvironmentName, Context context) {
+ String resourceGroupName, String environmentName, Context context) {
if (this.client.getEndpoint() == null) {
return Mono
.error(
@@ -244,10 +243,9 @@ private Mono> listSinglePageAsync(
return Mono
.error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."));
}
- if (managedEnvironmentName == null) {
+ if (environmentName == null) {
return Mono
- .error(
- new IllegalArgumentException("Parameter managedEnvironmentName is required and cannot be null."));
+ .error(new IllegalArgumentException("Parameter environmentName is required and cannot be null."));
}
final String accept = "application/json";
context = this.client.mergeContext(context);
@@ -256,7 +254,7 @@ private Mono> listSinglePageAsync(
this.client.getEndpoint(),
this.client.getSubscriptionId(),
resourceGroupName,
- managedEnvironmentName,
+ environmentName,
this.client.getApiVersion(),
accept,
context)
@@ -275,16 +273,16 @@ private Mono> listSinglePageAsync(
* 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 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 PagedFlux}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
- private PagedFlux listAsync(String resourceGroupName, String managedEnvironmentName) {
+ private PagedFlux listAsync(String resourceGroupName, String environmentName) {
return new PagedFlux<>(
- () -> listSinglePageAsync(resourceGroupName, managedEnvironmentName),
+ () -> listSinglePageAsync(resourceGroupName, environmentName),
nextLink -> listNextSinglePageAsync(nextLink));
}
@@ -292,7 +290,7 @@ private PagedFlux listAsync(String resourceGroupName, String m
* 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 DefaultErrorResponseErrorException thrown if the request is rejected by server.
@@ -300,10 +298,9 @@ private PagedFlux listAsync(String resourceGroupName, String m
* @return the Certificates in a given managed environment as paginated response with {@link PagedFlux}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
- private PagedFlux listAsync(
- String resourceGroupName, String managedEnvironmentName, Context context) {
+ private PagedFlux listAsync(String resourceGroupName, String environmentName, Context context) {
return new PagedFlux<>(
- () -> listSinglePageAsync(resourceGroupName, managedEnvironmentName, context),
+ () -> listSinglePageAsync(resourceGroupName, environmentName, context),
nextLink -> listNextSinglePageAsync(nextLink, context));
}
@@ -311,22 +308,22 @@ private PagedFlux listAsync(
* 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 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)
- public PagedIterable list(String resourceGroupName, String managedEnvironmentName) {
- return new PagedIterable<>(listAsync(resourceGroupName, managedEnvironmentName));
+ public PagedIterable list(String resourceGroupName, String environmentName) {
+ return new PagedIterable<>(listAsync(resourceGroupName, 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 DefaultErrorResponseErrorException thrown if the request is rejected by server.
@@ -334,17 +331,16 @@ public PagedIterable list(String resourceGroupName, String man
* @return the Certificates in a given managed environment as paginated response with {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
- public PagedIterable list(
- String resourceGroupName, String managedEnvironmentName, Context context) {
- return new PagedIterable<>(listAsync(resourceGroupName, managedEnvironmentName, context));
+ public PagedIterable list(String resourceGroupName, String environmentName, Context context) {
+ return new PagedIterable<>(listAsync(resourceGroupName, environmentName, 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 DefaultErrorResponseErrorException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
@@ -352,7 +348,7 @@ public PagedIterable list(
*/
@ServiceMethod(returns = ReturnType.SINGLE)
private Mono> getWithResponseAsync(
- String resourceGroupName, String managedEnvironmentName, String name) {
+ String resourceGroupName, String environmentName, String certificateName) {
if (this.client.getEndpoint() == null) {
return Mono
.error(
@@ -369,13 +365,13 @@ private Mono> getWithResponseAsync(
return Mono
.error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."));
}
- if (managedEnvironmentName == null) {
+ if (environmentName == null) {
return Mono
- .error(
- new IllegalArgumentException("Parameter managedEnvironmentName is required and cannot be null."));
+ .error(new IllegalArgumentException("Parameter environmentName is required and cannot be null."));
}
- if (name == null) {
- return Mono.error(new IllegalArgumentException("Parameter name is required and cannot be null."));
+ if (certificateName == null) {
+ return Mono
+ .error(new IllegalArgumentException("Parameter certificateName is required and cannot be null."));
}
final String accept = "application/json";
return FluxUtil
@@ -386,8 +382,8 @@ private Mono> getWithResponseAsync(
this.client.getEndpoint(),
this.client.getSubscriptionId(),
resourceGroupName,
- managedEnvironmentName,
- name,
+ environmentName,
+ certificateName,
this.client.getApiVersion(),
accept,
context))
@@ -398,8 +394,8 @@ private Mono> getWithResponseAsync(
* 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 DefaultErrorResponseErrorException thrown if the request is rejected by server.
@@ -408,7 +404,7 @@ private Mono> getWithResponseAsync(
*/
@ServiceMethod(returns = ReturnType.SINGLE)
private Mono> getWithResponseAsync(
- String resourceGroupName, String managedEnvironmentName, String name, Context context) {
+ String resourceGroupName, String environmentName, String certificateName, Context context) {
if (this.client.getEndpoint() == null) {
return Mono
.error(
@@ -425,13 +421,13 @@ private Mono> getWithResponseAsync(
return Mono
.error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."));
}
- if (managedEnvironmentName == null) {
+ if (environmentName == null) {
return Mono
- .error(
- new IllegalArgumentException("Parameter managedEnvironmentName is required and cannot be null."));
+ .error(new IllegalArgumentException("Parameter environmentName is required and cannot be null."));
}
- if (name == null) {
- return Mono.error(new IllegalArgumentException("Parameter name is required and cannot be null."));
+ if (certificateName == null) {
+ return Mono
+ .error(new IllegalArgumentException("Parameter certificateName is required and cannot be null."));
}
final String accept = "application/json";
context = this.client.mergeContext(context);
@@ -440,8 +436,8 @@ private Mono> getWithResponseAsync(
this.client.getEndpoint(),
this.client.getSubscriptionId(),
resourceGroupName,
- managedEnvironmentName,
- name,
+ environmentName,
+ certificateName,
this.client.getApiVersion(),
accept,
context);
@@ -451,48 +447,41 @@ private Mono> getWithResponseAsync(
* 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 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 on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- private Mono getAsync(String resourceGroupName, String managedEnvironmentName, String name) {
- return getWithResponseAsync(resourceGroupName, managedEnvironmentName, name)
- .flatMap(
- (Response res) -> {
- if (res.getValue() != null) {
- return Mono.just(res.getValue());
- } else {
- return Mono.empty();
- }
- });
+ private Mono getAsync(String resourceGroupName, String environmentName, String certificateName) {
+ return getWithResponseAsync(resourceGroupName, environmentName, certificateName)
+ .flatMap(res -> Mono.justOrEmpty(res.getValue()));
}
/**
* 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 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)
- public CertificateInner get(String resourceGroupName, String managedEnvironmentName, String name) {
- return getAsync(resourceGroupName, managedEnvironmentName, name).block();
+ public CertificateInner get(String resourceGroupName, String environmentName, String certificateName) {
+ return getAsync(resourceGroupName, environmentName, certificateName).block();
}
/**
* 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 DefaultErrorResponseErrorException thrown if the request is rejected by server.
@@ -501,16 +490,16 @@ public CertificateInner get(String resourceGroupName, String managedEnvironmentN
*/
@ServiceMethod(returns = ReturnType.SINGLE)
public Response getWithResponse(
- String resourceGroupName, String managedEnvironmentName, String name, Context context) {
- return getWithResponseAsync(resourceGroupName, managedEnvironmentName, name, context).block();
+ String resourceGroupName, String environmentName, String certificateName, Context context) {
+ return getWithResponseAsync(resourceGroupName, environmentName, certificateName, context).block();
}
/**
* 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.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws DefaultErrorResponseErrorException thrown if the request is rejected by server.
@@ -520,7 +509,10 @@ public Response getWithResponse(
*/
@ServiceMethod(returns = ReturnType.SINGLE)
private Mono> createOrUpdateWithResponseAsync(
- String resourceGroupName, String managedEnvironmentName, String name, CertificateInner certificateEnvelope) {
+ String resourceGroupName,
+ String environmentName,
+ String certificateName,
+ CertificateInner certificateEnvelope) {
if (this.client.getEndpoint() == null) {
return Mono
.error(
@@ -537,13 +529,13 @@ private Mono> createOrUpdateWithResponseAsync(
return Mono
.error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."));
}
- if (managedEnvironmentName == null) {
+ if (environmentName == null) {
return Mono
- .error(
- new IllegalArgumentException("Parameter managedEnvironmentName is required and cannot be null."));
+ .error(new IllegalArgumentException("Parameter environmentName is required and cannot be null."));
}
- if (name == null) {
- return Mono.error(new IllegalArgumentException("Parameter name is required and cannot be null."));
+ if (certificateName == null) {
+ return Mono
+ .error(new IllegalArgumentException("Parameter certificateName is required and cannot be null."));
}
if (certificateEnvelope != null) {
certificateEnvelope.validate();
@@ -557,8 +549,8 @@ private Mono> createOrUpdateWithResponseAsync(
this.client.getEndpoint(),
this.client.getSubscriptionId(),
resourceGroupName,
- managedEnvironmentName,
- name,
+ environmentName,
+ certificateName,
this.client.getApiVersion(),
certificateEnvelope,
accept,
@@ -570,8 +562,8 @@ private Mono> createOrUpdateWithResponseAsync(
* 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.
@@ -583,8 +575,8 @@ private Mono> createOrUpdateWithResponseAsync(
@ServiceMethod(returns = ReturnType.SINGLE)
private Mono> createOrUpdateWithResponseAsync(
String resourceGroupName,
- String managedEnvironmentName,
- String name,
+ String environmentName,
+ String certificateName,
CertificateInner certificateEnvelope,
Context context) {
if (this.client.getEndpoint() == null) {
@@ -603,13 +595,13 @@ private Mono> createOrUpdateWithResponseAsync(
return Mono
.error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."));
}
- if (managedEnvironmentName == null) {
+ if (environmentName == null) {
return Mono
- .error(
- new IllegalArgumentException("Parameter managedEnvironmentName is required and cannot be null."));
+ .error(new IllegalArgumentException("Parameter environmentName is required and cannot be null."));
}
- if (name == null) {
- return Mono.error(new IllegalArgumentException("Parameter name is required and cannot be null."));
+ if (certificateName == null) {
+ return Mono
+ .error(new IllegalArgumentException("Parameter certificateName is required and cannot be null."));
}
if (certificateEnvelope != null) {
certificateEnvelope.validate();
@@ -621,8 +613,8 @@ private Mono> createOrUpdateWithResponseAsync(
this.client.getEndpoint(),
this.client.getSubscriptionId(),
resourceGroupName,
- managedEnvironmentName,
- name,
+ environmentName,
+ certificateName,
this.client.getApiVersion(),
certificateEnvelope,
accept,
@@ -633,8 +625,8 @@ private Mono> createOrUpdateWithResponseAsync(
* 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.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws DefaultErrorResponseErrorException thrown if the request is rejected by server.
@@ -644,24 +636,20 @@ private Mono> createOrUpdateWithResponseAsync(
*/
@ServiceMethod(returns = ReturnType.SINGLE)
private Mono createOrUpdateAsync(
- String resourceGroupName, String managedEnvironmentName, String name, CertificateInner certificateEnvelope) {
- return createOrUpdateWithResponseAsync(resourceGroupName, managedEnvironmentName, name, certificateEnvelope)
- .flatMap(
- (Response res) -> {
- if (res.getValue() != null) {
- return Mono.just(res.getValue());
- } else {
- return Mono.empty();
- }
- });
+ String resourceGroupName,
+ String environmentName,
+ String certificateName,
+ CertificateInner certificateEnvelope) {
+ return createOrUpdateWithResponseAsync(resourceGroupName, environmentName, certificateName, certificateEnvelope)
+ .flatMap(res -> Mono.justOrEmpty(res.getValue()));
}
/**
* 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 DefaultErrorResponseErrorException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
@@ -670,42 +658,35 @@ private Mono createOrUpdateAsync(
*/
@ServiceMethod(returns = ReturnType.SINGLE)
private Mono createOrUpdateAsync(
- String resourceGroupName, String managedEnvironmentName, String name) {
+ String resourceGroupName, String environmentName, String certificateName) {
final CertificateInner certificateEnvelope = null;
- return createOrUpdateWithResponseAsync(resourceGroupName, managedEnvironmentName, name, certificateEnvelope)
- .flatMap(
- (Response res) -> {
- if (res.getValue() != null) {
- return Mono.just(res.getValue());
- } else {
- return Mono.empty();
- }
- });
+ return createOrUpdateWithResponseAsync(resourceGroupName, environmentName, certificateName, certificateEnvelope)
+ .flatMap(res -> Mono.justOrEmpty(res.getValue()));
}
/**
* 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 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)
- public CertificateInner createOrUpdate(String resourceGroupName, String managedEnvironmentName, String name) {
+ public CertificateInner createOrUpdate(String resourceGroupName, String environmentName, String certificateName) {
final CertificateInner certificateEnvelope = null;
- return createOrUpdateAsync(resourceGroupName, managedEnvironmentName, name, certificateEnvelope).block();
+ return createOrUpdateAsync(resourceGroupName, environmentName, certificateName, certificateEnvelope).block();
}
/**
* 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.
@@ -717,12 +698,12 @@ public CertificateInner createOrUpdate(String resourceGroupName, String managedE
@ServiceMethod(returns = ReturnType.SINGLE)
public Response createOrUpdateWithResponse(
String resourceGroupName,
- String managedEnvironmentName,
- String name,
+ String environmentName,
+ String certificateName,
CertificateInner certificateEnvelope,
Context context) {
return createOrUpdateWithResponseAsync(
- resourceGroupName, managedEnvironmentName, name, certificateEnvelope, context)
+ resourceGroupName, environmentName, certificateName, certificateEnvelope, context)
.block();
}
@@ -730,8 +711,8 @@ public Response createOrUpdateWithResponse(
* 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 DefaultErrorResponseErrorException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
@@ -739,7 +720,7 @@ public Response createOrUpdateWithResponse(
*/
@ServiceMethod(returns = ReturnType.SINGLE)
private Mono> deleteWithResponseAsync(
- String resourceGroupName, String managedEnvironmentName, String name) {
+ String resourceGroupName, String environmentName, String certificateName) {
if (this.client.getEndpoint() == null) {
return Mono
.error(
@@ -756,13 +737,13 @@ private Mono> deleteWithResponseAsync(
return Mono
.error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."));
}
- if (managedEnvironmentName == null) {
+ if (environmentName == null) {
return Mono
- .error(
- new IllegalArgumentException("Parameter managedEnvironmentName is required and cannot be null."));
+ .error(new IllegalArgumentException("Parameter environmentName is required and cannot be null."));
}
- if (name == null) {
- return Mono.error(new IllegalArgumentException("Parameter name is required and cannot be null."));
+ if (certificateName == null) {
+ return Mono
+ .error(new IllegalArgumentException("Parameter certificateName is required and cannot be null."));
}
final String accept = "application/json";
return FluxUtil
@@ -773,8 +754,8 @@ private Mono> deleteWithResponseAsync(
this.client.getEndpoint(),
this.client.getSubscriptionId(),
resourceGroupName,
- managedEnvironmentName,
- name,
+ environmentName,
+ certificateName,
this.client.getApiVersion(),
accept,
context))
@@ -785,8 +766,8 @@ private Mono> deleteWithResponseAsync(
* 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 DefaultErrorResponseErrorException thrown if the request is rejected by server.
@@ -795,7 +776,7 @@ private Mono> deleteWithResponseAsync(
*/
@ServiceMethod(returns = ReturnType.SINGLE)
private Mono> deleteWithResponseAsync(
- String resourceGroupName, String managedEnvironmentName, String name, Context context) {
+ String resourceGroupName, String environmentName, String certificateName, Context context) {
if (this.client.getEndpoint() == null) {
return Mono
.error(
@@ -812,13 +793,13 @@ private Mono> deleteWithResponseAsync(
return Mono
.error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."));
}
- if (managedEnvironmentName == null) {
+ if (environmentName == null) {
return Mono
- .error(
- new IllegalArgumentException("Parameter managedEnvironmentName is required and cannot be null."));
+ .error(new IllegalArgumentException("Parameter environmentName is required and cannot be null."));
}
- if (name == null) {
- return Mono.error(new IllegalArgumentException("Parameter name is required and cannot be null."));
+ if (certificateName == null) {
+ return Mono
+ .error(new IllegalArgumentException("Parameter certificateName is required and cannot be null."));
}
final String accept = "application/json";
context = this.client.mergeContext(context);
@@ -827,8 +808,8 @@ private Mono> deleteWithResponseAsync(
this.client.getEndpoint(),
this.client.getSubscriptionId(),
resourceGroupName,
- managedEnvironmentName,
- name,
+ environmentName,
+ certificateName,
this.client.getApiVersion(),
accept,
context);
@@ -838,40 +819,40 @@ private Mono> deleteWithResponseAsync(
* 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 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 {@link Mono} that completes when a successful response is received.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- private Mono deleteAsync(String resourceGroupName, String managedEnvironmentName, String name) {
- return deleteWithResponseAsync(resourceGroupName, managedEnvironmentName, name)
- .flatMap((Response res) -> Mono.empty());
+ private Mono deleteAsync(String resourceGroupName, String environmentName, String certificateName) {
+ return deleteWithResponseAsync(resourceGroupName, environmentName, certificateName)
+ .flatMap(ignored -> Mono.empty());
}
/**
* 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 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)
- public void delete(String resourceGroupName, String managedEnvironmentName, String name) {
- deleteAsync(resourceGroupName, managedEnvironmentName, name).block();
+ public void delete(String resourceGroupName, String environmentName, String certificateName) {
+ deleteAsync(resourceGroupName, environmentName, certificateName).block();
}
/**
* 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 DefaultErrorResponseErrorException thrown if the request is rejected by server.
@@ -880,16 +861,16 @@ public void delete(String resourceGroupName, String managedEnvironmentName, Stri
*/
@ServiceMethod(returns = ReturnType.SINGLE)
public Response deleteWithResponse(
- String resourceGroupName, String managedEnvironmentName, String name, Context context) {
- return deleteWithResponseAsync(resourceGroupName, managedEnvironmentName, name, context).block();
+ String resourceGroupName, String environmentName, String certificateName, Context context) {
+ return deleteWithResponseAsync(resourceGroupName, environmentName, certificateName, context).block();
}
/**
* 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 DefaultErrorResponseErrorException thrown if the request is rejected by server.
@@ -899,7 +880,10 @@ public Response deleteWithResponse(
*/
@ServiceMethod(returns = ReturnType.SINGLE)
private Mono> updateWithResponseAsync(
- String resourceGroupName, String managedEnvironmentName, String name, CertificatePatch certificateEnvelope) {
+ String resourceGroupName,
+ String environmentName,
+ String certificateName,
+ CertificatePatch certificateEnvelope) {
if (this.client.getEndpoint() == null) {
return Mono
.error(
@@ -916,13 +900,13 @@ private Mono> updateWithResponseAsync(
return Mono
.error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."));
}
- if (managedEnvironmentName == null) {
+ if (environmentName == null) {
return Mono
- .error(
- new IllegalArgumentException("Parameter managedEnvironmentName is required and cannot be null."));
+ .error(new IllegalArgumentException("Parameter environmentName is required and cannot be null."));
}
- if (name == null) {
- return Mono.error(new IllegalArgumentException("Parameter name is required and cannot be null."));
+ if (certificateName == null) {
+ return Mono
+ .error(new IllegalArgumentException("Parameter certificateName is required and cannot be null."));
}
if (certificateEnvelope == null) {
return Mono
@@ -939,8 +923,8 @@ private Mono> updateWithResponseAsync(
this.client.getEndpoint(),
this.client.getSubscriptionId(),
resourceGroupName,
- managedEnvironmentName,
- name,
+ environmentName,
+ certificateName,
this.client.getApiVersion(),
certificateEnvelope,
accept,
@@ -952,8 +936,8 @@ private Mono> updateWithResponseAsync(
* 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.
@@ -965,8 +949,8 @@ private Mono> updateWithResponseAsync(
@ServiceMethod(returns = ReturnType.SINGLE)
private Mono> updateWithResponseAsync(
String resourceGroupName,
- String managedEnvironmentName,
- String name,
+ String environmentName,
+ String certificateName,
CertificatePatch certificateEnvelope,
Context context) {
if (this.client.getEndpoint() == null) {
@@ -985,13 +969,13 @@ private Mono> updateWithResponseAsync(
return Mono
.error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."));
}
- if (managedEnvironmentName == null) {
+ if (environmentName == null) {
return Mono
- .error(
- new IllegalArgumentException("Parameter managedEnvironmentName is required and cannot be null."));
+ .error(new IllegalArgumentException("Parameter environmentName is required and cannot be null."));
}
- if (name == null) {
- return Mono.error(new IllegalArgumentException("Parameter name is required and cannot be null."));
+ if (certificateName == null) {
+ return Mono
+ .error(new IllegalArgumentException("Parameter certificateName is required and cannot be null."));
}
if (certificateEnvelope == null) {
return Mono
@@ -1006,8 +990,8 @@ private Mono> updateWithResponseAsync(
this.client.getEndpoint(),
this.client.getSubscriptionId(),
resourceGroupName,
- managedEnvironmentName,
- name,
+ environmentName,
+ certificateName,
this.client.getApiVersion(),
certificateEnvelope,
accept,
@@ -1018,8 +1002,8 @@ private Mono> updateWithResponseAsync(
* 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 DefaultErrorResponseErrorException thrown if the request is rejected by server.
@@ -1029,24 +1013,20 @@ private Mono> updateWithResponseAsync(
*/
@ServiceMethod(returns = ReturnType.SINGLE)
private Mono updateAsync(
- String resourceGroupName, String managedEnvironmentName, String name, CertificatePatch certificateEnvelope) {
- return updateWithResponseAsync(resourceGroupName, managedEnvironmentName, name, certificateEnvelope)
- .flatMap(
- (Response res) -> {
- if (res.getValue() != null) {
- return Mono.just(res.getValue());
- } else {
- return Mono.empty();
- }
- });
+ String resourceGroupName,
+ String environmentName,
+ String certificateName,
+ CertificatePatch certificateEnvelope) {
+ return updateWithResponseAsync(resourceGroupName, environmentName, certificateName, certificateEnvelope)
+ .flatMap(res -> Mono.justOrEmpty(res.getValue()));
}
/**
* 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 DefaultErrorResponseErrorException thrown if the request is rejected by server.
@@ -1055,16 +1035,19 @@ private Mono updateAsync(
*/
@ServiceMethod(returns = ReturnType.SINGLE)
public CertificateInner update(
- String resourceGroupName, String managedEnvironmentName, String name, CertificatePatch certificateEnvelope) {
- return updateAsync(resourceGroupName, managedEnvironmentName, name, certificateEnvelope).block();
+ String resourceGroupName,
+ String environmentName,
+ String certificateName,
+ CertificatePatch certificateEnvelope) {
+ return updateAsync(resourceGroupName, environmentName, certificateName, certificateEnvelope).block();
}
/**
* 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.
@@ -1076,11 +1059,12 @@ public CertificateInner update(
@ServiceMethod(returns = ReturnType.SINGLE)
public Response updateWithResponse(
String resourceGroupName,
- String managedEnvironmentName,
- String name,
+ String environmentName,
+ String certificateName,
CertificatePatch certificateEnvelope,
Context context) {
- return updateWithResponseAsync(resourceGroupName, managedEnvironmentName, name, certificateEnvelope, context)
+ return updateWithResponseAsync(
+ resourceGroupName, environmentName, certificateName, certificateEnvelope, context)
.block();
}
diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/implementation/CertificatesImpl.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/implementation/CertificatesImpl.java
index 3259b8bfdb39..a90933faa056 100644
--- a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/implementation/CertificatesImpl.java
+++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/implementation/CertificatesImpl.java
@@ -28,19 +28,18 @@ public CertificatesImpl(
this.serviceManager = serviceManager;
}
- public PagedIterable list(String resourceGroupName, String managedEnvironmentName) {
- PagedIterable inner = this.serviceClient().list(resourceGroupName, managedEnvironmentName);
+ public PagedIterable list(String resourceGroupName, String environmentName) {
+ PagedIterable inner = this.serviceClient().list(resourceGroupName, environmentName);
return Utils.mapPage(inner, inner1 -> new CertificateImpl(inner1, this.manager()));
}
- public PagedIterable list(String resourceGroupName, String managedEnvironmentName, Context context) {
- PagedIterable inner =
- this.serviceClient().list(resourceGroupName, managedEnvironmentName, context);
+ public PagedIterable list(String resourceGroupName, String environmentName, Context context) {
+ PagedIterable inner = this.serviceClient().list(resourceGroupName, environmentName, context);
return Utils.mapPage(inner, inner1 -> new CertificateImpl(inner1, this.manager()));
}
- public Certificate get(String resourceGroupName, String managedEnvironmentName, String name) {
- CertificateInner inner = this.serviceClient().get(resourceGroupName, managedEnvironmentName, name);
+ public Certificate get(String resourceGroupName, String environmentName, String certificateName) {
+ CertificateInner inner = this.serviceClient().get(resourceGroupName, environmentName, certificateName);
if (inner != null) {
return new CertificateImpl(inner, this.manager());
} else {
@@ -49,9 +48,9 @@ public Certificate get(String resourceGroupName, String managedEnvironmentName,
}
public Response getWithResponse(
- String resourceGroupName, String managedEnvironmentName, String name, Context context) {
+ String resourceGroupName, String environmentName, String certificateName, Context context) {
Response inner =
- this.serviceClient().getWithResponse(resourceGroupName, managedEnvironmentName, name, context);
+ this.serviceClient().getWithResponse(resourceGroupName, environmentName, certificateName, context);
if (inner != null) {
return new SimpleResponse<>(
inner.getRequest(),
@@ -63,13 +62,13 @@ public Response getWithResponse(
}
}
- public void delete(String resourceGroupName, String managedEnvironmentName, String name) {
- this.serviceClient().delete(resourceGroupName, managedEnvironmentName, name);
+ public void delete(String resourceGroupName, String environmentName, String certificateName) {
+ this.serviceClient().delete(resourceGroupName, environmentName, certificateName);
}
public Response deleteWithResponse(
- String resourceGroupName, String managedEnvironmentName, String name, Context context) {
- return this.serviceClient().deleteWithResponse(resourceGroupName, managedEnvironmentName, name, context);
+ String resourceGroupName, String environmentName, String certificateName, Context context) {
+ return this.serviceClient().deleteWithResponse(resourceGroupName, environmentName, certificateName, context);
}
public Certificate getById(String id) {
@@ -81,8 +80,8 @@ public Certificate getById(String id) {
String
.format("The resource ID '%s' is not valid. Missing path segment 'resourceGroups'.", id)));
}
- String managedEnvironmentName = Utils.getValueFromIdByName(id, "managedEnvironments");
- if (managedEnvironmentName == null) {
+ String environmentName = Utils.getValueFromIdByName(id, "managedEnvironments");
+ if (environmentName == null) {
throw LOGGER
.logExceptionAsError(
new IllegalArgumentException(
@@ -90,14 +89,14 @@ public Certificate getById(String id) {
.format(
"The resource ID '%s' is not valid. Missing path segment 'managedEnvironments'.", id)));
}
- String name = Utils.getValueFromIdByName(id, "certificates");
- if (name == null) {
+ String certificateName = Utils.getValueFromIdByName(id, "certificates");
+ if (certificateName == null) {
throw LOGGER
.logExceptionAsError(
new IllegalArgumentException(
String.format("The resource ID '%s' is not valid. Missing path segment 'certificates'.", id)));
}
- return this.getWithResponse(resourceGroupName, managedEnvironmentName, name, Context.NONE).getValue();
+ return this.getWithResponse(resourceGroupName, environmentName, certificateName, Context.NONE).getValue();
}
public Response getByIdWithResponse(String id, Context context) {
@@ -109,8 +108,8 @@ public Response getByIdWithResponse(String id, Context context) {
String
.format("The resource ID '%s' is not valid. Missing path segment 'resourceGroups'.", id)));
}
- String managedEnvironmentName = Utils.getValueFromIdByName(id, "managedEnvironments");
- if (managedEnvironmentName == null) {
+ String environmentName = Utils.getValueFromIdByName(id, "managedEnvironments");
+ if (environmentName == null) {
throw LOGGER
.logExceptionAsError(
new IllegalArgumentException(
@@ -118,14 +117,14 @@ public Response getByIdWithResponse(String id, Context context) {
.format(
"The resource ID '%s' is not valid. Missing path segment 'managedEnvironments'.", id)));
}
- String name = Utils.getValueFromIdByName(id, "certificates");
- if (name == null) {
+ String certificateName = Utils.getValueFromIdByName(id, "certificates");
+ if (certificateName == null) {
throw LOGGER
.logExceptionAsError(
new IllegalArgumentException(
String.format("The resource ID '%s' is not valid. Missing path segment 'certificates'.", id)));
}
- return this.getWithResponse(resourceGroupName, managedEnvironmentName, name, context);
+ return this.getWithResponse(resourceGroupName, environmentName, certificateName, context);
}
public void deleteById(String id) {
@@ -137,8 +136,8 @@ public void deleteById(String id) {
String
.format("The resource ID '%s' is not valid. Missing path segment 'resourceGroups'.", id)));
}
- String managedEnvironmentName = Utils.getValueFromIdByName(id, "managedEnvironments");
- if (managedEnvironmentName == null) {
+ String environmentName = Utils.getValueFromIdByName(id, "managedEnvironments");
+ if (environmentName == null) {
throw LOGGER
.logExceptionAsError(
new IllegalArgumentException(
@@ -146,14 +145,14 @@ public void deleteById(String id) {
.format(
"The resource ID '%s' is not valid. Missing path segment 'managedEnvironments'.", id)));
}
- String name = Utils.getValueFromIdByName(id, "certificates");
- if (name == null) {
+ String certificateName = Utils.getValueFromIdByName(id, "certificates");
+ if (certificateName == null) {
throw LOGGER
.logExceptionAsError(
new IllegalArgumentException(
String.format("The resource ID '%s' is not valid. Missing path segment 'certificates'.", id)));
}
- this.deleteWithResponse(resourceGroupName, managedEnvironmentName, name, Context.NONE);
+ this.deleteWithResponse(resourceGroupName, environmentName, certificateName, Context.NONE);
}
public Response deleteByIdWithResponse(String id, Context context) {
@@ -165,8 +164,8 @@ public Response deleteByIdWithResponse(String id, Context context) {
String
.format("The resource ID '%s' is not valid. Missing path segment 'resourceGroups'.", id)));
}
- String managedEnvironmentName = Utils.getValueFromIdByName(id, "managedEnvironments");
- if (managedEnvironmentName == null) {
+ String environmentName = Utils.getValueFromIdByName(id, "managedEnvironments");
+ if (environmentName == null) {
throw LOGGER
.logExceptionAsError(
new IllegalArgumentException(
@@ -174,14 +173,14 @@ public Response deleteByIdWithResponse(String id, Context context) {
.format(
"The resource ID '%s' is not valid. Missing path segment 'managedEnvironments'.", id)));
}
- String name = Utils.getValueFromIdByName(id, "certificates");
- if (name == null) {
+ String certificateName = Utils.getValueFromIdByName(id, "certificates");
+ if (certificateName == null) {
throw LOGGER
.logExceptionAsError(
new IllegalArgumentException(
String.format("The resource ID '%s' is not valid. Missing path segment 'certificates'.", id)));
}
- return this.deleteWithResponse(resourceGroupName, managedEnvironmentName, name, context);
+ return this.deleteWithResponse(resourceGroupName, environmentName, certificateName, context);
}
private CertificatesClient serviceClient() {
diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/implementation/ContainerAppImpl.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/implementation/ContainerAppImpl.java
index 68eb3da1a5ba..3a5ee744f975 100644
--- a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/implementation/ContainerAppImpl.java
+++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/implementation/ContainerAppImpl.java
@@ -11,6 +11,7 @@
import com.azure.resourcemanager.appcontainers.models.Configuration;
import com.azure.resourcemanager.appcontainers.models.ContainerApp;
import com.azure.resourcemanager.appcontainers.models.ContainerAppProvisioningState;
+import com.azure.resourcemanager.appcontainers.models.CustomHostnameAnalysisResult;
import com.azure.resourcemanager.appcontainers.models.ManagedServiceIdentity;
import com.azure.resourcemanager.appcontainers.models.SecretsCollection;
import com.azure.resourcemanager.appcontainers.models.Template;
@@ -97,6 +98,10 @@ public String regionName() {
return this.location();
}
+ public String resourceGroupName() {
+ return resourceGroupName;
+ }
+
public ContainerAppInner innerModel() {
return this.innerObject;
}
@@ -107,7 +112,7 @@ private com.azure.resourcemanager.appcontainers.ContainerAppsApiManager manager(
private String resourceGroupName;
- private String name;
+ private String containerAppName;
public ContainerAppImpl withExistingResourceGroup(String resourceGroupName) {
this.resourceGroupName = resourceGroupName;
@@ -119,7 +124,7 @@ public ContainerApp create() {
serviceManager
.serviceClient()
.getContainerApps()
- .createOrUpdate(resourceGroupName, name, this.innerModel(), Context.NONE);
+ .createOrUpdate(resourceGroupName, containerAppName, this.innerModel(), Context.NONE);
return this;
}
@@ -128,14 +133,14 @@ public ContainerApp create(Context context) {
serviceManager
.serviceClient()
.getContainerApps()
- .createOrUpdate(resourceGroupName, name, this.innerModel(), context);
+ .createOrUpdate(resourceGroupName, containerAppName, this.innerModel(), context);
return this;
}
ContainerAppImpl(String name, com.azure.resourcemanager.appcontainers.ContainerAppsApiManager serviceManager) {
this.innerObject = new ContainerAppInner();
this.serviceManager = serviceManager;
- this.name = name;
+ this.containerAppName = name;
}
public ContainerAppImpl update() {
@@ -147,7 +152,7 @@ public ContainerApp apply() {
serviceManager
.serviceClient()
.getContainerApps()
- .createOrUpdate(resourceGroupName, name, this.innerModel(), Context.NONE);
+ .createOrUpdate(resourceGroupName, containerAppName, this.innerModel(), Context.NONE);
return this;
}
@@ -156,7 +161,7 @@ public ContainerApp apply(Context context) {
serviceManager
.serviceClient()
.getContainerApps()
- .createOrUpdate(resourceGroupName, name, this.innerModel(), context);
+ .createOrUpdate(resourceGroupName, containerAppName, this.innerModel(), context);
return this;
}
@@ -165,7 +170,7 @@ public ContainerApp apply(Context context) {
this.innerObject = innerObject;
this.serviceManager = serviceManager;
this.resourceGroupName = Utils.getValueFromIdByName(innerObject.id(), "resourceGroups");
- this.name = Utils.getValueFromIdByName(innerObject.id(), "containerApps");
+ this.containerAppName = Utils.getValueFromIdByName(innerObject.id(), "containerApps");
}
public ContainerApp refresh() {
@@ -173,7 +178,7 @@ public ContainerApp refresh() {
serviceManager
.serviceClient()
.getContainerApps()
- .getByResourceGroupWithResponse(resourceGroupName, name, Context.NONE)
+ .getByResourceGroupWithResponse(resourceGroupName, containerAppName, Context.NONE)
.getValue();
return this;
}
@@ -183,17 +188,28 @@ public ContainerApp refresh(Context context) {
serviceManager
.serviceClient()
.getContainerApps()
- .getByResourceGroupWithResponse(resourceGroupName, name, context)
+ .getByResourceGroupWithResponse(resourceGroupName, containerAppName, context)
.getValue();
return this;
}
+ public CustomHostnameAnalysisResult listCustomHostnameAnalysis() {
+ return serviceManager.containerApps().listCustomHostnameAnalysis(resourceGroupName, containerAppName);
+ }
+
+ public Response listCustomHostnameAnalysisWithResponse(
+ String customHostname, Context context) {
+ return serviceManager
+ .containerApps()
+ .listCustomHostnameAnalysisWithResponse(resourceGroupName, containerAppName, customHostname, context);
+ }
+
public SecretsCollection listSecrets() {
- return serviceManager.containerApps().listSecrets(resourceGroupName, name);
+ return serviceManager.containerApps().listSecrets(resourceGroupName, containerAppName);
}
public Response listSecretsWithResponse(Context context) {
- return serviceManager.containerApps().listSecretsWithResponse(resourceGroupName, name, context);
+ return serviceManager.containerApps().listSecretsWithResponse(resourceGroupName, containerAppName, context);
}
public ContainerAppImpl withRegion(Region location) {
diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/implementation/ContainerAppsApiClientImpl.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/implementation/ContainerAppsApiClientImpl.java
index c8cf38f7761f..c55e77b650a3 100644
--- a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/implementation/ContainerAppsApiClientImpl.java
+++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/implementation/ContainerAppsApiClientImpl.java
@@ -15,6 +15,7 @@
import com.azure.core.management.polling.PollResult;
import com.azure.core.management.polling.PollerFactory;
import com.azure.core.util.Context;
+import com.azure.core.util.CoreUtils;
import com.azure.core.util.logging.ClientLogger;
import com.azure.core.util.polling.AsyncPollResponse;
import com.azure.core.util.polling.LongRunningOperationStatus;
@@ -39,7 +40,6 @@
import java.nio.charset.Charset;
import java.nio.charset.StandardCharsets;
import java.time.Duration;
-import java.util.Map;
import reactor.core.publisher.Flux;
import reactor.core.publisher.Mono;
@@ -302,10 +302,7 @@ public Context getContext() {
* @return the merged context.
*/
public Context mergeContext(Context context) {
- for (Map.Entry