, Void> beginDelete(String resourceGroupName, String jobName, Context context);
+
+ /**
+ * Delete a Container Apps Job.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param jobName Name of the Container Apps Job.
+ * @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 jobName);
+
+ /**
+ * Delete a Container Apps Job.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param jobName Name of the Container Apps Job.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
+ * is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ void delete(String resourceGroupName, String jobName, Context context);
+
+ /**
+ * Update properties of a Container Apps Job
+ *
+ * Patches a Container Apps Job using JSON Merge Patch.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param jobName Name of the Container Apps Job.
+ * @param jobEnvelope Properties used to create a container apps job.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
+ * is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of container App Job.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, JobInner> beginUpdate(
+ String resourceGroupName, String jobName, JobPatchProperties jobEnvelope);
+
+ /**
+ * Update properties of a Container Apps Job
+ *
+ * Patches a Container Apps Job using JSON Merge Patch.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param jobName Name of the Container Apps Job.
+ * @param jobEnvelope Properties used to create a container apps job.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
+ * is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of container App Job.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, JobInner> beginUpdate(
+ String resourceGroupName, String jobName, JobPatchProperties jobEnvelope, Context context);
+
+ /**
+ * Update properties of a Container Apps Job
+ *
+ * Patches a Container Apps Job using JSON Merge Patch.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param jobName Name of the Container Apps Job.
+ * @param jobEnvelope Properties used to create a container apps job.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
+ * is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return container App Job.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ JobInner update(String resourceGroupName, String jobName, JobPatchProperties jobEnvelope);
+
+ /**
+ * Update properties of a Container Apps Job
+ *
+ *
Patches a Container Apps Job using JSON Merge Patch.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param jobName Name of the Container Apps Job.
+ * @param jobEnvelope Properties used to create a container apps job.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
+ * is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return container App Job.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ JobInner update(String resourceGroupName, String jobName, JobPatchProperties jobEnvelope, Context context);
+
+ /**
+ * Start a Container Apps Job.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param jobName Name of the Container Apps Job.
+ * @param template Properties used to start a job instance.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
+ * is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of container App's Job execution name.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, JobExecutionBaseInner> beginStart(
+ String resourceGroupName, String jobName, JobExecutionTemplate template);
+
+ /**
+ * Start a Container Apps Job.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param jobName Name of the Container Apps Job.
+ * @param template Properties used to start a job instance.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
+ * is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of container App's Job execution name.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, JobExecutionBaseInner> beginStart(
+ String resourceGroupName, String jobName, JobExecutionTemplate template, Context context);
+
+ /**
+ * Start a Container Apps Job.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param jobName Name of the Container Apps Job.
+ * @param template Properties used to start a job instance.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
+ * is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return container App's Job execution name.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ JobExecutionBaseInner start(String resourceGroupName, String jobName, JobExecutionTemplate template);
+
+ /**
+ * Start a Container Apps Job.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param jobName Name of the Container Apps Job.
+ * @param template Properties used to start a job instance.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
+ * is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return container App's Job execution name.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ JobExecutionBaseInner start(
+ String resourceGroupName, String jobName, JobExecutionTemplate template, Context context);
+
+ /**
+ * Terminates execution of a running container apps job.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param jobName Name of the Container Apps Job.
+ * @param jobExecutionName Job execution name.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
+ * is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of long-running operation.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, Void> beginStopExecution(
+ String resourceGroupName, String jobName, String jobExecutionName);
+
+ /**
+ * Terminates execution of a running container apps job.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param jobName Name of the Container Apps Job.
+ * @param jobExecutionName Job execution name.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
+ * is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of long-running operation.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, Void> beginStopExecution(
+ String resourceGroupName, String jobName, String jobExecutionName, Context context);
+
+ /**
+ * Terminates execution of a running container apps job.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param jobName Name of the Container Apps Job.
+ * @param jobExecutionName Job execution name.
+ * @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 stopExecution(String resourceGroupName, String jobName, String jobExecutionName);
+
+ /**
+ * Terminates execution of a running container apps job.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param jobName Name of the Container Apps Job.
+ * @param jobExecutionName Job execution name.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
+ * is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ void stopExecution(String resourceGroupName, String jobName, String jobExecutionName, Context context);
+
+ /**
+ * Terminates execution of a running container apps job.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param jobName Name of the Container Apps Job.
+ * @param jobExecutionName List of all job executions that should be stopped.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
+ * is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of container App executions collection ARM resource.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, ContainerAppJobExecutionsInner> beginStopMultipleExecutions(
+ String resourceGroupName, String jobName, JobExecutionNamesCollection jobExecutionName);
+
+ /**
+ * Terminates execution of a running container apps job.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param jobName Name of the Container Apps Job.
+ * @param jobExecutionName List of all job executions that should be stopped.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
+ * is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of container App executions collection ARM resource.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, ContainerAppJobExecutionsInner> beginStopMultipleExecutions(
+ String resourceGroupName, String jobName, JobExecutionNamesCollection jobExecutionName, Context context);
+
+ /**
+ * Terminates execution of a running container apps job.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param jobName Name of the Container Apps Job.
+ * @param jobExecutionName List of all job executions that should be stopped.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
+ * is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return container App executions collection ARM resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ ContainerAppJobExecutionsInner stopMultipleExecutions(
+ String resourceGroupName, String jobName, JobExecutionNamesCollection jobExecutionName);
+
+ /**
+ * Terminates execution of a running container apps job.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param jobName Name of the Container Apps Job.
+ * @param jobExecutionName List of all job executions that should be stopped.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
+ * is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return container App executions collection ARM resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ ContainerAppJobExecutionsInner stopMultipleExecutions(
+ String resourceGroupName, String jobName, JobExecutionNamesCollection jobExecutionName, Context context);
+
+ /**
+ * List secrets for a container apps job.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param jobName Name of the Container Apps Job.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
+ * is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return container Apps Job Secrets Collection ARM resource along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response listSecretsWithResponse(
+ String resourceGroupName, String jobName, Context context);
+
+ /**
+ * List secrets for a container apps job.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param jobName Name of the Container Apps Job.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
+ * is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return container Apps Job Secrets Collection ARM resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ JobSecretsCollectionInner listSecrets(String resourceGroupName, String jobName);
+}
diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/JobsExecutionsClient.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/JobsExecutionsClient.java
new file mode 100644
index 0000000000000..7b5284f29e51d
--- /dev/null
+++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/JobsExecutionsClient.java
@@ -0,0 +1,44 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.appcontainers.fluent;
+
+import com.azure.core.annotation.ReturnType;
+import com.azure.core.annotation.ServiceMethod;
+import com.azure.core.http.rest.PagedIterable;
+import com.azure.core.util.Context;
+import com.azure.resourcemanager.appcontainers.fluent.models.JobExecutionInner;
+
+/** An instance of this class provides access to all the operations defined in JobsExecutionsClient. */
+public interface JobsExecutionsClient {
+ /**
+ * Get a Container Apps Job's executions.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param jobName Name of the Container Apps Job.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
+ * is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a Container Apps Job's executions as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(String resourceGroupName, String jobName);
+
+ /**
+ * Get a Container Apps Job's executions.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param jobName Name of the Container Apps Job.
+ * @param filter The filter to apply on the operation.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
+ * is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a Container Apps Job's executions as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(String resourceGroupName, String jobName, String filter, Context context);
+}
diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/ManagedCertificatesClient.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/ManagedCertificatesClient.java
new file mode 100644
index 0000000000000..30113c809f0dc
--- /dev/null
+++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/ManagedCertificatesClient.java
@@ -0,0 +1,243 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.appcontainers.fluent;
+
+import com.azure.core.annotation.ReturnType;
+import com.azure.core.annotation.ServiceMethod;
+import com.azure.core.http.rest.PagedIterable;
+import com.azure.core.http.rest.Response;
+import com.azure.core.management.polling.PollResult;
+import com.azure.core.util.Context;
+import com.azure.core.util.polling.SyncPoller;
+import com.azure.resourcemanager.appcontainers.fluent.models.ManagedCertificateInner;
+import com.azure.resourcemanager.appcontainers.models.ManagedCertificatePatch;
+
+/** An instance of this class provides access to all the operations defined in ManagedCertificatesClient. */
+public interface ManagedCertificatesClient {
+ /**
+ * Get the specified Managed Certificate.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param environmentName Name of the Managed Environment.
+ * @param managedCertificateName Name of the Managed 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
+ * is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the specified Managed Certificate along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getWithResponse(
+ String resourceGroupName, String environmentName, String managedCertificateName, Context context);
+
+ /**
+ * Get the specified Managed Certificate.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param environmentName Name of the Managed Environment.
+ * @param managedCertificateName Name of the Managed Certificate.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
+ * is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the specified Managed Certificate.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ ManagedCertificateInner get(String resourceGroupName, String environmentName, String managedCertificateName);
+
+ /**
+ * Create or Update a Managed Certificate.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param environmentName Name of the Managed Environment.
+ * @param managedCertificateName Name of the Managed 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 com.azure.core.management.exception.ManagementException thrown if the request is rejected by server on
+ * status code 400.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of managed certificates used for Custom Domain bindings of Container
+ * Apps in a Managed Environment.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, ManagedCertificateInner> beginCreateOrUpdate(
+ String resourceGroupName, String environmentName, String managedCertificateName);
+
+ /**
+ * Create or Update a Managed Certificate.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param environmentName Name of the Managed Environment.
+ * @param managedCertificateName Name of the Managed Certificate.
+ * @param managedCertificateEnvelope Managed Certificate to be created or updated.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
+ * is rejected by server.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server on
+ * status code 400.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of managed certificates used for Custom Domain bindings of Container
+ * Apps in a Managed Environment.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, ManagedCertificateInner> beginCreateOrUpdate(
+ String resourceGroupName,
+ String environmentName,
+ String managedCertificateName,
+ ManagedCertificateInner managedCertificateEnvelope,
+ Context context);
+
+ /**
+ * Create or Update a Managed Certificate.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param environmentName Name of the Managed Environment.
+ * @param managedCertificateName Name of the Managed 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 com.azure.core.management.exception.ManagementException thrown if the request is rejected by server on
+ * status code 400.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return managed certificates used for Custom Domain bindings of Container Apps in a Managed Environment.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ ManagedCertificateInner createOrUpdate(
+ String resourceGroupName, String environmentName, String managedCertificateName);
+
+ /**
+ * Create or Update a Managed Certificate.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param environmentName Name of the Managed Environment.
+ * @param managedCertificateName Name of the Managed Certificate.
+ * @param managedCertificateEnvelope Managed Certificate to be created or updated.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
+ * is rejected by server.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server on
+ * status code 400.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return managed certificates used for Custom Domain bindings of Container Apps in a Managed Environment.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ ManagedCertificateInner createOrUpdate(
+ String resourceGroupName,
+ String environmentName,
+ String managedCertificateName,
+ ManagedCertificateInner managedCertificateEnvelope,
+ Context context);
+
+ /**
+ * Deletes the specified Managed Certificate.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param environmentName Name of the Managed Environment.
+ * @param managedCertificateName Name of the Managed 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
+ * is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response deleteWithResponse(
+ String resourceGroupName, String environmentName, String managedCertificateName, Context context);
+
+ /**
+ * Deletes the specified Managed Certificate.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param environmentName Name of the Managed Environment.
+ * @param managedCertificateName Name of the Managed 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 environmentName, String managedCertificateName);
+
+ /**
+ * Update tags of a managed certificate
+ *
+ * Patches a managed certificate. Oly patching of tags is supported.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param environmentName Name of the Managed Environment.
+ * @param managedCertificateName Name of the Managed Certificate.
+ * @param managedCertificateEnvelope Properties of a managed certificate that need to be updated.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
+ * is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return managed certificates used for Custom Domain bindings of Container Apps in a Managed Environment along
+ * with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response updateWithResponse(
+ String resourceGroupName,
+ String environmentName,
+ String managedCertificateName,
+ ManagedCertificatePatch managedCertificateEnvelope,
+ Context context);
+
+ /**
+ * Update tags of a managed certificate
+ *
+ * Patches a managed certificate. Oly patching of tags is supported.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param environmentName Name of the Managed Environment.
+ * @param managedCertificateName Name of the Managed Certificate.
+ * @param managedCertificateEnvelope Properties of a managed 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
+ * is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return managed certificates used for Custom Domain bindings of Container Apps in a Managed Environment.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ ManagedCertificateInner update(
+ String resourceGroupName,
+ String environmentName,
+ String managedCertificateName,
+ ManagedCertificatePatch managedCertificateEnvelope);
+
+ /**
+ * Get the Managed Certificates in a given managed environment.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param environmentName Name of the Managed Environment.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
+ * is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the Managed Certificates in a given managed environment as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(String resourceGroupName, String environmentName);
+
+ /**
+ * Get the Managed Certificates in a given managed environment.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @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
+ * is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the Managed Certificates in a given managed environment as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(String resourceGroupName, String environmentName, 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 12bb72b96036c..9631d1323e226 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
@@ -260,10 +260,10 @@ ManagedEnvironmentInner createOrUpdate(
* @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
* is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link SyncPoller} for polling of long-running operation.
+ * @return the {@link SyncPoller} for polling of an environment for hosting container apps.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, Void> beginUpdate(
+ SyncPoller, ManagedEnvironmentInner> beginUpdate(
String resourceGroupName, String environmentName, ManagedEnvironmentInner environmentEnvelope);
/**
@@ -279,10 +279,10 @@ SyncPoller, Void> beginUpdate(
* @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
* is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link SyncPoller} for polling of long-running operation.
+ * @return the {@link SyncPoller} for polling of an environment for hosting container apps.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, Void> beginUpdate(
+ SyncPoller, ManagedEnvironmentInner> beginUpdate(
String resourceGroupName, String environmentName, ManagedEnvironmentInner environmentEnvelope, Context context);
/**
@@ -297,9 +297,11 @@ SyncPoller, Void> beginUpdate(
* @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
* is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return an environment for hosting container apps.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- void update(String resourceGroupName, String environmentName, ManagedEnvironmentInner environmentEnvelope);
+ ManagedEnvironmentInner update(
+ String resourceGroupName, String environmentName, ManagedEnvironmentInner environmentEnvelope);
/**
* Update Managed Environment's properties.
@@ -314,9 +316,10 @@ SyncPoller, Void> beginUpdate(
* @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
* is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return an environment for hosting container apps.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- void update(
+ ManagedEnvironmentInner update(
String resourceGroupName, String environmentName, ManagedEnvironmentInner environmentEnvelope, Context context);
/**
@@ -354,9 +357,9 @@ Response getAuthTokenWithResponse(
EnvironmentAuthTokenInner getAuthToken(String resourceGroupName, String environmentName);
/**
- * Get all workload Profile States for a Premium Managed Environment..
+ * Get all workload Profile States for a Managed Environment..
*
- * Get all workload Profile States for a Premium Managed Environment.
+ *
Get all workload Profile States for a Managed Environment.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param environmentName Name of the Managed Environment.
@@ -364,17 +367,16 @@ Response getAuthTokenWithResponse(
* @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
* is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return all workload Profile States for a Premium Managed Environment as paginated response with {@link
- * PagedIterable}.
+ * @return all workload Profile States for a Managed Environment as paginated response with {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
PagedIterable listWorkloadProfileStates(
String resourceGroupName, String environmentName);
/**
- * Get all workload Profile States for a Premium Managed Environment..
+ * Get all workload Profile States for a Managed Environment..
*
- * Get all workload Profile States for a Premium Managed Environment.
+ *
Get all workload Profile States for a Managed Environment.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param environmentName Name of the Managed Environment.
@@ -383,8 +385,7 @@ PagedIterable listWorkloadProfileStates(
* @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
* is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return all workload Profile States for a Premium Managed Environment as paginated response with {@link
- * PagedIterable}.
+ * @return all workload Profile States for a Managed Environment as paginated response with {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
PagedIterable listWorkloadProfileStates(
diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/AvailableWorkloadProfileInner.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/AvailableWorkloadProfileInner.java
index 1982f7c7dde0f..29bba9a507794 100644
--- a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/AvailableWorkloadProfileInner.java
+++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/AvailableWorkloadProfileInner.java
@@ -10,7 +10,7 @@
import com.azure.resourcemanager.appcontainers.models.AvailableWorkloadProfileProperties;
import com.fasterxml.jackson.annotation.JsonProperty;
-/** A premium workload profile. */
+/** A workload profile with specific hardware configure to run container apps. */
@Fluent
public final class AvailableWorkloadProfileInner extends ProxyResource {
/*
diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/BillingMeterCollectionInner.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/BillingMeterCollectionInner.java
index 236f663470d61..a6bb8d5efcdcc 100644
--- a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/BillingMeterCollectionInner.java
+++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/BillingMeterCollectionInner.java
@@ -10,7 +10,7 @@
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.List;
-/** Collection of premium workload billing meters. */
+/** Collection of billing meters. */
@Fluent
public final class BillingMeterCollectionInner {
/*
diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/ContainerAppInner.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/ContainerAppInner.java
index 0f37c337d0552..aa0e8dae7598f 100644
--- a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/ContainerAppInner.java
+++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/ContainerAppInner.java
@@ -32,6 +32,14 @@ public final class ContainerAppInner extends Resource {
@JsonProperty(value = "identity")
private ManagedServiceIdentity identity;
+ /*
+ * The fully qualified resource ID of the resource that manages this resource. Indicates if this resource is
+ * managed by another Azure resource. If this is present, complete mode deployment will not delete the resource if
+ * it is removed from the template since it is managed by another resource.
+ */
+ @JsonProperty(value = "managedBy")
+ private String managedBy;
+
/*
* ContainerApp resource specific properties
*/
@@ -90,6 +98,30 @@ public ContainerAppInner withIdentity(ManagedServiceIdentity identity) {
return this;
}
+ /**
+ * Get the managedBy property: The fully qualified resource ID of the resource that manages this resource. Indicates
+ * if this resource is managed by another Azure resource. If this is present, complete mode deployment will not
+ * delete the resource if it is removed from the template since it is managed by another resource.
+ *
+ * @return the managedBy value.
+ */
+ public String managedBy() {
+ return this.managedBy;
+ }
+
+ /**
+ * Set the managedBy property: The fully qualified resource ID of the resource that manages this resource. Indicates
+ * if this resource is managed by another Azure resource. If this is present, complete mode deployment will not
+ * delete the resource if it is removed from the template since it is managed by another resource.
+ *
+ * @param managedBy the managedBy value to set.
+ * @return the ContainerAppInner object itself.
+ */
+ public ContainerAppInner withManagedBy(String managedBy) {
+ this.managedBy = managedBy;
+ return this;
+ }
+
/**
* Get the innerProperties property: ContainerApp resource specific properties.
*
@@ -178,25 +210,25 @@ public ContainerAppInner withEnvironmentId(String environmentId) {
}
/**
- * Get the workloadProfileType property: Workload profile type to pin for container app execution.
+ * Get the workloadProfileName property: Workload profile name to pin for container app execution.
*
- * @return the workloadProfileType value.
+ * @return the workloadProfileName value.
*/
- public String workloadProfileType() {
- return this.innerProperties() == null ? null : this.innerProperties().workloadProfileType();
+ public String workloadProfileName() {
+ return this.innerProperties() == null ? null : this.innerProperties().workloadProfileName();
}
/**
- * Set the workloadProfileType property: Workload profile type to pin for container app execution.
+ * Set the workloadProfileName property: Workload profile name to pin for container app execution.
*
- * @param workloadProfileType the workloadProfileType value to set.
+ * @param workloadProfileName the workloadProfileName value to set.
* @return the ContainerAppInner object itself.
*/
- public ContainerAppInner withWorkloadProfileType(String workloadProfileType) {
+ public ContainerAppInner withWorkloadProfileName(String workloadProfileName) {
if (this.innerProperties() == null) {
this.innerProperties = new ContainerAppProperties();
}
- this.innerProperties().withWorkloadProfileType(workloadProfileType);
+ this.innerProperties().withWorkloadProfileName(workloadProfileName);
return this;
}
@@ -209,6 +241,15 @@ public String latestRevisionName() {
return this.innerProperties() == null ? null : this.innerProperties().latestRevisionName();
}
+ /**
+ * Get the latestReadyRevisionName property: Name of the latest ready revision of the Container App.
+ *
+ * @return the latestReadyRevisionName value.
+ */
+ public String latestReadyRevisionName() {
+ return this.innerProperties() == null ? null : this.innerProperties().latestReadyRevisionName();
+ }
+
/**
* Get the latestRevisionFqdn property: Fully Qualified Domain Name of the latest revision of the Container App.
*
diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/ContainerAppJobExecutionsInner.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/ContainerAppJobExecutionsInner.java
new file mode 100644
index 0000000000000..80a392e0d7c78
--- /dev/null
+++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/ContainerAppJobExecutionsInner.java
@@ -0,0 +1,77 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.appcontainers.fluent.models;
+
+import com.azure.core.annotation.Fluent;
+import com.azure.core.util.logging.ClientLogger;
+import com.fasterxml.jackson.annotation.JsonProperty;
+import java.util.List;
+
+/** Container App executions collection ARM resource. */
+@Fluent
+public final class ContainerAppJobExecutionsInner {
+ /*
+ * Collection of resources.
+ */
+ @JsonProperty(value = "value", required = true)
+ private List value;
+
+ /*
+ * Link to next page of resources.
+ */
+ @JsonProperty(value = "nextLink", access = JsonProperty.Access.WRITE_ONLY)
+ private String nextLink;
+
+ /** Creates an instance of ContainerAppJobExecutionsInner class. */
+ public ContainerAppJobExecutionsInner() {
+ }
+
+ /**
+ * Get the value property: Collection of resources.
+ *
+ * @return the value value.
+ */
+ public List value() {
+ return this.value;
+ }
+
+ /**
+ * Set the value property: Collection of resources.
+ *
+ * @param value the value value to set.
+ * @return the ContainerAppJobExecutionsInner object itself.
+ */
+ public ContainerAppJobExecutionsInner withValue(List value) {
+ this.value = value;
+ return this;
+ }
+
+ /**
+ * Get the nextLink property: Link to next page of resources.
+ *
+ * @return the nextLink value.
+ */
+ public String nextLink() {
+ return this.nextLink;
+ }
+
+ /**
+ * Validates the instance.
+ *
+ * @throws IllegalArgumentException thrown if the instance is not valid.
+ */
+ public void validate() {
+ if (value() == null) {
+ throw LOGGER
+ .logExceptionAsError(
+ new IllegalArgumentException(
+ "Missing required property value in model ContainerAppJobExecutionsInner"));
+ } else {
+ value().forEach(e -> e.validate());
+ }
+ }
+
+ private static final ClientLogger LOGGER = new ClientLogger(ContainerAppJobExecutionsInner.class);
+}
diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/ContainerAppProperties.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/ContainerAppProperties.java
index b4f8ae444a422..1429f8f7e5f4c 100644
--- a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/ContainerAppProperties.java
+++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/ContainerAppProperties.java
@@ -33,10 +33,10 @@ public final class ContainerAppProperties {
private String environmentId;
/*
- * Workload profile type to pin for container app execution.
+ * Workload profile name to pin for container app execution.
*/
- @JsonProperty(value = "workloadProfileType")
- private String workloadProfileType;
+ @JsonProperty(value = "workloadProfileName")
+ private String workloadProfileName;
/*
* Name of the latest revision of the Container App.
@@ -44,6 +44,12 @@ public final class ContainerAppProperties {
@JsonProperty(value = "latestRevisionName", access = JsonProperty.Access.WRITE_ONLY)
private String latestRevisionName;
+ /*
+ * Name of the latest ready revision of the Container App.
+ */
+ @JsonProperty(value = "latestReadyRevisionName", access = JsonProperty.Access.WRITE_ONLY)
+ private String latestReadyRevisionName;
+
/*
* Fully Qualified Domain Name of the latest revision of the Container App.
*/
@@ -134,22 +140,22 @@ public ContainerAppProperties withEnvironmentId(String environmentId) {
}
/**
- * Get the workloadProfileType property: Workload profile type to pin for container app execution.
+ * Get the workloadProfileName property: Workload profile name to pin for container app execution.
*
- * @return the workloadProfileType value.
+ * @return the workloadProfileName value.
*/
- public String workloadProfileType() {
- return this.workloadProfileType;
+ public String workloadProfileName() {
+ return this.workloadProfileName;
}
/**
- * Set the workloadProfileType property: Workload profile type to pin for container app execution.
+ * Set the workloadProfileName property: Workload profile name to pin for container app execution.
*
- * @param workloadProfileType the workloadProfileType value to set.
+ * @param workloadProfileName the workloadProfileName value to set.
* @return the ContainerAppProperties object itself.
*/
- public ContainerAppProperties withWorkloadProfileType(String workloadProfileType) {
- this.workloadProfileType = workloadProfileType;
+ public ContainerAppProperties withWorkloadProfileName(String workloadProfileName) {
+ this.workloadProfileName = workloadProfileName;
return this;
}
@@ -162,6 +168,15 @@ public String latestRevisionName() {
return this.latestRevisionName;
}
+ /**
+ * Get the latestReadyRevisionName property: Name of the latest ready revision of the Container App.
+ *
+ * @return the latestReadyRevisionName value.
+ */
+ public String latestReadyRevisionName() {
+ return this.latestReadyRevisionName;
+ }
+
/**
* Get the latestRevisionFqdn property: Fully Qualified Domain Name of the latest revision of the Container App.
*
diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/DaprSecretsCollectionInner.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/DaprSecretsCollectionInner.java
index 340ba9e1b5acc..72cdffb688012 100644
--- a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/DaprSecretsCollectionInner.java
+++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/DaprSecretsCollectionInner.java
@@ -6,7 +6,7 @@
import com.azure.core.annotation.Fluent;
import com.azure.core.util.logging.ClientLogger;
-import com.azure.resourcemanager.appcontainers.models.Secret;
+import com.azure.resourcemanager.appcontainers.models.DaprSecret;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.List;
@@ -17,7 +17,7 @@ public final class DaprSecretsCollectionInner {
* Collection of secrets used by a Dapr component
*/
@JsonProperty(value = "value", required = true)
- private List value;
+ private List value;
/** Creates an instance of DaprSecretsCollectionInner class. */
public DaprSecretsCollectionInner() {
@@ -28,7 +28,7 @@ public DaprSecretsCollectionInner() {
*
* @return the value value.
*/
- public List value() {
+ public List value() {
return this.value;
}
@@ -38,7 +38,7 @@ public List value() {
* @param value the value value to set.
* @return the DaprSecretsCollectionInner object itself.
*/
- public DaprSecretsCollectionInner withValue(List value) {
+ public DaprSecretsCollectionInner withValue(List value) {
this.value = value;
return this;
}
diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/JobExecutionBaseInner.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/JobExecutionBaseInner.java
new file mode 100644
index 0000000000000..e8415f46c8706
--- /dev/null
+++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/JobExecutionBaseInner.java
@@ -0,0 +1,76 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.appcontainers.fluent.models;
+
+import com.azure.core.annotation.Fluent;
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+/** Container App's Job execution name. */
+@Fluent
+public final class JobExecutionBaseInner {
+ /*
+ * Job execution name.
+ */
+ @JsonProperty(value = "name")
+ private String name;
+
+ /*
+ * Job execution Id.
+ */
+ @JsonProperty(value = "id")
+ private String id;
+
+ /** Creates an instance of JobExecutionBaseInner class. */
+ public JobExecutionBaseInner() {
+ }
+
+ /**
+ * Get the name property: Job execution name.
+ *
+ * @return the name value.
+ */
+ public String name() {
+ return this.name;
+ }
+
+ /**
+ * Set the name property: Job execution name.
+ *
+ * @param name the name value to set.
+ * @return the JobExecutionBaseInner object itself.
+ */
+ public JobExecutionBaseInner withName(String name) {
+ this.name = name;
+ return this;
+ }
+
+ /**
+ * Get the id property: Job execution Id.
+ *
+ * @return the id value.
+ */
+ public String id() {
+ return this.id;
+ }
+
+ /**
+ * Set the id property: Job execution Id.
+ *
+ * @param id the id value to set.
+ * @return the JobExecutionBaseInner object itself.
+ */
+ public JobExecutionBaseInner withId(String id) {
+ this.id = id;
+ return this;
+ }
+
+ /**
+ * Validates the instance.
+ *
+ * @throws IllegalArgumentException thrown if the instance is not valid.
+ */
+ public void validate() {
+ }
+}
diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/JobExecutionInner.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/JobExecutionInner.java
new file mode 100644
index 0000000000000..116681ecc04d4
--- /dev/null
+++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/JobExecutionInner.java
@@ -0,0 +1,201 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.appcontainers.fluent.models;
+
+import com.azure.core.annotation.Fluent;
+import com.azure.resourcemanager.appcontainers.models.JobExecutionRunningState;
+import com.azure.resourcemanager.appcontainers.models.JobExecutionTemplate;
+import com.fasterxml.jackson.annotation.JsonProperty;
+import java.time.OffsetDateTime;
+
+/** Container Apps Jobs execution. */
+@Fluent
+public final class JobExecutionInner {
+ /*
+ * Job execution Name.
+ */
+ @JsonProperty(value = "name")
+ private String name;
+
+ /*
+ * Job execution Id.
+ */
+ @JsonProperty(value = "id")
+ private String id;
+
+ /*
+ * Job Type.
+ */
+ @JsonProperty(value = "type")
+ private String type;
+
+ /*
+ * Current running State of the job
+ */
+ @JsonProperty(value = "status", access = JsonProperty.Access.WRITE_ONLY)
+ private JobExecutionRunningState status;
+
+ /*
+ * Job execution start time.
+ */
+ @JsonProperty(value = "startTime")
+ private OffsetDateTime startTime;
+
+ /*
+ * Job execution start time.
+ */
+ @JsonProperty(value = "endTime")
+ private OffsetDateTime endTime;
+
+ /*
+ * Job's execution container.
+ */
+ @JsonProperty(value = "template")
+ private JobExecutionTemplate template;
+
+ /** Creates an instance of JobExecutionInner class. */
+ public JobExecutionInner() {
+ }
+
+ /**
+ * Get the name property: Job execution Name.
+ *
+ * @return the name value.
+ */
+ public String name() {
+ return this.name;
+ }
+
+ /**
+ * Set the name property: Job execution Name.
+ *
+ * @param name the name value to set.
+ * @return the JobExecutionInner object itself.
+ */
+ public JobExecutionInner withName(String name) {
+ this.name = name;
+ return this;
+ }
+
+ /**
+ * Get the id property: Job execution Id.
+ *
+ * @return the id value.
+ */
+ public String id() {
+ return this.id;
+ }
+
+ /**
+ * Set the id property: Job execution Id.
+ *
+ * @param id the id value to set.
+ * @return the JobExecutionInner object itself.
+ */
+ public JobExecutionInner withId(String id) {
+ this.id = id;
+ return this;
+ }
+
+ /**
+ * Get the type property: Job Type.
+ *
+ * @return the type value.
+ */
+ public String type() {
+ return this.type;
+ }
+
+ /**
+ * Set the type property: Job Type.
+ *
+ * @param type the type value to set.
+ * @return the JobExecutionInner object itself.
+ */
+ public JobExecutionInner withType(String type) {
+ this.type = type;
+ return this;
+ }
+
+ /**
+ * Get the status property: Current running State of the job.
+ *
+ * @return the status value.
+ */
+ public JobExecutionRunningState status() {
+ return this.status;
+ }
+
+ /**
+ * Get the startTime property: Job execution start time.
+ *
+ * @return the startTime value.
+ */
+ public OffsetDateTime startTime() {
+ return this.startTime;
+ }
+
+ /**
+ * Set the startTime property: Job execution start time.
+ *
+ * @param startTime the startTime value to set.
+ * @return the JobExecutionInner object itself.
+ */
+ public JobExecutionInner withStartTime(OffsetDateTime startTime) {
+ this.startTime = startTime;
+ return this;
+ }
+
+ /**
+ * Get the endTime property: Job execution start time.
+ *
+ * @return the endTime value.
+ */
+ public OffsetDateTime endTime() {
+ return this.endTime;
+ }
+
+ /**
+ * Set the endTime property: Job execution start time.
+ *
+ * @param endTime the endTime value to set.
+ * @return the JobExecutionInner object itself.
+ */
+ public JobExecutionInner withEndTime(OffsetDateTime endTime) {
+ this.endTime = endTime;
+ return this;
+ }
+
+ /**
+ * Get the template property: Job's execution container.
+ *
+ * @return the template value.
+ */
+ public JobExecutionTemplate template() {
+ return this.template;
+ }
+
+ /**
+ * Set the template property: Job's execution container.
+ *
+ * @param template the template value to set.
+ * @return the JobExecutionInner object itself.
+ */
+ public JobExecutionInner withTemplate(JobExecutionTemplate template) {
+ this.template = template;
+ return this;
+ }
+
+ /**
+ * Validates the instance.
+ *
+ * @throws IllegalArgumentException thrown if the instance is not valid.
+ */
+ public void validate() {
+ if (template() != null) {
+ template().validate();
+ }
+ }
+}
diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/JobInner.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/JobInner.java
new file mode 100644
index 0000000000000..c8aa364ef3f42
--- /dev/null
+++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/JobInner.java
@@ -0,0 +1,230 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.appcontainers.fluent.models;
+
+import com.azure.core.annotation.Fluent;
+import com.azure.core.management.Resource;
+import com.azure.core.management.SystemData;
+import com.azure.resourcemanager.appcontainers.models.JobConfiguration;
+import com.azure.resourcemanager.appcontainers.models.JobProvisioningState;
+import com.azure.resourcemanager.appcontainers.models.JobTemplate;
+import com.azure.resourcemanager.appcontainers.models.ManagedServiceIdentity;
+import com.fasterxml.jackson.annotation.JsonProperty;
+import java.util.List;
+import java.util.Map;
+
+/** Container App Job. */
+@Fluent
+public final class JobInner extends Resource {
+ /*
+ * Managed identities needed by a container app job to interact with other Azure services to not maintain any
+ * secrets or credentials in code.
+ */
+ @JsonProperty(value = "identity")
+ private ManagedServiceIdentity identity;
+
+ /*
+ * Container Apps Job resource specific properties.
+ */
+ @JsonProperty(value = "properties")
+ private JobProperties innerProperties;
+
+ /*
+ * Azure Resource Manager metadata containing createdBy and modifiedBy information.
+ */
+ @JsonProperty(value = "systemData", access = JsonProperty.Access.WRITE_ONLY)
+ private SystemData systemData;
+
+ /** Creates an instance of JobInner class. */
+ public JobInner() {
+ }
+
+ /**
+ * Get the identity property: Managed identities needed by a container app job to interact with other Azure services
+ * to not maintain any secrets or credentials in code.
+ *
+ * @return the identity value.
+ */
+ public ManagedServiceIdentity identity() {
+ return this.identity;
+ }
+
+ /**
+ * Set the identity property: Managed identities needed by a container app job to interact with other Azure services
+ * to not maintain any secrets or credentials in code.
+ *
+ * @param identity the identity value to set.
+ * @return the JobInner object itself.
+ */
+ public JobInner withIdentity(ManagedServiceIdentity identity) {
+ this.identity = identity;
+ return this;
+ }
+
+ /**
+ * Get the innerProperties property: Container Apps Job resource specific properties.
+ *
+ * @return the innerProperties value.
+ */
+ private JobProperties innerProperties() {
+ return this.innerProperties;
+ }
+
+ /**
+ * Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
+ *
+ * @return the systemData value.
+ */
+ public SystemData systemData() {
+ return this.systemData;
+ }
+
+ /** {@inheritDoc} */
+ @Override
+ public JobInner withLocation(String location) {
+ super.withLocation(location);
+ return this;
+ }
+
+ /** {@inheritDoc} */
+ @Override
+ public JobInner withTags(Map tags) {
+ super.withTags(tags);
+ return this;
+ }
+
+ /**
+ * Get the provisioningState property: Provisioning state of the Container Apps Job.
+ *
+ * @return the provisioningState value.
+ */
+ public JobProvisioningState provisioningState() {
+ return this.innerProperties() == null ? null : this.innerProperties().provisioningState();
+ }
+
+ /**
+ * Get the environmentId property: Resource ID of environment.
+ *
+ * @return the environmentId value.
+ */
+ public String environmentId() {
+ return this.innerProperties() == null ? null : this.innerProperties().environmentId();
+ }
+
+ /**
+ * Set the environmentId property: Resource ID of environment.
+ *
+ * @param environmentId the environmentId value to set.
+ * @return the JobInner object itself.
+ */
+ public JobInner withEnvironmentId(String environmentId) {
+ if (this.innerProperties() == null) {
+ this.innerProperties = new JobProperties();
+ }
+ this.innerProperties().withEnvironmentId(environmentId);
+ return this;
+ }
+
+ /**
+ * Get the workloadProfileName property: Workload profile name to pin for container apps job execution.
+ *
+ * @return the workloadProfileName value.
+ */
+ public String workloadProfileName() {
+ return this.innerProperties() == null ? null : this.innerProperties().workloadProfileName();
+ }
+
+ /**
+ * Set the workloadProfileName property: Workload profile name to pin for container apps job execution.
+ *
+ * @param workloadProfileName the workloadProfileName value to set.
+ * @return the JobInner object itself.
+ */
+ public JobInner withWorkloadProfileName(String workloadProfileName) {
+ if (this.innerProperties() == null) {
+ this.innerProperties = new JobProperties();
+ }
+ this.innerProperties().withWorkloadProfileName(workloadProfileName);
+ return this;
+ }
+
+ /**
+ * Get the configuration property: Container Apps Job configuration properties.
+ *
+ * @return the configuration value.
+ */
+ public JobConfiguration configuration() {
+ return this.innerProperties() == null ? null : this.innerProperties().configuration();
+ }
+
+ /**
+ * Set the configuration property: Container Apps Job configuration properties.
+ *
+ * @param configuration the configuration value to set.
+ * @return the JobInner object itself.
+ */
+ public JobInner withConfiguration(JobConfiguration configuration) {
+ if (this.innerProperties() == null) {
+ this.innerProperties = new JobProperties();
+ }
+ this.innerProperties().withConfiguration(configuration);
+ return this;
+ }
+
+ /**
+ * Get the template property: Container Apps job definition.
+ *
+ * @return the template value.
+ */
+ public JobTemplate template() {
+ return this.innerProperties() == null ? null : this.innerProperties().template();
+ }
+
+ /**
+ * Set the template property: Container Apps job definition.
+ *
+ * @param template the template value to set.
+ * @return the JobInner object itself.
+ */
+ public JobInner withTemplate(JobTemplate template) {
+ if (this.innerProperties() == null) {
+ this.innerProperties = new JobProperties();
+ }
+ this.innerProperties().withTemplate(template);
+ return this;
+ }
+
+ /**
+ * Get the outboundIpAddresses property: Outbound IP Addresses of a container apps job.
+ *
+ * @return the outboundIpAddresses value.
+ */
+ public List outboundIpAddresses() {
+ return this.innerProperties() == null ? null : this.innerProperties().outboundIpAddresses();
+ }
+
+ /**
+ * Get the eventStreamEndpoint property: The endpoint of the eventstream of the container apps job.
+ *
+ * @return the eventStreamEndpoint value.
+ */
+ public String eventStreamEndpoint() {
+ return this.innerProperties() == null ? null : this.innerProperties().eventStreamEndpoint();
+ }
+
+ /**
+ * Validates the instance.
+ *
+ * @throws IllegalArgumentException thrown if the instance is not valid.
+ */
+ public void validate() {
+ if (identity() != null) {
+ identity().validate();
+ }
+ if (innerProperties() != null) {
+ innerProperties().validate();
+ }
+ }
+}
diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/JobProperties.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/JobProperties.java
new file mode 100644
index 0000000000000..7787e3d8147b6
--- /dev/null
+++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/JobProperties.java
@@ -0,0 +1,183 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.appcontainers.fluent.models;
+
+import com.azure.core.annotation.Fluent;
+import com.azure.resourcemanager.appcontainers.models.JobConfiguration;
+import com.azure.resourcemanager.appcontainers.models.JobProvisioningState;
+import com.azure.resourcemanager.appcontainers.models.JobTemplate;
+import com.fasterxml.jackson.annotation.JsonProperty;
+import java.util.List;
+
+/** Container Apps Job resource specific properties. */
+@Fluent
+public final class JobProperties {
+ /*
+ * Provisioning state of the Container Apps Job.
+ */
+ @JsonProperty(value = "provisioningState", access = JsonProperty.Access.WRITE_ONLY)
+ private JobProvisioningState provisioningState;
+
+ /*
+ * Resource ID of environment.
+ */
+ @JsonProperty(value = "environmentId")
+ private String environmentId;
+
+ /*
+ * Workload profile name to pin for container apps job execution.
+ */
+ @JsonProperty(value = "workloadProfileName")
+ private String workloadProfileName;
+
+ /*
+ * Container Apps Job configuration properties.
+ */
+ @JsonProperty(value = "configuration")
+ private JobConfiguration configuration;
+
+ /*
+ * Container Apps job definition.
+ */
+ @JsonProperty(value = "template")
+ private JobTemplate template;
+
+ /*
+ * Outbound IP Addresses of a container apps job.
+ */
+ @JsonProperty(value = "outboundIpAddresses", access = JsonProperty.Access.WRITE_ONLY)
+ private List outboundIpAddresses;
+
+ /*
+ * The endpoint of the eventstream of the container apps job.
+ */
+ @JsonProperty(value = "eventStreamEndpoint", access = JsonProperty.Access.WRITE_ONLY)
+ private String eventStreamEndpoint;
+
+ /** Creates an instance of JobProperties class. */
+ public JobProperties() {
+ }
+
+ /**
+ * Get the provisioningState property: Provisioning state of the Container Apps Job.
+ *
+ * @return the provisioningState value.
+ */
+ public JobProvisioningState provisioningState() {
+ return this.provisioningState;
+ }
+
+ /**
+ * Get the environmentId property: Resource ID of environment.
+ *
+ * @return the environmentId value.
+ */
+ public String environmentId() {
+ return this.environmentId;
+ }
+
+ /**
+ * Set the environmentId property: Resource ID of environment.
+ *
+ * @param environmentId the environmentId value to set.
+ * @return the JobProperties object itself.
+ */
+ public JobProperties withEnvironmentId(String environmentId) {
+ this.environmentId = environmentId;
+ return this;
+ }
+
+ /**
+ * Get the workloadProfileName property: Workload profile name to pin for container apps job execution.
+ *
+ * @return the workloadProfileName value.
+ */
+ public String workloadProfileName() {
+ return this.workloadProfileName;
+ }
+
+ /**
+ * Set the workloadProfileName property: Workload profile name to pin for container apps job execution.
+ *
+ * @param workloadProfileName the workloadProfileName value to set.
+ * @return the JobProperties object itself.
+ */
+ public JobProperties withWorkloadProfileName(String workloadProfileName) {
+ this.workloadProfileName = workloadProfileName;
+ return this;
+ }
+
+ /**
+ * Get the configuration property: Container Apps Job configuration properties.
+ *
+ * @return the configuration value.
+ */
+ public JobConfiguration configuration() {
+ return this.configuration;
+ }
+
+ /**
+ * Set the configuration property: Container Apps Job configuration properties.
+ *
+ * @param configuration the configuration value to set.
+ * @return the JobProperties object itself.
+ */
+ public JobProperties withConfiguration(JobConfiguration configuration) {
+ this.configuration = configuration;
+ return this;
+ }
+
+ /**
+ * Get the template property: Container Apps job definition.
+ *
+ * @return the template value.
+ */
+ public JobTemplate template() {
+ return this.template;
+ }
+
+ /**
+ * Set the template property: Container Apps job definition.
+ *
+ * @param template the template value to set.
+ * @return the JobProperties object itself.
+ */
+ public JobProperties withTemplate(JobTemplate template) {
+ this.template = template;
+ return this;
+ }
+
+ /**
+ * Get the outboundIpAddresses property: Outbound IP Addresses of a container apps job.
+ *
+ * @return the outboundIpAddresses value.
+ */
+ public List outboundIpAddresses() {
+ return this.outboundIpAddresses;
+ }
+
+ /**
+ * Get the eventStreamEndpoint property: The endpoint of the eventstream of the container apps job.
+ *
+ * @return the eventStreamEndpoint value.
+ */
+ public String eventStreamEndpoint() {
+ return this.eventStreamEndpoint;
+ }
+
+ /**
+ * Validates the instance.
+ *
+ * @throws IllegalArgumentException thrown if the instance is not valid.
+ */
+ public void validate() {
+ if (configuration() != null) {
+ configuration().validate();
+ }
+ if (template() != null) {
+ template().validate();
+ }
+ }
+}
diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/JobSecretsCollectionInner.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/JobSecretsCollectionInner.java
new file mode 100644
index 0000000000000..64d659c402ceb
--- /dev/null
+++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/JobSecretsCollectionInner.java
@@ -0,0 +1,62 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.appcontainers.fluent.models;
+
+import com.azure.core.annotation.Fluent;
+import com.azure.core.util.logging.ClientLogger;
+import com.azure.resourcemanager.appcontainers.models.Secret;
+import com.fasterxml.jackson.annotation.JsonProperty;
+import java.util.List;
+
+/** Container Apps Job Secrets Collection ARM resource. */
+@Fluent
+public final class JobSecretsCollectionInner {
+ /*
+ * Collection of resources.
+ */
+ @JsonProperty(value = "value", required = true)
+ private List value;
+
+ /** Creates an instance of JobSecretsCollectionInner class. */
+ public JobSecretsCollectionInner() {
+ }
+
+ /**
+ * Get the value property: Collection of resources.
+ *
+ * @return the value value.
+ */
+ public List value() {
+ return this.value;
+ }
+
+ /**
+ * Set the value property: Collection of resources.
+ *
+ * @param value the value value to set.
+ * @return the JobSecretsCollectionInner object itself.
+ */
+ public JobSecretsCollectionInner withValue(List value) {
+ this.value = value;
+ return this;
+ }
+
+ /**
+ * Validates the instance.
+ *
+ * @throws IllegalArgumentException thrown if the instance is not valid.
+ */
+ public void validate() {
+ if (value() == null) {
+ throw LOGGER
+ .logExceptionAsError(
+ new IllegalArgumentException("Missing required property value in model JobSecretsCollectionInner"));
+ } else {
+ value().forEach(e -> e.validate());
+ }
+ }
+
+ private static final ClientLogger LOGGER = new ClientLogger(JobSecretsCollectionInner.class);
+}
diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/ManagedCertificateInner.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/ManagedCertificateInner.java
new file mode 100644
index 0000000000000..4854ffb18f62f
--- /dev/null
+++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/ManagedCertificateInner.java
@@ -0,0 +1,86 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.appcontainers.fluent.models;
+
+import com.azure.core.annotation.Fluent;
+import com.azure.core.management.Resource;
+import com.azure.core.management.SystemData;
+import com.azure.resourcemanager.appcontainers.models.ManagedCertificateProperties;
+import com.fasterxml.jackson.annotation.JsonProperty;
+import java.util.Map;
+
+/** Managed certificates used for Custom Domain bindings of Container Apps in a Managed Environment. */
+@Fluent
+public final class ManagedCertificateInner extends Resource {
+ /*
+ * Certificate resource specific properties
+ */
+ @JsonProperty(value = "properties")
+ private ManagedCertificateProperties properties;
+
+ /*
+ * Azure Resource Manager metadata containing createdBy and modifiedBy information.
+ */
+ @JsonProperty(value = "systemData", access = JsonProperty.Access.WRITE_ONLY)
+ private SystemData systemData;
+
+ /** Creates an instance of ManagedCertificateInner class. */
+ public ManagedCertificateInner() {
+ }
+
+ /**
+ * Get the properties property: Certificate resource specific properties.
+ *
+ * @return the properties value.
+ */
+ public ManagedCertificateProperties properties() {
+ return this.properties;
+ }
+
+ /**
+ * Set the properties property: Certificate resource specific properties.
+ *
+ * @param properties the properties value to set.
+ * @return the ManagedCertificateInner object itself.
+ */
+ public ManagedCertificateInner withProperties(ManagedCertificateProperties properties) {
+ this.properties = properties;
+ return this;
+ }
+
+ /**
+ * Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
+ *
+ * @return the systemData value.
+ */
+ public SystemData systemData() {
+ return this.systemData;
+ }
+
+ /** {@inheritDoc} */
+ @Override
+ public ManagedCertificateInner withLocation(String location) {
+ super.withLocation(location);
+ return this;
+ }
+
+ /** {@inheritDoc} */
+ @Override
+ public ManagedCertificateInner withTags(Map tags) {
+ super.withTags(tags);
+ return this;
+ }
+
+ /**
+ * Validates the instance.
+ *
+ * @throws IllegalArgumentException thrown if the instance is not valid.
+ */
+ public void validate() {
+ if (properties() != null) {
+ properties().validate();
+ }
+ }
+}
diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/ManagedEnvironmentInner.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/ManagedEnvironmentInner.java
index a75d12a08e155..f3c137f21723b 100644
--- a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/ManagedEnvironmentInner.java
+++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/ManagedEnvironmentInner.java
@@ -9,8 +9,9 @@
import com.azure.core.management.SystemData;
import com.azure.resourcemanager.appcontainers.models.AppLogsConfiguration;
import com.azure.resourcemanager.appcontainers.models.CustomDomainConfiguration;
+import com.azure.resourcemanager.appcontainers.models.DaprConfiguration;
import com.azure.resourcemanager.appcontainers.models.EnvironmentProvisioningState;
-import com.azure.resourcemanager.appcontainers.models.EnvironmentSkuProperties;
+import com.azure.resourcemanager.appcontainers.models.KedaConfiguration;
import com.azure.resourcemanager.appcontainers.models.VnetConfiguration;
import com.azure.resourcemanager.appcontainers.models.WorkloadProfile;
import com.fasterxml.jackson.annotation.JsonProperty;
@@ -21,10 +22,10 @@
@Fluent
public final class ManagedEnvironmentInner extends Resource {
/*
- * SKU properties of the Environment.
+ * Kind of the Environment.
*/
- @JsonProperty(value = "sku")
- private EnvironmentSkuProperties sku;
+ @JsonProperty(value = "kind")
+ private String kind;
/*
* Managed environment resource specific properties
@@ -43,22 +44,22 @@ public ManagedEnvironmentInner() {
}
/**
- * Get the sku property: SKU properties of the Environment.
+ * Get the kind property: Kind of the Environment.
*
- * @return the sku value.
+ * @return the kind value.
*/
- public EnvironmentSkuProperties sku() {
- return this.sku;
+ public String kind() {
+ return this.kind;
}
/**
- * Set the sku property: SKU properties of the Environment.
+ * Set the kind property: Kind of the Environment.
*
- * @param sku the sku value to set.
+ * @param kind the kind value to set.
* @return the ManagedEnvironmentInner object itself.
*/
- public ManagedEnvironmentInner withSku(EnvironmentSkuProperties sku) {
- this.sku = sku;
+ public ManagedEnvironmentInner withKind(String kind) {
+ this.kind = kind;
return this;
}
@@ -306,15 +307,85 @@ public ManagedEnvironmentInner withWorkloadProfiles(List worklo
return this;
}
+ /**
+ * Get the kedaConfiguration property: The configuration of Keda component.
+ *
+ * @return the kedaConfiguration value.
+ */
+ public KedaConfiguration kedaConfiguration() {
+ return this.innerProperties() == null ? null : this.innerProperties().kedaConfiguration();
+ }
+
+ /**
+ * Set the kedaConfiguration property: The configuration of Keda component.
+ *
+ * @param kedaConfiguration the kedaConfiguration value to set.
+ * @return the ManagedEnvironmentInner object itself.
+ */
+ public ManagedEnvironmentInner withKedaConfiguration(KedaConfiguration kedaConfiguration) {
+ if (this.innerProperties() == null) {
+ this.innerProperties = new ManagedEnvironmentProperties();
+ }
+ this.innerProperties().withKedaConfiguration(kedaConfiguration);
+ return this;
+ }
+
+ /**
+ * Get the daprConfiguration property: The configuration of Dapr component.
+ *
+ * @return the daprConfiguration value.
+ */
+ public DaprConfiguration daprConfiguration() {
+ return this.innerProperties() == null ? null : this.innerProperties().daprConfiguration();
+ }
+
+ /**
+ * Set the daprConfiguration property: The configuration of Dapr component.
+ *
+ * @param daprConfiguration the daprConfiguration value to set.
+ * @return the ManagedEnvironmentInner object itself.
+ */
+ public ManagedEnvironmentInner withDaprConfiguration(DaprConfiguration daprConfiguration) {
+ if (this.innerProperties() == null) {
+ this.innerProperties = new ManagedEnvironmentProperties();
+ }
+ this.innerProperties().withDaprConfiguration(daprConfiguration);
+ return this;
+ }
+
+ /**
+ * Get the infrastructureResourceGroup property: Name of the platform-managed resource group created for the Managed
+ * Environment to host infrastructure resources. If a subnet ID is provided, this resource group will be created in
+ * the same subscription as the subnet.
+ *
+ * @return the infrastructureResourceGroup value.
+ */
+ public String infrastructureResourceGroup() {
+ return this.innerProperties() == null ? null : this.innerProperties().infrastructureResourceGroup();
+ }
+
+ /**
+ * Set the infrastructureResourceGroup property: Name of the platform-managed resource group created for the Managed
+ * Environment to host infrastructure resources. If a subnet ID is provided, this resource group will be created in
+ * the same subscription as the subnet.
+ *
+ * @param infrastructureResourceGroup the infrastructureResourceGroup value to set.
+ * @return the ManagedEnvironmentInner object itself.
+ */
+ public ManagedEnvironmentInner withInfrastructureResourceGroup(String infrastructureResourceGroup) {
+ if (this.innerProperties() == null) {
+ this.innerProperties = new ManagedEnvironmentProperties();
+ }
+ this.innerProperties().withInfrastructureResourceGroup(infrastructureResourceGroup);
+ return this;
+ }
+
/**
* Validates the instance.
*
* @throws IllegalArgumentException thrown if the instance is not valid.
*/
public void validate() {
- if (sku() != null) {
- sku().validate();
- }
if (innerProperties() != null) {
innerProperties().validate();
}
diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/ManagedEnvironmentProperties.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/ManagedEnvironmentProperties.java
index 78ef578717a04..d36af4c8d7aea 100644
--- a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/ManagedEnvironmentProperties.java
+++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/ManagedEnvironmentProperties.java
@@ -7,7 +7,9 @@
import com.azure.core.annotation.Fluent;
import com.azure.resourcemanager.appcontainers.models.AppLogsConfiguration;
import com.azure.resourcemanager.appcontainers.models.CustomDomainConfiguration;
+import com.azure.resourcemanager.appcontainers.models.DaprConfiguration;
import com.azure.resourcemanager.appcontainers.models.EnvironmentProvisioningState;
+import com.azure.resourcemanager.appcontainers.models.KedaConfiguration;
import com.azure.resourcemanager.appcontainers.models.VnetConfiguration;
import com.azure.resourcemanager.appcontainers.models.WorkloadProfile;
import com.fasterxml.jackson.annotation.JsonProperty;
@@ -90,6 +92,26 @@ public final class ManagedEnvironmentProperties {
@JsonProperty(value = "workloadProfiles")
private List workloadProfiles;
+ /*
+ * The configuration of Keda component.
+ */
+ @JsonProperty(value = "kedaConfiguration")
+ private KedaConfiguration kedaConfiguration;
+
+ /*
+ * The configuration of Dapr component.
+ */
+ @JsonProperty(value = "daprConfiguration")
+ private DaprConfiguration daprConfiguration;
+
+ /*
+ * Name of the platform-managed resource group created for the Managed Environment to host infrastructure
+ * resources. If a subnet ID is provided, this resource group will be created in the same subscription as the
+ * subnet.
+ */
+ @JsonProperty(value = "infrastructureResourceGroup")
+ private String infrastructureResourceGroup;
+
/** Creates an instance of ManagedEnvironmentProperties class. */
public ManagedEnvironmentProperties() {
}
@@ -286,6 +308,70 @@ public ManagedEnvironmentProperties withWorkloadProfiles(List w
return this;
}
+ /**
+ * Get the kedaConfiguration property: The configuration of Keda component.
+ *
+ * @return the kedaConfiguration value.
+ */
+ public KedaConfiguration kedaConfiguration() {
+ return this.kedaConfiguration;
+ }
+
+ /**
+ * Set the kedaConfiguration property: The configuration of Keda component.
+ *
+ * @param kedaConfiguration the kedaConfiguration value to set.
+ * @return the ManagedEnvironmentProperties object itself.
+ */
+ public ManagedEnvironmentProperties withKedaConfiguration(KedaConfiguration kedaConfiguration) {
+ this.kedaConfiguration = kedaConfiguration;
+ return this;
+ }
+
+ /**
+ * Get the daprConfiguration property: The configuration of Dapr component.
+ *
+ * @return the daprConfiguration value.
+ */
+ public DaprConfiguration daprConfiguration() {
+ return this.daprConfiguration;
+ }
+
+ /**
+ * Set the daprConfiguration property: The configuration of Dapr component.
+ *
+ * @param daprConfiguration the daprConfiguration value to set.
+ * @return the ManagedEnvironmentProperties object itself.
+ */
+ public ManagedEnvironmentProperties withDaprConfiguration(DaprConfiguration daprConfiguration) {
+ this.daprConfiguration = daprConfiguration;
+ return this;
+ }
+
+ /**
+ * Get the infrastructureResourceGroup property: Name of the platform-managed resource group created for the Managed
+ * Environment to host infrastructure resources. If a subnet ID is provided, this resource group will be created in
+ * the same subscription as the subnet.
+ *
+ * @return the infrastructureResourceGroup value.
+ */
+ public String infrastructureResourceGroup() {
+ return this.infrastructureResourceGroup;
+ }
+
+ /**
+ * Set the infrastructureResourceGroup property: Name of the platform-managed resource group created for the Managed
+ * Environment to host infrastructure resources. If a subnet ID is provided, this resource group will be created in
+ * the same subscription as the subnet.
+ *
+ * @param infrastructureResourceGroup the infrastructureResourceGroup value to set.
+ * @return the ManagedEnvironmentProperties object itself.
+ */
+ public ManagedEnvironmentProperties withInfrastructureResourceGroup(String infrastructureResourceGroup) {
+ this.infrastructureResourceGroup = infrastructureResourceGroup;
+ return this;
+ }
+
/**
* Validates the instance.
*
@@ -304,5 +390,11 @@ public void validate() {
if (workloadProfiles() != null) {
workloadProfiles().forEach(e -> e.validate());
}
+ if (kedaConfiguration() != null) {
+ kedaConfiguration().validate();
+ }
+ if (daprConfiguration() != null) {
+ daprConfiguration().validate();
+ }
}
}
diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/ReplicaInner.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/ReplicaInner.java
index 5dfd654823430..4238788b5f097 100644
--- a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/ReplicaInner.java
+++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/ReplicaInner.java
@@ -7,6 +7,7 @@
import com.azure.core.annotation.Fluent;
import com.azure.core.management.ProxyResource;
import com.azure.core.management.SystemData;
+import com.azure.resourcemanager.appcontainers.models.ContainerAppReplicaRunningState;
import com.azure.resourcemanager.appcontainers.models.ReplicaContainer;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.time.OffsetDateTime;
@@ -58,6 +59,24 @@ public OffsetDateTime createdTime() {
return this.innerProperties() == null ? null : this.innerProperties().createdTime();
}
+ /**
+ * Get the runningState property: Current running state of the replica.
+ *
+ * @return the runningState value.
+ */
+ public ContainerAppReplicaRunningState runningState() {
+ return this.innerProperties() == null ? null : this.innerProperties().runningState();
+ }
+
+ /**
+ * Get the runningStateDetails property: The details of replica current running state.
+ *
+ * @return the runningStateDetails value.
+ */
+ public String runningStateDetails() {
+ return this.innerProperties() == null ? null : this.innerProperties().runningStateDetails();
+ }
+
/**
* Get the containers property: The containers collection under a replica.
*
@@ -81,6 +100,29 @@ public ReplicaInner withContainers(List containers) {
return this;
}
+ /**
+ * Get the initContainers property: The init containers collection under a replica.
+ *
+ * @return the initContainers value.
+ */
+ public List initContainers() {
+ return this.innerProperties() == null ? null : this.innerProperties().initContainers();
+ }
+
+ /**
+ * Set the initContainers property: The init containers collection under a replica.
+ *
+ * @param initContainers the initContainers value to set.
+ * @return the ReplicaInner object itself.
+ */
+ public ReplicaInner withInitContainers(List initContainers) {
+ if (this.innerProperties() == null) {
+ this.innerProperties = new ReplicaProperties();
+ }
+ this.innerProperties().withInitContainers(initContainers);
+ return this;
+ }
+
/**
* Validates the instance.
*
diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/ReplicaProperties.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/ReplicaProperties.java
index 1ddc5027cdc99..0d3eed1784a79 100644
--- a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/ReplicaProperties.java
+++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/ReplicaProperties.java
@@ -5,6 +5,7 @@
package com.azure.resourcemanager.appcontainers.fluent.models;
import com.azure.core.annotation.Fluent;
+import com.azure.resourcemanager.appcontainers.models.ContainerAppReplicaRunningState;
import com.azure.resourcemanager.appcontainers.models.ReplicaContainer;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.time.OffsetDateTime;
@@ -19,12 +20,30 @@ public final class ReplicaProperties {
@JsonProperty(value = "createdTime", access = JsonProperty.Access.WRITE_ONLY)
private OffsetDateTime createdTime;
+ /*
+ * Current running state of the replica
+ */
+ @JsonProperty(value = "runningState", access = JsonProperty.Access.WRITE_ONLY)
+ private ContainerAppReplicaRunningState runningState;
+
+ /*
+ * The details of replica current running state
+ */
+ @JsonProperty(value = "runningStateDetails", access = JsonProperty.Access.WRITE_ONLY)
+ private String runningStateDetails;
+
/*
* The containers collection under a replica.
*/
@JsonProperty(value = "containers")
private List containers;
+ /*
+ * The init containers collection under a replica.
+ */
+ @JsonProperty(value = "initContainers")
+ private List initContainers;
+
/** Creates an instance of ReplicaProperties class. */
public ReplicaProperties() {
}
@@ -38,6 +57,24 @@ public OffsetDateTime createdTime() {
return this.createdTime;
}
+ /**
+ * Get the runningState property: Current running state of the replica.
+ *
+ * @return the runningState value.
+ */
+ public ContainerAppReplicaRunningState runningState() {
+ return this.runningState;
+ }
+
+ /**
+ * Get the runningStateDetails property: The details of replica current running state.
+ *
+ * @return the runningStateDetails value.
+ */
+ public String runningStateDetails() {
+ return this.runningStateDetails;
+ }
+
/**
* Get the containers property: The containers collection under a replica.
*
@@ -58,6 +95,26 @@ public ReplicaProperties withContainers(List containers) {
return this;
}
+ /**
+ * Get the initContainers property: The init containers collection under a replica.
+ *
+ * @return the initContainers value.
+ */
+ public List initContainers() {
+ return this.initContainers;
+ }
+
+ /**
+ * Set the initContainers property: The init containers collection under a replica.
+ *
+ * @param initContainers the initContainers value to set.
+ * @return the ReplicaProperties object itself.
+ */
+ public ReplicaProperties withInitContainers(List initContainers) {
+ this.initContainers = initContainers;
+ return this;
+ }
+
/**
* Validates the instance.
*
@@ -67,5 +124,8 @@ public void validate() {
if (containers() != null) {
containers().forEach(e -> e.validate());
}
+ if (initContainers() != null) {
+ initContainers().forEach(e -> e.validate());
+ }
}
}
diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/WorkloadProfileStatesInner.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/WorkloadProfileStatesInner.java
index 94e932f257deb..9a0c03e9dead0 100644
--- a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/WorkloadProfileStatesInner.java
+++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/WorkloadProfileStatesInner.java
@@ -10,7 +10,7 @@
import com.azure.resourcemanager.appcontainers.models.WorkloadProfileStatesProperties;
import com.fasterxml.jackson.annotation.JsonProperty;
-/** Collection of all the workload Profile States for a Premium Managed Environment.. */
+/** Collection of all the workload Profile States for a Managed Environment.. */
@Fluent
public final class WorkloadProfileStatesInner extends ProxyResource {
/*
diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/implementation/AvailableWorkloadProfilesClientImpl.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/implementation/AvailableWorkloadProfilesClientImpl.java
index 8a3a3e3b2b10a..15172ec96e9cd 100644
--- a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/implementation/AvailableWorkloadProfilesClientImpl.java
+++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/implementation/AvailableWorkloadProfilesClientImpl.java
@@ -57,11 +57,10 @@ public final class AvailableWorkloadProfilesClientImpl implements AvailableWorkl
*/
@Host("{$host}")
@ServiceInterface(name = "ContainerAppsApiClie")
- private interface AvailableWorkloadProfilesService {
+ public interface AvailableWorkloadProfilesService {
@Headers({"Content-Type: application/json"})
@Get(
- "/subscriptions/{subscriptionId}/providers/Microsoft.App/locations/{location}"
- + "/availableManagedEnvironmentsWorkloadProfileTypes")
+ "/subscriptions/{subscriptionId}/providers/Microsoft.App/locations/{location}/availableManagedEnvironmentsWorkloadProfileTypes")
@ExpectedResponses({200})
@UnexpectedResponseExceptionType(ManagementException.class)
Mono> get(
diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/implementation/BillingMetersClientImpl.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/implementation/BillingMetersClientImpl.java
index 98f328927105f..ca38979de6dc2 100644
--- a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/implementation/BillingMetersClientImpl.java
+++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/implementation/BillingMetersClientImpl.java
@@ -50,7 +50,7 @@ public final class BillingMetersClientImpl implements BillingMetersClient {
*/
@Host("{$host}")
@ServiceInterface(name = "ContainerAppsApiClie")
- private interface BillingMetersService {
+ public interface BillingMetersService {
@Headers({"Content-Type: application/json"})
@Get("/subscriptions/{subscriptionId}/providers/Microsoft.App/locations/{location}/billingMeters")
@ExpectedResponses({200})
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 0e95dfc5f0119..2c083dfc0e7c1 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
@@ -74,15 +74,15 @@ private com.azure.resourcemanager.appcontainers.ContainerAppsApiManager manager(
private String resourceGroupName;
- private String environmentName;
+ private String connectedEnvironmentName;
private String certificateName;
private CertificatePatch updateCertificateEnvelope;
- public CertificateImpl withExistingManagedEnvironment(String resourceGroupName, String environmentName) {
+ public CertificateImpl withExistingConnectedEnvironment(String resourceGroupName, String connectedEnvironmentName) {
this.resourceGroupName = resourceGroupName;
- this.environmentName = environmentName;
+ this.connectedEnvironmentName = connectedEnvironmentName;
return this;
}
@@ -90,9 +90,9 @@ public Certificate create() {
this.innerObject =
serviceManager
.serviceClient()
- .getCertificates()
+ .getConnectedEnvironmentsCertificates()
.createOrUpdateWithResponse(
- resourceGroupName, environmentName, certificateName, this.innerModel(), Context.NONE)
+ resourceGroupName, connectedEnvironmentName, certificateName, this.innerModel(), Context.NONE)
.getValue();
return this;
}
@@ -101,9 +101,9 @@ public Certificate create(Context context) {
this.innerObject =
serviceManager
.serviceClient()
- .getCertificates()
+ .getConnectedEnvironmentsCertificates()
.createOrUpdateWithResponse(
- resourceGroupName, environmentName, certificateName, this.innerModel(), context)
+ resourceGroupName, connectedEnvironmentName, certificateName, this.innerModel(), context)
.getValue();
return this;
}
@@ -123,9 +123,13 @@ public Certificate apply() {
this.innerObject =
serviceManager
.serviceClient()
- .getCertificates()
+ .getConnectedEnvironmentsCertificates()
.updateWithResponse(
- resourceGroupName, environmentName, certificateName, updateCertificateEnvelope, Context.NONE)
+ resourceGroupName,
+ connectedEnvironmentName,
+ certificateName,
+ updateCertificateEnvelope,
+ Context.NONE)
.getValue();
return this;
}
@@ -134,9 +138,9 @@ public Certificate apply(Context context) {
this.innerObject =
serviceManager
.serviceClient()
- .getCertificates()
+ .getConnectedEnvironmentsCertificates()
.updateWithResponse(
- resourceGroupName, environmentName, certificateName, updateCertificateEnvelope, context)
+ resourceGroupName, connectedEnvironmentName, certificateName, updateCertificateEnvelope, context)
.getValue();
return this;
}
@@ -146,7 +150,7 @@ public Certificate apply(Context context) {
this.innerObject = innerObject;
this.serviceManager = serviceManager;
this.resourceGroupName = Utils.getValueFromIdByName(innerObject.id(), "resourceGroups");
- this.environmentName = Utils.getValueFromIdByName(innerObject.id(), "managedEnvironments");
+ this.connectedEnvironmentName = Utils.getValueFromIdByName(innerObject.id(), "connectedEnvironments");
this.certificateName = Utils.getValueFromIdByName(innerObject.id(), "certificates");
}
@@ -154,8 +158,8 @@ public Certificate refresh() {
this.innerObject =
serviceManager
.serviceClient()
- .getCertificates()
- .getWithResponse(resourceGroupName, environmentName, certificateName, Context.NONE)
+ .getConnectedEnvironmentsCertificates()
+ .getWithResponse(resourceGroupName, connectedEnvironmentName, certificateName, Context.NONE)
.getValue();
return this;
}
@@ -164,8 +168,8 @@ public Certificate refresh(Context context) {
this.innerObject =
serviceManager
.serviceClient()
- .getCertificates()
- .getWithResponse(resourceGroupName, environmentName, certificateName, context)
+ .getConnectedEnvironmentsCertificates()
+ .getWithResponse(resourceGroupName, connectedEnvironmentName, 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 b3ab88433a8df..3e60f999c0ac5 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
@@ -60,11 +60,10 @@ public final class CertificatesClientImpl implements CertificatesClient {
*/
@Host("{$host}")
@ServiceInterface(name = "ContainerAppsApiClie")
- private interface CertificatesService {
+ public interface CertificatesService {
@Headers({"Content-Type: application/json"})
@Get(
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App"
- + "/managedEnvironments/{environmentName}/certificates")
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/managedEnvironments/{environmentName}/certificates")
@ExpectedResponses({200})
@UnexpectedResponseExceptionType(DefaultErrorResponseErrorException.class)
Mono> list(
@@ -78,8 +77,7 @@ Mono> list(
@Headers({"Content-Type: application/json"})
@Get(
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App"
- + "/managedEnvironments/{environmentName}/certificates/{certificateName}")
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/managedEnvironments/{environmentName}/certificates/{certificateName}")
@ExpectedResponses({200})
@UnexpectedResponseExceptionType(DefaultErrorResponseErrorException.class)
Mono> get(
@@ -94,8 +92,7 @@ Mono> get(
@Headers({"Content-Type: application/json"})
@Put(
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App"
- + "/managedEnvironments/{environmentName}/certificates/{certificateName}")
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/managedEnvironments/{environmentName}/certificates/{certificateName}")
@ExpectedResponses({200})
@UnexpectedResponseExceptionType(DefaultErrorResponseErrorException.class)
Mono> createOrUpdate(
@@ -111,8 +108,7 @@ Mono> createOrUpdate(
@Headers({"Content-Type: application/json"})
@Delete(
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App"
- + "/managedEnvironments/{environmentName}/certificates/{certificateName}")
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/managedEnvironments/{environmentName}/certificates/{certificateName}")
@ExpectedResponses({200, 204})
@UnexpectedResponseExceptionType(DefaultErrorResponseErrorException.class)
Mono> delete(
@@ -127,8 +123,7 @@ Mono> delete(
@Headers({"Content-Type: application/json"})
@Patch(
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App"
- + "/managedEnvironments/{environmentName}/certificates/{certificateName}")
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/managedEnvironments/{environmentName}/certificates/{certificateName}")
@ExpectedResponses({200})
@UnexpectedResponseExceptionType(DefaultErrorResponseErrorException.class)
Mono> update(
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 86498b92b8eef..9a24cb875758a 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
@@ -12,6 +12,7 @@
import com.azure.resourcemanager.appcontainers.fluent.CertificatesClient;
import com.azure.resourcemanager.appcontainers.fluent.models.CertificateInner;
import com.azure.resourcemanager.appcontainers.models.Certificate;
+import com.azure.resourcemanager.appcontainers.models.CertificatePatch;
import com.azure.resourcemanager.appcontainers.models.Certificates;
public final class CertificatesImpl implements Certificates {
@@ -62,6 +63,38 @@ public Certificate get(String resourceGroupName, String environmentName, String
}
}
+ public Response createOrUpdateWithResponse(
+ String resourceGroupName,
+ String environmentName,
+ String certificateName,
+ CertificateInner certificateEnvelope,
+ Context context) {
+ Response inner =
+ this
+ .serviceClient()
+ .createOrUpdateWithResponse(
+ resourceGroupName, environmentName, certificateName, certificateEnvelope, context);
+ if (inner != null) {
+ return new SimpleResponse<>(
+ inner.getRequest(),
+ inner.getStatusCode(),
+ inner.getHeaders(),
+ new CertificateImpl(inner.getValue(), this.manager()));
+ } else {
+ return null;
+ }
+ }
+
+ public Certificate createOrUpdate(String resourceGroupName, String environmentName, String certificateName) {
+ CertificateInner inner =
+ this.serviceClient().createOrUpdate(resourceGroupName, environmentName, certificateName);
+ if (inner != null) {
+ return new CertificateImpl(inner, this.manager());
+ } else {
+ return null;
+ }
+ }
+
public Response deleteWithResponse(
String resourceGroupName, String environmentName, String certificateName, Context context) {
return this.serviceClient().deleteWithResponse(resourceGroupName, environmentName, certificateName, context);
@@ -71,116 +104,39 @@ public void delete(String resourceGroupName, String environmentName, String cert
this.serviceClient().delete(resourceGroupName, environmentName, certificateName);
}
- public Certificate getById(String id) {
- String resourceGroupName = Utils.getValueFromIdByName(id, "resourceGroups");
- if (resourceGroupName == null) {
- throw LOGGER
- .logExceptionAsError(
- new IllegalArgumentException(
- String
- .format("The resource ID '%s' is not valid. Missing path segment 'resourceGroups'.", id)));
- }
- String environmentName = Utils.getValueFromIdByName(id, "managedEnvironments");
- if (environmentName == null) {
- throw LOGGER
- .logExceptionAsError(
- new IllegalArgumentException(
- String
- .format(
- "The resource ID '%s' is not valid. Missing path segment 'managedEnvironments'.", id)));
- }
- 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, environmentName, certificateName, Context.NONE).getValue();
- }
-
- public Response getByIdWithResponse(String id, Context context) {
- String resourceGroupName = Utils.getValueFromIdByName(id, "resourceGroups");
- if (resourceGroupName == null) {
- throw LOGGER
- .logExceptionAsError(
- new IllegalArgumentException(
- String
- .format("The resource ID '%s' is not valid. Missing path segment 'resourceGroups'.", id)));
- }
- String environmentName = Utils.getValueFromIdByName(id, "managedEnvironments");
- if (environmentName == null) {
- throw LOGGER
- .logExceptionAsError(
- new IllegalArgumentException(
- String
- .format(
- "The resource ID '%s' is not valid. Missing path segment 'managedEnvironments'.", id)));
- }
- 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, environmentName, certificateName, context);
- }
-
- public void deleteById(String id) {
- String resourceGroupName = Utils.getValueFromIdByName(id, "resourceGroups");
- if (resourceGroupName == null) {
- throw LOGGER
- .logExceptionAsError(
- new IllegalArgumentException(
- String
- .format("The resource ID '%s' is not valid. Missing path segment 'resourceGroups'.", id)));
- }
- String environmentName = Utils.getValueFromIdByName(id, "managedEnvironments");
- if (environmentName == null) {
- throw LOGGER
- .logExceptionAsError(
- new IllegalArgumentException(
- String
- .format(
- "The resource ID '%s' is not valid. Missing path segment 'managedEnvironments'.", id)));
- }
- 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)));
+ public Response updateWithResponse(
+ String resourceGroupName,
+ String environmentName,
+ String certificateName,
+ CertificatePatch certificateEnvelope,
+ Context context) {
+ Response inner =
+ this
+ .serviceClient()
+ .updateWithResponse(resourceGroupName, environmentName, certificateName, certificateEnvelope, context);
+ if (inner != null) {
+ return new SimpleResponse<>(
+ inner.getRequest(),
+ inner.getStatusCode(),
+ inner.getHeaders(),
+ new CertificateImpl(inner.getValue(), this.manager()));
+ } else {
+ return null;
}
- this.deleteWithResponse(resourceGroupName, environmentName, certificateName, Context.NONE);
}
- public Response deleteByIdWithResponse(String id, Context context) {
- String resourceGroupName = Utils.getValueFromIdByName(id, "resourceGroups");
- if (resourceGroupName == null) {
- throw LOGGER
- .logExceptionAsError(
- new IllegalArgumentException(
- String
- .format("The resource ID '%s' is not valid. Missing path segment 'resourceGroups'.", id)));
- }
- String environmentName = Utils.getValueFromIdByName(id, "managedEnvironments");
- if (environmentName == null) {
- throw LOGGER
- .logExceptionAsError(
- new IllegalArgumentException(
- String
- .format(
- "The resource ID '%s' is not valid. Missing path segment 'managedEnvironments'.", id)));
- }
- 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)));
+ public Certificate update(
+ String resourceGroupName,
+ String environmentName,
+ String certificateName,
+ CertificatePatch certificateEnvelope) {
+ CertificateInner inner =
+ this.serviceClient().update(resourceGroupName, environmentName, certificateName, certificateEnvelope);
+ if (inner != null) {
+ return new CertificateImpl(inner, this.manager());
+ } else {
+ return null;
}
- return this.deleteWithResponse(resourceGroupName, environmentName, certificateName, context);
}
private CertificatesClient serviceClient() {
@@ -190,8 +146,4 @@ private CertificatesClient serviceClient() {
private com.azure.resourcemanager.appcontainers.ContainerAppsApiManager manager() {
return this.serviceManager;
}
-
- public CertificateImpl define(String name) {
- return new CertificateImpl(name, this.manager());
- }
}
diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/implementation/ConnectedEnvironmentImpl.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/implementation/ConnectedEnvironmentImpl.java
index 1542491103f81..316012fa67ded 100644
--- a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/implementation/ConnectedEnvironmentImpl.java
+++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/implementation/ConnectedEnvironmentImpl.java
@@ -4,10 +4,13 @@
package com.azure.resourcemanager.appcontainers.implementation;
+import com.azure.core.http.rest.Response;
import com.azure.core.management.Region;
import com.azure.core.management.SystemData;
import com.azure.core.util.Context;
import com.azure.resourcemanager.appcontainers.fluent.models.ConnectedEnvironmentInner;
+import com.azure.resourcemanager.appcontainers.models.CheckNameAvailabilityRequest;
+import com.azure.resourcemanager.appcontainers.models.CheckNameAvailabilityResponse;
import com.azure.resourcemanager.appcontainers.models.ConnectedEnvironment;
import com.azure.resourcemanager.appcontainers.models.ConnectedEnvironmentProvisioningState;
import com.azure.resourcemanager.appcontainers.models.CustomDomainConfiguration;
@@ -159,7 +162,7 @@ public ConnectedEnvironment apply(Context context) {
com.azure.resourcemanager.appcontainers.ContainerAppsApiManager serviceManager) {
this.innerObject = innerObject;
this.serviceManager = serviceManager;
- this.resourceGroupName = Utils.getValueFromIdByName(innerObject.id(), "resourcegroups");
+ this.resourceGroupName = Utils.getValueFromIdByName(innerObject.id(), "resourceGroups");
this.connectedEnvironmentName = Utils.getValueFromIdByName(innerObject.id(), "connectedEnvironments");
}
@@ -183,6 +186,21 @@ public ConnectedEnvironment refresh(Context context) {
return this;
}
+ public Response checkNameAvailabilityWithResponse(
+ CheckNameAvailabilityRequest checkNameAvailabilityRequest, Context context) {
+ return serviceManager
+ .connectedEnvironments()
+ .checkNameAvailabilityWithResponse(
+ resourceGroupName, connectedEnvironmentName, checkNameAvailabilityRequest, context);
+ }
+
+ public CheckNameAvailabilityResponse checkNameAvailability(
+ CheckNameAvailabilityRequest checkNameAvailabilityRequest) {
+ return serviceManager
+ .connectedEnvironments()
+ .checkNameAvailability(resourceGroupName, connectedEnvironmentName, checkNameAvailabilityRequest);
+ }
+
public ConnectedEnvironmentImpl withRegion(Region location) {
this.innerModel().withLocation(location.toString());
return this;
diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/implementation/ConnectedEnvironmentsCertificatesClientImpl.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/implementation/ConnectedEnvironmentsCertificatesClientImpl.java
index 4b0c4f9f133ee..5e48209c01446 100644
--- a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/implementation/ConnectedEnvironmentsCertificatesClientImpl.java
+++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/implementation/ConnectedEnvironmentsCertificatesClientImpl.java
@@ -66,11 +66,10 @@ public final class ConnectedEnvironmentsCertificatesClientImpl implements Connec
*/
@Host("{$host}")
@ServiceInterface(name = "ContainerAppsApiClie")
- private interface ConnectedEnvironmentsCertificatesService {
+ public interface ConnectedEnvironmentsCertificatesService {
@Headers({"Content-Type: application/json"})
@Get(
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App"
- + "/connectedEnvironments/{connectedEnvironmentName}/certificates")
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/connectedEnvironments/{connectedEnvironmentName}/certificates")
@ExpectedResponses({200})
@UnexpectedResponseExceptionType(DefaultErrorResponseErrorException.class)
Mono> list(
@@ -84,8 +83,7 @@ Mono> list(
@Headers({"Content-Type: application/json"})
@Get(
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App"
- + "/connectedEnvironments/{connectedEnvironmentName}/certificates/{certificateName}")
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/connectedEnvironments/{connectedEnvironmentName}/certificates/{certificateName}")
@ExpectedResponses({200})
@UnexpectedResponseExceptionType(DefaultErrorResponseErrorException.class)
Mono> get(
@@ -100,8 +98,7 @@ Mono> get(
@Headers({"Content-Type: application/json"})
@Put(
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App"
- + "/connectedEnvironments/{connectedEnvironmentName}/certificates/{certificateName}")
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/connectedEnvironments/{connectedEnvironmentName}/certificates/{certificateName}")
@ExpectedResponses({200})
@UnexpectedResponseExceptionType(DefaultErrorResponseErrorException.class)
Mono> createOrUpdate(
@@ -117,8 +114,7 @@ Mono> createOrUpdate(
@Headers({"Content-Type: application/json"})
@Delete(
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App"
- + "/connectedEnvironments/{connectedEnvironmentName}/certificates/{certificateName}")
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/connectedEnvironments/{connectedEnvironmentName}/certificates/{certificateName}")
@ExpectedResponses({200, 204})
@UnexpectedResponseExceptionType(DefaultErrorResponseErrorException.class)
Mono> delete(
@@ -133,8 +129,7 @@ Mono> delete(
@Headers({"Content-Type: application/json"})
@Patch(
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App"
- + "/connectedEnvironments/{connectedEnvironmentName}/certificates/{certificateName}")
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/connectedEnvironments/{connectedEnvironmentName}/certificates/{certificateName}")
@ExpectedResponses({200})
@UnexpectedResponseExceptionType(DefaultErrorResponseErrorException.class)
Mono> update(
diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/implementation/ConnectedEnvironmentsCertificatesImpl.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/implementation/ConnectedEnvironmentsCertificatesImpl.java
index 851e484803652..6c5a00ced3de9 100644
--- a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/implementation/ConnectedEnvironmentsCertificatesImpl.java
+++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/implementation/ConnectedEnvironmentsCertificatesImpl.java
@@ -12,7 +12,6 @@
import com.azure.resourcemanager.appcontainers.fluent.ConnectedEnvironmentsCertificatesClient;
import com.azure.resourcemanager.appcontainers.fluent.models.CertificateInner;
import com.azure.resourcemanager.appcontainers.models.Certificate;
-import com.azure.resourcemanager.appcontainers.models.CertificatePatch;
import com.azure.resourcemanager.appcontainers.models.ConnectedEnvironmentsCertificates;
public final class ConnectedEnvironmentsCertificatesImpl implements ConnectedEnvironmentsCertificates {
@@ -64,39 +63,6 @@ public Certificate get(String resourceGroupName, String connectedEnvironmentName
}
}
- public Response createOrUpdateWithResponse(
- String resourceGroupName,
- String connectedEnvironmentName,
- String certificateName,
- CertificateInner certificateEnvelope,
- Context context) {
- Response inner =
- this
- .serviceClient()
- .createOrUpdateWithResponse(
- resourceGroupName, connectedEnvironmentName, certificateName, certificateEnvelope, context);
- if (inner != null) {
- return new SimpleResponse<>(
- inner.getRequest(),
- inner.getStatusCode(),
- inner.getHeaders(),
- new CertificateImpl(inner.getValue(), this.manager()));
- } else {
- return null;
- }
- }
-
- public Certificate createOrUpdate(
- String resourceGroupName, String connectedEnvironmentName, String certificateName) {
- CertificateInner inner =
- this.serviceClient().createOrUpdate(resourceGroupName, connectedEnvironmentName, certificateName);
- if (inner != null) {
- return new CertificateImpl(inner, this.manager());
- } else {
- return null;
- }
- }
-
public Response deleteWithResponse(
String resourceGroupName, String connectedEnvironmentName, String certificateName, Context context) {
return this
@@ -108,42 +74,122 @@ public void delete(String resourceGroupName, String connectedEnvironmentName, St
this.serviceClient().delete(resourceGroupName, connectedEnvironmentName, certificateName);
}
- public Response updateWithResponse(
- String resourceGroupName,
- String connectedEnvironmentName,
- String certificateName,
- CertificatePatch certificateEnvelope,
- Context context) {
- Response inner =
- this
- .serviceClient()
- .updateWithResponse(
- resourceGroupName, connectedEnvironmentName, certificateName, certificateEnvelope, context);
- if (inner != null) {
- return new SimpleResponse<>(
- inner.getRequest(),
- inner.getStatusCode(),
- inner.getHeaders(),
- new CertificateImpl(inner.getValue(), this.manager()));
- } else {
- return null;
+ public Certificate getById(String id) {
+ String resourceGroupName = Utils.getValueFromIdByName(id, "resourceGroups");
+ if (resourceGroupName == null) {
+ throw LOGGER
+ .logExceptionAsError(
+ new IllegalArgumentException(
+ String
+ .format("The resource ID '%s' is not valid. Missing path segment 'resourceGroups'.", id)));
}
+ String connectedEnvironmentName = Utils.getValueFromIdByName(id, "connectedEnvironments");
+ if (connectedEnvironmentName == null) {
+ throw LOGGER
+ .logExceptionAsError(
+ new IllegalArgumentException(
+ String
+ .format(
+ "The resource ID '%s' is not valid. Missing path segment 'connectedEnvironments'.",
+ id)));
+ }
+ 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, connectedEnvironmentName, certificateName, Context.NONE)
+ .getValue();
}
- public Certificate update(
- String resourceGroupName,
- String connectedEnvironmentName,
- String certificateName,
- CertificatePatch certificateEnvelope) {
- CertificateInner inner =
- this
- .serviceClient()
- .update(resourceGroupName, connectedEnvironmentName, certificateName, certificateEnvelope);
- if (inner != null) {
- return new CertificateImpl(inner, this.manager());
- } else {
- return null;
+ public Response getByIdWithResponse(String id, Context context) {
+ String resourceGroupName = Utils.getValueFromIdByName(id, "resourceGroups");
+ if (resourceGroupName == null) {
+ throw LOGGER
+ .logExceptionAsError(
+ new IllegalArgumentException(
+ String
+ .format("The resource ID '%s' is not valid. Missing path segment 'resourceGroups'.", id)));
+ }
+ String connectedEnvironmentName = Utils.getValueFromIdByName(id, "connectedEnvironments");
+ if (connectedEnvironmentName == null) {
+ throw LOGGER
+ .logExceptionAsError(
+ new IllegalArgumentException(
+ String
+ .format(
+ "The resource ID '%s' is not valid. Missing path segment 'connectedEnvironments'.",
+ id)));
+ }
+ 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, connectedEnvironmentName, certificateName, context);
+ }
+
+ public void deleteById(String id) {
+ String resourceGroupName = Utils.getValueFromIdByName(id, "resourceGroups");
+ if (resourceGroupName == null) {
+ throw LOGGER
+ .logExceptionAsError(
+ new IllegalArgumentException(
+ String
+ .format("The resource ID '%s' is not valid. Missing path segment 'resourceGroups'.", id)));
+ }
+ String connectedEnvironmentName = Utils.getValueFromIdByName(id, "connectedEnvironments");
+ if (connectedEnvironmentName == null) {
+ throw LOGGER
+ .logExceptionAsError(
+ new IllegalArgumentException(
+ String
+ .format(
+ "The resource ID '%s' is not valid. Missing path segment 'connectedEnvironments'.",
+ id)));
+ }
+ 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, connectedEnvironmentName, certificateName, Context.NONE);
+ }
+
+ public Response deleteByIdWithResponse(String id, Context context) {
+ String resourceGroupName = Utils.getValueFromIdByName(id, "resourceGroups");
+ if (resourceGroupName == null) {
+ throw LOGGER
+ .logExceptionAsError(
+ new IllegalArgumentException(
+ String
+ .format("The resource ID '%s' is not valid. Missing path segment 'resourceGroups'.", id)));
+ }
+ String connectedEnvironmentName = Utils.getValueFromIdByName(id, "connectedEnvironments");
+ if (connectedEnvironmentName == null) {
+ throw LOGGER
+ .logExceptionAsError(
+ new IllegalArgumentException(
+ String
+ .format(
+ "The resource ID '%s' is not valid. Missing path segment 'connectedEnvironments'.",
+ id)));
+ }
+ 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, connectedEnvironmentName, certificateName, context);
}
private ConnectedEnvironmentsCertificatesClient serviceClient() {
@@ -153,4 +199,8 @@ private ConnectedEnvironmentsCertificatesClient serviceClient() {
private com.azure.resourcemanager.appcontainers.ContainerAppsApiManager manager() {
return this.serviceManager;
}
+
+ public CertificateImpl define(String name) {
+ return new CertificateImpl(name, this.manager());
+ }
}
diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/implementation/ConnectedEnvironmentsClientImpl.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/implementation/ConnectedEnvironmentsClientImpl.java
index c19ba549ecf2a..e502ade54c632 100644
--- a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/implementation/ConnectedEnvironmentsClientImpl.java
+++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/implementation/ConnectedEnvironmentsClientImpl.java
@@ -68,7 +68,7 @@ public final class ConnectedEnvironmentsClientImpl implements ConnectedEnvironme
*/
@Host("{$host}")
@ServiceInterface(name = "ContainerAppsApiClie")
- private interface ConnectedEnvironmentsService {
+ public interface ConnectedEnvironmentsService {
@Headers({"Content-Type: application/json"})
@Get("/subscriptions/{subscriptionId}/providers/Microsoft.App/connectedEnvironments")
@ExpectedResponses({200})
@@ -82,8 +82,7 @@ Mono> list(
@Headers({"Content-Type: application/json"})
@Get(
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App"
- + "/connectedEnvironments")
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/connectedEnvironments")
@ExpectedResponses({200})
@UnexpectedResponseExceptionType(DefaultErrorResponseErrorException.class)
Mono> listByResourceGroup(
@@ -96,8 +95,7 @@ Mono> listByResourceGroup(
@Headers({"Content-Type: application/json"})
@Get(
- "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.App"
- + "/connectedEnvironments/{connectedEnvironmentName}")
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/connectedEnvironments/{connectedEnvironmentName}")
@ExpectedResponses({200})
@UnexpectedResponseExceptionType(DefaultErrorResponseErrorException.class)
Mono> getByResourceGroup(
@@ -111,8 +109,7 @@ Mono> getByResourceGroup(
@Headers({"Content-Type: application/json"})
@Put(
- "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.App"
- + "/connectedEnvironments/{connectedEnvironmentName}")
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/connectedEnvironments/{connectedEnvironmentName}")
@ExpectedResponses({200, 201})
@UnexpectedResponseExceptionType(DefaultErrorResponseErrorException.class)
Mono>> createOrUpdate(
@@ -127,8 +124,7 @@ Mono>> createOrUpdate(
@Headers({"Content-Type: application/json"})
@Delete(
- "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.App"
- + "/connectedEnvironments/{connectedEnvironmentName}")
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/connectedEnvironments/{connectedEnvironmentName}")
@ExpectedResponses({200, 202, 204})
@UnexpectedResponseExceptionType(DefaultErrorResponseErrorException.class)
Mono>> delete(
@@ -142,8 +138,7 @@ Mono>> delete(
@Headers({"Content-Type: application/json"})
@Patch(
- "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.App"
- + "/connectedEnvironments/{connectedEnvironmentName}")
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/connectedEnvironments/{connectedEnvironmentName}")
@ExpectedResponses({200})
@UnexpectedResponseExceptionType(DefaultErrorResponseErrorException.class)
Mono> update(
@@ -157,8 +152,7 @@ Mono> update(
@Headers({"Content-Type: application/json"})
@Post(
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App"
- + "/connectedEnvironments/{connectedEnvironmentName}/checkNameAvailability")
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/connectedEnvironments/{connectedEnvironmentName}/checkNameAvailability")
@ExpectedResponses({200})
@UnexpectedResponseExceptionType(DefaultErrorResponseErrorException.class)
Mono> checkNameAvailability(
@@ -843,7 +837,8 @@ private PollerFlux, ConnectedEnvironmentIn
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
public SyncPoller, ConnectedEnvironmentInner> beginCreateOrUpdate(
String resourceGroupName, String connectedEnvironmentName, ConnectedEnvironmentInner environmentEnvelope) {
- return beginCreateOrUpdateAsync(resourceGroupName, connectedEnvironmentName, environmentEnvelope)
+ return this
+ .beginCreateOrUpdateAsync(resourceGroupName, connectedEnvironmentName, environmentEnvelope)
.getSyncPoller();
}
@@ -866,7 +861,8 @@ public SyncPoller, ConnectedEnvironmentInn
String connectedEnvironmentName,
ConnectedEnvironmentInner environmentEnvelope,
Context context) {
- return beginCreateOrUpdateAsync(resourceGroupName, connectedEnvironmentName, environmentEnvelope, context)
+ return this
+ .beginCreateOrUpdateAsync(resourceGroupName, connectedEnvironmentName, environmentEnvelope, context)
.getSyncPoller();
}
@@ -1104,7 +1100,7 @@ private PollerFlux, Void> beginDeleteAsync(
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
public SyncPoller, Void> beginDelete(String resourceGroupName, String connectedEnvironmentName) {
- return beginDeleteAsync(resourceGroupName, connectedEnvironmentName).getSyncPoller();
+ return this.beginDeleteAsync(resourceGroupName, connectedEnvironmentName).getSyncPoller();
}
/**
@@ -1121,7 +1117,7 @@ public SyncPoller, Void> beginDelete(String resourceGroupName,
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
public SyncPoller, Void> beginDelete(
String resourceGroupName, String connectedEnvironmentName, Context context) {
- return beginDeleteAsync(resourceGroupName, connectedEnvironmentName, context).getSyncPoller();
+ return this.beginDeleteAsync(resourceGroupName, connectedEnvironmentName, context).getSyncPoller();
}
/**
diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/implementation/ConnectedEnvironmentsDaprComponentsClientImpl.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/implementation/ConnectedEnvironmentsDaprComponentsClientImpl.java
index bb0656b535b89..7a8dd2baa954f 100644
--- a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/implementation/ConnectedEnvironmentsDaprComponentsClientImpl.java
+++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/implementation/ConnectedEnvironmentsDaprComponentsClientImpl.java
@@ -66,11 +66,10 @@ public final class ConnectedEnvironmentsDaprComponentsClientImpl implements Conn
*/
@Host("{$host}")
@ServiceInterface(name = "ContainerAppsApiClie")
- private interface ConnectedEnvironmentsDaprComponentsService {
+ public interface ConnectedEnvironmentsDaprComponentsService {
@Headers({"Content-Type: application/json"})
@Get(
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App"
- + "/connectedEnvironments/{connectedEnvironmentName}/daprComponents")
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/connectedEnvironments/{connectedEnvironmentName}/daprComponents")
@ExpectedResponses({200})
@UnexpectedResponseExceptionType(DefaultErrorResponseErrorException.class)
Mono> list(
@@ -84,8 +83,7 @@ Mono> list(
@Headers({"Content-Type: application/json"})
@Get(
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App"
- + "/connectedEnvironments/{connectedEnvironmentName}/daprComponents/{componentName}")
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/connectedEnvironments/{connectedEnvironmentName}/daprComponents/{componentName}")
@ExpectedResponses({200})
@UnexpectedResponseExceptionType(DefaultErrorResponseErrorException.class)
Mono> get(
@@ -100,8 +98,7 @@ Mono> get(
@Headers({"Content-Type: application/json"})
@Put(
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App"
- + "/connectedEnvironments/{connectedEnvironmentName}/daprComponents/{componentName}")
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/connectedEnvironments/{connectedEnvironmentName}/daprComponents/{componentName}")
@ExpectedResponses({200})
@UnexpectedResponseExceptionType(DefaultErrorResponseErrorException.class)
Mono> createOrUpdate(
@@ -117,8 +114,7 @@ Mono> createOrUpdate(
@Headers({"Content-Type: application/json"})
@Delete(
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App"
- + "/connectedEnvironments/{connectedEnvironmentName}/daprComponents/{componentName}")
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/connectedEnvironments/{connectedEnvironmentName}/daprComponents/{componentName}")
@ExpectedResponses({200, 204})
@UnexpectedResponseExceptionType(DefaultErrorResponseErrorException.class)
Mono> delete(
@@ -133,8 +129,7 @@ Mono> delete(
@Headers({"Content-Type: application/json"})
@Post(
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App"
- + "/connectedEnvironments/{connectedEnvironmentName}/daprComponents/{componentName}/listSecrets")
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/connectedEnvironments/{connectedEnvironmentName}/daprComponents/{componentName}/listSecrets")
@ExpectedResponses({200})
@UnexpectedResponseExceptionType(DefaultErrorResponseErrorException.class)
Mono> listSecrets(
diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/implementation/ConnectedEnvironmentsDaprComponentsImpl.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/implementation/ConnectedEnvironmentsDaprComponentsImpl.java
index 14b9d452dbc31..a42732ed38b8c 100644
--- a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/implementation/ConnectedEnvironmentsDaprComponentsImpl.java
+++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/implementation/ConnectedEnvironmentsDaprComponentsImpl.java
@@ -67,44 +67,6 @@ public DaprComponent get(String resourceGroupName, String connectedEnvironmentNa
}
}
- public Response createOrUpdateWithResponse(
- String resourceGroupName,
- String connectedEnvironmentName,
- String componentName,
- DaprComponentInner daprComponentEnvelope,
- Context context) {
- Response inner =
- this
- .serviceClient()
- .createOrUpdateWithResponse(
- resourceGroupName, connectedEnvironmentName, componentName, daprComponentEnvelope, context);
- if (inner != null) {
- return new SimpleResponse<>(
- inner.getRequest(),
- inner.getStatusCode(),
- inner.getHeaders(),
- new DaprComponentImpl(inner.getValue(), this.manager()));
- } else {
- return null;
- }
- }
-
- public DaprComponent createOrUpdate(
- String resourceGroupName,
- String connectedEnvironmentName,
- String componentName,
- DaprComponentInner daprComponentEnvelope) {
- DaprComponentInner inner =
- this
- .serviceClient()
- .createOrUpdate(resourceGroupName, connectedEnvironmentName, componentName, daprComponentEnvelope);
- if (inner != null) {
- return new DaprComponentImpl(inner, this.manager());
- } else {
- return null;
- }
- }
-
public Response deleteWithResponse(
String resourceGroupName, String connectedEnvironmentName, String componentName, Context context) {
return this
@@ -144,6 +106,128 @@ public DaprSecretsCollection listSecrets(
}
}
+ public DaprComponent getById(String id) {
+ String resourceGroupName = Utils.getValueFromIdByName(id, "resourceGroups");
+ if (resourceGroupName == null) {
+ throw LOGGER
+ .logExceptionAsError(
+ new IllegalArgumentException(
+ String
+ .format("The resource ID '%s' is not valid. Missing path segment 'resourceGroups'.", id)));
+ }
+ String connectedEnvironmentName = Utils.getValueFromIdByName(id, "connectedEnvironments");
+ if (connectedEnvironmentName == null) {
+ throw LOGGER
+ .logExceptionAsError(
+ new IllegalArgumentException(
+ String
+ .format(
+ "The resource ID '%s' is not valid. Missing path segment 'connectedEnvironments'.",
+ id)));
+ }
+ String componentName = Utils.getValueFromIdByName(id, "daprComponents");
+ if (componentName == null) {
+ throw LOGGER
+ .logExceptionAsError(
+ new IllegalArgumentException(
+ String
+ .format("The resource ID '%s' is not valid. Missing path segment 'daprComponents'.", id)));
+ }
+ return this
+ .getWithResponse(resourceGroupName, connectedEnvironmentName, componentName, Context.NONE)
+ .getValue();
+ }
+
+ public Response getByIdWithResponse(String id, Context context) {
+ String resourceGroupName = Utils.getValueFromIdByName(id, "resourceGroups");
+ if (resourceGroupName == null) {
+ throw LOGGER
+ .logExceptionAsError(
+ new IllegalArgumentException(
+ String
+ .format("The resource ID '%s' is not valid. Missing path segment 'resourceGroups'.", id)));
+ }
+ String connectedEnvironmentName = Utils.getValueFromIdByName(id, "connectedEnvironments");
+ if (connectedEnvironmentName == null) {
+ throw LOGGER
+ .logExceptionAsError(
+ new IllegalArgumentException(
+ String
+ .format(
+ "The resource ID '%s' is not valid. Missing path segment 'connectedEnvironments'.",
+ id)));
+ }
+ String componentName = Utils.getValueFromIdByName(id, "daprComponents");
+ if (componentName == null) {
+ throw LOGGER
+ .logExceptionAsError(
+ new IllegalArgumentException(
+ String
+ .format("The resource ID '%s' is not valid. Missing path segment 'daprComponents'.", id)));
+ }
+ return this.getWithResponse(resourceGroupName, connectedEnvironmentName, componentName, context);
+ }
+
+ public void deleteById(String id) {
+ String resourceGroupName = Utils.getValueFromIdByName(id, "resourceGroups");
+ if (resourceGroupName == null) {
+ throw LOGGER
+ .logExceptionAsError(
+ new IllegalArgumentException(
+ String
+ .format("The resource ID '%s' is not valid. Missing path segment 'resourceGroups'.", id)));
+ }
+ String connectedEnvironmentName = Utils.getValueFromIdByName(id, "connectedEnvironments");
+ if (connectedEnvironmentName == null) {
+ throw LOGGER
+ .logExceptionAsError(
+ new IllegalArgumentException(
+ String
+ .format(
+ "The resource ID '%s' is not valid. Missing path segment 'connectedEnvironments'.",
+ id)));
+ }
+ String componentName = Utils.getValueFromIdByName(id, "daprComponents");
+ if (componentName == null) {
+ throw LOGGER
+ .logExceptionAsError(
+ new IllegalArgumentException(
+ String
+ .format("The resource ID '%s' is not valid. Missing path segment 'daprComponents'.", id)));
+ }
+ this.deleteWithResponse(resourceGroupName, connectedEnvironmentName, componentName, Context.NONE);
+ }
+
+ public Response deleteByIdWithResponse(String id, Context context) {
+ String resourceGroupName = Utils.getValueFromIdByName(id, "resourceGroups");
+ if (resourceGroupName == null) {
+ throw LOGGER
+ .logExceptionAsError(
+ new IllegalArgumentException(
+ String
+ .format("The resource ID '%s' is not valid. Missing path segment 'resourceGroups'.", id)));
+ }
+ String connectedEnvironmentName = Utils.getValueFromIdByName(id, "connectedEnvironments");
+ if (connectedEnvironmentName == null) {
+ throw LOGGER
+ .logExceptionAsError(
+ new IllegalArgumentException(
+ String
+ .format(
+ "The resource ID '%s' is not valid. Missing path segment 'connectedEnvironments'.",
+ id)));
+ }
+ String componentName = Utils.getValueFromIdByName(id, "daprComponents");
+ if (componentName == null) {
+ throw LOGGER
+ .logExceptionAsError(
+ new IllegalArgumentException(
+ String
+ .format("The resource ID '%s' is not valid. Missing path segment 'daprComponents'.", id)));
+ }
+ return this.deleteWithResponse(resourceGroupName, connectedEnvironmentName, componentName, context);
+ }
+
private ConnectedEnvironmentsDaprComponentsClient serviceClient() {
return this.innerClient;
}
@@ -151,4 +235,8 @@ private ConnectedEnvironmentsDaprComponentsClient serviceClient() {
private com.azure.resourcemanager.appcontainers.ContainerAppsApiManager manager() {
return this.serviceManager;
}
+
+ public DaprComponentImpl define(String name) {
+ return new DaprComponentImpl(name, this.manager());
+ }
}
diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/implementation/ConnectedEnvironmentsImpl.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/implementation/ConnectedEnvironmentsImpl.java
index 2f185c945d124..9bfc8b8b89fad 100644
--- a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/implementation/ConnectedEnvironmentsImpl.java
+++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/implementation/ConnectedEnvironmentsImpl.java
@@ -146,13 +146,13 @@ public CheckNameAvailabilityResponse checkNameAvailability(
}
public ConnectedEnvironment getById(String id) {
- String resourceGroupName = Utils.getValueFromIdByName(id, "resourcegroups");
+ String resourceGroupName = Utils.getValueFromIdByName(id, "resourceGroups");
if (resourceGroupName == null) {
throw LOGGER
.logExceptionAsError(
new IllegalArgumentException(
String
- .format("The resource ID '%s' is not valid. Missing path segment 'resourcegroups'.", id)));
+ .format("The resource ID '%s' is not valid. Missing path segment 'resourceGroups'.", id)));
}
String connectedEnvironmentName = Utils.getValueFromIdByName(id, "connectedEnvironments");
if (connectedEnvironmentName == null) {
@@ -170,13 +170,13 @@ public ConnectedEnvironment getById(String id) {
}
public Response getByIdWithResponse(String id, Context context) {
- String resourceGroupName = Utils.getValueFromIdByName(id, "resourcegroups");
+ String resourceGroupName = Utils.getValueFromIdByName(id, "resourceGroups");
if (resourceGroupName == null) {
throw LOGGER
.logExceptionAsError(
new IllegalArgumentException(
String
- .format("The resource ID '%s' is not valid. Missing path segment 'resourcegroups'.", id)));
+ .format("The resource ID '%s' is not valid. Missing path segment 'resourceGroups'.", id)));
}
String connectedEnvironmentName = Utils.getValueFromIdByName(id, "connectedEnvironments");
if (connectedEnvironmentName == null) {
@@ -192,13 +192,13 @@ public Response getByIdWithResponse(String id, Context con
}
public void deleteById(String id) {
- String resourceGroupName = Utils.getValueFromIdByName(id, "resourcegroups");
+ String resourceGroupName = Utils.getValueFromIdByName(id, "resourceGroups");
if (resourceGroupName == null) {
throw LOGGER
.logExceptionAsError(
new IllegalArgumentException(
String
- .format("The resource ID '%s' is not valid. Missing path segment 'resourcegroups'.", id)));
+ .format("The resource ID '%s' is not valid. Missing path segment 'resourceGroups'.", id)));
}
String connectedEnvironmentName = Utils.getValueFromIdByName(id, "connectedEnvironments");
if (connectedEnvironmentName == null) {
@@ -214,13 +214,13 @@ public void deleteById(String id) {
}
public void deleteByIdWithResponse(String id, Context context) {
- String resourceGroupName = Utils.getValueFromIdByName(id, "resourcegroups");
+ String resourceGroupName = Utils.getValueFromIdByName(id, "resourceGroups");
if (resourceGroupName == null) {
throw LOGGER
.logExceptionAsError(
new IllegalArgumentException(
String
- .format("The resource ID '%s' is not valid. Missing path segment 'resourcegroups'.", id)));
+ .format("The resource ID '%s' is not valid. Missing path segment 'resourceGroups'.", id)));
}
String connectedEnvironmentName = Utils.getValueFromIdByName(id, "connectedEnvironments");
if (connectedEnvironmentName == null) {
diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/implementation/ConnectedEnvironmentsStoragesClientImpl.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/implementation/ConnectedEnvironmentsStoragesClientImpl.java
index b74dc46476d27..511e12aa1d1b9 100644
--- a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/implementation/ConnectedEnvironmentsStoragesClientImpl.java
+++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/implementation/ConnectedEnvironmentsStoragesClientImpl.java
@@ -58,11 +58,10 @@ public final class ConnectedEnvironmentsStoragesClientImpl implements ConnectedE
*/
@Host("{$host}")
@ServiceInterface(name = "ContainerAppsApiClie")
- private interface ConnectedEnvironmentsStoragesService {
+ public interface ConnectedEnvironmentsStoragesService {
@Headers({"Content-Type: application/json"})
@Get(
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App"
- + "/connectedEnvironments/{connectedEnvironmentName}/storages")
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/connectedEnvironments/{connectedEnvironmentName}/storages")
@ExpectedResponses({200})
@UnexpectedResponseExceptionType(DefaultErrorResponseErrorException.class)
Mono> list(
@@ -76,8 +75,7 @@ Mono> list(
@Headers({"Content-Type: application/json"})
@Get(
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App"
- + "/connectedEnvironments/{connectedEnvironmentName}/storages/{storageName}")
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/connectedEnvironments/{connectedEnvironmentName}/storages/{storageName}")
@ExpectedResponses({200})
@UnexpectedResponseExceptionType(DefaultErrorResponseErrorException.class)
Mono> get(
@@ -92,8 +90,7 @@ Mono> get(
@Headers({"Content-Type: application/json"})
@Put(
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App"
- + "/connectedEnvironments/{connectedEnvironmentName}/storages/{storageName}")
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/connectedEnvironments/{connectedEnvironmentName}/storages/{storageName}")
@ExpectedResponses({200})
@UnexpectedResponseExceptionType(DefaultErrorResponseErrorException.class)
Mono> createOrUpdate(
@@ -109,8 +106,7 @@ Mono> createOrUpdate(
@Headers({"Content-Type: application/json"})
@Delete(
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App"
- + "/connectedEnvironments/{connectedEnvironmentName}/storages/{storageName}")
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/connectedEnvironments/{connectedEnvironmentName}/storages/{storageName}")
@ExpectedResponses({200, 204})
@UnexpectedResponseExceptionType(DefaultErrorResponseErrorException.class)
Mono> delete(
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 26f5c8d21376b..0fce8f4c58cc0 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
@@ -60,6 +60,10 @@ public ManagedServiceIdentity identity() {
return this.innerModel().identity();
}
+ public String managedBy() {
+ return this.innerModel().managedBy();
+ }
+
public SystemData systemData() {
return this.innerModel().systemData();
}
@@ -76,14 +80,18 @@ public String environmentId() {
return this.innerModel().environmentId();
}
- public String workloadProfileType() {
- return this.innerModel().workloadProfileType();
+ public String workloadProfileName() {
+ return this.innerModel().workloadProfileName();
}
public String latestRevisionName() {
return this.innerModel().latestRevisionName();
}
+ public String latestReadyRevisionName() {
+ return this.innerModel().latestReadyRevisionName();
+ }
+
public String latestRevisionFqdn() {
return this.innerModel().latestRevisionFqdn();
}
@@ -175,7 +183,7 @@ public ContainerApp apply() {
serviceManager
.serviceClient()
.getContainerApps()
- .createOrUpdate(resourceGroupName, containerAppName, this.innerModel(), Context.NONE);
+ .update(resourceGroupName, containerAppName, this.innerModel(), Context.NONE);
return this;
}
@@ -184,7 +192,7 @@ public ContainerApp apply(Context context) {
serviceManager
.serviceClient()
.getContainerApps()
- .createOrUpdate(resourceGroupName, containerAppName, this.innerModel(), context);
+ .update(resourceGroupName, containerAppName, this.innerModel(), context);
return this;
}
@@ -268,6 +276,11 @@ public ContainerAppImpl withIdentity(ManagedServiceIdentity identity) {
return this;
}
+ public ContainerAppImpl withManagedBy(String managedBy) {
+ this.innerModel().withManagedBy(managedBy);
+ return this;
+ }
+
public ContainerAppImpl withManagedEnvironmentId(String managedEnvironmentId) {
this.innerModel().withManagedEnvironmentId(managedEnvironmentId);
return this;
@@ -278,8 +291,8 @@ public ContainerAppImpl withEnvironmentId(String environmentId) {
return this;
}
- public ContainerAppImpl withWorkloadProfileType(String workloadProfileType) {
- this.innerModel().withWorkloadProfileType(workloadProfileType);
+ public ContainerAppImpl withWorkloadProfileName(String workloadProfileName) {
+ this.innerModel().withWorkloadProfileName(workloadProfileName);
return this;
}
diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/implementation/ContainerAppJobExecutionsImpl.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/implementation/ContainerAppJobExecutionsImpl.java
new file mode 100644
index 0000000000000..4fb1bf7119140
--- /dev/null
+++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/implementation/ContainerAppJobExecutionsImpl.java
@@ -0,0 +1,52 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.appcontainers.implementation;
+
+import com.azure.resourcemanager.appcontainers.fluent.models.ContainerAppJobExecutionsInner;
+import com.azure.resourcemanager.appcontainers.fluent.models.JobExecutionInner;
+import com.azure.resourcemanager.appcontainers.models.ContainerAppJobExecutions;
+import com.azure.resourcemanager.appcontainers.models.JobExecution;
+import java.util.Collections;
+import java.util.List;
+import java.util.stream.Collectors;
+
+public final class ContainerAppJobExecutionsImpl implements ContainerAppJobExecutions {
+ private ContainerAppJobExecutionsInner innerObject;
+
+ private final com.azure.resourcemanager.appcontainers.ContainerAppsApiManager serviceManager;
+
+ ContainerAppJobExecutionsImpl(
+ ContainerAppJobExecutionsInner innerObject,
+ com.azure.resourcemanager.appcontainers.ContainerAppsApiManager serviceManager) {
+ this.innerObject = innerObject;
+ this.serviceManager = serviceManager;
+ }
+
+ public List value() {
+ List inner = this.innerModel().value();
+ if (inner != null) {
+ return Collections
+ .unmodifiableList(
+ inner
+ .stream()
+ .map(inner1 -> new JobExecutionImpl(inner1, this.manager()))
+ .collect(Collectors.toList()));
+ } else {
+ return Collections.emptyList();
+ }
+ }
+
+ public String nextLink() {
+ return this.innerModel().nextLink();
+ }
+
+ public ContainerAppJobExecutionsInner innerModel() {
+ return this.innerObject;
+ }
+
+ private com.azure.resourcemanager.appcontainers.ContainerAppsApiManager manager() {
+ return this.serviceManager;
+ }
+}
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 ae4e2dfa8dc68..058cdbb655956 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
@@ -37,6 +37,9 @@
import com.azure.resourcemanager.appcontainers.fluent.ContainerAppsRevisionsClient;
import com.azure.resourcemanager.appcontainers.fluent.ContainerAppsSourceControlsClient;
import com.azure.resourcemanager.appcontainers.fluent.DaprComponentsClient;
+import com.azure.resourcemanager.appcontainers.fluent.JobsClient;
+import com.azure.resourcemanager.appcontainers.fluent.JobsExecutionsClient;
+import com.azure.resourcemanager.appcontainers.fluent.ManagedCertificatesClient;
import com.azure.resourcemanager.appcontainers.fluent.ManagedEnvironmentDiagnosticsClient;
import com.azure.resourcemanager.appcontainers.fluent.ManagedEnvironmentsClient;
import com.azure.resourcemanager.appcontainers.fluent.ManagedEnvironmentsDiagnosticsClient;
@@ -139,6 +142,78 @@ public ContainerAppsAuthConfigsClient getContainerAppsAuthConfigs() {
return this.containerAppsAuthConfigs;
}
+ /** The AvailableWorkloadProfilesClient object to access its operations. */
+ private final AvailableWorkloadProfilesClient availableWorkloadProfiles;
+
+ /**
+ * Gets the AvailableWorkloadProfilesClient object to access its operations.
+ *
+ * @return the AvailableWorkloadProfilesClient object.
+ */
+ public AvailableWorkloadProfilesClient getAvailableWorkloadProfiles() {
+ return this.availableWorkloadProfiles;
+ }
+
+ /** The BillingMetersClient object to access its operations. */
+ private final BillingMetersClient billingMeters;
+
+ /**
+ * Gets the BillingMetersClient object to access its operations.
+ *
+ * @return the BillingMetersClient object.
+ */
+ public BillingMetersClient getBillingMeters() {
+ return this.billingMeters;
+ }
+
+ /** The ConnectedEnvironmentsClient object to access its operations. */
+ private final ConnectedEnvironmentsClient connectedEnvironments;
+
+ /**
+ * Gets the ConnectedEnvironmentsClient object to access its operations.
+ *
+ * @return the ConnectedEnvironmentsClient object.
+ */
+ public ConnectedEnvironmentsClient getConnectedEnvironments() {
+ return this.connectedEnvironments;
+ }
+
+ /** The ConnectedEnvironmentsCertificatesClient object to access its operations. */
+ private final ConnectedEnvironmentsCertificatesClient connectedEnvironmentsCertificates;
+
+ /**
+ * Gets the ConnectedEnvironmentsCertificatesClient object to access its operations.
+ *
+ * @return the ConnectedEnvironmentsCertificatesClient object.
+ */
+ public ConnectedEnvironmentsCertificatesClient getConnectedEnvironmentsCertificates() {
+ return this.connectedEnvironmentsCertificates;
+ }
+
+ /** The ConnectedEnvironmentsDaprComponentsClient object to access its operations. */
+ private final ConnectedEnvironmentsDaprComponentsClient connectedEnvironmentsDaprComponents;
+
+ /**
+ * Gets the ConnectedEnvironmentsDaprComponentsClient object to access its operations.
+ *
+ * @return the ConnectedEnvironmentsDaprComponentsClient object.
+ */
+ public ConnectedEnvironmentsDaprComponentsClient getConnectedEnvironmentsDaprComponents() {
+ return this.connectedEnvironmentsDaprComponents;
+ }
+
+ /** The ConnectedEnvironmentsStoragesClient object to access its operations. */
+ private final ConnectedEnvironmentsStoragesClient connectedEnvironmentsStorages;
+
+ /**
+ * Gets the ConnectedEnvironmentsStoragesClient object to access its operations.
+ *
+ * @return the ConnectedEnvironmentsStoragesClient object.
+ */
+ public ConnectedEnvironmentsStoragesClient getConnectedEnvironmentsStorages() {
+ return this.connectedEnvironmentsStorages;
+ }
+
/** The ContainerAppsClient object to access its operations. */
private final ContainerAppsClient containerApps;
@@ -175,18 +250,6 @@ public ContainerAppsRevisionReplicasClient getContainerAppsRevisionReplicas() {
return this.containerAppsRevisionReplicas;
}
- /** The DaprComponentsClient object to access its operations. */
- private final DaprComponentsClient daprComponents;
-
- /**
- * Gets the DaprComponentsClient object to access its operations.
- *
- * @return the DaprComponentsClient object.
- */
- public DaprComponentsClient getDaprComponents() {
- return this.daprComponents;
- }
-
/** The ContainerAppsDiagnosticsClient object to access its operations. */
private final ContainerAppsDiagnosticsClient containerAppsDiagnostics;
@@ -235,6 +298,30 @@ public OperationsClient getOperations() {
return this.operations;
}
+ /** The JobsClient object to access its operations. */
+ private final JobsClient jobs;
+
+ /**
+ * Gets the JobsClient object to access its operations.
+ *
+ * @return the JobsClient object.
+ */
+ public JobsClient getJobs() {
+ return this.jobs;
+ }
+
+ /** The JobsExecutionsClient object to access its operations. */
+ private final JobsExecutionsClient jobsExecutions;
+
+ /**
+ * Gets the JobsExecutionsClient object to access its operations.
+ *
+ * @return the JobsExecutionsClient object.
+ */
+ public JobsExecutionsClient getJobsExecutions() {
+ return this.jobsExecutions;
+ }
+
/** The ManagedEnvironmentsClient object to access its operations. */
private final ManagedEnvironmentsClient managedEnvironments;
@@ -259,6 +346,18 @@ public CertificatesClient getCertificates() {
return this.certificates;
}
+ /** The ManagedCertificatesClient object to access its operations. */
+ private final ManagedCertificatesClient managedCertificates;
+
+ /**
+ * Gets the ManagedCertificatesClient object to access its operations.
+ *
+ * @return the ManagedCertificatesClient object.
+ */
+ public ManagedCertificatesClient getManagedCertificates() {
+ return this.managedCertificates;
+ }
+
/** The NamespacesClient object to access its operations. */
private final NamespacesClient namespaces;
@@ -271,6 +370,18 @@ public NamespacesClient getNamespaces() {
return this.namespaces;
}
+ /** The DaprComponentsClient object to access its operations. */
+ private final DaprComponentsClient daprComponents;
+
+ /**
+ * Gets the DaprComponentsClient object to access its operations.
+ *
+ * @return the DaprComponentsClient object.
+ */
+ public DaprComponentsClient getDaprComponents() {
+ return this.daprComponents;
+ }
+
/** The ManagedEnvironmentsStoragesClient object to access its operations. */
private final ManagedEnvironmentsStoragesClient managedEnvironmentsStorages;
@@ -295,78 +406,6 @@ public ContainerAppsSourceControlsClient getContainerAppsSourceControls() {
return this.containerAppsSourceControls;
}
- /** The ConnectedEnvironmentsClient object to access its operations. */
- private final ConnectedEnvironmentsClient connectedEnvironments;
-
- /**
- * Gets the ConnectedEnvironmentsClient object to access its operations.
- *
- * @return the ConnectedEnvironmentsClient object.
- */
- public ConnectedEnvironmentsClient getConnectedEnvironments() {
- return this.connectedEnvironments;
- }
-
- /** The ConnectedEnvironmentsCertificatesClient object to access its operations. */
- private final ConnectedEnvironmentsCertificatesClient connectedEnvironmentsCertificates;
-
- /**
- * Gets the ConnectedEnvironmentsCertificatesClient object to access its operations.
- *
- * @return the ConnectedEnvironmentsCertificatesClient object.
- */
- public ConnectedEnvironmentsCertificatesClient getConnectedEnvironmentsCertificates() {
- return this.connectedEnvironmentsCertificates;
- }
-
- /** The ConnectedEnvironmentsDaprComponentsClient object to access its operations. */
- private final ConnectedEnvironmentsDaprComponentsClient connectedEnvironmentsDaprComponents;
-
- /**
- * Gets the ConnectedEnvironmentsDaprComponentsClient object to access its operations.
- *
- * @return the ConnectedEnvironmentsDaprComponentsClient object.
- */
- public ConnectedEnvironmentsDaprComponentsClient getConnectedEnvironmentsDaprComponents() {
- return this.connectedEnvironmentsDaprComponents;
- }
-
- /** The ConnectedEnvironmentsStoragesClient object to access its operations. */
- private final ConnectedEnvironmentsStoragesClient connectedEnvironmentsStorages;
-
- /**
- * Gets the ConnectedEnvironmentsStoragesClient object to access its operations.
- *
- * @return the ConnectedEnvironmentsStoragesClient object.
- */
- public ConnectedEnvironmentsStoragesClient getConnectedEnvironmentsStorages() {
- return this.connectedEnvironmentsStorages;
- }
-
- /** The AvailableWorkloadProfilesClient object to access its operations. */
- private final AvailableWorkloadProfilesClient availableWorkloadProfiles;
-
- /**
- * Gets the AvailableWorkloadProfilesClient object to access its operations.
- *
- * @return the AvailableWorkloadProfilesClient object.
- */
- public AvailableWorkloadProfilesClient getAvailableWorkloadProfiles() {
- return this.availableWorkloadProfiles;
- }
-
- /** The BillingMetersClient object to access its operations. */
- private final BillingMetersClient billingMeters;
-
- /**
- * Gets the BillingMetersClient object to access its operations.
- *
- * @return the BillingMetersClient object.
- */
- public BillingMetersClient getBillingMeters() {
- return this.billingMeters;
- }
-
/**
* Initializes an instance of ContainerAppsApiClient client.
*
@@ -389,27 +428,30 @@ public BillingMetersClient getBillingMeters() {
this.defaultPollInterval = defaultPollInterval;
this.subscriptionId = subscriptionId;
this.endpoint = endpoint;
- this.apiVersion = "2022-06-01-preview";
+ this.apiVersion = "2023-04-01-preview";
this.containerAppsAuthConfigs = new ContainerAppsAuthConfigsClientImpl(this);
+ this.availableWorkloadProfiles = new AvailableWorkloadProfilesClientImpl(this);
+ this.billingMeters = new BillingMetersClientImpl(this);
+ this.connectedEnvironments = new ConnectedEnvironmentsClientImpl(this);
+ this.connectedEnvironmentsCertificates = new ConnectedEnvironmentsCertificatesClientImpl(this);
+ this.connectedEnvironmentsDaprComponents = new ConnectedEnvironmentsDaprComponentsClientImpl(this);
+ this.connectedEnvironmentsStorages = new ConnectedEnvironmentsStoragesClientImpl(this);
this.containerApps = new ContainerAppsClientImpl(this);
this.containerAppsRevisions = new ContainerAppsRevisionsClientImpl(this);
this.containerAppsRevisionReplicas = new ContainerAppsRevisionReplicasClientImpl(this);
- this.daprComponents = new DaprComponentsClientImpl(this);
this.containerAppsDiagnostics = new ContainerAppsDiagnosticsClientImpl(this);
this.managedEnvironmentDiagnostics = new ManagedEnvironmentDiagnosticsClientImpl(this);
this.managedEnvironmentsDiagnostics = new ManagedEnvironmentsDiagnosticsClientImpl(this);
this.operations = new OperationsClientImpl(this);
+ this.jobs = new JobsClientImpl(this);
+ this.jobsExecutions = new JobsExecutionsClientImpl(this);
this.managedEnvironments = new ManagedEnvironmentsClientImpl(this);
this.certificates = new CertificatesClientImpl(this);
+ this.managedCertificates = new ManagedCertificatesClientImpl(this);
this.namespaces = new NamespacesClientImpl(this);
+ this.daprComponents = new DaprComponentsClientImpl(this);
this.managedEnvironmentsStorages = new ManagedEnvironmentsStoragesClientImpl(this);
this.containerAppsSourceControls = new ContainerAppsSourceControlsClientImpl(this);
- this.connectedEnvironments = new ConnectedEnvironmentsClientImpl(this);
- this.connectedEnvironmentsCertificates = new ConnectedEnvironmentsCertificatesClientImpl(this);
- this.connectedEnvironmentsDaprComponents = new ConnectedEnvironmentsDaprComponentsClientImpl(this);
- this.connectedEnvironmentsStorages = new ConnectedEnvironmentsStoragesClientImpl(this);
- this.availableWorkloadProfiles = new AvailableWorkloadProfilesClientImpl(this);
- this.billingMeters = new BillingMetersClientImpl(this);
}
/**
diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/implementation/ContainerAppsAuthConfigsClientImpl.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/implementation/ContainerAppsAuthConfigsClientImpl.java
index 7af8a2bde9c42..e52c6e91fd925 100644
--- a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/implementation/ContainerAppsAuthConfigsClientImpl.java
+++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/implementation/ContainerAppsAuthConfigsClientImpl.java
@@ -59,11 +59,10 @@ public final class ContainerAppsAuthConfigsClientImpl implements ContainerAppsAu
*/
@Host("{$host}")
@ServiceInterface(name = "ContainerAppsApiClie")
- private interface ContainerAppsAuthConfigsService {
+ public interface ContainerAppsAuthConfigsService {
@Headers({"Content-Type: application/json"})
@Get(
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/containerApps"
- + "/{containerAppName}/authConfigs")
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/containerApps/{containerAppName}/authConfigs")
@ExpectedResponses({200})
@UnexpectedResponseExceptionType(DefaultErrorResponseErrorException.class)
Mono> listByContainerApp(
@@ -77,8 +76,7 @@ Mono> listByContainerApp(
@Headers({"Content-Type: application/json"})
@Get(
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/containerApps"
- + "/{containerAppName}/authConfigs/{authConfigName}")
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/containerApps/{containerAppName}/authConfigs/{authConfigName}")
@ExpectedResponses({200})
@UnexpectedResponseExceptionType(DefaultErrorResponseErrorException.class)
Mono> get(
@@ -93,8 +91,7 @@ Mono> get(
@Headers({"Content-Type: application/json"})
@Put(
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/containerApps"
- + "/{containerAppName}/authConfigs/{authConfigName}")
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/containerApps/{containerAppName}/authConfigs/{authConfigName}")
@ExpectedResponses({200})
@UnexpectedResponseExceptionType(DefaultErrorResponseErrorException.class)
Mono> createOrUpdate(
@@ -110,8 +107,7 @@ Mono> createOrUpdate(
@Headers({"Content-Type: application/json"})
@Delete(
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/containerApps"
- + "/{containerAppName}/authConfigs/{authConfigName}")
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/containerApps/{containerAppName}/authConfigs/{authConfigName}")
@ExpectedResponses({200, 204})
@UnexpectedResponseExceptionType(DefaultErrorResponseErrorException.class)
Mono> delete(
diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/implementation/ContainerAppsClientImpl.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/implementation/ContainerAppsClientImpl.java
index 0aafa672aee81..c3119a5e81b39 100644
--- a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/implementation/ContainerAppsClientImpl.java
+++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/implementation/ContainerAppsClientImpl.java
@@ -69,7 +69,7 @@ public final class ContainerAppsClientImpl implements ContainerAppsClient {
*/
@Host("{$host}")
@ServiceInterface(name = "ContainerAppsApiClie")
- private interface ContainerAppsService {
+ public interface ContainerAppsService {
@Headers({"Content-Type: application/json"})
@Get("/subscriptions/{subscriptionId}/providers/Microsoft.App/containerApps")
@ExpectedResponses({200})
@@ -95,10 +95,12 @@ Mono> listByResourceGroup(
@Headers({"Content-Type: application/json"})
@Get(
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/containerApps"
- + "/{containerAppName}")
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/containerApps/{containerAppName}")
@ExpectedResponses({200})
- @UnexpectedResponseExceptionType(ManagementException.class)
+ @UnexpectedResponseExceptionType(
+ value = ManagementException.class,
+ code = {404})
+ @UnexpectedResponseExceptionType(DefaultErrorResponseErrorException.class)
Mono> getByResourceGroup(
@HostParam("$host") String endpoint,
@PathParam("subscriptionId") String subscriptionId,
@@ -110,8 +112,7 @@ Mono> getByResourceGroup(
@Headers({"Content-Type: application/json"})
@Put(
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/containerApps"
- + "/{containerAppName}")
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/containerApps/{containerAppName}")
@ExpectedResponses({200, 201})
@UnexpectedResponseExceptionType(DefaultErrorResponseErrorException.class)
Mono>> createOrUpdate(
@@ -126,8 +127,7 @@ Mono>> createOrUpdate(
@Headers({"Content-Type: application/json"})
@Delete(
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/containerApps"
- + "/{containerAppName}")
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/containerApps/{containerAppName}")
@ExpectedResponses({200, 202, 204})
@UnexpectedResponseExceptionType(DefaultErrorResponseErrorException.class)
Mono>> delete(
@@ -141,9 +141,8 @@ Mono>> delete(
@Headers({"Content-Type: application/json"})
@Patch(
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/containerApps"
- + "/{containerAppName}")
- @ExpectedResponses({202})
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/containerApps/{containerAppName}")
+ @ExpectedResponses({200, 202})
@UnexpectedResponseExceptionType(DefaultErrorResponseErrorException.class)
Mono>> update(
@HostParam("$host") String endpoint,
@@ -157,8 +156,7 @@ Mono>> update(
@Headers({"Content-Type: application/json"})
@Post(
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/containerApps"
- + "/{containerAppName}/listCustomHostNameAnalysis")
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/containerApps/{containerAppName}/listCustomHostNameAnalysis")
@ExpectedResponses({200})
@UnexpectedResponseExceptionType(DefaultErrorResponseErrorException.class)
Mono> listCustomHostnameAnalysis(
@@ -173,8 +171,7 @@ Mono> listCustomHostnameAnalysis(
@Headers({"Content-Type: application/json"})
@Post(
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/containerApps"
- + "/{containerAppName}/listSecrets")
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/containerApps/{containerAppName}/listSecrets")
@ExpectedResponses({200})
@UnexpectedResponseExceptionType(DefaultErrorResponseErrorException.class)
Mono> listSecrets(
@@ -188,10 +185,12 @@ Mono> listSecrets(
@Headers({"Content-Type: application/json"})
@Post(
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/containerApps"
- + "/{containerAppName}/getAuthtoken")
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/containerApps/{containerAppName}/getAuthtoken")
@ExpectedResponses({200})
- @UnexpectedResponseExceptionType(ManagementException.class)
+ @UnexpectedResponseExceptionType(
+ value = ManagementException.class,
+ code = {404})
+ @UnexpectedResponseExceptionType(DefaultErrorResponseErrorException.class)
Mono> getAuthToken(
@HostParam("$host") String endpoint,
@PathParam("subscriptionId") String subscriptionId,
@@ -536,7 +535,8 @@ public PagedIterable listByResourceGroup(String resourceGroup
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param containerAppName Name of the Container App.
* @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws ManagementException thrown if the request is rejected by server.
+ * @throws DefaultErrorResponseErrorException thrown if the request is rejected by server.
+ * @throws ManagementException thrown if the request is rejected by server on status code 404.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the properties of a Container App along with {@link Response} on successful completion of {@link Mono}.
*/
@@ -586,7 +586,8 @@ private Mono> getByResourceGroupWithResponseAsync(
* @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 ManagementException thrown if the request is rejected by server.
+ * @throws DefaultErrorResponseErrorException thrown if the request is rejected by server.
+ * @throws ManagementException thrown if the request is rejected by server on status code 404.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the properties of a Container App along with {@link Response} on successful completion of {@link Mono}.
*/
@@ -632,7 +633,8 @@ private Mono> getByResourceGroupWithResponseAsync(
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param containerAppName Name of the Container App.
* @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws ManagementException thrown if the request is rejected by server.
+ * @throws DefaultErrorResponseErrorException thrown if the request is rejected by server.
+ * @throws ManagementException thrown if the request is rejected by server on status code 404.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the properties of a Container App on successful completion of {@link Mono}.
*/
@@ -649,7 +651,8 @@ private Mono getByResourceGroupAsync(String resourceGroupName
* @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 ManagementException thrown if the request is rejected by server.
+ * @throws DefaultErrorResponseErrorException thrown if the request is rejected by server.
+ * @throws ManagementException thrown if the request is rejected by server on status code 404.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the properties of a Container App along with {@link Response}.
*/
@@ -665,7 +668,8 @@ public Response getByResourceGroupWithResponse(
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param containerAppName Name of the Container App.
* @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws ManagementException thrown if the request is rejected by server.
+ * @throws DefaultErrorResponseErrorException thrown if the request is rejected by server.
+ * @throws ManagementException thrown if the request is rejected by server on status code 404.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the properties of a Container App.
*/
@@ -850,7 +854,7 @@ private PollerFlux, ContainerAppInner> beginCreate
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
public SyncPoller, ContainerAppInner> beginCreateOrUpdate(
String resourceGroupName, String containerAppName, ContainerAppInner containerAppEnvelope) {
- return beginCreateOrUpdateAsync(resourceGroupName, containerAppName, containerAppEnvelope).getSyncPoller();
+ return this.beginCreateOrUpdateAsync(resourceGroupName, containerAppName, containerAppEnvelope).getSyncPoller();
}
/**
@@ -868,7 +872,8 @@ public SyncPoller, ContainerAppInner> beginCreateO
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
public SyncPoller, ContainerAppInner> beginCreateOrUpdate(
String resourceGroupName, String containerAppName, ContainerAppInner containerAppEnvelope, Context context) {
- return beginCreateOrUpdateAsync(resourceGroupName, containerAppName, containerAppEnvelope, context)
+ return this
+ .beginCreateOrUpdateAsync(resourceGroupName, containerAppName, containerAppEnvelope, context)
.getSyncPoller();
}
@@ -1094,7 +1099,7 @@ private PollerFlux, Void> beginDeleteAsync(
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
public SyncPoller, Void> beginDelete(String resourceGroupName, String containerAppName) {
- return beginDeleteAsync(resourceGroupName, containerAppName).getSyncPoller();
+ return this.beginDeleteAsync(resourceGroupName, containerAppName).getSyncPoller();
}
/**
@@ -1111,7 +1116,7 @@ public SyncPoller, Void> beginDelete(String resourceGroupName,
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
public SyncPoller, Void> beginDelete(
String resourceGroupName, String containerAppName, Context context) {
- return beginDeleteAsync(resourceGroupName, containerAppName, context).getSyncPoller();
+ return this.beginDeleteAsync(resourceGroupName, containerAppName, context).getSyncPoller();
}
/**
@@ -1189,7 +1194,7 @@ public void delete(String resourceGroupName, String containerAppName, Context co
* @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 {@link Response} on successful completion of {@link Mono}.
+ * @return container App along with {@link Response} on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
private Mono>> updateWithResponseAsync(
@@ -1249,7 +1254,7 @@ private Mono>> updateWithResponseAsync(
* @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 {@link Response} on successful completion of {@link Mono}.
+ * @return container App along with {@link Response} on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
private Mono>> updateWithResponseAsync(
@@ -1305,17 +1310,21 @@ private Mono>> updateWithResponseAsync(
* @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 {@link PollerFlux} for polling of long-running operation.
+ * @return the {@link PollerFlux} for polling of container App.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- private PollerFlux, Void> beginUpdateAsync(
+ private PollerFlux, ContainerAppInner> beginUpdateAsync(
String resourceGroupName, String containerAppName, ContainerAppInner containerAppEnvelope) {
Mono>> mono =
updateWithResponseAsync(resourceGroupName, containerAppName, containerAppEnvelope);
return this
.client
- .getLroResult(
- mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext());
+ .getLroResult(
+ mono,
+ this.client.getHttpPipeline(),
+ ContainerAppInner.class,
+ ContainerAppInner.class,
+ this.client.getContext());
}
/**
@@ -1330,17 +1339,18 @@ private PollerFlux, Void> beginUpdateAsync(
* @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 {@link PollerFlux} for polling of long-running operation.
+ * @return the {@link PollerFlux} for polling of container App.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- private PollerFlux, Void> beginUpdateAsync(
+ private PollerFlux, ContainerAppInner> beginUpdateAsync(
String resourceGroupName, String containerAppName, ContainerAppInner containerAppEnvelope, Context context) {
context = this.client.mergeContext(context);
Mono>> mono =
updateWithResponseAsync(resourceGroupName, containerAppName, containerAppEnvelope, context);
return this
.client
- .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, context);
+ .getLroResult(
+ mono, this.client.getHttpPipeline(), ContainerAppInner.class, ContainerAppInner.class, context);
}
/**
@@ -1354,12 +1364,12 @@ private PollerFlux, Void> beginUpdateAsync(
* @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 {@link SyncPoller} for polling of long-running operation.
+ * @return the {@link SyncPoller} for polling of container App.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- public SyncPoller, Void> beginUpdate(
+ public SyncPoller, ContainerAppInner> beginUpdate(
String resourceGroupName, String containerAppName, ContainerAppInner containerAppEnvelope) {
- return beginUpdateAsync(resourceGroupName, containerAppName, containerAppEnvelope).getSyncPoller();
+ return this.beginUpdateAsync(resourceGroupName, containerAppName, containerAppEnvelope).getSyncPoller();
}
/**
@@ -1374,12 +1384,14 @@ public SyncPoller, Void> beginUpdate(
* @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 {@link SyncPoller} for polling of long-running operation.
+ * @return the {@link SyncPoller} for polling of container App.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- public SyncPoller, Void> beginUpdate(
+ public SyncPoller, ContainerAppInner> beginUpdate(
String resourceGroupName, String containerAppName, ContainerAppInner containerAppEnvelope, Context context) {
- return beginUpdateAsync(resourceGroupName, containerAppName, containerAppEnvelope, context).getSyncPoller();
+ return this
+ .beginUpdateAsync(resourceGroupName, containerAppName, containerAppEnvelope, context)
+ .getSyncPoller();
}
/**
@@ -1393,10 +1405,10 @@ public SyncPoller, Void> beginUpdate(
* @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.
+ * @return container App on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- private Mono updateAsync(
+ private Mono updateAsync(
String resourceGroupName, String containerAppName, ContainerAppInner containerAppEnvelope) {
return beginUpdateAsync(resourceGroupName, containerAppName, containerAppEnvelope)
.last()
@@ -1415,10 +1427,10 @@ private Mono updateAsync(
* @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.
+ * @return container App on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- private Mono updateAsync(
+ private Mono