diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/ContainerAppsApiManager.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/ContainerAppsApiManager.java
index 2cda5dd69c19..702efa58f7df 100644
--- a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/ContainerAppsApiManager.java
+++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/ContainerAppsApiManager.java
@@ -24,26 +24,44 @@
import com.azure.core.util.Configuration;
import com.azure.core.util.logging.ClientLogger;
import com.azure.resourcemanager.appcontainers.fluent.ContainerAppsApiClient;
+import com.azure.resourcemanager.appcontainers.implementation.AvailableWorkloadProfilesImpl;
+import com.azure.resourcemanager.appcontainers.implementation.BillingMetersImpl;
import com.azure.resourcemanager.appcontainers.implementation.CertificatesImpl;
+import com.azure.resourcemanager.appcontainers.implementation.ConnectedEnvironmentsCertificatesImpl;
+import com.azure.resourcemanager.appcontainers.implementation.ConnectedEnvironmentsDaprComponentsImpl;
+import com.azure.resourcemanager.appcontainers.implementation.ConnectedEnvironmentsImpl;
+import com.azure.resourcemanager.appcontainers.implementation.ConnectedEnvironmentsStoragesImpl;
import com.azure.resourcemanager.appcontainers.implementation.ContainerAppsApiClientBuilder;
import com.azure.resourcemanager.appcontainers.implementation.ContainerAppsAuthConfigsImpl;
+import com.azure.resourcemanager.appcontainers.implementation.ContainerAppsDiagnosticsImpl;
import com.azure.resourcemanager.appcontainers.implementation.ContainerAppsImpl;
import com.azure.resourcemanager.appcontainers.implementation.ContainerAppsRevisionReplicasImpl;
import com.azure.resourcemanager.appcontainers.implementation.ContainerAppsRevisionsImpl;
import com.azure.resourcemanager.appcontainers.implementation.ContainerAppsSourceControlsImpl;
import com.azure.resourcemanager.appcontainers.implementation.DaprComponentsImpl;
+import com.azure.resourcemanager.appcontainers.implementation.ManagedEnvironmentDiagnosticsImpl;
+import com.azure.resourcemanager.appcontainers.implementation.ManagedEnvironmentsDiagnosticsImpl;
import com.azure.resourcemanager.appcontainers.implementation.ManagedEnvironmentsImpl;
import com.azure.resourcemanager.appcontainers.implementation.ManagedEnvironmentsStoragesImpl;
import com.azure.resourcemanager.appcontainers.implementation.NamespacesImpl;
import com.azure.resourcemanager.appcontainers.implementation.OperationsImpl;
+import com.azure.resourcemanager.appcontainers.models.AvailableWorkloadProfiles;
+import com.azure.resourcemanager.appcontainers.models.BillingMeters;
import com.azure.resourcemanager.appcontainers.models.Certificates;
+import com.azure.resourcemanager.appcontainers.models.ConnectedEnvironments;
+import com.azure.resourcemanager.appcontainers.models.ConnectedEnvironmentsCertificates;
+import com.azure.resourcemanager.appcontainers.models.ConnectedEnvironmentsDaprComponents;
+import com.azure.resourcemanager.appcontainers.models.ConnectedEnvironmentsStorages;
import com.azure.resourcemanager.appcontainers.models.ContainerApps;
import com.azure.resourcemanager.appcontainers.models.ContainerAppsAuthConfigs;
+import com.azure.resourcemanager.appcontainers.models.ContainerAppsDiagnostics;
import com.azure.resourcemanager.appcontainers.models.ContainerAppsRevisionReplicas;
import com.azure.resourcemanager.appcontainers.models.ContainerAppsRevisions;
import com.azure.resourcemanager.appcontainers.models.ContainerAppsSourceControls;
import com.azure.resourcemanager.appcontainers.models.DaprComponents;
+import com.azure.resourcemanager.appcontainers.models.ManagedEnvironmentDiagnostics;
import com.azure.resourcemanager.appcontainers.models.ManagedEnvironments;
+import com.azure.resourcemanager.appcontainers.models.ManagedEnvironmentsDiagnostics;
import com.azure.resourcemanager.appcontainers.models.ManagedEnvironmentsStorages;
import com.azure.resourcemanager.appcontainers.models.Namespaces;
import com.azure.resourcemanager.appcontainers.models.Operations;
@@ -66,6 +84,12 @@ public final class ContainerAppsApiManager {
private DaprComponents daprComponents;
+ private ContainerAppsDiagnostics containerAppsDiagnostics;
+
+ private ManagedEnvironmentDiagnostics managedEnvironmentDiagnostics;
+
+ private ManagedEnvironmentsDiagnostics managedEnvironmentsDiagnostics;
+
private Operations operations;
private ManagedEnvironments managedEnvironments;
@@ -78,6 +102,18 @@ public final class ContainerAppsApiManager {
private ContainerAppsSourceControls containerAppsSourceControls;
+ private ConnectedEnvironments connectedEnvironments;
+
+ private ConnectedEnvironmentsCertificates connectedEnvironmentsCertificates;
+
+ private ConnectedEnvironmentsDaprComponents connectedEnvironmentsDaprComponents;
+
+ private ConnectedEnvironmentsStorages connectedEnvironmentsStorages;
+
+ private AvailableWorkloadProfiles availableWorkloadProfiles;
+
+ private BillingMeters billingMeters;
+
private final ContainerAppsApiClient clientObject;
private ContainerAppsApiManager(HttpPipeline httpPipeline, AzureProfile profile, Duration defaultPollInterval) {
@@ -243,7 +279,7 @@ public ContainerAppsApiManager authenticate(TokenCredential credential, AzurePro
.append("-")
.append("com.azure.resourcemanager.appcontainers")
.append("/")
- .append("1.0.0-beta.3");
+ .append("1.0.0-beta.1");
if (!Configuration.getGlobalConfiguration().get("AZURE_TELEMETRY_DISABLED", false)) {
userAgentBuilder
.append(" (")
@@ -363,6 +399,45 @@ public DaprComponents daprComponents() {
return daprComponents;
}
+ /**
+ * Gets the resource collection API of ContainerAppsDiagnostics.
+ *
+ * @return Resource collection API of ContainerAppsDiagnostics.
+ */
+ public ContainerAppsDiagnostics containerAppsDiagnostics() {
+ if (this.containerAppsDiagnostics == null) {
+ this.containerAppsDiagnostics =
+ new ContainerAppsDiagnosticsImpl(clientObject.getContainerAppsDiagnostics(), this);
+ }
+ return containerAppsDiagnostics;
+ }
+
+ /**
+ * Gets the resource collection API of ManagedEnvironmentDiagnostics.
+ *
+ * @return Resource collection API of ManagedEnvironmentDiagnostics.
+ */
+ public ManagedEnvironmentDiagnostics managedEnvironmentDiagnostics() {
+ if (this.managedEnvironmentDiagnostics == null) {
+ this.managedEnvironmentDiagnostics =
+ new ManagedEnvironmentDiagnosticsImpl(clientObject.getManagedEnvironmentDiagnostics(), this);
+ }
+ return managedEnvironmentDiagnostics;
+ }
+
+ /**
+ * Gets the resource collection API of ManagedEnvironmentsDiagnostics.
+ *
+ * @return Resource collection API of ManagedEnvironmentsDiagnostics.
+ */
+ public ManagedEnvironmentsDiagnostics managedEnvironmentsDiagnostics() {
+ if (this.managedEnvironmentsDiagnostics == null) {
+ this.managedEnvironmentsDiagnostics =
+ new ManagedEnvironmentsDiagnosticsImpl(clientObject.getManagedEnvironmentsDiagnostics(), this);
+ }
+ return managedEnvironmentsDiagnostics;
+ }
+
/**
* Gets the resource collection API of Operations.
*
@@ -437,6 +512,83 @@ public ContainerAppsSourceControls containerAppsSourceControls() {
return containerAppsSourceControls;
}
+ /**
+ * Gets the resource collection API of ConnectedEnvironments. It manages ConnectedEnvironment.
+ *
+ * @return Resource collection API of ConnectedEnvironments.
+ */
+ public ConnectedEnvironments connectedEnvironments() {
+ if (this.connectedEnvironments == null) {
+ this.connectedEnvironments = new ConnectedEnvironmentsImpl(clientObject.getConnectedEnvironments(), this);
+ }
+ return connectedEnvironments;
+ }
+
+ /**
+ * Gets the resource collection API of ConnectedEnvironmentsCertificates.
+ *
+ * @return Resource collection API of ConnectedEnvironmentsCertificates.
+ */
+ public ConnectedEnvironmentsCertificates connectedEnvironmentsCertificates() {
+ if (this.connectedEnvironmentsCertificates == null) {
+ this.connectedEnvironmentsCertificates =
+ new ConnectedEnvironmentsCertificatesImpl(clientObject.getConnectedEnvironmentsCertificates(), this);
+ }
+ return connectedEnvironmentsCertificates;
+ }
+
+ /**
+ * Gets the resource collection API of ConnectedEnvironmentsDaprComponents.
+ *
+ * @return Resource collection API of ConnectedEnvironmentsDaprComponents.
+ */
+ public ConnectedEnvironmentsDaprComponents connectedEnvironmentsDaprComponents() {
+ if (this.connectedEnvironmentsDaprComponents == null) {
+ this.connectedEnvironmentsDaprComponents =
+ new ConnectedEnvironmentsDaprComponentsImpl(
+ clientObject.getConnectedEnvironmentsDaprComponents(), this);
+ }
+ return connectedEnvironmentsDaprComponents;
+ }
+
+ /**
+ * Gets the resource collection API of ConnectedEnvironmentsStorages. It manages ConnectedEnvironmentStorage.
+ *
+ * @return Resource collection API of ConnectedEnvironmentsStorages.
+ */
+ public ConnectedEnvironmentsStorages connectedEnvironmentsStorages() {
+ if (this.connectedEnvironmentsStorages == null) {
+ this.connectedEnvironmentsStorages =
+ new ConnectedEnvironmentsStoragesImpl(clientObject.getConnectedEnvironmentsStorages(), this);
+ }
+ return connectedEnvironmentsStorages;
+ }
+
+ /**
+ * Gets the resource collection API of AvailableWorkloadProfiles.
+ *
+ * @return Resource collection API of AvailableWorkloadProfiles.
+ */
+ public AvailableWorkloadProfiles availableWorkloadProfiles() {
+ if (this.availableWorkloadProfiles == null) {
+ this.availableWorkloadProfiles =
+ new AvailableWorkloadProfilesImpl(clientObject.getAvailableWorkloadProfiles(), this);
+ }
+ return availableWorkloadProfiles;
+ }
+
+ /**
+ * Gets the resource collection API of BillingMeters.
+ *
+ * @return Resource collection API of BillingMeters.
+ */
+ public BillingMeters billingMeters() {
+ if (this.billingMeters == null) {
+ this.billingMeters = new BillingMetersImpl(clientObject.getBillingMeters(), this);
+ }
+ return billingMeters;
+ }
+
/**
* @return Wrapped service client ContainerAppsApiClient providing direct access to the underlying auto-generated
* API implementation, based on Azure REST API.
diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/AvailableWorkloadProfilesClient.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/AvailableWorkloadProfilesClient.java
new file mode 100644
index 000000000000..1c4ae5157f86
--- /dev/null
+++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/AvailableWorkloadProfilesClient.java
@@ -0,0 +1,43 @@
+// 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.AvailableWorkloadProfileInner;
+
+/** An instance of this class provides access to all the operations defined in AvailableWorkloadProfilesClient. */
+public interface AvailableWorkloadProfilesClient {
+ /**
+ * Get available workload profiles by location.
+ *
+ * Get all available workload profiles for a location.
+ *
+ * @param location The name of Azure region.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return all available workload profiles for a location as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable get(String location);
+
+ /**
+ * Get available workload profiles by location.
+ *
+ * Get all available workload profiles for a location.
+ *
+ * @param location The name of Azure region.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return all available workload profiles for a location as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable get(String location, Context context);
+}
diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/BillingMetersClient.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/BillingMetersClient.java
new file mode 100644
index 000000000000..b6877f2b5e11
--- /dev/null
+++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/BillingMetersClient.java
@@ -0,0 +1,45 @@
+// 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.Response;
+import com.azure.core.util.Context;
+import com.azure.resourcemanager.appcontainers.fluent.models.BillingMeterCollectionInner;
+
+/** An instance of this class provides access to all the operations defined in BillingMetersClient. */
+public interface BillingMetersClient {
+ /**
+ * Get billing meters by location.
+ *
+ * Get all billingMeters for a location.
+ *
+ * @param location The name of Azure region.
+ * @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 all billingMeters for a location along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getWithResponse(String location, Context context);
+
+ /**
+ * Get billing meters by location.
+ *
+ * Get all billingMeters for a location.
+ *
+ * @param location The name of Azure region.
+ * @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 all billingMeters for a location.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ BillingMeterCollectionInner get(String location);
+}
diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/CertificatesClient.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/CertificatesClient.java
index 32178bc86902..1e66f7dd0665 100644
--- a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/CertificatesClient.java
+++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/CertificatesClient.java
@@ -43,21 +43,6 @@ public interface CertificatesClient {
@ServiceMethod(returns = ReturnType.COLLECTION)
PagedIterable list(String resourceGroupName, String environmentName, Context context);
- /**
- * Get the specified Certificate.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param environmentName Name of the Managed Environment.
- * @param certificateName Name of the Certificate.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
- * is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the specified Certificate.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- CertificateInner get(String resourceGroupName, String environmentName, String certificateName);
-
/**
* Get the specified Certificate.
*
@@ -76,7 +61,7 @@ Response getWithResponse(
String resourceGroupName, String environmentName, String certificateName, Context context);
/**
- * Create or Update a Certificate.
+ * Get the specified Certificate.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param environmentName Name of the Managed Environment.
@@ -85,10 +70,10 @@ Response getWithResponse(
* @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
* is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return certificate used for Custom Domain bindings of Container Apps in a Managed Environment.
+ * @return the specified Certificate.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- CertificateInner createOrUpdate(String resourceGroupName, String environmentName, String certificateName);
+ CertificateInner get(String resourceGroupName, String environmentName, String certificateName);
/**
* Create or Update a Certificate.
@@ -114,7 +99,7 @@ Response createOrUpdateWithResponse(
Context context);
/**
- * Deletes the specified Certificate.
+ * Create or Update a Certificate.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param environmentName Name of the Managed Environment.
@@ -123,9 +108,10 @@ Response createOrUpdateWithResponse(
* @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
* is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return certificate used for Custom Domain bindings of Container Apps in a Managed Environment.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- void delete(String resourceGroupName, String environmentName, String certificateName);
+ CertificateInner createOrUpdate(String resourceGroupName, String environmentName, String certificateName);
/**
* Deletes the specified Certificate.
@@ -145,24 +131,23 @@ Response deleteWithResponse(
String resourceGroupName, String environmentName, String certificateName, Context context);
/**
- * Patches a certificate. Currently only patching of tags is supported.
+ * Deletes the specified Certificate.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param environmentName Name of the Managed Environment.
* @param certificateName Name of the Certificate.
- * @param certificateEnvelope Properties of a certificate that need to be updated.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
* is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return certificate used for Custom Domain bindings of Container Apps in a Managed Environment.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- CertificateInner update(
- String resourceGroupName, String environmentName, String certificateName, CertificatePatch certificateEnvelope);
+ void delete(String resourceGroupName, String environmentName, String certificateName);
/**
- * Patches a certificate. Currently only patching of tags is supported.
+ * Update properties of a certificate
+ *
+ * Patches a certificate. Currently only 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.
@@ -183,4 +168,23 @@ Response updateWithResponse(
String certificateName,
CertificatePatch certificateEnvelope,
Context context);
+
+ /**
+ * Update properties of a certificate
+ *
+ * Patches a certificate. Currently only 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 certificateName Name of the Certificate.
+ * @param certificateEnvelope Properties of a certificate that need to be updated.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
+ * is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return certificate used for Custom Domain bindings of Container Apps in a Managed Environment.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ CertificateInner update(
+ String resourceGroupName, String environmentName, String certificateName, CertificatePatch certificateEnvelope);
}
diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/ConnectedEnvironmentsCertificatesClient.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/ConnectedEnvironmentsCertificatesClient.java
new file mode 100644
index 000000000000..3924eac328c3
--- /dev/null
+++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/ConnectedEnvironmentsCertificatesClient.java
@@ -0,0 +1,195 @@
+// 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.util.Context;
+import com.azure.resourcemanager.appcontainers.fluent.models.CertificateInner;
+import com.azure.resourcemanager.appcontainers.models.CertificatePatch;
+
+/**
+ * An instance of this class provides access to all the operations defined in ConnectedEnvironmentsCertificatesClient.
+ */
+public interface ConnectedEnvironmentsCertificatesClient {
+ /**
+ * Get the Certificates in a given connected environment.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param connectedEnvironmentName Name of the Connected Environment.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
+ * is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the Certificates in a given connected environment as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(String resourceGroupName, String connectedEnvironmentName);
+
+ /**
+ * Get the Certificates in a given connected environment.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param connectedEnvironmentName Name of the Connected 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 Certificates in a given connected environment as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(String resourceGroupName, String connectedEnvironmentName, Context context);
+
+ /**
+ * Get the specified Certificate.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param connectedEnvironmentName Name of the Connected Environment.
+ * @param certificateName Name of the Certificate.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
+ * is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the specified Certificate along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getWithResponse(
+ String resourceGroupName, String connectedEnvironmentName, String certificateName, Context context);
+
+ /**
+ * Get the specified Certificate.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param connectedEnvironmentName Name of the Connected Environment.
+ * @param certificateName Name of the Certificate.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
+ * is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the specified Certificate.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ CertificateInner get(String resourceGroupName, String connectedEnvironmentName, String certificateName);
+
+ /**
+ * Create or Update a Certificate.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param connectedEnvironmentName Name of the Connected Environment.
+ * @param certificateName Name of the Certificate.
+ * @param certificateEnvelope Certificate to be created or updated.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
+ * is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return certificate used for Custom Domain bindings of Container Apps in a Managed Environment along with {@link
+ * Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response createOrUpdateWithResponse(
+ String resourceGroupName,
+ String connectedEnvironmentName,
+ String certificateName,
+ CertificateInner certificateEnvelope,
+ Context context);
+
+ /**
+ * Create or Update a Certificate.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param connectedEnvironmentName Name of the Connected Environment.
+ * @param certificateName Name of the Certificate.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
+ * is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return certificate used for Custom Domain bindings of Container Apps in a Managed Environment.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ CertificateInner createOrUpdate(String resourceGroupName, String connectedEnvironmentName, String certificateName);
+
+ /**
+ * Deletes the specified Certificate.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param connectedEnvironmentName Name of the Connected Environment.
+ * @param certificateName Name of the Certificate.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
+ * 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 connectedEnvironmentName, String certificateName, Context context);
+
+ /**
+ * Deletes the specified Certificate.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param connectedEnvironmentName Name of the Connected Environment.
+ * @param certificateName Name of the Certificate.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
+ * is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ void delete(String resourceGroupName, String connectedEnvironmentName, String certificateName);
+
+ /**
+ * Update properties of a certificate
+ *
+ * Patches a certificate. Currently only patching of tags is supported.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param connectedEnvironmentName Name of the Connected Environment.
+ * @param certificateName Name of the Certificate.
+ * @param certificateEnvelope Properties of a certificate that need to be updated.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
+ * is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return certificate used for Custom Domain bindings of Container Apps in a Managed Environment along with {@link
+ * Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response updateWithResponse(
+ String resourceGroupName,
+ String connectedEnvironmentName,
+ String certificateName,
+ CertificatePatch certificateEnvelope,
+ Context context);
+
+ /**
+ * Update properties of a certificate
+ *
+ * Patches a certificate. Currently only patching of tags is supported.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param connectedEnvironmentName Name of the Connected Environment.
+ * @param certificateName Name of the Certificate.
+ * @param certificateEnvelope Properties of a certificate that need to be updated.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
+ * is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return certificate used for Custom Domain bindings of Container Apps in a Managed Environment.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ CertificateInner update(
+ String resourceGroupName,
+ String connectedEnvironmentName,
+ String certificateName,
+ CertificatePatch certificateEnvelope);
+}
diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/ConnectedEnvironmentsClient.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/ConnectedEnvironmentsClient.java
new file mode 100644
index 000000000000..efa280c81bfa
--- /dev/null
+++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/ConnectedEnvironmentsClient.java
@@ -0,0 +1,308 @@
+// 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.CheckNameAvailabilityResponseInner;
+import com.azure.resourcemanager.appcontainers.fluent.models.ConnectedEnvironmentInner;
+import com.azure.resourcemanager.appcontainers.models.CheckNameAvailabilityRequest;
+
+/** An instance of this class provides access to all the operations defined in ConnectedEnvironmentsClient. */
+public interface ConnectedEnvironmentsClient {
+ /**
+ * Get all connectedEnvironments for a subscription.
+ *
+ * @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 connectedEnvironments for a subscription as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list();
+
+ /**
+ * Get all connectedEnvironments for a subscription.
+ *
+ * @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 all connectedEnvironments for a subscription as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(Context context);
+
+ /**
+ * Get all connectedEnvironments in a resource group.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @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 all connectedEnvironments in a resource group as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listByResourceGroup(String resourceGroupName);
+
+ /**
+ * Get all connectedEnvironments in a resource group.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @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 all connectedEnvironments in a resource group as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listByResourceGroup(String resourceGroupName, Context context);
+
+ /**
+ * Get the properties of an connectedEnvironment.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param connectedEnvironmentName Name of the connectedEnvironment.
+ * @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 properties of an connectedEnvironment along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getByResourceGroupWithResponse(
+ String resourceGroupName, String connectedEnvironmentName, Context context);
+
+ /**
+ * Get the properties of an connectedEnvironment.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param connectedEnvironmentName Name of the connectedEnvironment.
+ * @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 properties of an connectedEnvironment.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ ConnectedEnvironmentInner getByResourceGroup(String resourceGroupName, String connectedEnvironmentName);
+
+ /**
+ * Creates or updates an connectedEnvironment.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param connectedEnvironmentName Name of the connectedEnvironment.
+ * @param environmentEnvelope Configuration details of the connectedEnvironment.
+ * @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 an environment for Kubernetes cluster specialized for web workloads
+ * by Azure App Service.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, ConnectedEnvironmentInner> beginCreateOrUpdate(
+ String resourceGroupName, String connectedEnvironmentName, ConnectedEnvironmentInner environmentEnvelope);
+
+ /**
+ * Creates or updates an connectedEnvironment.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param connectedEnvironmentName Name of the connectedEnvironment.
+ * @param environmentEnvelope Configuration details of the connectedEnvironment.
+ * @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 an environment for Kubernetes cluster specialized for web workloads
+ * by Azure App Service.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, ConnectedEnvironmentInner> beginCreateOrUpdate(
+ String resourceGroupName,
+ String connectedEnvironmentName,
+ ConnectedEnvironmentInner environmentEnvelope,
+ Context context);
+
+ /**
+ * Creates or updates an connectedEnvironment.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param connectedEnvironmentName Name of the connectedEnvironment.
+ * @param environmentEnvelope Configuration details of the connectedEnvironment.
+ * @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 an environment for Kubernetes cluster specialized for web workloads by Azure App Service.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ ConnectedEnvironmentInner createOrUpdate(
+ String resourceGroupName, String connectedEnvironmentName, ConnectedEnvironmentInner environmentEnvelope);
+
+ /**
+ * Creates or updates an connectedEnvironment.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param connectedEnvironmentName Name of the connectedEnvironment.
+ * @param environmentEnvelope Configuration details of the connectedEnvironment.
+ * @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 an environment for Kubernetes cluster specialized for web workloads by Azure App Service.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ ConnectedEnvironmentInner createOrUpdate(
+ String resourceGroupName,
+ String connectedEnvironmentName,
+ ConnectedEnvironmentInner environmentEnvelope,
+ Context context);
+
+ /**
+ * Delete an connectedEnvironment.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param connectedEnvironmentName Name of the connectedEnvironment.
+ * @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> beginDelete(String resourceGroupName, String connectedEnvironmentName);
+
+ /**
+ * Delete an connectedEnvironment.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param connectedEnvironmentName Name of the connectedEnvironment.
+ * @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> beginDelete(
+ String resourceGroupName, String connectedEnvironmentName, Context context);
+
+ /**
+ * Delete an connectedEnvironment.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param connectedEnvironmentName Name of the connectedEnvironment.
+ * @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 connectedEnvironmentName);
+
+ /**
+ * Delete an connectedEnvironment.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param connectedEnvironmentName Name of the connectedEnvironment.
+ * @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 connectedEnvironmentName, Context context);
+
+ /**
+ * Update connected Environment's properties.
+ *
+ * Patches a Managed Environment. Only patching of tags is supported currently.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param connectedEnvironmentName Name of the connectedEnvironment.
+ * @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 an environment for Kubernetes cluster specialized for web workloads by Azure App Service along with
+ * {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response updateWithResponse(
+ String resourceGroupName, String connectedEnvironmentName, Context context);
+
+ /**
+ * Update connected Environment's properties.
+ *
+ * Patches a Managed Environment. Only patching of tags is supported currently.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param connectedEnvironmentName Name of the connectedEnvironment.
+ * @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 an environment for Kubernetes cluster specialized for web workloads by Azure App Service.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ ConnectedEnvironmentInner update(String resourceGroupName, String connectedEnvironmentName);
+
+ /**
+ * Checks the resource connectedEnvironmentName availability.
+ *
+ *
Checks if resource connectedEnvironmentName is available.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param connectedEnvironmentName Name of the Managed Environment.
+ * @param checkNameAvailabilityRequest The check connectedEnvironmentName availability request.
+ * @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 check availability result along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response checkNameAvailabilityWithResponse(
+ String resourceGroupName,
+ String connectedEnvironmentName,
+ CheckNameAvailabilityRequest checkNameAvailabilityRequest,
+ Context context);
+
+ /**
+ * Checks the resource connectedEnvironmentName availability.
+ *
+ * Checks if resource connectedEnvironmentName is available.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param connectedEnvironmentName Name of the Managed Environment.
+ * @param checkNameAvailabilityRequest The check connectedEnvironmentName availability request.
+ * @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 check availability result.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ CheckNameAvailabilityResponseInner checkNameAvailability(
+ String resourceGroupName,
+ String connectedEnvironmentName,
+ CheckNameAvailabilityRequest checkNameAvailabilityRequest);
+}
diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/ConnectedEnvironmentsDaprComponentsClient.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/ConnectedEnvironmentsDaprComponentsClient.java
new file mode 100644
index 000000000000..f137979cc9f8
--- /dev/null
+++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/ConnectedEnvironmentsDaprComponentsClient.java
@@ -0,0 +1,193 @@
+// 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.util.Context;
+import com.azure.resourcemanager.appcontainers.fluent.models.DaprComponentInner;
+import com.azure.resourcemanager.appcontainers.fluent.models.DaprSecretsCollectionInner;
+
+/**
+ * An instance of this class provides access to all the operations defined in ConnectedEnvironmentsDaprComponentsClient.
+ */
+public interface ConnectedEnvironmentsDaprComponentsClient {
+ /**
+ * Get the Dapr Components for a connected environment.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param connectedEnvironmentName Name of the connected 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 Dapr Components for a connected environment as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(String resourceGroupName, String connectedEnvironmentName);
+
+ /**
+ * Get the Dapr Components for a connected environment.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param connectedEnvironmentName Name of the connected 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 Dapr Components for a connected environment as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(String resourceGroupName, String connectedEnvironmentName, Context context);
+
+ /**
+ * Get a dapr component.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param connectedEnvironmentName Name of the connected environment.
+ * @param componentName Name of the Dapr Component.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
+ * is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a dapr component along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getWithResponse(
+ String resourceGroupName, String connectedEnvironmentName, String componentName, Context context);
+
+ /**
+ * Get a dapr component.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param connectedEnvironmentName Name of the connected environment.
+ * @param componentName Name of the Dapr Component.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
+ * is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a dapr component.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ DaprComponentInner get(String resourceGroupName, String connectedEnvironmentName, String componentName);
+
+ /**
+ * Creates or updates a Dapr Component.
+ *
+ * Creates or updates a Dapr Component in a connected environment.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param connectedEnvironmentName Name of the connected environment.
+ * @param componentName Name of the Dapr Component.
+ * @param daprComponentEnvelope Configuration details of the Dapr Component.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @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 dapr Component along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response createOrUpdateWithResponse(
+ String resourceGroupName,
+ String connectedEnvironmentName,
+ String componentName,
+ DaprComponentInner daprComponentEnvelope,
+ Context context);
+
+ /**
+ * Creates or updates a Dapr Component.
+ *
+ * Creates or updates a Dapr Component in a connected environment.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param connectedEnvironmentName Name of the connected environment.
+ * @param componentName Name of the Dapr Component.
+ * @param daprComponentEnvelope Configuration details of the Dapr Component.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
+ * is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return dapr Component.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ DaprComponentInner createOrUpdate(
+ String resourceGroupName,
+ String connectedEnvironmentName,
+ String componentName,
+ DaprComponentInner daprComponentEnvelope);
+
+ /**
+ * Delete a Dapr Component.
+ *
+ *
Delete a Dapr Component from a connected environment.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param connectedEnvironmentName Name of the connected environment.
+ * @param componentName Name of the Dapr Component.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
+ * 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 connectedEnvironmentName, String componentName, Context context);
+
+ /**
+ * Delete a Dapr Component.
+ *
+ * Delete a Dapr Component from a connected environment.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param connectedEnvironmentName Name of the connected environment.
+ * @param componentName Name of the Dapr Component.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
+ * is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ void delete(String resourceGroupName, String connectedEnvironmentName, String componentName);
+
+ /**
+ * List secrets for a dapr component.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param connectedEnvironmentName Name of the connected environment.
+ * @param componentName Name of the Dapr Component.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
+ * is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return dapr component Secrets Collection for ListSecrets Action along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response listSecretsWithResponse(
+ String resourceGroupName, String connectedEnvironmentName, String componentName, Context context);
+
+ /**
+ * List secrets for a dapr component.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param connectedEnvironmentName Name of the connected environment.
+ * @param componentName Name of the Dapr Component.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
+ * is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return dapr component Secrets Collection for ListSecrets Action.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ DaprSecretsCollectionInner listSecrets(
+ String resourceGroupName, String connectedEnvironmentName, String componentName);
+}
diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/ConnectedEnvironmentsStoragesClient.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/ConnectedEnvironmentsStoragesClient.java
new file mode 100644
index 000000000000..2718921f835d
--- /dev/null
+++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/ConnectedEnvironmentsStoragesClient.java
@@ -0,0 +1,150 @@
+// 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.Response;
+import com.azure.core.util.Context;
+import com.azure.resourcemanager.appcontainers.fluent.models.ConnectedEnvironmentStorageInner;
+import com.azure.resourcemanager.appcontainers.fluent.models.ConnectedEnvironmentStoragesCollectionInner;
+
+/** An instance of this class provides access to all the operations defined in ConnectedEnvironmentsStoragesClient. */
+public interface ConnectedEnvironmentsStoragesClient {
+ /**
+ * Get all storages for a connectedEnvironment.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param connectedEnvironmentName Name of the Environment.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
+ * is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return all storages for a connectedEnvironment along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response listWithResponse(
+ String resourceGroupName, String connectedEnvironmentName, Context context);
+
+ /**
+ * Get all storages for a connectedEnvironment.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param connectedEnvironmentName Name of the Environment.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
+ * is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return all storages for a connectedEnvironment.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ ConnectedEnvironmentStoragesCollectionInner list(String resourceGroupName, String connectedEnvironmentName);
+
+ /**
+ * Get storage for a connectedEnvironment.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param connectedEnvironmentName Name of the Environment.
+ * @param storageName Name of the storage.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
+ * is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return storage for a connectedEnvironment along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getWithResponse(
+ String resourceGroupName, String connectedEnvironmentName, String storageName, Context context);
+
+ /**
+ * Get storage for a connectedEnvironment.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param connectedEnvironmentName Name of the Environment.
+ * @param storageName Name of the storage.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
+ * is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return storage for a connectedEnvironment.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ ConnectedEnvironmentStorageInner get(String resourceGroupName, String connectedEnvironmentName, String storageName);
+
+ /**
+ * Create or update storage for a connectedEnvironment.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param connectedEnvironmentName Name of the Environment.
+ * @param storageName Name of the storage.
+ * @param storageEnvelope Configuration details of storage.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @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 storage resource for connectedEnvironment along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response createOrUpdateWithResponse(
+ String resourceGroupName,
+ String connectedEnvironmentName,
+ String storageName,
+ ConnectedEnvironmentStorageInner storageEnvelope,
+ Context context);
+
+ /**
+ * Create or update storage for a connectedEnvironment.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param connectedEnvironmentName Name of the Environment.
+ * @param storageName Name of the storage.
+ * @param storageEnvelope Configuration details of storage.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
+ * is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return storage resource for connectedEnvironment.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ ConnectedEnvironmentStorageInner createOrUpdate(
+ String resourceGroupName,
+ String connectedEnvironmentName,
+ String storageName,
+ ConnectedEnvironmentStorageInner storageEnvelope);
+
+ /**
+ * Delete storage for a connectedEnvironment.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param connectedEnvironmentName Name of the Environment.
+ * @param storageName Name of the storage.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
+ * 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 connectedEnvironmentName, String storageName, Context context);
+
+ /**
+ * Delete storage for a connectedEnvironment.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param connectedEnvironmentName Name of the Environment.
+ * @param storageName Name of the storage.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
+ * is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ void delete(String resourceGroupName, String connectedEnvironmentName, String storageName);
+}
diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/ContainerAppsApiClient.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/ContainerAppsApiClient.java
index 21fe87e369a8..b7f2855529f3 100644
--- a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/ContainerAppsApiClient.java
+++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/ContainerAppsApiClient.java
@@ -79,6 +79,27 @@ public interface ContainerAppsApiClient {
*/
DaprComponentsClient getDaprComponents();
+ /**
+ * Gets the ContainerAppsDiagnosticsClient object to access its operations.
+ *
+ * @return the ContainerAppsDiagnosticsClient object.
+ */
+ ContainerAppsDiagnosticsClient getContainerAppsDiagnostics();
+
+ /**
+ * Gets the ManagedEnvironmentDiagnosticsClient object to access its operations.
+ *
+ * @return the ManagedEnvironmentDiagnosticsClient object.
+ */
+ ManagedEnvironmentDiagnosticsClient getManagedEnvironmentDiagnostics();
+
+ /**
+ * Gets the ManagedEnvironmentsDiagnosticsClient object to access its operations.
+ *
+ * @return the ManagedEnvironmentsDiagnosticsClient object.
+ */
+ ManagedEnvironmentsDiagnosticsClient getManagedEnvironmentsDiagnostics();
+
/**
* Gets the OperationsClient object to access its operations.
*
@@ -120,4 +141,46 @@ public interface ContainerAppsApiClient {
* @return the ContainerAppsSourceControlsClient object.
*/
ContainerAppsSourceControlsClient getContainerAppsSourceControls();
+
+ /**
+ * Gets the ConnectedEnvironmentsClient object to access its operations.
+ *
+ * @return the ConnectedEnvironmentsClient object.
+ */
+ ConnectedEnvironmentsClient getConnectedEnvironments();
+
+ /**
+ * Gets the ConnectedEnvironmentsCertificatesClient object to access its operations.
+ *
+ * @return the ConnectedEnvironmentsCertificatesClient object.
+ */
+ ConnectedEnvironmentsCertificatesClient getConnectedEnvironmentsCertificates();
+
+ /**
+ * Gets the ConnectedEnvironmentsDaprComponentsClient object to access its operations.
+ *
+ * @return the ConnectedEnvironmentsDaprComponentsClient object.
+ */
+ ConnectedEnvironmentsDaprComponentsClient getConnectedEnvironmentsDaprComponents();
+
+ /**
+ * Gets the ConnectedEnvironmentsStoragesClient object to access its operations.
+ *
+ * @return the ConnectedEnvironmentsStoragesClient object.
+ */
+ ConnectedEnvironmentsStoragesClient getConnectedEnvironmentsStorages();
+
+ /**
+ * Gets the AvailableWorkloadProfilesClient object to access its operations.
+ *
+ * @return the AvailableWorkloadProfilesClient object.
+ */
+ AvailableWorkloadProfilesClient getAvailableWorkloadProfiles();
+
+ /**
+ * Gets the BillingMetersClient object to access its operations.
+ *
+ * @return the BillingMetersClient object.
+ */
+ BillingMetersClient getBillingMeters();
}
diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/ContainerAppsAuthConfigsClient.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/ContainerAppsAuthConfigsClient.java
index 678a87d3ac7c..9b742d9945c5 100644
--- a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/ContainerAppsAuthConfigsClient.java
+++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/ContainerAppsAuthConfigsClient.java
@@ -43,21 +43,6 @@ public interface ContainerAppsAuthConfigsClient {
PagedIterable listByContainerApp(
String resourceGroupName, String containerAppName, Context context);
- /**
- * Get a AuthConfig of a Container App.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param containerAppName Name of the Container App.
- * @param authConfigName Name of the Container App AuthConfig.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
- * is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a AuthConfig of a Container App.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- AuthConfigInner get(String resourceGroupName, String containerAppName, String authConfigName);
-
/**
* Get a AuthConfig of a Container App.
*
@@ -76,21 +61,19 @@ Response getWithResponse(
String resourceGroupName, String containerAppName, String authConfigName, Context context);
/**
- * Create or update the AuthConfig for a Container App.
+ * Get a AuthConfig of a Container App.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param containerAppName Name of the Container App.
* @param authConfigName Name of the Container App AuthConfig.
- * @param authConfigEnvelope Properties used to create a Container App AuthConfig.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
* is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return configuration settings for the Azure ContainerApp Service Authentication / Authorization feature.
+ * @return a AuthConfig of a Container App.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- AuthConfigInner createOrUpdate(
- String resourceGroupName, String containerAppName, String authConfigName, AuthConfigInner authConfigEnvelope);
+ AuthConfigInner get(String resourceGroupName, String containerAppName, String authConfigName);
/**
* Create or update the AuthConfig for a Container App.
@@ -116,18 +99,21 @@ Response createOrUpdateWithResponse(
Context context);
/**
- * Delete a Container App AuthConfig.
+ * Create or update the AuthConfig for a Container App.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param containerAppName Name of the Container App.
* @param authConfigName Name of the Container App AuthConfig.
+ * @param authConfigEnvelope Properties used to create a Container App AuthConfig.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
* is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return configuration settings for the Azure ContainerApp Service Authentication / Authorization feature.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- void delete(String resourceGroupName, String containerAppName, String authConfigName);
+ AuthConfigInner createOrUpdate(
+ String resourceGroupName, String containerAppName, String authConfigName, AuthConfigInner authConfigEnvelope);
/**
* Delete a Container App AuthConfig.
@@ -145,4 +131,18 @@ Response createOrUpdateWithResponse(
@ServiceMethod(returns = ReturnType.SINGLE)
Response deleteWithResponse(
String resourceGroupName, String containerAppName, String authConfigName, Context context);
+
+ /**
+ * Delete a Container App AuthConfig.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param containerAppName Name of the Container App.
+ * @param authConfigName Name of the Container App AuthConfig.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
+ * is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ void delete(String resourceGroupName, String containerAppName, String authConfigName);
}
diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/ContainerAppsClient.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/ContainerAppsClient.java
index 5ee0e85fc0d8..bf77072df0af 100644
--- a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/ContainerAppsClient.java
+++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/ContainerAppsClient.java
@@ -11,6 +11,7 @@
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.ContainerAppAuthTokenInner;
import com.azure.resourcemanager.appcontainers.fluent.models.ContainerAppInner;
import com.azure.resourcemanager.appcontainers.fluent.models.CustomHostnameAnalysisResultInner;
import com.azure.resourcemanager.appcontainers.fluent.models.SecretsCollectionInner;
@@ -73,28 +74,28 @@ public interface ContainerAppsClient {
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param containerAppName Name of the Container App.
+ * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the properties of a Container App.
+ * @return the properties of a Container App along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- ContainerAppInner getByResourceGroup(String resourceGroupName, String containerAppName);
+ Response getByResourceGroupWithResponse(
+ String resourceGroupName, String containerAppName, Context context);
/**
* Get the properties of a Container App.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param containerAppName Name of the Container App.
- * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @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}.
+ * @return the properties of a Container App.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response getByResourceGroupWithResponse(
- String resourceGroupName, String containerAppName, Context context);
+ ContainerAppInner getByResourceGroup(String resourceGroupName, String containerAppName);
/**
* Create or update a Container App.
@@ -219,7 +220,9 @@ ContainerAppInner createOrUpdate(
void delete(String resourceGroupName, String containerAppName, Context context);
/**
- * Patches a Container App using JSON Merge Patch.
+ * Update properties of a Container App
+ *
+ * Patches a Container App using JSON Merge Patch.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param containerAppName Name of the Container App.
@@ -235,7 +238,9 @@ SyncPoller, Void> beginUpdate(
String resourceGroupName, String containerAppName, ContainerAppInner containerAppEnvelope);
/**
- * Patches a Container App using JSON Merge Patch.
+ * Update properties of a Container App
+ *
+ * Patches a Container App using JSON Merge Patch.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param containerAppName Name of the Container App.
@@ -252,7 +257,9 @@ SyncPoller, Void> beginUpdate(
String resourceGroupName, String containerAppName, ContainerAppInner containerAppEnvelope, Context context);
/**
- * Patches a Container App using JSON Merge Patch.
+ * Update properties of a Container App
+ *
+ * Patches a Container App using JSON Merge Patch.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param containerAppName Name of the Container App.
@@ -266,7 +273,9 @@ SyncPoller, Void> beginUpdate(
void update(String resourceGroupName, String containerAppName, ContainerAppInner containerAppEnvelope);
/**
- * Patches a Container App using JSON Merge Patch.
+ * Update properties of a Container App
+ *
+ * Patches a Container App using JSON Merge Patch.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param containerAppName Name of the Container App.
@@ -281,6 +290,23 @@ SyncPoller, Void> beginUpdate(
void update(
String resourceGroupName, String containerAppName, ContainerAppInner containerAppEnvelope, Context context);
+ /**
+ * Analyzes a custom hostname for a Container App.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param containerAppName Name of the Container App.
+ * @param customHostname Custom hostname.
+ * @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 custom domain analysis along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response listCustomHostnameAnalysisWithResponse(
+ String resourceGroupName, String containerAppName, String customHostname, Context context);
+
/**
* Analyzes a custom hostname for a Container App.
*
@@ -296,21 +322,20 @@ void update(
CustomHostnameAnalysisResultInner listCustomHostnameAnalysis(String resourceGroupName, String containerAppName);
/**
- * Analyzes a custom hostname for a Container App.
+ * List secrets for a container app.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param containerAppName Name of the Container App.
- * @param customHostname Custom hostname.
* @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 custom domain analysis along with {@link Response}.
+ * @return container App Secrets Collection ARM resource along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response listCustomHostnameAnalysisWithResponse(
- String resourceGroupName, String containerAppName, String customHostname, Context context);
+ Response listSecretsWithResponse(
+ String resourceGroupName, String containerAppName, Context context);
/**
* List secrets for a container app.
@@ -327,18 +352,30 @@ Response listCustomHostnameAnalysisWithRespon
SecretsCollectionInner listSecrets(String resourceGroupName, String containerAppName);
/**
- * List secrets for a container app.
+ * Get auth token for a container app.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param containerAppName Name of the Container App.
* @param 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.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return container App Secrets Collection ARM resource along with {@link Response}.
+ * @return auth token for a container app along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response listSecretsWithResponse(
+ Response getAuthTokenWithResponse(
String resourceGroupName, String containerAppName, Context context);
+
+ /**
+ * Get auth token for a container app.
+ *
+ * @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 com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return auth token for a container app.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ ContainerAppAuthTokenInner getAuthToken(String resourceGroupName, String containerAppName);
}
diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/ContainerAppsDiagnosticsClient.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/ContainerAppsDiagnosticsClient.java
new file mode 100644
index 000000000000..661c67a8b56e
--- /dev/null
+++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/ContainerAppsDiagnosticsClient.java
@@ -0,0 +1,168 @@
+// 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.util.Context;
+import com.azure.resourcemanager.appcontainers.fluent.models.ContainerAppInner;
+import com.azure.resourcemanager.appcontainers.fluent.models.DiagnosticsInner;
+import com.azure.resourcemanager.appcontainers.fluent.models.RevisionInner;
+
+/** An instance of this class provides access to all the operations defined in ContainerAppsDiagnosticsClient. */
+public interface ContainerAppsDiagnosticsClient {
+ /**
+ * Get the list of diagnostics for a given Container App.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param containerAppName Name of the Container App for which detector info is needed.
+ * @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 list of diagnostics for a given Container App as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listDetectors(String resourceGroupName, String containerAppName);
+
+ /**
+ * Get the list of diagnostics for a given Container App.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param containerAppName Name of the Container App for which detector info is needed.
+ * @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 list of diagnostics for a given Container App as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listDetectors(String resourceGroupName, String containerAppName, Context context);
+
+ /**
+ * Get a diagnostics result of a Container App.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param containerAppName Name of the Container App.
+ * @param detectorName Name of the Container App Detector.
+ * @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 diagnostics result of a Container App along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getDetectorWithResponse(
+ String resourceGroupName, String containerAppName, String detectorName, Context context);
+
+ /**
+ * Get a diagnostics result of a Container App.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param containerAppName Name of the Container App.
+ * @param detectorName Name of the Container App Detector.
+ * @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 diagnostics result of a Container App.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ DiagnosticsInner getDetector(String resourceGroupName, String containerAppName, String detectorName);
+
+ /**
+ * Get the Revisions for a given Container App.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param containerAppName Name of the Container App for which Revisions are needed.
+ * @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 Revisions for a given Container App as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listRevisions(String resourceGroupName, String containerAppName);
+
+ /**
+ * Get the Revisions for a given Container App.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param containerAppName Name of the Container App for which Revisions are needed.
+ * @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 the Revisions for a given Container App as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listRevisions(
+ String resourceGroupName, String containerAppName, String filter, Context context);
+
+ /**
+ * Get a revision of a Container App.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param containerAppName Name of the Container App.
+ * @param revisionName Name of the Container App Revision.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
+ * is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a revision of a Container App along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getRevisionWithResponse(
+ String resourceGroupName, String containerAppName, String revisionName, Context context);
+
+ /**
+ * Get a revision of a Container App.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param containerAppName Name of the Container App.
+ * @param revisionName Name of the Container App Revision.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
+ * is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a revision of a Container App.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ RevisionInner getRevision(String resourceGroupName, String containerAppName, String revisionName);
+
+ /**
+ * Get the properties of a Container App.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param containerAppName Name of the Container App.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @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}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getRootWithResponse(String resourceGroupName, String containerAppName, Context context);
+
+ /**
+ * Get the properties of a Container App.
+ *
+ * @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 com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the properties of a Container App.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ ContainerAppInner getRoot(String resourceGroupName, String containerAppName);
+}
diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/ContainerAppsRevisionReplicasClient.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/ContainerAppsRevisionReplicasClient.java
index 33cedc706bc7..79ad30876622 100644
--- a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/ContainerAppsRevisionReplicasClient.java
+++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/ContainerAppsRevisionReplicasClient.java
@@ -20,14 +20,16 @@ public interface ContainerAppsRevisionReplicasClient {
* @param containerAppName Name of the Container App.
* @param revisionName Name of the Container App Revision.
* @param replicaName Name of the Container App Revision Replica.
+ * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
* is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a replica for a Container App Revision.
+ * @return a replica for a Container App Revision along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- ReplicaInner getReplica(String resourceGroupName, String containerAppName, String revisionName, String replicaName);
+ Response getReplicaWithResponse(
+ String resourceGroupName, String containerAppName, String revisionName, String replicaName, Context context);
/**
* Get a replica for a Container App Revision.
@@ -36,16 +38,14 @@ public interface ContainerAppsRevisionReplicasClient {
* @param containerAppName Name of the Container App.
* @param revisionName Name of the Container App Revision.
* @param replicaName Name of the Container App Revision Replica.
- * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
* is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a replica for a Container App Revision along with {@link Response}.
+ * @return a replica for a Container App Revision.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response getReplicaWithResponse(
- String resourceGroupName, String containerAppName, String revisionName, String replicaName, Context context);
+ ReplicaInner getReplica(String resourceGroupName, String containerAppName, String revisionName, String replicaName);
/**
* List replicas for a Container App Revision.
@@ -53,14 +53,16 @@ Response getReplicaWithResponse(
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param containerAppName Name of the Container App.
* @param revisionName Name of the Container App Revision.
+ * @param 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 Revision Replicas collection ARM resource.
+ * @return container App Revision Replicas collection ARM resource along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- ReplicaCollectionInner listReplicas(String resourceGroupName, String containerAppName, String revisionName);
+ Response listReplicasWithResponse(
+ String resourceGroupName, String containerAppName, String revisionName, Context context);
/**
* List replicas for a Container App Revision.
@@ -68,14 +70,12 @@ Response getReplicaWithResponse(
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param containerAppName Name of the Container App.
* @param revisionName Name of the Container App Revision.
- * @param 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 Revision Replicas collection ARM resource along with {@link Response}.
+ * @return container App Revision Replicas collection ARM resource.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response listReplicasWithResponse(
- String resourceGroupName, String containerAppName, String revisionName, Context context);
+ ReplicaCollectionInner listReplicas(String resourceGroupName, String containerAppName, String revisionName);
}
diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/ContainerAppsRevisionsClient.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/ContainerAppsRevisionsClient.java
index c5255955c77a..fc706efbed30 100644
--- a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/ContainerAppsRevisionsClient.java
+++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/ContainerAppsRevisionsClient.java
@@ -44,21 +44,6 @@ public interface ContainerAppsRevisionsClient {
PagedIterable listRevisions(
String resourceGroupName, String containerAppName, String filter, Context context);
- /**
- * Get a revision of a Container App.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param containerAppName Name of the Container App.
- * @param revisionName Name of the Container App Revision.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
- * is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a revision of a Container App.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- RevisionInner getRevision(String resourceGroupName, String containerAppName, String revisionName);
-
/**
* Get a revision of a Container App.
*
@@ -77,7 +62,7 @@ Response getRevisionWithResponse(
String resourceGroupName, String containerAppName, String revisionName, Context context);
/**
- * Activates a revision for a Container App.
+ * Get a revision of a Container App.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param containerAppName Name of the Container App.
@@ -86,9 +71,10 @@ Response getRevisionWithResponse(
* @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 revision of a Container App.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- void activateRevision(String resourceGroupName, String containerAppName, String revisionName);
+ RevisionInner getRevision(String resourceGroupName, String containerAppName, String revisionName);
/**
* Activates a revision for a Container App.
@@ -108,7 +94,7 @@ Response activateRevisionWithResponse(
String resourceGroupName, String containerAppName, String revisionName, Context context);
/**
- * Deactivates a revision for a Container App.
+ * Activates a revision for a Container App.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param containerAppName Name of the Container App.
@@ -119,7 +105,7 @@ Response activateRevisionWithResponse(
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- void deactivateRevision(String resourceGroupName, String containerAppName, String revisionName);
+ void activateRevision(String resourceGroupName, String containerAppName, String revisionName);
/**
* Deactivates a revision for a Container App.
@@ -139,7 +125,7 @@ Response deactivateRevisionWithResponse(
String resourceGroupName, String containerAppName, String revisionName, Context context);
/**
- * Restarts a revision for a Container App.
+ * Deactivates a revision for a Container App.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param containerAppName Name of the Container App.
@@ -150,7 +136,7 @@ Response deactivateRevisionWithResponse(
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- void restartRevision(String resourceGroupName, String containerAppName, String revisionName);
+ void deactivateRevision(String resourceGroupName, String containerAppName, String revisionName);
/**
* Restarts a revision for a Container App.
@@ -168,4 +154,18 @@ Response deactivateRevisionWithResponse(
@ServiceMethod(returns = ReturnType.SINGLE)
Response restartRevisionWithResponse(
String resourceGroupName, String containerAppName, String revisionName, Context context);
+
+ /**
+ * Restarts a revision for a Container App.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param containerAppName Name of the Container App.
+ * @param revisionName Name of the Container App Revision.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
+ * is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ void restartRevision(String resourceGroupName, String containerAppName, String revisionName);
}
diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/ContainerAppsSourceControlsClient.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/ContainerAppsSourceControlsClient.java
index 80fac7537516..52444e4f6782 100644
--- a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/ContainerAppsSourceControlsClient.java
+++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/ContainerAppsSourceControlsClient.java
@@ -53,14 +53,16 @@ PagedIterable listByContainerApp(
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param containerAppName Name of the Container App.
* @param sourceControlName Name of the Container App SourceControl.
+ * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
* is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a SourceControl of a Container App.
+ * @return a SourceControl of a Container App along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- SourceControlInner get(String resourceGroupName, String containerAppName, String sourceControlName);
+ Response getWithResponse(
+ String resourceGroupName, String containerAppName, String sourceControlName, Context context);
/**
* Get a SourceControl of a Container App.
@@ -68,16 +70,14 @@ PagedIterable listByContainerApp(
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param containerAppName Name of the Container App.
* @param sourceControlName Name of the Container App SourceControl.
- * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
* is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a SourceControl of a Container App along with {@link Response}.
+ * @return a SourceControl of a Container App.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response getWithResponse(
- String resourceGroupName, String containerAppName, String sourceControlName, Context context);
+ SourceControlInner get(String resourceGroupName, String containerAppName, String sourceControlName);
/**
* Create or update the SourceControl for a Container App.
diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/DaprComponentsClient.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/DaprComponentsClient.java
index 5a659b7517d8..62358a5fc62a 100644
--- a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/DaprComponentsClient.java
+++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/DaprComponentsClient.java
@@ -49,14 +49,16 @@ public interface DaprComponentsClient {
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param environmentName Name of the Managed Environment.
* @param componentName Name of the Dapr Component.
+ * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
* is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a dapr component.
+ * @return a dapr component along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- DaprComponentInner get(String resourceGroupName, String environmentName, String componentName);
+ Response getWithResponse(
+ String resourceGroupName, String environmentName, String componentName, Context context);
/**
* Get a dapr component.
@@ -64,89 +66,95 @@ public interface DaprComponentsClient {
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param environmentName Name of the Managed Environment.
* @param componentName Name of the Dapr Component.
- * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
* is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a dapr component along with {@link Response}.
+ * @return a dapr component.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response getWithResponse(
- String resourceGroupName, String environmentName, String componentName, Context context);
+ DaprComponentInner get(String resourceGroupName, String environmentName, String componentName);
/**
- * Creates or updates a Dapr Component in a Managed Environment.
+ * Creates or updates a Dapr Component.
+ *
+ * Creates or updates a Dapr Component in a Managed Environment.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param environmentName Name of the Managed Environment.
* @param componentName Name of the Dapr Component.
* @param daprComponentEnvelope Configuration details of the Dapr Component.
+ * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @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 dapr Component.
+ * @return dapr Component along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- DaprComponentInner createOrUpdate(
+ Response createOrUpdateWithResponse(
String resourceGroupName,
String environmentName,
String componentName,
- DaprComponentInner daprComponentEnvelope);
+ DaprComponentInner daprComponentEnvelope,
+ Context context);
/**
- * Creates or updates a Dapr Component in a Managed Environment.
+ * Creates or updates a Dapr Component.
+ *
+ * Creates or updates a Dapr Component in a Managed Environment.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param environmentName Name of the Managed Environment.
* @param componentName Name of the Dapr Component.
* @param daprComponentEnvelope Configuration details of the Dapr Component.
- * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @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 dapr Component along with {@link Response}.
+ * @return dapr Component.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response createOrUpdateWithResponse(
+ DaprComponentInner createOrUpdate(
String resourceGroupName,
String environmentName,
String componentName,
- DaprComponentInner daprComponentEnvelope,
- Context context);
+ DaprComponentInner daprComponentEnvelope);
/**
- * Delete a Dapr Component from a Managed Environment.
+ * Delete a Dapr Component.
+ *
+ * Delete a Dapr Component from a Managed Environment.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param environmentName Name of the Managed Environment.
* @param componentName Name of the Dapr Component.
+ * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
* 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)
- void delete(String resourceGroupName, String environmentName, String componentName);
+ Response deleteWithResponse(
+ String resourceGroupName, String environmentName, String componentName, Context context);
/**
- * Delete a Dapr Component from a Managed Environment.
+ * Delete a Dapr Component.
+ *
+ * Delete a Dapr Component from a Managed Environment.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param environmentName Name of the Managed Environment.
* @param componentName Name of the Dapr Component.
- * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
* 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 componentName, Context context);
+ void delete(String resourceGroupName, String environmentName, String componentName);
/**
* List secrets for a dapr component.
@@ -154,14 +162,16 @@ Response deleteWithResponse(
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param environmentName Name of the Managed Environment.
* @param componentName Name of the Dapr Component.
+ * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
* is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return dapr component Secrets Collection ARM resource.
+ * @return dapr component Secrets Collection for ListSecrets Action along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- DaprSecretsCollectionInner listSecrets(String resourceGroupName, String environmentName, String componentName);
+ Response listSecretsWithResponse(
+ String resourceGroupName, String environmentName, String componentName, Context context);
/**
* List secrets for a dapr component.
@@ -169,14 +179,12 @@ Response deleteWithResponse(
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param environmentName Name of the Managed Environment.
* @param componentName Name of the Dapr Component.
- * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
* is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return dapr component Secrets Collection ARM resource along with {@link Response}.
+ * @return dapr component Secrets Collection for ListSecrets Action.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response listSecretsWithResponse(
- String resourceGroupName, String environmentName, String componentName, Context context);
+ DaprSecretsCollectionInner listSecrets(String resourceGroupName, String environmentName, String componentName);
}
diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/ManagedEnvironmentDiagnosticsClient.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/ManagedEnvironmentDiagnosticsClient.java
new file mode 100644
index 000000000000..e42f15fa36a0
--- /dev/null
+++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/ManagedEnvironmentDiagnosticsClient.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;
+
+import com.azure.core.annotation.ReturnType;
+import com.azure.core.annotation.ServiceMethod;
+import com.azure.core.http.rest.Response;
+import com.azure.core.util.Context;
+import com.azure.resourcemanager.appcontainers.fluent.models.DiagnosticsCollectionInner;
+import com.azure.resourcemanager.appcontainers.fluent.models.DiagnosticsInner;
+
+/** An instance of this class provides access to all the operations defined in ManagedEnvironmentDiagnosticsClient. */
+public interface ManagedEnvironmentDiagnosticsClient {
+ /**
+ * Get the list of diagnostics for a given Managed Environment.
+ *
+ * Get the list of diagnostics for a Managed Environment used to host container apps.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param environmentName Name of the Environment.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
+ * is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the list of diagnostics for a Managed Environment used to host container apps along with {@link
+ * Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response listDetectorsWithResponse(
+ String resourceGroupName, String environmentName, Context context);
+
+ /**
+ * Get the list of diagnostics for a given Managed Environment.
+ *
+ * Get the list of diagnostics for a Managed Environment used to host container apps.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param environmentName Name of the Environment.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
+ * is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the list of diagnostics for a Managed Environment used to host container apps.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ DiagnosticsCollectionInner listDetectors(String resourceGroupName, String environmentName);
+
+ /**
+ * Get the diagnostics data for a given Managed Environment.
+ *
+ *
Get the diagnostics data for a Managed Environment used to host container apps.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param environmentName Name of the Environment.
+ * @param detectorName Name of the Managed Environment detector.
+ * @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 diagnostics data for a Managed Environment used to host container apps along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getDetectorWithResponse(
+ String resourceGroupName, String environmentName, String detectorName, Context context);
+
+ /**
+ * Get the diagnostics data for a given Managed Environment.
+ *
+ * Get the diagnostics data for a Managed Environment used to host container apps.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param environmentName Name of the Environment.
+ * @param detectorName Name of the Managed Environment detector.
+ * @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 diagnostics data for a Managed Environment used to host container apps.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ DiagnosticsInner getDetector(String resourceGroupName, String environmentName, String detectorName);
+}
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 338dd07ce2e9..12bb72b96036 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
@@ -11,12 +11,16 @@
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.EnvironmentAuthTokenInner;
import com.azure.resourcemanager.appcontainers.fluent.models.ManagedEnvironmentInner;
+import com.azure.resourcemanager.appcontainers.fluent.models.WorkloadProfileStatesInner;
/** An instance of this class provides access to all the operations defined in ManagedEnvironmentsClient. */
public interface ManagedEnvironmentsClient {
/**
- * Get all Managed Environments for a subscription.
+ * Get all Environments for a subscription.
+ *
+ *
Get all Managed Environments for a subscription.
*
* @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
* is rejected by server.
@@ -27,7 +31,9 @@ public interface ManagedEnvironmentsClient {
PagedIterable list();
/**
- * Get all Managed Environments for a subscription.
+ * Get all Environments for a subscription.
+ *
+ * Get all Managed Environments for a subscription.
*
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -40,7 +46,9 @@ public interface ManagedEnvironmentsClient {
PagedIterable list(Context context);
/**
- * Get all the Managed Environments in a resource group.
+ * Get all the Environments in a resource group.
+ *
+ * Get all the Managed Environments in a resource group.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -53,7 +61,9 @@ public interface ManagedEnvironmentsClient {
PagedIterable listByResourceGroup(String resourceGroupName);
/**
- * Get all the Managed Environments in a resource group.
+ * Get all the Environments in a resource group.
+ *
+ * Get all the Managed Environments in a resource group.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param context The context to associate with this operation.
@@ -67,37 +77,43 @@ public interface ManagedEnvironmentsClient {
PagedIterable listByResourceGroup(String resourceGroupName, Context context);
/**
- * Get the properties of a Managed Environment used to host container apps.
+ * Get the properties of a Managed Environment.
+ *
+ * Get the properties of a Managed Environment used to host container apps.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param environmentName Name of the Environment.
+ * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
* is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the properties of a Managed Environment used to host container apps.
+ * @return the properties of a Managed Environment used to host container apps along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- ManagedEnvironmentInner getByResourceGroup(String resourceGroupName, String environmentName);
+ Response getByResourceGroupWithResponse(
+ String resourceGroupName, String environmentName, Context context);
/**
- * Get the properties of a Managed Environment used to host container apps.
+ * Get the properties of a Managed Environment.
+ *
+ * Get the properties of a Managed Environment used to host container apps.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param environmentName Name of the Environment.
- * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
* is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the properties of a Managed Environment used to host container apps along with {@link Response}.
+ * @return the properties of a Managed Environment used to host container apps.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response getByResourceGroupWithResponse(
- String resourceGroupName, String environmentName, Context context);
+ ManagedEnvironmentInner getByResourceGroup(String resourceGroupName, String environmentName);
/**
- * Creates or updates a Managed Environment used to host container apps.
+ * Creates or updates a Managed Environment.
+ *
+ * Creates or updates a Managed Environment used to host container apps.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param environmentName Name of the Environment.
@@ -113,7 +129,9 @@ SyncPoller, ManagedEnvironmentInner> beginCr
String resourceGroupName, String environmentName, ManagedEnvironmentInner environmentEnvelope);
/**
- * Creates or updates a Managed Environment used to host container apps.
+ * Creates or updates a Managed Environment.
+ *
+ * Creates or updates a Managed Environment used to host container apps.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param environmentName Name of the Environment.
@@ -130,7 +148,9 @@ SyncPoller, ManagedEnvironmentInner> beginCr
String resourceGroupName, String environmentName, ManagedEnvironmentInner environmentEnvelope, Context context);
/**
- * Creates or updates a Managed Environment used to host container apps.
+ * Creates or updates a Managed Environment.
+ *
+ * Creates or updates a Managed Environment used to host container apps.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param environmentName Name of the Environment.
@@ -146,7 +166,9 @@ ManagedEnvironmentInner createOrUpdate(
String resourceGroupName, String environmentName, ManagedEnvironmentInner environmentEnvelope);
/**
- * Creates or updates a Managed Environment used to host container apps.
+ * Creates or updates a Managed Environment.
+ *
+ *
Creates or updates a Managed Environment used to host container apps.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param environmentName Name of the Environment.
@@ -163,7 +185,9 @@ ManagedEnvironmentInner createOrUpdate(
String resourceGroupName, String environmentName, ManagedEnvironmentInner environmentEnvelope, Context context);
/**
- * Delete a Managed Environment if it does not have any container apps.
+ * Delete a Managed Environment.
+ *
+ *
Delete a Managed Environment if it does not have any container apps.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param environmentName Name of the Environment.
@@ -177,7 +201,9 @@ ManagedEnvironmentInner createOrUpdate(
SyncPoller, Void> beginDelete(String resourceGroupName, String environmentName);
/**
- * Delete a Managed Environment if it does not have any container apps.
+ * Delete a Managed Environment.
+ *
+ * Delete a Managed Environment if it does not have any container apps.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param environmentName Name of the Environment.
@@ -192,7 +218,9 @@ ManagedEnvironmentInner createOrUpdate(
SyncPoller, Void> beginDelete(String resourceGroupName, String environmentName, Context context);
/**
- * Delete a Managed Environment if it does not have any container apps.
+ * Delete a Managed Environment.
+ *
+ * Delete a Managed Environment if it does not have any container apps.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param environmentName Name of the Environment.
@@ -205,7 +233,9 @@ ManagedEnvironmentInner createOrUpdate(
void delete(String resourceGroupName, String environmentName);
/**
- * Delete a Managed Environment if it does not have any container apps.
+ * Delete a Managed Environment.
+ *
+ *
Delete a Managed Environment if it does not have any container apps.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param environmentName Name of the Environment.
@@ -219,7 +249,9 @@ ManagedEnvironmentInner createOrUpdate(
void delete(String resourceGroupName, String environmentName, Context context);
/**
- * Patches a Managed Environment using JSON Merge Patch.
+ * Update Managed Environment's properties.
+ *
+ *
Patches a Managed Environment using JSON Merge Patch.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param environmentName Name of the Environment.
@@ -235,7 +267,9 @@ SyncPoller, Void> beginUpdate(
String resourceGroupName, String environmentName, ManagedEnvironmentInner environmentEnvelope);
/**
- * Patches a Managed Environment using JSON Merge Patch.
+ * Update Managed Environment's properties.
+ *
+ * Patches a Managed Environment using JSON Merge Patch.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param environmentName Name of the Environment.
@@ -252,7 +286,9 @@ SyncPoller, Void> beginUpdate(
String resourceGroupName, String environmentName, ManagedEnvironmentInner environmentEnvelope, Context context);
/**
- * Patches a Managed Environment using JSON Merge Patch.
+ * Update Managed Environment's properties.
+ *
+ * Patches a Managed Environment using JSON Merge Patch.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param environmentName Name of the Environment.
@@ -266,7 +302,9 @@ SyncPoller, Void> beginUpdate(
void update(String resourceGroupName, String environmentName, ManagedEnvironmentInner environmentEnvelope);
/**
- * Patches a Managed Environment using JSON Merge Patch.
+ * Update Managed Environment's properties.
+ *
+ * Patches a Managed Environment using JSON Merge Patch.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param environmentName Name of the Environment.
@@ -280,4 +318,75 @@ SyncPoller, Void> beginUpdate(
@ServiceMethod(returns = ReturnType.SINGLE)
void update(
String resourceGroupName, String environmentName, ManagedEnvironmentInner environmentEnvelope, Context context);
+
+ /**
+ * Get auth token for a managed environment
+ *
+ * Checks if resource name is available.
+ *
+ * @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 environment Auth Token along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getAuthTokenWithResponse(
+ String resourceGroupName, String environmentName, Context context);
+
+ /**
+ * Get auth token for a managed environment
+ *
+ * Checks if resource name is available.
+ *
+ * @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 environment Auth Token.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ EnvironmentAuthTokenInner getAuthToken(String resourceGroupName, String environmentName);
+
+ /**
+ * Get all workload Profile States for a Premium Managed Environment..
+ *
+ *
Get all workload Profile States for a Premium 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 all workload Profile States for a Premium 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 Premium 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 all workload Profile States for a Premium Managed Environment as paginated response with {@link
+ * PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listWorkloadProfileStates(
+ String resourceGroupName, String environmentName, Context context);
}
diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/ManagedEnvironmentsDiagnosticsClient.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/ManagedEnvironmentsDiagnosticsClient.java
new file mode 100644
index 000000000000..c6580d78fdf5
--- /dev/null
+++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/ManagedEnvironmentsDiagnosticsClient.java
@@ -0,0 +1,48 @@
+// 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.Response;
+import com.azure.core.util.Context;
+import com.azure.resourcemanager.appcontainers.fluent.models.ManagedEnvironmentInner;
+
+/** An instance of this class provides access to all the operations defined in ManagedEnvironmentsDiagnosticsClient. */
+public interface ManagedEnvironmentsDiagnosticsClient {
+ /**
+ * Get the properties of a Managed Environment.
+ *
+ * Get the properties of a Managed Environment used to host container apps.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param environmentName Name of the Environment.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
+ * is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the properties of a Managed Environment used to host container apps along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getRootWithResponse(
+ String resourceGroupName, String environmentName, Context context);
+
+ /**
+ * Get the properties of a Managed Environment.
+ *
+ * Get the properties of a Managed Environment used to host container apps.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param environmentName Name of the Environment.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
+ * is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the properties of a Managed Environment used to host container apps.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ ManagedEnvironmentInner getRoot(String resourceGroupName, String environmentName);
+}
diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/ManagedEnvironmentsStoragesClient.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/ManagedEnvironmentsStoragesClient.java
index 02cea5645fd7..f4a809933d52 100644
--- a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/ManagedEnvironmentsStoragesClient.java
+++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/ManagedEnvironmentsStoragesClient.java
@@ -18,30 +18,30 @@ public interface ManagedEnvironmentsStoragesClient {
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param environmentName Name of the Environment.
+ * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
* is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return all storages for a managedEnvironment.
+ * @return all storages for a managedEnvironment along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- ManagedEnvironmentStoragesCollectionInner list(String resourceGroupName, String environmentName);
+ Response listWithResponse(
+ String resourceGroupName, String environmentName, Context context);
/**
* Get all storages for a managedEnvironment.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param environmentName Name of the Environment.
- * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
* is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return all storages for a managedEnvironment along with {@link Response}.
+ * @return all storages for a managedEnvironment.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response listWithResponse(
- String resourceGroupName, String environmentName, Context context);
+ ManagedEnvironmentStoragesCollectionInner list(String resourceGroupName, String environmentName);
/**
* Get storage for a managedEnvironment.
@@ -49,14 +49,16 @@ Response listWithResponse(
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param environmentName Name of the Environment.
* @param storageName Name of the storage.
+ * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
* is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return storage for a managedEnvironment.
+ * @return storage for a managedEnvironment along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- ManagedEnvironmentStorageInner get(String resourceGroupName, String environmentName, String storageName);
+ Response getWithResponse(
+ String resourceGroupName, String environmentName, String storageName, Context context);
/**
* Get storage for a managedEnvironment.
@@ -64,16 +66,14 @@ Response listWithResponse(
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param environmentName Name of the Environment.
* @param storageName Name of the storage.
- * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
* is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return storage for a managedEnvironment along with {@link Response}.
+ * @return storage for a managedEnvironment.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response getWithResponse(
- String resourceGroupName, String environmentName, String storageName, Context context);
+ ManagedEnvironmentStorageInner get(String resourceGroupName, String environmentName, String storageName);
/**
* Create or update storage for a managedEnvironment.
@@ -82,18 +82,20 @@ Response getWithResponse(
* @param environmentName Name of the Environment.
* @param storageName Name of the storage.
* @param storageEnvelope Configuration details of storage.
+ * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @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 storage resource for managedEnvironment.
+ * @return storage resource for managedEnvironment along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- ManagedEnvironmentStorageInner createOrUpdate(
+ Response createOrUpdateWithResponse(
String resourceGroupName,
String environmentName,
String storageName,
- ManagedEnvironmentStorageInner storageEnvelope);
+ ManagedEnvironmentStorageInner storageEnvelope,
+ Context context);
/**
* Create or update storage for a managedEnvironment.
@@ -102,20 +104,18 @@ ManagedEnvironmentStorageInner createOrUpdate(
* @param environmentName Name of the Environment.
* @param storageName Name of the storage.
* @param storageEnvelope Configuration details of storage.
- * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @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 storage resource for managedEnvironment along with {@link Response}.
+ * @return storage resource for managedEnvironment.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response createOrUpdateWithResponse(
+ ManagedEnvironmentStorageInner createOrUpdate(
String resourceGroupName,
String environmentName,
String storageName,
- ManagedEnvironmentStorageInner storageEnvelope,
- Context context);
+ ManagedEnvironmentStorageInner storageEnvelope);
/**
* Delete storage for a managedEnvironment.
@@ -123,13 +123,16 @@ Response createOrUpdateWithResponse(
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param environmentName Name of the Environment.
* @param storageName Name of the storage.
+ * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
* 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)
- void delete(String resourceGroupName, String environmentName, String storageName);
+ Response deleteWithResponse(
+ String resourceGroupName, String environmentName, String storageName, Context context);
/**
* Delete storage for a managedEnvironment.
@@ -137,14 +140,11 @@ Response createOrUpdateWithResponse(
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param environmentName Name of the Environment.
* @param storageName Name of the storage.
- * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
* 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 storageName, Context context);
+ void delete(String resourceGroupName, String environmentName, String storageName);
}
diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/NamespacesClient.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/NamespacesClient.java
index 1a0dc5841f94..27878d6ce998 100644
--- a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/NamespacesClient.java
+++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/NamespacesClient.java
@@ -14,38 +14,42 @@
/** An instance of this class provides access to all the operations defined in NamespacesClient. */
public interface NamespacesClient {
/**
- * Checks if resource name is available.
+ * Checks the resource name availability.
+ *
+ * Checks if resource name is available.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param environmentName Name of the Managed Environment.
* @param checkNameAvailabilityRequest The check name availability request.
+ * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @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 check availability result.
+ * @return the check availability result along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- CheckNameAvailabilityResponseInner checkNameAvailability(
- String resourceGroupName, String environmentName, CheckNameAvailabilityRequest checkNameAvailabilityRequest);
+ Response checkNameAvailabilityWithResponse(
+ String resourceGroupName,
+ String environmentName,
+ CheckNameAvailabilityRequest checkNameAvailabilityRequest,
+ Context context);
/**
- * Checks if resource name is available.
+ * Checks the resource name availability.
+ *
+ * Checks if resource name is available.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param environmentName Name of the Managed Environment.
* @param checkNameAvailabilityRequest The check name availability request.
- * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @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 check availability result along with {@link Response}.
+ * @return the check availability result.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response checkNameAvailabilityWithResponse(
- String resourceGroupName,
- String environmentName,
- CheckNameAvailabilityRequest checkNameAvailabilityRequest,
- Context context);
+ CheckNameAvailabilityResponseInner checkNameAvailability(
+ String resourceGroupName, String environmentName, CheckNameAvailabilityRequest checkNameAvailabilityRequest);
}
diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/AuthConfigInner.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/AuthConfigInner.java
index a4d911e32d68..7a3c141ee7e5 100644
--- a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/AuthConfigInner.java
+++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/AuthConfigInner.java
@@ -6,6 +6,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.AuthPlatform;
import com.azure.resourcemanager.appcontainers.models.GlobalValidation;
import com.azure.resourcemanager.appcontainers.models.HttpSettings;
@@ -22,6 +23,16 @@ public final class AuthConfigInner extends ProxyResource {
@JsonProperty(value = "properties")
private AuthConfigProperties 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 AuthConfigInner class. */
+ public AuthConfigInner() {
+ }
+
/**
* Get the innerProperties property: AuthConfig resource specific properties.
*
@@ -31,6 +42,15 @@ private AuthConfigProperties 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;
+ }
+
/**
* Get the platform property: The configuration settings of the platform of ContainerApp Service
* Authentication/Authorization.
diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/AuthConfigProperties.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/AuthConfigProperties.java
index 84c4c35a5019..9562abcf1c1d 100644
--- a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/AuthConfigProperties.java
+++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/AuthConfigProperties.java
@@ -16,41 +16,42 @@
@Fluent
public final class AuthConfigProperties {
/*
- * The configuration settings of the platform of ContainerApp Service
- * Authentication/Authorization.
+ * The configuration settings of the platform of ContainerApp Service Authentication/Authorization.
*/
@JsonProperty(value = "platform")
private AuthPlatform platform;
/*
- * The configuration settings that determines the validation flow of users
- * using Service Authentication/Authorization.
+ * The configuration settings that determines the validation flow of users using Service
+ * Authentication/Authorization.
*/
@JsonProperty(value = "globalValidation")
private GlobalValidation globalValidation;
/*
- * The configuration settings of each of the identity providers used to
- * configure ContainerApp Service Authentication/Authorization.
+ * The configuration settings of each of the identity providers used to configure ContainerApp Service
+ * Authentication/Authorization.
*/
@JsonProperty(value = "identityProviders")
private IdentityProviders identityProviders;
/*
- * The configuration settings of the login flow of users using ContainerApp
- * Service Authentication/Authorization.
+ * The configuration settings of the login flow of users using ContainerApp Service Authentication/Authorization.
*/
@JsonProperty(value = "login")
private Login login;
/*
- * The configuration settings of the HTTP requests for authentication and
- * authorization requests made against ContainerApp Service
- * Authentication/Authorization.
+ * The configuration settings of the HTTP requests for authentication and authorization requests made against
+ * ContainerApp Service Authentication/Authorization.
*/
@JsonProperty(value = "httpSettings")
private HttpSettings httpSettings;
+ /** Creates an instance of AuthConfigProperties class. */
+ public AuthConfigProperties() {
+ }
+
/**
* Get the platform property: The configuration settings of the platform of ContainerApp Service
* Authentication/Authorization.
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
new file mode 100644
index 000000000000..1982f7c7dde0
--- /dev/null
+++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/AvailableWorkloadProfileInner.java
@@ -0,0 +1,97 @@
+// 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.ProxyResource;
+import com.azure.core.management.SystemData;
+import com.azure.resourcemanager.appcontainers.models.AvailableWorkloadProfileProperties;
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+/** A premium workload profile. */
+@Fluent
+public final class AvailableWorkloadProfileInner extends ProxyResource {
+ /*
+ * Region of the workload profile.
+ */
+ @JsonProperty(value = "location")
+ private String location;
+
+ /*
+ * Revision resource specific properties
+ */
+ @JsonProperty(value = "properties")
+ private AvailableWorkloadProfileProperties 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 AvailableWorkloadProfileInner class. */
+ public AvailableWorkloadProfileInner() {
+ }
+
+ /**
+ * Get the location property: Region of the workload profile.
+ *
+ * @return the location value.
+ */
+ public String location() {
+ return this.location;
+ }
+
+ /**
+ * Set the location property: Region of the workload profile.
+ *
+ * @param location the location value to set.
+ * @return the AvailableWorkloadProfileInner object itself.
+ */
+ public AvailableWorkloadProfileInner withLocation(String location) {
+ this.location = location;
+ return this;
+ }
+
+ /**
+ * Get the properties property: Revision resource specific properties.
+ *
+ * @return the properties value.
+ */
+ public AvailableWorkloadProfileProperties properties() {
+ return this.properties;
+ }
+
+ /**
+ * Set the properties property: Revision resource specific properties.
+ *
+ * @param properties the properties value to set.
+ * @return the AvailableWorkloadProfileInner object itself.
+ */
+ public AvailableWorkloadProfileInner withProperties(AvailableWorkloadProfileProperties 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;
+ }
+
+ /**
+ * 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/BillingMeterCollectionInner.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/BillingMeterCollectionInner.java
new file mode 100644
index 000000000000..236f663470d6
--- /dev/null
+++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/BillingMeterCollectionInner.java
@@ -0,0 +1,63 @@
+// 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.BillingMeter;
+import com.fasterxml.jackson.annotation.JsonProperty;
+import java.util.List;
+
+/** Collection of premium workload billing meters. */
+@Fluent
+public final class BillingMeterCollectionInner {
+ /*
+ * Collection of billing meters.
+ */
+ @JsonProperty(value = "value", required = true)
+ private List value;
+
+ /** Creates an instance of BillingMeterCollectionInner class. */
+ public BillingMeterCollectionInner() {
+ }
+
+ /**
+ * Get the value property: Collection of billing meters.
+ *
+ * @return the value value.
+ */
+ public List value() {
+ return this.value;
+ }
+
+ /**
+ * Set the value property: Collection of billing meters.
+ *
+ * @param value the value value to set.
+ * @return the BillingMeterCollectionInner object itself.
+ */
+ public BillingMeterCollectionInner 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 BillingMeterCollectionInner"));
+ } else {
+ value().forEach(e -> e.validate());
+ }
+ }
+
+ private static final ClientLogger LOGGER = new ClientLogger(BillingMeterCollectionInner.class);
+}
diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/CertificateInner.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/CertificateInner.java
index af4a68117d00..49d78985bdcb 100644
--- a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/CertificateInner.java
+++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/CertificateInner.java
@@ -21,12 +21,15 @@ public final class CertificateInner extends Resource {
private CertificateProperties properties;
/*
- * Azure Resource Manager metadata containing createdBy and modifiedBy
- * information.
+ * Azure Resource Manager metadata containing createdBy and modifiedBy information.
*/
@JsonProperty(value = "systemData", access = JsonProperty.Access.WRITE_ONLY)
private SystemData systemData;
+ /** Creates an instance of CertificateInner class. */
+ public CertificateInner() {
+ }
+
/**
* Get the properties property: Certificate resource specific properties.
*
diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/CheckNameAvailabilityResponseInner.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/CheckNameAvailabilityResponseInner.java
index 5189f1a6cfb3..1d13506867f2 100644
--- a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/CheckNameAvailabilityResponseInner.java
+++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/CheckNameAvailabilityResponseInner.java
@@ -29,6 +29,10 @@ public final class CheckNameAvailabilityResponseInner {
@JsonProperty(value = "message")
private String message;
+ /** Creates an instance of CheckNameAvailabilityResponseInner class. */
+ public CheckNameAvailabilityResponseInner() {
+ }
+
/**
* Get the nameAvailable property: Indicates if the resource name is available.
*
diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/ConnectedEnvironmentInner.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/ConnectedEnvironmentInner.java
new file mode 100644
index 000000000000..e4892a69f389
--- /dev/null
+++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/ConnectedEnvironmentInner.java
@@ -0,0 +1,205 @@
+// 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.ConnectedEnvironmentProvisioningState;
+import com.azure.resourcemanager.appcontainers.models.CustomDomainConfiguration;
+import com.azure.resourcemanager.appcontainers.models.ExtendedLocation;
+import com.fasterxml.jackson.annotation.JsonProperty;
+import java.util.Map;
+
+/** An environment for Kubernetes cluster specialized for web workloads by Azure App Service. */
+@Fluent
+public final class ConnectedEnvironmentInner extends Resource {
+ /*
+ * The complex type of the extended location.
+ */
+ @JsonProperty(value = "extendedLocation")
+ private ExtendedLocation extendedLocation;
+
+ /*
+ * ConnectedEnvironment resource specific properties
+ */
+ @JsonProperty(value = "properties")
+ private ConnectedEnvironmentProperties 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 ConnectedEnvironmentInner class. */
+ public ConnectedEnvironmentInner() {
+ }
+
+ /**
+ * Get the extendedLocation property: The complex type of the extended location.
+ *
+ * @return the extendedLocation value.
+ */
+ public ExtendedLocation extendedLocation() {
+ return this.extendedLocation;
+ }
+
+ /**
+ * Set the extendedLocation property: The complex type of the extended location.
+ *
+ * @param extendedLocation the extendedLocation value to set.
+ * @return the ConnectedEnvironmentInner object itself.
+ */
+ public ConnectedEnvironmentInner withExtendedLocation(ExtendedLocation extendedLocation) {
+ this.extendedLocation = extendedLocation;
+ return this;
+ }
+
+ /**
+ * Get the innerProperties property: ConnectedEnvironment resource specific properties.
+ *
+ * @return the innerProperties value.
+ */
+ private ConnectedEnvironmentProperties 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 ConnectedEnvironmentInner withLocation(String location) {
+ super.withLocation(location);
+ return this;
+ }
+
+ /** {@inheritDoc} */
+ @Override
+ public ConnectedEnvironmentInner withTags(Map tags) {
+ super.withTags(tags);
+ return this;
+ }
+
+ /**
+ * Get the provisioningState property: Provisioning state of the Kubernetes Environment.
+ *
+ * @return the provisioningState value.
+ */
+ public ConnectedEnvironmentProvisioningState provisioningState() {
+ return this.innerProperties() == null ? null : this.innerProperties().provisioningState();
+ }
+
+ /**
+ * Get the deploymentErrors property: Any errors that occurred during deployment or deployment validation.
+ *
+ * @return the deploymentErrors value.
+ */
+ public String deploymentErrors() {
+ return this.innerProperties() == null ? null : this.innerProperties().deploymentErrors();
+ }
+
+ /**
+ * Get the defaultDomain property: Default Domain Name for the cluster.
+ *
+ * @return the defaultDomain value.
+ */
+ public String defaultDomain() {
+ return this.innerProperties() == null ? null : this.innerProperties().defaultDomain();
+ }
+
+ /**
+ * Get the staticIp property: Static IP of the connectedEnvironment.
+ *
+ * @return the staticIp value.
+ */
+ public String staticIp() {
+ return this.innerProperties() == null ? null : this.innerProperties().staticIp();
+ }
+
+ /**
+ * Set the staticIp property: Static IP of the connectedEnvironment.
+ *
+ * @param staticIp the staticIp value to set.
+ * @return the ConnectedEnvironmentInner object itself.
+ */
+ public ConnectedEnvironmentInner withStaticIp(String staticIp) {
+ if (this.innerProperties() == null) {
+ this.innerProperties = new ConnectedEnvironmentProperties();
+ }
+ this.innerProperties().withStaticIp(staticIp);
+ return this;
+ }
+
+ /**
+ * Get the daprAIConnectionString property: Application Insights connection string used by Dapr to export Service to
+ * Service communication telemetry.
+ *
+ * @return the daprAIConnectionString value.
+ */
+ public String daprAIConnectionString() {
+ return this.innerProperties() == null ? null : this.innerProperties().daprAIConnectionString();
+ }
+
+ /**
+ * Set the daprAIConnectionString property: Application Insights connection string used by Dapr to export Service to
+ * Service communication telemetry.
+ *
+ * @param daprAIConnectionString the daprAIConnectionString value to set.
+ * @return the ConnectedEnvironmentInner object itself.
+ */
+ public ConnectedEnvironmentInner withDaprAIConnectionString(String daprAIConnectionString) {
+ if (this.innerProperties() == null) {
+ this.innerProperties = new ConnectedEnvironmentProperties();
+ }
+ this.innerProperties().withDaprAIConnectionString(daprAIConnectionString);
+ return this;
+ }
+
+ /**
+ * Get the customDomainConfiguration property: Custom domain configuration for the environment.
+ *
+ * @return the customDomainConfiguration value.
+ */
+ public CustomDomainConfiguration customDomainConfiguration() {
+ return this.innerProperties() == null ? null : this.innerProperties().customDomainConfiguration();
+ }
+
+ /**
+ * Set the customDomainConfiguration property: Custom domain configuration for the environment.
+ *
+ * @param customDomainConfiguration the customDomainConfiguration value to set.
+ * @return the ConnectedEnvironmentInner object itself.
+ */
+ public ConnectedEnvironmentInner withCustomDomainConfiguration(
+ CustomDomainConfiguration customDomainConfiguration) {
+ if (this.innerProperties() == null) {
+ this.innerProperties = new ConnectedEnvironmentProperties();
+ }
+ this.innerProperties().withCustomDomainConfiguration(customDomainConfiguration);
+ return this;
+ }
+
+ /**
+ * Validates the instance.
+ *
+ * @throws IllegalArgumentException thrown if the instance is not valid.
+ */
+ public void validate() {
+ if (extendedLocation() != null) {
+ extendedLocation().validate();
+ }
+ if (innerProperties() != null) {
+ innerProperties().validate();
+ }
+ }
+}
diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/ConnectedEnvironmentProperties.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/ConnectedEnvironmentProperties.java
new file mode 100644
index 000000000000..28adb95807b1
--- /dev/null
+++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/ConnectedEnvironmentProperties.java
@@ -0,0 +1,155 @@
+// 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.ConnectedEnvironmentProvisioningState;
+import com.azure.resourcemanager.appcontainers.models.CustomDomainConfiguration;
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+/** ConnectedEnvironment resource specific properties. */
+@Fluent
+public final class ConnectedEnvironmentProperties {
+ /*
+ * Provisioning state of the Kubernetes Environment.
+ */
+ @JsonProperty(value = "provisioningState", access = JsonProperty.Access.WRITE_ONLY)
+ private ConnectedEnvironmentProvisioningState provisioningState;
+
+ /*
+ * Any errors that occurred during deployment or deployment validation
+ */
+ @JsonProperty(value = "deploymentErrors", access = JsonProperty.Access.WRITE_ONLY)
+ private String deploymentErrors;
+
+ /*
+ * Default Domain Name for the cluster
+ */
+ @JsonProperty(value = "defaultDomain", access = JsonProperty.Access.WRITE_ONLY)
+ private String defaultDomain;
+
+ /*
+ * Static IP of the connectedEnvironment
+ */
+ @JsonProperty(value = "staticIp")
+ private String staticIp;
+
+ /*
+ * Application Insights connection string used by Dapr to export Service to Service communication telemetry
+ */
+ @JsonProperty(value = "daprAIConnectionString")
+ private String daprAIConnectionString;
+
+ /*
+ * Custom domain configuration for the environment
+ */
+ @JsonProperty(value = "customDomainConfiguration")
+ private CustomDomainConfiguration customDomainConfiguration;
+
+ /** Creates an instance of ConnectedEnvironmentProperties class. */
+ public ConnectedEnvironmentProperties() {
+ }
+
+ /**
+ * Get the provisioningState property: Provisioning state of the Kubernetes Environment.
+ *
+ * @return the provisioningState value.
+ */
+ public ConnectedEnvironmentProvisioningState provisioningState() {
+ return this.provisioningState;
+ }
+
+ /**
+ * Get the deploymentErrors property: Any errors that occurred during deployment or deployment validation.
+ *
+ * @return the deploymentErrors value.
+ */
+ public String deploymentErrors() {
+ return this.deploymentErrors;
+ }
+
+ /**
+ * Get the defaultDomain property: Default Domain Name for the cluster.
+ *
+ * @return the defaultDomain value.
+ */
+ public String defaultDomain() {
+ return this.defaultDomain;
+ }
+
+ /**
+ * Get the staticIp property: Static IP of the connectedEnvironment.
+ *
+ * @return the staticIp value.
+ */
+ public String staticIp() {
+ return this.staticIp;
+ }
+
+ /**
+ * Set the staticIp property: Static IP of the connectedEnvironment.
+ *
+ * @param staticIp the staticIp value to set.
+ * @return the ConnectedEnvironmentProperties object itself.
+ */
+ public ConnectedEnvironmentProperties withStaticIp(String staticIp) {
+ this.staticIp = staticIp;
+ return this;
+ }
+
+ /**
+ * Get the daprAIConnectionString property: Application Insights connection string used by Dapr to export Service to
+ * Service communication telemetry.
+ *
+ * @return the daprAIConnectionString value.
+ */
+ public String daprAIConnectionString() {
+ return this.daprAIConnectionString;
+ }
+
+ /**
+ * Set the daprAIConnectionString property: Application Insights connection string used by Dapr to export Service to
+ * Service communication telemetry.
+ *
+ * @param daprAIConnectionString the daprAIConnectionString value to set.
+ * @return the ConnectedEnvironmentProperties object itself.
+ */
+ public ConnectedEnvironmentProperties withDaprAIConnectionString(String daprAIConnectionString) {
+ this.daprAIConnectionString = daprAIConnectionString;
+ return this;
+ }
+
+ /**
+ * Get the customDomainConfiguration property: Custom domain configuration for the environment.
+ *
+ * @return the customDomainConfiguration value.
+ */
+ public CustomDomainConfiguration customDomainConfiguration() {
+ return this.customDomainConfiguration;
+ }
+
+ /**
+ * Set the customDomainConfiguration property: Custom domain configuration for the environment.
+ *
+ * @param customDomainConfiguration the customDomainConfiguration value to set.
+ * @return the ConnectedEnvironmentProperties object itself.
+ */
+ public ConnectedEnvironmentProperties withCustomDomainConfiguration(
+ CustomDomainConfiguration customDomainConfiguration) {
+ this.customDomainConfiguration = customDomainConfiguration;
+ return this;
+ }
+
+ /**
+ * Validates the instance.
+ *
+ * @throws IllegalArgumentException thrown if the instance is not valid.
+ */
+ public void validate() {
+ if (customDomainConfiguration() != null) {
+ customDomainConfiguration().validate();
+ }
+ }
+}
diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/ConnectedEnvironmentStorageInner.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/ConnectedEnvironmentStorageInner.java
new file mode 100644
index 000000000000..bbbf23cc740d
--- /dev/null
+++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/ConnectedEnvironmentStorageInner.java
@@ -0,0 +1,71 @@
+// 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.ProxyResource;
+import com.azure.core.management.SystemData;
+import com.azure.resourcemanager.appcontainers.models.ConnectedEnvironmentStorageProperties;
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+/** Storage resource for connectedEnvironment. */
+@Fluent
+public final class ConnectedEnvironmentStorageInner extends ProxyResource {
+ /*
+ * Storage properties
+ */
+ @JsonProperty(value = "properties")
+ private ConnectedEnvironmentStorageProperties 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 ConnectedEnvironmentStorageInner class. */
+ public ConnectedEnvironmentStorageInner() {
+ }
+
+ /**
+ * Get the properties property: Storage properties.
+ *
+ * @return the properties value.
+ */
+ public ConnectedEnvironmentStorageProperties properties() {
+ return this.properties;
+ }
+
+ /**
+ * Set the properties property: Storage properties.
+ *
+ * @param properties the properties value to set.
+ * @return the ConnectedEnvironmentStorageInner object itself.
+ */
+ public ConnectedEnvironmentStorageInner withProperties(ConnectedEnvironmentStorageProperties 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;
+ }
+
+ /**
+ * 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/ConnectedEnvironmentStoragesCollectionInner.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/ConnectedEnvironmentStoragesCollectionInner.java
new file mode 100644
index 000000000000..f3fd1e14bfd0
--- /dev/null
+++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/ConnectedEnvironmentStoragesCollectionInner.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.fasterxml.jackson.annotation.JsonProperty;
+import java.util.List;
+
+/** Collection of Storage for Environments. */
+@Fluent
+public final class ConnectedEnvironmentStoragesCollectionInner {
+ /*
+ * Collection of storage resources.
+ */
+ @JsonProperty(value = "value", required = true)
+ private List value;
+
+ /** Creates an instance of ConnectedEnvironmentStoragesCollectionInner class. */
+ public ConnectedEnvironmentStoragesCollectionInner() {
+ }
+
+ /**
+ * Get the value property: Collection of storage resources.
+ *
+ * @return the value value.
+ */
+ public List value() {
+ return this.value;
+ }
+
+ /**
+ * Set the value property: Collection of storage resources.
+ *
+ * @param value the value value to set.
+ * @return the ConnectedEnvironmentStoragesCollectionInner object itself.
+ */
+ public ConnectedEnvironmentStoragesCollectionInner 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 ConnectedEnvironmentStoragesCollectionInner"));
+ } else {
+ value().forEach(e -> e.validate());
+ }
+ }
+
+ private static final ClientLogger LOGGER = new ClientLogger(ConnectedEnvironmentStoragesCollectionInner.class);
+}
diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/ContainerAppAuthTokenInner.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/ContainerAppAuthTokenInner.java
new file mode 100644
index 000000000000..494939f8f2e6
--- /dev/null
+++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/ContainerAppAuthTokenInner.java
@@ -0,0 +1,93 @@
+// 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.fasterxml.jackson.annotation.JsonProperty;
+import java.time.OffsetDateTime;
+import java.util.Map;
+
+/** Container App Auth Token. */
+@Fluent
+public final class ContainerAppAuthTokenInner extends Resource {
+ /*
+ * Container App auth token resource specific properties
+ */
+ @JsonProperty(value = "properties")
+ private ContainerAppAuthTokenProperties 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 ContainerAppAuthTokenInner class. */
+ public ContainerAppAuthTokenInner() {
+ }
+
+ /**
+ * Get the innerProperties property: Container App auth token resource specific properties.
+ *
+ * @return the innerProperties value.
+ */
+ private ContainerAppAuthTokenProperties 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 ContainerAppAuthTokenInner withLocation(String location) {
+ super.withLocation(location);
+ return this;
+ }
+
+ /** {@inheritDoc} */
+ @Override
+ public ContainerAppAuthTokenInner withTags(Map tags) {
+ super.withTags(tags);
+ return this;
+ }
+
+ /**
+ * Get the token property: Auth token value.
+ *
+ * @return the token value.
+ */
+ public String token() {
+ return this.innerProperties() == null ? null : this.innerProperties().token();
+ }
+
+ /**
+ * Get the expires property: Token expiration date.
+ *
+ * @return the expires value.
+ */
+ public OffsetDateTime expires() {
+ return this.innerProperties() == null ? null : this.innerProperties().expires();
+ }
+
+ /**
+ * Validates the instance.
+ *
+ * @throws IllegalArgumentException thrown if the instance is not valid.
+ */
+ public void validate() {
+ if (innerProperties() != null) {
+ innerProperties().validate();
+ }
+ }
+}
diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/ContainerAppAuthTokenProperties.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/ContainerAppAuthTokenProperties.java
new file mode 100644
index 000000000000..18d85126be08
--- /dev/null
+++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/ContainerAppAuthTokenProperties.java
@@ -0,0 +1,55 @@
+// 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.Immutable;
+import com.fasterxml.jackson.annotation.JsonProperty;
+import java.time.OffsetDateTime;
+
+/** Container App auth token resource specific properties. */
+@Immutable
+public final class ContainerAppAuthTokenProperties {
+ /*
+ * Auth token value.
+ */
+ @JsonProperty(value = "token", access = JsonProperty.Access.WRITE_ONLY)
+ private String token;
+
+ /*
+ * Token expiration date.
+ */
+ @JsonProperty(value = "expires", access = JsonProperty.Access.WRITE_ONLY)
+ private OffsetDateTime expires;
+
+ /** Creates an instance of ContainerAppAuthTokenProperties class. */
+ public ContainerAppAuthTokenProperties() {
+ }
+
+ /**
+ * Get the token property: Auth token value.
+ *
+ * @return the token value.
+ */
+ public String token() {
+ return this.token;
+ }
+
+ /**
+ * Get the expires property: Token expiration date.
+ *
+ * @return the expires value.
+ */
+ public OffsetDateTime expires() {
+ return this.expires;
+ }
+
+ /**
+ * 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/ContainerAppInner.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/ContainerAppInner.java
index 89661084471e..0f37c337d055 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
@@ -6,8 +6,10 @@
import com.azure.core.annotation.Fluent;
import com.azure.core.management.Resource;
+import com.azure.core.management.SystemData;
import com.azure.resourcemanager.appcontainers.models.Configuration;
import com.azure.resourcemanager.appcontainers.models.ContainerAppProvisioningState;
+import com.azure.resourcemanager.appcontainers.models.ExtendedLocation;
import com.azure.resourcemanager.appcontainers.models.ManagedServiceIdentity;
import com.azure.resourcemanager.appcontainers.models.Template;
import com.fasterxml.jackson.annotation.JsonProperty;
@@ -18,8 +20,14 @@
@Fluent
public final class ContainerAppInner extends Resource {
/*
- * managed identities for the Container App to interact with other Azure
- * services without maintaining any secrets or credentials in code.
+ * The complex type of the extended location.
+ */
+ @JsonProperty(value = "extendedLocation")
+ private ExtendedLocation extendedLocation;
+
+ /*
+ * managed identities for the Container App to interact with other Azure services without maintaining any secrets
+ * or credentials in code.
*/
@JsonProperty(value = "identity")
private ManagedServiceIdentity identity;
@@ -30,6 +38,36 @@ public final class ContainerAppInner extends Resource {
@JsonProperty(value = "properties")
private ContainerAppProperties 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 ContainerAppInner class. */
+ public ContainerAppInner() {
+ }
+
+ /**
+ * Get the extendedLocation property: The complex type of the extended location.
+ *
+ * @return the extendedLocation value.
+ */
+ public ExtendedLocation extendedLocation() {
+ return this.extendedLocation;
+ }
+
+ /**
+ * Set the extendedLocation property: The complex type of the extended location.
+ *
+ * @param extendedLocation the extendedLocation value to set.
+ * @return the ContainerAppInner object itself.
+ */
+ public ContainerAppInner withExtendedLocation(ExtendedLocation extendedLocation) {
+ this.extendedLocation = extendedLocation;
+ return this;
+ }
+
/**
* Get the identity property: managed identities for the Container App to interact with other Azure services without
* maintaining any secrets or credentials in code.
@@ -61,6 +99,15 @@ private ContainerAppProperties 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 ContainerAppInner withLocation(String location) {
@@ -85,7 +132,7 @@ public ContainerAppProvisioningState provisioningState() {
}
/**
- * Get the managedEnvironmentId property: Resource ID of the Container App's environment.
+ * Get the managedEnvironmentId property: Deprecated. Resource ID of the Container App's environment.
*
* @return the managedEnvironmentId value.
*/
@@ -94,7 +141,7 @@ public String managedEnvironmentId() {
}
/**
- * Set the managedEnvironmentId property: Resource ID of the Container App's environment.
+ * Set the managedEnvironmentId property: Deprecated. Resource ID of the Container App's environment.
*
* @param managedEnvironmentId the managedEnvironmentId value to set.
* @return the ContainerAppInner object itself.
@@ -107,6 +154,52 @@ public ContainerAppInner withManagedEnvironmentId(String managedEnvironmentId) {
return this;
}
+ /**
+ * 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 ContainerAppInner object itself.
+ */
+ public ContainerAppInner withEnvironmentId(String environmentId) {
+ if (this.innerProperties() == null) {
+ this.innerProperties = new ContainerAppProperties();
+ }
+ this.innerProperties().withEnvironmentId(environmentId);
+ return this;
+ }
+
+ /**
+ * Get the workloadProfileType property: Workload profile type to pin for container app execution.
+ *
+ * @return the workloadProfileType value.
+ */
+ public String workloadProfileType() {
+ return this.innerProperties() == null ? null : this.innerProperties().workloadProfileType();
+ }
+
+ /**
+ * Set the workloadProfileType property: Workload profile type to pin for container app execution.
+ *
+ * @param workloadProfileType the workloadProfileType value to set.
+ * @return the ContainerAppInner object itself.
+ */
+ public ContainerAppInner withWorkloadProfileType(String workloadProfileType) {
+ if (this.innerProperties() == null) {
+ this.innerProperties = new ContainerAppProperties();
+ }
+ this.innerProperties().withWorkloadProfileType(workloadProfileType);
+ return this;
+ }
+
/**
* Get the latestRevisionName property: Name of the latest revision of the Container App.
*
@@ -189,12 +282,24 @@ public List outboundIpAddresses() {
return this.innerProperties() == null ? null : this.innerProperties().outboundIpAddresses();
}
+ /**
+ * Get the eventStreamEndpoint property: The endpoint of the eventstream of the container app.
+ *
+ * @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 (extendedLocation() != null) {
+ extendedLocation().validate();
+ }
if (identity() != null) {
identity().validate();
}
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 e3a5b1736b4f..b4f8ae444a42 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
@@ -21,11 +21,23 @@ public final class ContainerAppProperties {
private ContainerAppProvisioningState provisioningState;
/*
- * Resource ID of the Container App's environment.
+ * Deprecated. Resource ID of the Container App's environment.
*/
@JsonProperty(value = "managedEnvironmentId")
private String managedEnvironmentId;
+ /*
+ * Resource ID of environment.
+ */
+ @JsonProperty(value = "environmentId")
+ private String environmentId;
+
+ /*
+ * Workload profile type to pin for container app execution.
+ */
+ @JsonProperty(value = "workloadProfileType")
+ private String workloadProfileType;
+
/*
* Name of the latest revision of the Container App.
*/
@@ -59,9 +71,19 @@ public final class ContainerAppProperties {
/*
* Outbound IP Addresses for container app.
*/
- @JsonProperty(value = "outboundIPAddresses", access = JsonProperty.Access.WRITE_ONLY)
+ @JsonProperty(value = "outboundIpAddresses", access = JsonProperty.Access.WRITE_ONLY)
private List outboundIpAddresses;
+ /*
+ * The endpoint of the eventstream of the container app.
+ */
+ @JsonProperty(value = "eventStreamEndpoint", access = JsonProperty.Access.WRITE_ONLY)
+ private String eventStreamEndpoint;
+
+ /** Creates an instance of ContainerAppProperties class. */
+ public ContainerAppProperties() {
+ }
+
/**
* Get the provisioningState property: Provisioning state of the Container App.
*
@@ -72,7 +94,7 @@ public ContainerAppProvisioningState provisioningState() {
}
/**
- * Get the managedEnvironmentId property: Resource ID of the Container App's environment.
+ * Get the managedEnvironmentId property: Deprecated. Resource ID of the Container App's environment.
*
* @return the managedEnvironmentId value.
*/
@@ -81,7 +103,7 @@ public String managedEnvironmentId() {
}
/**
- * Set the managedEnvironmentId property: Resource ID of the Container App's environment.
+ * Set the managedEnvironmentId property: Deprecated. Resource ID of the Container App's environment.
*
* @param managedEnvironmentId the managedEnvironmentId value to set.
* @return the ContainerAppProperties object itself.
@@ -91,6 +113,46 @@ public ContainerAppProperties withManagedEnvironmentId(String managedEnvironment
return this;
}
+ /**
+ * 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 ContainerAppProperties object itself.
+ */
+ public ContainerAppProperties withEnvironmentId(String environmentId) {
+ this.environmentId = environmentId;
+ return this;
+ }
+
+ /**
+ * Get the workloadProfileType property: Workload profile type to pin for container app execution.
+ *
+ * @return the workloadProfileType value.
+ */
+ public String workloadProfileType() {
+ return this.workloadProfileType;
+ }
+
+ /**
+ * Set the workloadProfileType property: Workload profile type to pin for container app execution.
+ *
+ * @param workloadProfileType the workloadProfileType value to set.
+ * @return the ContainerAppProperties object itself.
+ */
+ public ContainerAppProperties withWorkloadProfileType(String workloadProfileType) {
+ this.workloadProfileType = workloadProfileType;
+ return this;
+ }
+
/**
* Get the latestRevisionName property: Name of the latest revision of the Container App.
*
@@ -167,6 +229,15 @@ public List outboundIpAddresses() {
return this.outboundIpAddresses;
}
+ /**
+ * Get the eventStreamEndpoint property: The endpoint of the eventstream of the container app.
+ *
+ * @return the eventStreamEndpoint value.
+ */
+ public String eventStreamEndpoint() {
+ return this.eventStreamEndpoint;
+ }
+
/**
* Validates the instance.
*
diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/CustomHostnameAnalysisResultInner.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/CustomHostnameAnalysisResultInner.java
index 612f3c3383d7..58e0b8275ae2 100644
--- a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/CustomHostnameAnalysisResultInner.java
+++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/CustomHostnameAnalysisResultInner.java
@@ -5,45 +5,90 @@
package com.azure.resourcemanager.appcontainers.fluent.models;
import com.azure.core.annotation.Fluent;
-import com.azure.core.management.ProxyResource;
-import com.azure.core.management.SystemData;
-import com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseError;
+import com.azure.resourcemanager.appcontainers.models.CustomHostnameAnalysisResultCustomDomainVerificationFailureInfo;
import com.azure.resourcemanager.appcontainers.models.DnsVerificationTestResult;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.List;
/** Custom domain analysis. */
@Fluent
-public final class CustomHostnameAnalysisResultInner extends ProxyResource {
+public final class CustomHostnameAnalysisResultInner {
/*
- * CustomHostnameAnalysisResult resource specific properties
+ * Host name that was analyzed
*/
- @JsonProperty(value = "properties")
- private CustomHostnameAnalysisResultProperties innerProperties;
+ @JsonProperty(value = "hostName", access = JsonProperty.Access.WRITE_ONLY)
+ private String hostname;
/*
- * Azure Resource Manager metadata containing createdBy and modifiedBy
- * information.
+ * true
if hostname is already verified; otherwise, false
.
*/
- @JsonProperty(value = "systemData", access = JsonProperty.Access.WRITE_ONLY)
- private SystemData systemData;
+ @JsonProperty(value = "isHostnameAlreadyVerified", access = JsonProperty.Access.WRITE_ONLY)
+ private Boolean isHostnameAlreadyVerified;
- /**
- * Get the innerProperties property: CustomHostnameAnalysisResult resource specific properties.
- *
- * @return the innerProperties value.
+ /*
+ * DNS verification test result.
*/
- private CustomHostnameAnalysisResultProperties innerProperties() {
- return this.innerProperties;
- }
+ @JsonProperty(value = "customDomainVerificationTest", access = JsonProperty.Access.WRITE_ONLY)
+ private DnsVerificationTestResult customDomainVerificationTest;
- /**
- * Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
- *
- * @return the systemData value.
+ /*
+ * Raw failure information if DNS verification fails.
+ */
+ @JsonProperty(value = "customDomainVerificationFailureInfo", access = JsonProperty.Access.WRITE_ONLY)
+ private CustomHostnameAnalysisResultCustomDomainVerificationFailureInfo customDomainVerificationFailureInfo;
+
+ /*
+ * true
if there is a conflict on the Container App's managed environment; otherwise,
+ * false
.
+ */
+ @JsonProperty(value = "hasConflictOnManagedEnvironment", access = JsonProperty.Access.WRITE_ONLY)
+ private Boolean hasConflictOnManagedEnvironment;
+
+ /*
+ * true
if there is a conflict on the Container App's managed environment level custom domain;
+ * otherwise, false
.
+ */
+ @JsonProperty(value = "conflictWithEnvironmentCustomDomain", access = JsonProperty.Access.WRITE_ONLY)
+ private Boolean conflictWithEnvironmentCustomDomain;
+
+ /*
+ * Name of the conflicting Container App on the Managed Environment if it's within the same subscription.
+ */
+ @JsonProperty(value = "conflictingContainerAppResourceId", access = JsonProperty.Access.WRITE_ONLY)
+ private String conflictingContainerAppResourceId;
+
+ /*
+ * CName records visible for this hostname.
+ */
+ @JsonProperty(value = "cNameRecords")
+ private List cNameRecords;
+
+ /*
+ * TXT records visible for this hostname.
+ */
+ @JsonProperty(value = "txtRecords")
+ private List txtRecords;
+
+ /*
+ * A records visible for this hostname.
*/
- public SystemData systemData() {
- return this.systemData;
+ @JsonProperty(value = "aRecords")
+ private List aRecords;
+
+ /*
+ * Alternate CName records visible for this hostname.
+ */
+ @JsonProperty(value = "alternateCNameRecords")
+ private List alternateCNameRecords;
+
+ /*
+ * Alternate TXT records visible for this hostname.
+ */
+ @JsonProperty(value = "alternateTxtRecords")
+ private List alternateTxtRecords;
+
+ /** Creates an instance of CustomHostnameAnalysisResultInner class. */
+ public CustomHostnameAnalysisResultInner() {
}
/**
@@ -52,7 +97,7 @@ public SystemData systemData() {
* @return the hostname value.
*/
public String hostname() {
- return this.innerProperties() == null ? null : this.innerProperties().hostname();
+ return this.hostname;
}
/**
@@ -62,7 +107,7 @@ public String hostname() {
* @return the isHostnameAlreadyVerified value.
*/
public Boolean isHostnameAlreadyVerified() {
- return this.innerProperties() == null ? null : this.innerProperties().isHostnameAlreadyVerified();
+ return this.isHostnameAlreadyVerified;
}
/**
@@ -71,7 +116,7 @@ public Boolean isHostnameAlreadyVerified() {
* @return the customDomainVerificationTest value.
*/
public DnsVerificationTestResult customDomainVerificationTest() {
- return this.innerProperties() == null ? null : this.innerProperties().customDomainVerificationTest();
+ return this.customDomainVerificationTest;
}
/**
@@ -79,8 +124,8 @@ public DnsVerificationTestResult customDomainVerificationTest() {
*
* @return the customDomainVerificationFailureInfo value.
*/
- public DefaultErrorResponseError customDomainVerificationFailureInfo() {
- return this.innerProperties() == null ? null : this.innerProperties().customDomainVerificationFailureInfo();
+ public CustomHostnameAnalysisResultCustomDomainVerificationFailureInfo customDomainVerificationFailureInfo() {
+ return this.customDomainVerificationFailureInfo;
}
/**
@@ -90,7 +135,17 @@ public DefaultErrorResponseError customDomainVerificationFailureInfo() {
* @return the hasConflictOnManagedEnvironment value.
*/
public Boolean hasConflictOnManagedEnvironment() {
- return this.innerProperties() == null ? null : this.innerProperties().hasConflictOnManagedEnvironment();
+ return this.hasConflictOnManagedEnvironment;
+ }
+
+ /**
+ * Get the conflictWithEnvironmentCustomDomain property: <code>true</code> if there is a conflict on the
+ * Container App's managed environment level custom domain; otherwise, <code>false</code>.
+ *
+ * @return the conflictWithEnvironmentCustomDomain value.
+ */
+ public Boolean conflictWithEnvironmentCustomDomain() {
+ return this.conflictWithEnvironmentCustomDomain;
}
/**
@@ -100,7 +155,7 @@ public Boolean hasConflictOnManagedEnvironment() {
* @return the conflictingContainerAppResourceId value.
*/
public String conflictingContainerAppResourceId() {
- return this.innerProperties() == null ? null : this.innerProperties().conflictingContainerAppResourceId();
+ return this.conflictingContainerAppResourceId;
}
/**
@@ -109,7 +164,7 @@ public String conflictingContainerAppResourceId() {
* @return the cNameRecords value.
*/
public List cNameRecords() {
- return this.innerProperties() == null ? null : this.innerProperties().cNameRecords();
+ return this.cNameRecords;
}
/**
@@ -119,10 +174,7 @@ public List cNameRecords() {
* @return the CustomHostnameAnalysisResultInner object itself.
*/
public CustomHostnameAnalysisResultInner withCNameRecords(List cNameRecords) {
- if (this.innerProperties() == null) {
- this.innerProperties = new CustomHostnameAnalysisResultProperties();
- }
- this.innerProperties().withCNameRecords(cNameRecords);
+ this.cNameRecords = cNameRecords;
return this;
}
@@ -132,7 +184,7 @@ public CustomHostnameAnalysisResultInner withCNameRecords(List cNameReco
* @return the txtRecords value.
*/
public List txtRecords() {
- return this.innerProperties() == null ? null : this.innerProperties().txtRecords();
+ return this.txtRecords;
}
/**
@@ -142,10 +194,7 @@ public List txtRecords() {
* @return the CustomHostnameAnalysisResultInner object itself.
*/
public CustomHostnameAnalysisResultInner withTxtRecords(List txtRecords) {
- if (this.innerProperties() == null) {
- this.innerProperties = new CustomHostnameAnalysisResultProperties();
- }
- this.innerProperties().withTxtRecords(txtRecords);
+ this.txtRecords = txtRecords;
return this;
}
@@ -155,7 +204,7 @@ public CustomHostnameAnalysisResultInner withTxtRecords(List txtRecords)
* @return the aRecords value.
*/
public List aRecords() {
- return this.innerProperties() == null ? null : this.innerProperties().aRecords();
+ return this.aRecords;
}
/**
@@ -165,10 +214,7 @@ public List aRecords() {
* @return the CustomHostnameAnalysisResultInner object itself.
*/
public CustomHostnameAnalysisResultInner withARecords(List aRecords) {
- if (this.innerProperties() == null) {
- this.innerProperties = new CustomHostnameAnalysisResultProperties();
- }
- this.innerProperties().withARecords(aRecords);
+ this.aRecords = aRecords;
return this;
}
@@ -178,7 +224,7 @@ public CustomHostnameAnalysisResultInner withARecords(List aRecords) {
* @return the alternateCNameRecords value.
*/
public List alternateCNameRecords() {
- return this.innerProperties() == null ? null : this.innerProperties().alternateCNameRecords();
+ return this.alternateCNameRecords;
}
/**
@@ -188,10 +234,7 @@ public List alternateCNameRecords() {
* @return the CustomHostnameAnalysisResultInner object itself.
*/
public CustomHostnameAnalysisResultInner withAlternateCNameRecords(List alternateCNameRecords) {
- if (this.innerProperties() == null) {
- this.innerProperties = new CustomHostnameAnalysisResultProperties();
- }
- this.innerProperties().withAlternateCNameRecords(alternateCNameRecords);
+ this.alternateCNameRecords = alternateCNameRecords;
return this;
}
@@ -201,7 +244,7 @@ public CustomHostnameAnalysisResultInner withAlternateCNameRecords(List
* @return the alternateTxtRecords value.
*/
public List alternateTxtRecords() {
- return this.innerProperties() == null ? null : this.innerProperties().alternateTxtRecords();
+ return this.alternateTxtRecords;
}
/**
@@ -211,10 +254,7 @@ public List alternateTxtRecords() {
* @return the CustomHostnameAnalysisResultInner object itself.
*/
public CustomHostnameAnalysisResultInner withAlternateTxtRecords(List alternateTxtRecords) {
- if (this.innerProperties() == null) {
- this.innerProperties = new CustomHostnameAnalysisResultProperties();
- }
- this.innerProperties().withAlternateTxtRecords(alternateTxtRecords);
+ this.alternateTxtRecords = alternateTxtRecords;
return this;
}
@@ -224,8 +264,8 @@ public CustomHostnameAnalysisResultInner withAlternateTxtRecords(List al
* @throws IllegalArgumentException thrown if the instance is not valid.
*/
public void validate() {
- if (innerProperties() != null) {
- innerProperties().validate();
+ if (customDomainVerificationFailureInfo() != null) {
+ customDomainVerificationFailureInfo().validate();
}
}
}
diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/CustomHostnameAnalysisResultProperties.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/CustomHostnameAnalysisResultProperties.java
deleted file mode 100644
index c567bf14bcfd..000000000000
--- a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/CustomHostnameAnalysisResultProperties.java
+++ /dev/null
@@ -1,252 +0,0 @@
-// 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.DefaultErrorResponseError;
-import com.azure.resourcemanager.appcontainers.models.DnsVerificationTestResult;
-import com.fasterxml.jackson.annotation.JsonProperty;
-import java.util.List;
-
-/** CustomHostnameAnalysisResult resource specific properties. */
-@Fluent
-public final class CustomHostnameAnalysisResultProperties {
- /*
- * Host name that was analyzed
- */
- @JsonProperty(value = "hostName", access = JsonProperty.Access.WRITE_ONLY)
- private String hostname;
-
- /*
- * true
if hostname is already verified; otherwise,
- * false
.
- */
- @JsonProperty(value = "isHostnameAlreadyVerified", access = JsonProperty.Access.WRITE_ONLY)
- private Boolean isHostnameAlreadyVerified;
-
- /*
- * DNS verification test result.
- */
- @JsonProperty(value = "customDomainVerificationTest", access = JsonProperty.Access.WRITE_ONLY)
- private DnsVerificationTestResult customDomainVerificationTest;
-
- /*
- * Raw failure information if DNS verification fails.
- */
- @JsonProperty(value = "customDomainVerificationFailureInfo", access = JsonProperty.Access.WRITE_ONLY)
- private DefaultErrorResponseError customDomainVerificationFailureInfo;
-
- /*
- * true
if there is a conflict on the Container App's managed
- * environment; otherwise, false
.
- */
- @JsonProperty(value = "hasConflictOnManagedEnvironment", access = JsonProperty.Access.WRITE_ONLY)
- private Boolean hasConflictOnManagedEnvironment;
-
- /*
- * Name of the conflicting Container App on the Managed Environment if it's
- * within the same subscription.
- */
- @JsonProperty(value = "conflictingContainerAppResourceId", access = JsonProperty.Access.WRITE_ONLY)
- private String conflictingContainerAppResourceId;
-
- /*
- * CName records visible for this hostname.
- */
- @JsonProperty(value = "cNameRecords")
- private List cNameRecords;
-
- /*
- * TXT records visible for this hostname.
- */
- @JsonProperty(value = "txtRecords")
- private List txtRecords;
-
- /*
- * A records visible for this hostname.
- */
- @JsonProperty(value = "aRecords")
- private List aRecords;
-
- /*
- * Alternate CName records visible for this hostname.
- */
- @JsonProperty(value = "alternateCNameRecords")
- private List alternateCNameRecords;
-
- /*
- * Alternate TXT records visible for this hostname.
- */
- @JsonProperty(value = "alternateTxtRecords")
- private List alternateTxtRecords;
-
- /**
- * Get the hostname property: Host name that was analyzed.
- *
- * @return the hostname value.
- */
- public String hostname() {
- return this.hostname;
- }
-
- /**
- * Get the isHostnameAlreadyVerified property: <code>true</code> if hostname is already verified;
- * otherwise, <code>false</code>.
- *
- * @return the isHostnameAlreadyVerified value.
- */
- public Boolean isHostnameAlreadyVerified() {
- return this.isHostnameAlreadyVerified;
- }
-
- /**
- * Get the customDomainVerificationTest property: DNS verification test result.
- *
- * @return the customDomainVerificationTest value.
- */
- public DnsVerificationTestResult customDomainVerificationTest() {
- return this.customDomainVerificationTest;
- }
-
- /**
- * Get the customDomainVerificationFailureInfo property: Raw failure information if DNS verification fails.
- *
- * @return the customDomainVerificationFailureInfo value.
- */
- public DefaultErrorResponseError customDomainVerificationFailureInfo() {
- return this.customDomainVerificationFailureInfo;
- }
-
- /**
- * Get the hasConflictOnManagedEnvironment property: <code>true</code> if there is a conflict on the
- * Container App's managed environment; otherwise, <code>false</code>.
- *
- * @return the hasConflictOnManagedEnvironment value.
- */
- public Boolean hasConflictOnManagedEnvironment() {
- return this.hasConflictOnManagedEnvironment;
- }
-
- /**
- * Get the conflictingContainerAppResourceId property: Name of the conflicting Container App on the Managed
- * Environment if it's within the same subscription.
- *
- * @return the conflictingContainerAppResourceId value.
- */
- public String conflictingContainerAppResourceId() {
- return this.conflictingContainerAppResourceId;
- }
-
- /**
- * Get the cNameRecords property: CName records visible for this hostname.
- *
- * @return the cNameRecords value.
- */
- public List cNameRecords() {
- return this.cNameRecords;
- }
-
- /**
- * Set the cNameRecords property: CName records visible for this hostname.
- *
- * @param cNameRecords the cNameRecords value to set.
- * @return the CustomHostnameAnalysisResultProperties object itself.
- */
- public CustomHostnameAnalysisResultProperties withCNameRecords(List cNameRecords) {
- this.cNameRecords = cNameRecords;
- return this;
- }
-
- /**
- * Get the txtRecords property: TXT records visible for this hostname.
- *
- * @return the txtRecords value.
- */
- public List txtRecords() {
- return this.txtRecords;
- }
-
- /**
- * Set the txtRecords property: TXT records visible for this hostname.
- *
- * @param txtRecords the txtRecords value to set.
- * @return the CustomHostnameAnalysisResultProperties object itself.
- */
- public CustomHostnameAnalysisResultProperties withTxtRecords(List txtRecords) {
- this.txtRecords = txtRecords;
- return this;
- }
-
- /**
- * Get the aRecords property: A records visible for this hostname.
- *
- * @return the aRecords value.
- */
- public List aRecords() {
- return this.aRecords;
- }
-
- /**
- * Set the aRecords property: A records visible for this hostname.
- *
- * @param aRecords the aRecords value to set.
- * @return the CustomHostnameAnalysisResultProperties object itself.
- */
- public CustomHostnameAnalysisResultProperties withARecords(List aRecords) {
- this.aRecords = aRecords;
- return this;
- }
-
- /**
- * Get the alternateCNameRecords property: Alternate CName records visible for this hostname.
- *
- * @return the alternateCNameRecords value.
- */
- public List alternateCNameRecords() {
- return this.alternateCNameRecords;
- }
-
- /**
- * Set the alternateCNameRecords property: Alternate CName records visible for this hostname.
- *
- * @param alternateCNameRecords the alternateCNameRecords value to set.
- * @return the CustomHostnameAnalysisResultProperties object itself.
- */
- public CustomHostnameAnalysisResultProperties withAlternateCNameRecords(List alternateCNameRecords) {
- this.alternateCNameRecords = alternateCNameRecords;
- return this;
- }
-
- /**
- * Get the alternateTxtRecords property: Alternate TXT records visible for this hostname.
- *
- * @return the alternateTxtRecords value.
- */
- public List alternateTxtRecords() {
- return this.alternateTxtRecords;
- }
-
- /**
- * Set the alternateTxtRecords property: Alternate TXT records visible for this hostname.
- *
- * @param alternateTxtRecords the alternateTxtRecords value to set.
- * @return the CustomHostnameAnalysisResultProperties object itself.
- */
- public CustomHostnameAnalysisResultProperties withAlternateTxtRecords(List alternateTxtRecords) {
- this.alternateTxtRecords = alternateTxtRecords;
- return this;
- }
-
- /**
- * Validates the instance.
- *
- * @throws IllegalArgumentException thrown if the instance is not valid.
- */
- public void validate() {
- if (customDomainVerificationFailureInfo() != null) {
- customDomainVerificationFailureInfo().validate();
- }
- }
-}
diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/DaprComponentInner.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/DaprComponentInner.java
index 7d742a9d49b3..a35ad873e46c 100644
--- a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/DaprComponentInner.java
+++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/DaprComponentInner.java
@@ -22,12 +22,15 @@ public final class DaprComponentInner extends ProxyResource {
private DaprComponentProperties innerProperties;
/*
- * Azure Resource Manager metadata containing createdBy and modifiedBy
- * information.
+ * Azure Resource Manager metadata containing createdBy and modifiedBy information.
*/
@JsonProperty(value = "systemData", access = JsonProperty.Access.WRITE_ONLY)
private SystemData systemData;
+ /** Creates an instance of DaprComponentInner class. */
+ public DaprComponentInner() {
+ }
+
/**
* Get the innerProperties property: Dapr Component resource specific properties.
*
@@ -161,6 +164,29 @@ public DaprComponentInner withSecrets(List secrets) {
return this;
}
+ /**
+ * Get the secretStoreComponent property: Name of a Dapr component to retrieve component secrets from.
+ *
+ * @return the secretStoreComponent value.
+ */
+ public String secretStoreComponent() {
+ return this.innerProperties() == null ? null : this.innerProperties().secretStoreComponent();
+ }
+
+ /**
+ * Set the secretStoreComponent property: Name of a Dapr component to retrieve component secrets from.
+ *
+ * @param secretStoreComponent the secretStoreComponent value to set.
+ * @return the DaprComponentInner object itself.
+ */
+ public DaprComponentInner withSecretStoreComponent(String secretStoreComponent) {
+ if (this.innerProperties() == null) {
+ this.innerProperties = new DaprComponentProperties();
+ }
+ this.innerProperties().withSecretStoreComponent(secretStoreComponent);
+ return this;
+ }
+
/**
* Get the metadata property: Component metadata.
*
diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/DaprComponentProperties.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/DaprComponentProperties.java
index 9341c9fa3aed..5ea576bbf740 100644
--- a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/DaprComponentProperties.java
+++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/DaprComponentProperties.java
@@ -43,6 +43,12 @@ public final class DaprComponentProperties {
@JsonProperty(value = "secrets")
private List secrets;
+ /*
+ * Name of a Dapr component to retrieve component secrets from
+ */
+ @JsonProperty(value = "secretStoreComponent")
+ private String secretStoreComponent;
+
/*
* Component metadata
*/
@@ -55,6 +61,10 @@ public final class DaprComponentProperties {
@JsonProperty(value = "scopes")
private List scopes;
+ /** Creates an instance of DaprComponentProperties class. */
+ public DaprComponentProperties() {
+ }
+
/**
* Get the componentType property: Component type.
*
@@ -155,6 +165,26 @@ public DaprComponentProperties withSecrets(List secrets) {
return this;
}
+ /**
+ * Get the secretStoreComponent property: Name of a Dapr component to retrieve component secrets from.
+ *
+ * @return the secretStoreComponent value.
+ */
+ public String secretStoreComponent() {
+ return this.secretStoreComponent;
+ }
+
+ /**
+ * Set the secretStoreComponent property: Name of a Dapr component to retrieve component secrets from.
+ *
+ * @param secretStoreComponent the secretStoreComponent value to set.
+ * @return the DaprComponentProperties object itself.
+ */
+ public DaprComponentProperties withSecretStoreComponent(String secretStoreComponent) {
+ this.secretStoreComponent = secretStoreComponent;
+ return this;
+ }
+
/**
* Get the metadata property: Component metadata.
*
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 3c69e6c4b6c7..340ba9e1b5ac 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
@@ -10,7 +10,7 @@
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.List;
-/** Dapr component Secrets Collection ARM resource. */
+/** Dapr component Secrets Collection for ListSecrets Action. */
@Fluent
public final class DaprSecretsCollectionInner {
/*
@@ -19,6 +19,10 @@ public final class DaprSecretsCollectionInner {
@JsonProperty(value = "value", required = true)
private List value;
+ /** Creates an instance of DaprSecretsCollectionInner class. */
+ public DaprSecretsCollectionInner() {
+ }
+
/**
* Get the value property: Collection of secrets used by a Dapr component.
*
diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/DiagnosticsCollectionInner.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/DiagnosticsCollectionInner.java
new file mode 100644
index 000000000000..88c3ba58530a
--- /dev/null
+++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/DiagnosticsCollectionInner.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;
+
+/** Diagnostics data collection for a resource. */
+@Fluent
+public final class DiagnosticsCollectionInner {
+ /*
+ * Collection of diagnostic data.
+ */
+ @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 DiagnosticsCollectionInner class. */
+ public DiagnosticsCollectionInner() {
+ }
+
+ /**
+ * Get the value property: Collection of diagnostic data.
+ *
+ * @return the value value.
+ */
+ public List value() {
+ return this.value;
+ }
+
+ /**
+ * Set the value property: Collection of diagnostic data.
+ *
+ * @param value the value value to set.
+ * @return the DiagnosticsCollectionInner object itself.
+ */
+ public DiagnosticsCollectionInner 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 DiagnosticsCollectionInner"));
+ } else {
+ value().forEach(e -> e.validate());
+ }
+ }
+
+ private static final ClientLogger LOGGER = new ClientLogger(DiagnosticsCollectionInner.class);
+}
diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/DiagnosticsInner.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/DiagnosticsInner.java
new file mode 100644
index 000000000000..1c590f86793d
--- /dev/null
+++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/DiagnosticsInner.java
@@ -0,0 +1,71 @@
+// 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.ProxyResource;
+import com.azure.core.management.SystemData;
+import com.azure.resourcemanager.appcontainers.models.DiagnosticsProperties;
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+/** Diagnostics data for a resource. */
+@Fluent
+public final class DiagnosticsInner extends ProxyResource {
+ /*
+ * Diagnostics resource specific properties
+ */
+ @JsonProperty(value = "properties")
+ private DiagnosticsProperties 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 DiagnosticsInner class. */
+ public DiagnosticsInner() {
+ }
+
+ /**
+ * Get the properties property: Diagnostics resource specific properties.
+ *
+ * @return the properties value.
+ */
+ public DiagnosticsProperties properties() {
+ return this.properties;
+ }
+
+ /**
+ * Set the properties property: Diagnostics resource specific properties.
+ *
+ * @param properties the properties value to set.
+ * @return the DiagnosticsInner object itself.
+ */
+ public DiagnosticsInner withProperties(DiagnosticsProperties 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;
+ }
+
+ /**
+ * 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/EnvironmentAuthTokenInner.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/EnvironmentAuthTokenInner.java
new file mode 100644
index 000000000000..d756ff5d716b
--- /dev/null
+++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/EnvironmentAuthTokenInner.java
@@ -0,0 +1,93 @@
+// 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.fasterxml.jackson.annotation.JsonProperty;
+import java.time.OffsetDateTime;
+import java.util.Map;
+
+/** Environment Auth Token. */
+@Fluent
+public final class EnvironmentAuthTokenInner extends Resource {
+ /*
+ * Environment auth token resource specific properties
+ */
+ @JsonProperty(value = "properties")
+ private EnvironmentAuthTokenProperties 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 EnvironmentAuthTokenInner class. */
+ public EnvironmentAuthTokenInner() {
+ }
+
+ /**
+ * Get the innerProperties property: Environment auth token resource specific properties.
+ *
+ * @return the innerProperties value.
+ */
+ private EnvironmentAuthTokenProperties 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 EnvironmentAuthTokenInner withLocation(String location) {
+ super.withLocation(location);
+ return this;
+ }
+
+ /** {@inheritDoc} */
+ @Override
+ public EnvironmentAuthTokenInner withTags(Map tags) {
+ super.withTags(tags);
+ return this;
+ }
+
+ /**
+ * Get the token property: Auth token value.
+ *
+ * @return the token value.
+ */
+ public String token() {
+ return this.innerProperties() == null ? null : this.innerProperties().token();
+ }
+
+ /**
+ * Get the expires property: Token expiration date.
+ *
+ * @return the expires value.
+ */
+ public OffsetDateTime expires() {
+ return this.innerProperties() == null ? null : this.innerProperties().expires();
+ }
+
+ /**
+ * Validates the instance.
+ *
+ * @throws IllegalArgumentException thrown if the instance is not valid.
+ */
+ public void validate() {
+ if (innerProperties() != null) {
+ innerProperties().validate();
+ }
+ }
+}
diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/EnvironmentAuthTokenProperties.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/EnvironmentAuthTokenProperties.java
new file mode 100644
index 000000000000..775e90da2e84
--- /dev/null
+++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/EnvironmentAuthTokenProperties.java
@@ -0,0 +1,55 @@
+// 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.Immutable;
+import com.fasterxml.jackson.annotation.JsonProperty;
+import java.time.OffsetDateTime;
+
+/** Environment auth token resource specific properties. */
+@Immutable
+public final class EnvironmentAuthTokenProperties {
+ /*
+ * Auth token value.
+ */
+ @JsonProperty(value = "token", access = JsonProperty.Access.WRITE_ONLY)
+ private String token;
+
+ /*
+ * Token expiration date.
+ */
+ @JsonProperty(value = "expires", access = JsonProperty.Access.WRITE_ONLY)
+ private OffsetDateTime expires;
+
+ /** Creates an instance of EnvironmentAuthTokenProperties class. */
+ public EnvironmentAuthTokenProperties() {
+ }
+
+ /**
+ * Get the token property: Auth token value.
+ *
+ * @return the token value.
+ */
+ public String token() {
+ return this.token;
+ }
+
+ /**
+ * Get the expires property: Token expiration date.
+ *
+ * @return the expires value.
+ */
+ public OffsetDateTime expires() {
+ return this.expires;
+ }
+
+ /**
+ * 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/ManagedEnvironmentInner.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/ManagedEnvironmentInner.java
index 6eb3f4a165a4..a75d12a08e15 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
@@ -8,14 +8,24 @@
import com.azure.core.management.Resource;
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.EnvironmentProvisioningState;
+import com.azure.resourcemanager.appcontainers.models.EnvironmentSkuProperties;
import com.azure.resourcemanager.appcontainers.models.VnetConfiguration;
+import com.azure.resourcemanager.appcontainers.models.WorkloadProfile;
import com.fasterxml.jackson.annotation.JsonProperty;
+import java.util.List;
import java.util.Map;
/** An environment for hosting container apps. */
@Fluent
public final class ManagedEnvironmentInner extends Resource {
+ /*
+ * SKU properties of the Environment.
+ */
+ @JsonProperty(value = "sku")
+ private EnvironmentSkuProperties sku;
+
/*
* Managed environment resource specific properties
*/
@@ -23,12 +33,35 @@ public final class ManagedEnvironmentInner extends Resource {
private ManagedEnvironmentProperties innerProperties;
/*
- * Azure Resource Manager metadata containing createdBy and modifiedBy
- * information.
+ * Azure Resource Manager metadata containing createdBy and modifiedBy information.
*/
@JsonProperty(value = "systemData", access = JsonProperty.Access.WRITE_ONLY)
private SystemData systemData;
+ /** Creates an instance of ManagedEnvironmentInner class. */
+ public ManagedEnvironmentInner() {
+ }
+
+ /**
+ * Get the sku property: SKU properties of the Environment.
+ *
+ * @return the sku value.
+ */
+ public EnvironmentSkuProperties sku() {
+ return this.sku;
+ }
+
+ /**
+ * Set the sku property: SKU properties of the Environment.
+ *
+ * @param sku the sku value to set.
+ * @return the ManagedEnvironmentInner object itself.
+ */
+ public ManagedEnvironmentInner withSku(EnvironmentSkuProperties sku) {
+ this.sku = sku;
+ return this;
+ }
+
/**
* Get the innerProperties property: Managed environment resource specific properties.
*
@@ -218,12 +251,70 @@ public ManagedEnvironmentInner withZoneRedundant(Boolean zoneRedundant) {
return this;
}
+ /**
+ * Get the customDomainConfiguration property: Custom domain configuration for the environment.
+ *
+ * @return the customDomainConfiguration value.
+ */
+ public CustomDomainConfiguration customDomainConfiguration() {
+ return this.innerProperties() == null ? null : this.innerProperties().customDomainConfiguration();
+ }
+
+ /**
+ * Set the customDomainConfiguration property: Custom domain configuration for the environment.
+ *
+ * @param customDomainConfiguration the customDomainConfiguration value to set.
+ * @return the ManagedEnvironmentInner object itself.
+ */
+ public ManagedEnvironmentInner withCustomDomainConfiguration(CustomDomainConfiguration customDomainConfiguration) {
+ if (this.innerProperties() == null) {
+ this.innerProperties = new ManagedEnvironmentProperties();
+ }
+ this.innerProperties().withCustomDomainConfiguration(customDomainConfiguration);
+ return this;
+ }
+
+ /**
+ * Get the eventStreamEndpoint property: The endpoint of the eventstream of the Environment.
+ *
+ * @return the eventStreamEndpoint value.
+ */
+ public String eventStreamEndpoint() {
+ return this.innerProperties() == null ? null : this.innerProperties().eventStreamEndpoint();
+ }
+
+ /**
+ * Get the workloadProfiles property: Workload profiles configured for the Managed Environment.
+ *
+ * @return the workloadProfiles value.
+ */
+ public List workloadProfiles() {
+ return this.innerProperties() == null ? null : this.innerProperties().workloadProfiles();
+ }
+
+ /**
+ * Set the workloadProfiles property: Workload profiles configured for the Managed Environment.
+ *
+ * @param workloadProfiles the workloadProfiles value to set.
+ * @return the ManagedEnvironmentInner object itself.
+ */
+ public ManagedEnvironmentInner withWorkloadProfiles(List workloadProfiles) {
+ if (this.innerProperties() == null) {
+ this.innerProperties = new ManagedEnvironmentProperties();
+ }
+ this.innerProperties().withWorkloadProfiles(workloadProfiles);
+ 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 3a58e75fc37d..78ef578717a0 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
@@ -6,9 +6,12 @@
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.EnvironmentProvisioningState;
import com.azure.resourcemanager.appcontainers.models.VnetConfiguration;
+import com.azure.resourcemanager.appcontainers.models.WorkloadProfile;
import com.fasterxml.jackson.annotation.JsonProperty;
+import java.util.List;
/** Managed environment resource specific properties. */
@Fluent
@@ -20,15 +23,13 @@ public final class ManagedEnvironmentProperties {
private EnvironmentProvisioningState provisioningState;
/*
- * Azure Monitor instrumentation key used by Dapr to export Service to
- * Service communication telemetry
+ * Azure Monitor instrumentation key used by Dapr to export Service to Service communication telemetry
*/
@JsonProperty(value = "daprAIInstrumentationKey")
private String daprAIInstrumentationKey;
/*
- * Application Insights connection string used by Dapr to export Service to
- * Service communication telemetry
+ * Application Insights connection string used by Dapr to export Service to Service communication telemetry
*/
@JsonProperty(value = "daprAIConnectionString")
private String daprAIConnectionString;
@@ -71,6 +72,28 @@ public final class ManagedEnvironmentProperties {
@JsonProperty(value = "zoneRedundant")
private Boolean zoneRedundant;
+ /*
+ * Custom domain configuration for the environment
+ */
+ @JsonProperty(value = "customDomainConfiguration")
+ private CustomDomainConfiguration customDomainConfiguration;
+
+ /*
+ * The endpoint of the eventstream of the Environment.
+ */
+ @JsonProperty(value = "eventStreamEndpoint", access = JsonProperty.Access.WRITE_ONLY)
+ private String eventStreamEndpoint;
+
+ /*
+ * Workload profiles configured for the Managed Environment.
+ */
+ @JsonProperty(value = "workloadProfiles")
+ private List workloadProfiles;
+
+ /** Creates an instance of ManagedEnvironmentProperties class. */
+ public ManagedEnvironmentProperties() {
+ }
+
/**
* Get the provisioningState property: Provisioning state of the Environment.
*
@@ -213,6 +236,56 @@ public ManagedEnvironmentProperties withZoneRedundant(Boolean zoneRedundant) {
return this;
}
+ /**
+ * Get the customDomainConfiguration property: Custom domain configuration for the environment.
+ *
+ * @return the customDomainConfiguration value.
+ */
+ public CustomDomainConfiguration customDomainConfiguration() {
+ return this.customDomainConfiguration;
+ }
+
+ /**
+ * Set the customDomainConfiguration property: Custom domain configuration for the environment.
+ *
+ * @param customDomainConfiguration the customDomainConfiguration value to set.
+ * @return the ManagedEnvironmentProperties object itself.
+ */
+ public ManagedEnvironmentProperties withCustomDomainConfiguration(
+ CustomDomainConfiguration customDomainConfiguration) {
+ this.customDomainConfiguration = customDomainConfiguration;
+ return this;
+ }
+
+ /**
+ * Get the eventStreamEndpoint property: The endpoint of the eventstream of the Environment.
+ *
+ * @return the eventStreamEndpoint value.
+ */
+ public String eventStreamEndpoint() {
+ return this.eventStreamEndpoint;
+ }
+
+ /**
+ * Get the workloadProfiles property: Workload profiles configured for the Managed Environment.
+ *
+ * @return the workloadProfiles value.
+ */
+ public List workloadProfiles() {
+ return this.workloadProfiles;
+ }
+
+ /**
+ * Set the workloadProfiles property: Workload profiles configured for the Managed Environment.
+ *
+ * @param workloadProfiles the workloadProfiles value to set.
+ * @return the ManagedEnvironmentProperties object itself.
+ */
+ public ManagedEnvironmentProperties withWorkloadProfiles(List workloadProfiles) {
+ this.workloadProfiles = workloadProfiles;
+ return this;
+ }
+
/**
* Validates the instance.
*
@@ -225,5 +298,11 @@ public void validate() {
if (appLogsConfiguration() != null) {
appLogsConfiguration().validate();
}
+ if (customDomainConfiguration() != null) {
+ customDomainConfiguration().validate();
+ }
+ if (workloadProfiles() != null) {
+ workloadProfiles().forEach(e -> e.validate());
+ }
}
}
diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/ManagedEnvironmentStorageInner.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/ManagedEnvironmentStorageInner.java
index 887f1f9bd6aa..cf04d189ef98 100644
--- a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/ManagedEnvironmentStorageInner.java
+++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/ManagedEnvironmentStorageInner.java
@@ -20,12 +20,15 @@ public final class ManagedEnvironmentStorageInner extends ProxyResource {
private ManagedEnvironmentStorageProperties properties;
/*
- * Azure Resource Manager metadata containing createdBy and modifiedBy
- * information.
+ * Azure Resource Manager metadata containing createdBy and modifiedBy information.
*/
@JsonProperty(value = "systemData", access = JsonProperty.Access.WRITE_ONLY)
private SystemData systemData;
+ /** Creates an instance of ManagedEnvironmentStorageInner class. */
+ public ManagedEnvironmentStorageInner() {
+ }
+
/**
* Get the properties property: Storage properties.
*
diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/ManagedEnvironmentStoragesCollectionInner.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/ManagedEnvironmentStoragesCollectionInner.java
index f626146951a8..620546ce1064 100644
--- a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/ManagedEnvironmentStoragesCollectionInner.java
+++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/ManagedEnvironmentStoragesCollectionInner.java
@@ -18,6 +18,10 @@ public final class ManagedEnvironmentStoragesCollectionInner {
@JsonProperty(value = "value", required = true)
private List value;
+ /** Creates an instance of ManagedEnvironmentStoragesCollectionInner class. */
+ public ManagedEnvironmentStoragesCollectionInner() {
+ }
+
/**
* Get the value property: Collection of storage resources.
*
diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/OperationDetailInner.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/OperationDetailInner.java
index bfd8b608e397..f4a5897a8ff9 100644
--- a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/OperationDetailInner.java
+++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/OperationDetailInner.java
@@ -35,6 +35,10 @@ public final class OperationDetailInner {
@JsonProperty(value = "origin")
private String origin;
+ /** Creates an instance of OperationDetailInner class. */
+ public OperationDetailInner() {
+ }
+
/**
* Get the name property: Name of the operation.
*
diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/ReplicaCollectionInner.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/ReplicaCollectionInner.java
index 03131bce5a53..89aa52cf18ff 100644
--- a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/ReplicaCollectionInner.java
+++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/ReplicaCollectionInner.java
@@ -18,6 +18,10 @@ public final class ReplicaCollectionInner {
@JsonProperty(value = "value", required = true)
private List value;
+ /** Creates an instance of ReplicaCollectionInner class. */
+ public ReplicaCollectionInner() {
+ }
+
/**
* Get the value property: Collection of resources.
*
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 1fdacd15d9fe..5dfd65482343 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
@@ -22,12 +22,15 @@ public final class ReplicaInner extends ProxyResource {
private ReplicaProperties innerProperties;
/*
- * Azure Resource Manager metadata containing createdBy and modifiedBy
- * information.
+ * Azure Resource Manager metadata containing createdBy and modifiedBy information.
*/
@JsonProperty(value = "systemData", access = JsonProperty.Access.WRITE_ONLY)
private SystemData systemData;
+ /** Creates an instance of ReplicaInner class. */
+ public ReplicaInner() {
+ }
+
/**
* Get the innerProperties property: Replica resource specific properties.
*
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 9238ef5ba530..1ddc5027cdc9 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
@@ -25,6 +25,10 @@ public final class ReplicaProperties {
@JsonProperty(value = "containers")
private List containers;
+ /** Creates an instance of ReplicaProperties class. */
+ public ReplicaProperties() {
+ }
+
/**
* Get the createdTime property: Timestamp describing when the pod was created by controller.
*
diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/RevisionInner.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/RevisionInner.java
index 10388304b930..b69a3c85c633 100644
--- a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/RevisionInner.java
+++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/RevisionInner.java
@@ -4,7 +4,7 @@
package com.azure.resourcemanager.appcontainers.fluent.models;
-import com.azure.core.annotation.Fluent;
+import com.azure.core.annotation.Immutable;
import com.azure.core.management.ProxyResource;
import com.azure.core.management.SystemData;
import com.azure.resourcemanager.appcontainers.models.RevisionHealthState;
@@ -14,7 +14,7 @@
import java.time.OffsetDateTime;
/** Container App Revision. */
-@Fluent
+@Immutable
public final class RevisionInner extends ProxyResource {
/*
* Revision resource specific properties
@@ -23,12 +23,15 @@ public final class RevisionInner extends ProxyResource {
private RevisionProperties innerProperties;
/*
- * Azure Resource Manager metadata containing createdBy and modifiedBy
- * information.
+ * Azure Resource Manager metadata containing createdBy and modifiedBy information.
*/
@JsonProperty(value = "systemData", access = JsonProperty.Access.WRITE_ONLY)
private SystemData systemData;
+ /** Creates an instance of RevisionInner class. */
+ public RevisionInner() {
+ }
+
/**
* Get the innerProperties property: Revision resource specific properties.
*
@@ -56,6 +59,16 @@ public OffsetDateTime createdTime() {
return this.innerProperties() == null ? null : this.innerProperties().createdTime();
}
+ /**
+ * Get the lastActiveTime property: Timestamp describing when the revision was last active. Only meaningful when
+ * revision is inactive.
+ *
+ * @return the lastActiveTime value.
+ */
+ public OffsetDateTime lastActiveTime() {
+ return this.innerProperties() == null ? null : this.innerProperties().lastActiveTime();
+ }
+
/**
* Get the fqdn property: Fully qualified domain name of the revision.
*
diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/RevisionProperties.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/RevisionProperties.java
index bae22e238de8..a11ef7a98b97 100644
--- a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/RevisionProperties.java
+++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/RevisionProperties.java
@@ -21,6 +21,12 @@ public final class RevisionProperties {
@JsonProperty(value = "createdTime", access = JsonProperty.Access.WRITE_ONLY)
private OffsetDateTime createdTime;
+ /*
+ * Timestamp describing when the revision was last active. Only meaningful when revision is inactive
+ */
+ @JsonProperty(value = "lastActiveTime", access = JsonProperty.Access.WRITE_ONLY)
+ private OffsetDateTime lastActiveTime;
+
/*
* Fully qualified domain name of the revision
*/
@@ -71,6 +77,10 @@ public final class RevisionProperties {
@JsonProperty(value = "provisioningState", access = JsonProperty.Access.WRITE_ONLY)
private RevisionProvisioningState provisioningState;
+ /** Creates an instance of RevisionProperties class. */
+ public RevisionProperties() {
+ }
+
/**
* Get the createdTime property: Timestamp describing when the revision was created by controller.
*
@@ -80,6 +90,16 @@ public OffsetDateTime createdTime() {
return this.createdTime;
}
+ /**
+ * Get the lastActiveTime property: Timestamp describing when the revision was last active. Only meaningful when
+ * revision is inactive.
+ *
+ * @return the lastActiveTime value.
+ */
+ public OffsetDateTime lastActiveTime() {
+ return this.lastActiveTime;
+ }
+
/**
* Get the fqdn property: Fully qualified domain name of the revision.
*
diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/SecretsCollectionInner.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/SecretsCollectionInner.java
index 7f2fbf7fbb94..4d9eaacf9c0d 100644
--- a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/SecretsCollectionInner.java
+++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/SecretsCollectionInner.java
@@ -19,6 +19,10 @@ public final class SecretsCollectionInner {
@JsonProperty(value = "value", required = true)
private List value;
+ /** Creates an instance of SecretsCollectionInner class. */
+ public SecretsCollectionInner() {
+ }
+
/**
* Get the value property: Collection of resources.
*
diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/SourceControlInner.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/SourceControlInner.java
index 35e2285d769b..401141b646ef 100644
--- a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/SourceControlInner.java
+++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/SourceControlInner.java
@@ -21,12 +21,15 @@ public final class SourceControlInner extends ProxyResource {
private SourceControlProperties innerProperties;
/*
- * Azure Resource Manager metadata containing createdBy and modifiedBy
- * information.
+ * Azure Resource Manager metadata containing createdBy and modifiedBy information.
*/
@JsonProperty(value = "systemData", access = JsonProperty.Access.WRITE_ONLY)
private SystemData systemData;
+ /** Creates an instance of SourceControlInner class. */
+ public SourceControlInner() {
+ }
+
/**
* Get the innerProperties property: SourceControl resource specific properties.
*
diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/SourceControlProperties.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/SourceControlProperties.java
index c771117a5a7d..94c3efcb7970 100644
--- a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/SourceControlProperties.java
+++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/SourceControlProperties.java
@@ -38,6 +38,10 @@ public final class SourceControlProperties {
@JsonProperty(value = "githubActionConfiguration")
private GithubActionConfiguration githubActionConfiguration;
+ /** Creates an instance of SourceControlProperties class. */
+ public SourceControlProperties() {
+ }
+
/**
* Get the operationState property: Current provisioning State of the operation.
*
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
new file mode 100644
index 000000000000..94e932f257de
--- /dev/null
+++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/WorkloadProfileStatesInner.java
@@ -0,0 +1,71 @@
+// 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.ProxyResource;
+import com.azure.core.management.SystemData;
+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.. */
+@Fluent
+public final class WorkloadProfileStatesInner extends ProxyResource {
+ /*
+ * Workload Profile resource specific properties.
+ */
+ @JsonProperty(value = "properties")
+ private WorkloadProfileStatesProperties 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 WorkloadProfileStatesInner class. */
+ public WorkloadProfileStatesInner() {
+ }
+
+ /**
+ * Get the properties property: Workload Profile resource specific properties.
+ *
+ * @return the properties value.
+ */
+ public WorkloadProfileStatesProperties properties() {
+ return this.properties;
+ }
+
+ /**
+ * Set the properties property: Workload Profile resource specific properties.
+ *
+ * @param properties the properties value to set.
+ * @return the WorkloadProfileStatesInner object itself.
+ */
+ public WorkloadProfileStatesInner withProperties(WorkloadProfileStatesProperties 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;
+ }
+
+ /**
+ * 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/implementation/AuthConfigImpl.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/implementation/AuthConfigImpl.java
index c0449ab74286..9db849c965eb 100644
--- a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/implementation/AuthConfigImpl.java
+++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/implementation/AuthConfigImpl.java
@@ -4,6 +4,7 @@
package com.azure.resourcemanager.appcontainers.implementation;
+import com.azure.core.management.SystemData;
import com.azure.core.util.Context;
import com.azure.resourcemanager.appcontainers.fluent.models.AuthConfigInner;
import com.azure.resourcemanager.appcontainers.models.AuthConfig;
@@ -30,6 +31,10 @@ public String type() {
return this.innerModel().type();
}
+ public SystemData systemData() {
+ return this.innerModel().systemData();
+ }
+
public AuthPlatform platform() {
return this.innerModel().platform();
}
diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/implementation/AvailableWorkloadProfileImpl.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/implementation/AvailableWorkloadProfileImpl.java
new file mode 100644
index 000000000000..6426657e43c3
--- /dev/null
+++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/implementation/AvailableWorkloadProfileImpl.java
@@ -0,0 +1,55 @@
+// 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.core.management.SystemData;
+import com.azure.resourcemanager.appcontainers.fluent.models.AvailableWorkloadProfileInner;
+import com.azure.resourcemanager.appcontainers.models.AvailableWorkloadProfile;
+import com.azure.resourcemanager.appcontainers.models.AvailableWorkloadProfileProperties;
+
+public final class AvailableWorkloadProfileImpl implements AvailableWorkloadProfile {
+ private AvailableWorkloadProfileInner innerObject;
+
+ private final com.azure.resourcemanager.appcontainers.ContainerAppsApiManager serviceManager;
+
+ AvailableWorkloadProfileImpl(
+ AvailableWorkloadProfileInner innerObject,
+ com.azure.resourcemanager.appcontainers.ContainerAppsApiManager serviceManager) {
+ this.innerObject = innerObject;
+ this.serviceManager = serviceManager;
+ }
+
+ public String id() {
+ return this.innerModel().id();
+ }
+
+ public String name() {
+ return this.innerModel().name();
+ }
+
+ public String type() {
+ return this.innerModel().type();
+ }
+
+ public String location() {
+ return this.innerModel().location();
+ }
+
+ public AvailableWorkloadProfileProperties properties() {
+ return this.innerModel().properties();
+ }
+
+ public SystemData systemData() {
+ return this.innerModel().systemData();
+ }
+
+ public AvailableWorkloadProfileInner 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/AvailableWorkloadProfilesClientImpl.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/implementation/AvailableWorkloadProfilesClientImpl.java
new file mode 100644
index 000000000000..8a3a3e3b2b10
--- /dev/null
+++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/implementation/AvailableWorkloadProfilesClientImpl.java
@@ -0,0 +1,332 @@
+// 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.core.annotation.ExpectedResponses;
+import com.azure.core.annotation.Get;
+import com.azure.core.annotation.HeaderParam;
+import com.azure.core.annotation.Headers;
+import com.azure.core.annotation.Host;
+import com.azure.core.annotation.HostParam;
+import com.azure.core.annotation.PathParam;
+import com.azure.core.annotation.QueryParam;
+import com.azure.core.annotation.ReturnType;
+import com.azure.core.annotation.ServiceInterface;
+import com.azure.core.annotation.ServiceMethod;
+import com.azure.core.annotation.UnexpectedResponseExceptionType;
+import com.azure.core.http.rest.PagedFlux;
+import com.azure.core.http.rest.PagedIterable;
+import com.azure.core.http.rest.PagedResponse;
+import com.azure.core.http.rest.PagedResponseBase;
+import com.azure.core.http.rest.Response;
+import com.azure.core.http.rest.RestProxy;
+import com.azure.core.management.exception.ManagementException;
+import com.azure.core.util.Context;
+import com.azure.core.util.FluxUtil;
+import com.azure.resourcemanager.appcontainers.fluent.AvailableWorkloadProfilesClient;
+import com.azure.resourcemanager.appcontainers.fluent.models.AvailableWorkloadProfileInner;
+import com.azure.resourcemanager.appcontainers.models.AvailableWorkloadProfilesCollection;
+import reactor.core.publisher.Mono;
+
+/** An instance of this class provides access to all the operations defined in AvailableWorkloadProfilesClient. */
+public final class AvailableWorkloadProfilesClientImpl implements AvailableWorkloadProfilesClient {
+ /** The proxy service used to perform REST calls. */
+ private final AvailableWorkloadProfilesService service;
+
+ /** The service client containing this operation class. */
+ private final ContainerAppsApiClientImpl client;
+
+ /**
+ * Initializes an instance of AvailableWorkloadProfilesClientImpl.
+ *
+ * @param client the instance of the service client containing this operation class.
+ */
+ AvailableWorkloadProfilesClientImpl(ContainerAppsApiClientImpl client) {
+ this.service =
+ RestProxy
+ .create(
+ AvailableWorkloadProfilesService.class, client.getHttpPipeline(), client.getSerializerAdapter());
+ this.client = client;
+ }
+
+ /**
+ * The interface defining all the services for ContainerAppsApiClientAvailableWorkloadProfiles to be used by the
+ * proxy service to perform REST calls.
+ */
+ @Host("{$host}")
+ @ServiceInterface(name = "ContainerAppsApiClie")
+ private interface AvailableWorkloadProfilesService {
+ @Headers({"Content-Type: application/json"})
+ @Get(
+ "/subscriptions/{subscriptionId}/providers/Microsoft.App/locations/{location}"
+ + "/availableManagedEnvironmentsWorkloadProfileTypes")
+ @ExpectedResponses({200})
+ @UnexpectedResponseExceptionType(ManagementException.class)
+ Mono> get(
+ @HostParam("$host") String endpoint,
+ @PathParam("subscriptionId") String subscriptionId,
+ @PathParam("location") String location,
+ @QueryParam("api-version") String apiVersion,
+ @HeaderParam("Accept") String accept,
+ Context context);
+
+ @Headers({"Content-Type: application/json"})
+ @Get("{nextLink}")
+ @ExpectedResponses({200})
+ @UnexpectedResponseExceptionType(ManagementException.class)
+ Mono> getNext(
+ @PathParam(value = "nextLink", encoded = true) String nextLink,
+ @HostParam("$host") String endpoint,
+ @HeaderParam("Accept") String accept,
+ Context context);
+ }
+
+ /**
+ * Get available workload profiles by location.
+ *
+ * Get all available workload profiles for a location.
+ *
+ * @param location The name of Azure region.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return all available workload profiles for a location along with {@link PagedResponse} on successful completion
+ * of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Mono> getSinglePageAsync(String location) {
+ if (this.client.getEndpoint() == null) {
+ return Mono
+ .error(
+ new IllegalArgumentException(
+ "Parameter this.client.getEndpoint() is required and cannot be null."));
+ }
+ if (this.client.getSubscriptionId() == null) {
+ return Mono
+ .error(
+ new IllegalArgumentException(
+ "Parameter this.client.getSubscriptionId() is required and cannot be null."));
+ }
+ if (location == null) {
+ return Mono.error(new IllegalArgumentException("Parameter location is required and cannot be null."));
+ }
+ final String accept = "application/json";
+ return FluxUtil
+ .withContext(
+ context ->
+ service
+ .get(
+ this.client.getEndpoint(),
+ this.client.getSubscriptionId(),
+ location,
+ this.client.getApiVersion(),
+ accept,
+ context))
+ .>map(
+ res ->
+ new PagedResponseBase<>(
+ res.getRequest(),
+ res.getStatusCode(),
+ res.getHeaders(),
+ res.getValue().value(),
+ res.getValue().nextLink(),
+ null))
+ .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly()));
+ }
+
+ /**
+ * Get available workload profiles by location.
+ *
+ * Get all available workload profiles for a location.
+ *
+ * @param location The name of Azure region.
+ * @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 RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return all available workload profiles for a location along with {@link PagedResponse} on successful completion
+ * of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Mono> getSinglePageAsync(String location, Context context) {
+ if (this.client.getEndpoint() == null) {
+ return Mono
+ .error(
+ new IllegalArgumentException(
+ "Parameter this.client.getEndpoint() is required and cannot be null."));
+ }
+ if (this.client.getSubscriptionId() == null) {
+ return Mono
+ .error(
+ new IllegalArgumentException(
+ "Parameter this.client.getSubscriptionId() is required and cannot be null."));
+ }
+ if (location == null) {
+ return Mono.error(new IllegalArgumentException("Parameter location is required and cannot be null."));
+ }
+ final String accept = "application/json";
+ context = this.client.mergeContext(context);
+ return service
+ .get(
+ this.client.getEndpoint(),
+ this.client.getSubscriptionId(),
+ location,
+ this.client.getApiVersion(),
+ accept,
+ context)
+ .map(
+ res ->
+ new PagedResponseBase<>(
+ res.getRequest(),
+ res.getStatusCode(),
+ res.getHeaders(),
+ res.getValue().value(),
+ res.getValue().nextLink(),
+ null));
+ }
+
+ /**
+ * Get available workload profiles by location.
+ *
+ * Get all available workload profiles for a location.
+ *
+ * @param location The name of Azure region.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return all available workload profiles for a location as paginated response with {@link PagedFlux}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ private PagedFlux getAsync(String location) {
+ return new PagedFlux<>(() -> getSinglePageAsync(location), nextLink -> getNextSinglePageAsync(nextLink));
+ }
+
+ /**
+ * Get available workload profiles by location.
+ *
+ *