, JobInner> beginCreateOrUpdate(
* Patches a Container Apps Job using JSON Merge Patch.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param jobName Name of the Container Apps Job.
+ * @param jobName Job Name.
* @param jobEnvelope Properties used to create a container apps job.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
@@ -245,7 +244,7 @@ SyncPoller, JobInner> beginUpdate(
* Patches a Container Apps Job using JSON Merge Patch.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param jobName Name of the Container Apps Job.
+ * @param jobName Job Name.
* @param jobEnvelope Properties used to create a container apps job.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -264,7 +263,7 @@ SyncPoller, JobInner> beginUpdate(
* Patches a Container Apps Job using JSON Merge Patch.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param jobName Name of the Container Apps Job.
+ * @param jobName Job Name.
* @param jobEnvelope Properties used to create a container apps job.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
@@ -281,7 +280,7 @@ SyncPoller, JobInner> beginUpdate(
* Patches a Container Apps Job using JSON Merge Patch.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param jobName Name of the Container Apps Job.
+ * @param jobName Job Name.
* @param jobEnvelope Properties used to create a container apps job.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -297,7 +296,7 @@ SyncPoller, JobInner> beginUpdate(
* Start a Container Apps Job.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param jobName Name of the Container Apps Job.
+ * @param jobName Job Name.
* @param template Properties used to start a job instance.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
@@ -313,7 +312,7 @@ SyncPoller, JobExecutionBaseInner> beginStart(
* Start a Container Apps Job.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param jobName Name of the Container Apps Job.
+ * @param jobName Job Name.
* @param template Properties used to start a job instance.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -330,7 +329,7 @@ SyncPoller, JobExecutionBaseInner> beginStart(
* Start a Container Apps Job.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param jobName Name of the Container Apps Job.
+ * @param jobName Job Name.
* @param template Properties used to start a job instance.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
@@ -345,7 +344,7 @@ SyncPoller, JobExecutionBaseInner> beginStart(
* Start a Container Apps Job.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param jobName Name of the Container Apps Job.
+ * @param jobName Job Name.
* @param template Properties used to start a job instance.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -362,7 +361,7 @@ JobExecutionBaseInner start(
* Terminates execution of a running container apps job.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param jobName Name of the Container Apps Job.
+ * @param jobName Job Name.
* @param jobExecutionName Job execution name.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
@@ -378,7 +377,7 @@ SyncPoller, Void> beginStopExecution(
* Terminates execution of a running container apps job.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param jobName Name of the Container Apps Job.
+ * @param jobName Job Name.
* @param jobExecutionName Job execution name.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -395,7 +394,7 @@ SyncPoller, Void> beginStopExecution(
* Terminates execution of a running container apps job.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param jobName Name of the Container Apps Job.
+ * @param jobName Job Name.
* @param jobExecutionName Job execution name.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
@@ -409,7 +408,7 @@ SyncPoller, Void> beginStopExecution(
* Terminates execution of a running container apps job.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param jobName Name of the Container Apps Job.
+ * @param jobName Job Name.
* @param jobExecutionName Job execution name.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -424,8 +423,7 @@ SyncPoller, Void> beginStopExecution(
* Terminates execution of a running container apps job.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param jobName Name of the Container Apps Job.
- * @param jobExecutionName List of all job executions that should be stopped.
+ * @param jobName Job Name.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
* is rejected by server.
@@ -434,14 +432,13 @@ SyncPoller, Void> beginStopExecution(
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, ContainerAppJobExecutionsInner> beginStopMultipleExecutions(
- String resourceGroupName, String jobName, JobExecutionNamesCollection jobExecutionName);
+ String resourceGroupName, String jobName);
/**
* Terminates execution of a running container apps job.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param jobName Name of the Container Apps Job.
- * @param jobExecutionName List of all job executions that should be stopped.
+ * @param jobName Job Name.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
@@ -451,14 +448,13 @@ SyncPoller, ContainerAppJobExecutions
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, ContainerAppJobExecutionsInner> beginStopMultipleExecutions(
- String resourceGroupName, String jobName, JobExecutionNamesCollection jobExecutionName, Context context);
+ String resourceGroupName, String jobName, Context context);
/**
* Terminates execution of a running container apps job.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param jobName Name of the Container Apps Job.
- * @param jobExecutionName List of all job executions that should be stopped.
+ * @param jobName Job Name.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
* is rejected by server.
@@ -466,15 +462,13 @@ SyncPoller, ContainerAppJobExecutions
* @return container App executions collection ARM resource.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- ContainerAppJobExecutionsInner stopMultipleExecutions(
- String resourceGroupName, String jobName, JobExecutionNamesCollection jobExecutionName);
+ ContainerAppJobExecutionsInner stopMultipleExecutions(String resourceGroupName, String jobName);
/**
* Terminates execution of a running container apps job.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param jobName Name of the Container Apps Job.
- * @param jobExecutionName List of all job executions that should be stopped.
+ * @param jobName Job Name.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
@@ -483,14 +477,13 @@ ContainerAppJobExecutionsInner stopMultipleExecutions(
* @return container App executions collection ARM resource.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- ContainerAppJobExecutionsInner stopMultipleExecutions(
- String resourceGroupName, String jobName, JobExecutionNamesCollection jobExecutionName, Context context);
+ ContainerAppJobExecutionsInner stopMultipleExecutions(String resourceGroupName, String jobName, Context context);
/**
* List secrets for a container apps job.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param jobName Name of the Container Apps Job.
+ * @param jobName Job Name.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
@@ -506,7 +499,7 @@ Response listSecretsWithResponse(
* List secrets for a container apps job.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param jobName Name of the Container Apps Job.
+ * @param jobName Job Name.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
* is rejected by server.
diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/JobsExecutionsClient.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/JobsExecutionsClient.java
index 7b5284f29e51..402658e9be84 100644
--- a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/JobsExecutionsClient.java
+++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/JobsExecutionsClient.java
@@ -16,7 +16,7 @@ public interface JobsExecutionsClient {
* Get a Container Apps Job's executions.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param jobName Name of the Container Apps Job.
+ * @param jobName Job Name.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
* is rejected by server.
@@ -30,7 +30,7 @@ public interface JobsExecutionsClient {
* Get a Container Apps Job's executions.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param jobName Name of the Container Apps Job.
+ * @param jobName Job Name.
* @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.
diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/ManagedEnvironmentUsagesClient.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/ManagedEnvironmentUsagesClient.java
new file mode 100644
index 000000000000..87f185fd1c39
--- /dev/null
+++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/ManagedEnvironmentUsagesClient.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.PagedIterable;
+import com.azure.core.util.Context;
+import com.azure.resourcemanager.appcontainers.fluent.models.UsageInner;
+
+/** An instance of this class provides access to all the operations defined in ManagedEnvironmentUsagesClient. */
+public interface ManagedEnvironmentUsagesClient {
+ /**
+ * Gets the current usage information as well as the limits for environment.
+ *
+ * @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 current usage information as well as the limits for environment as paginated response with {@link
+ * PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(String resourceGroupName, String environmentName);
+
+ /**
+ * Gets the current usage information as well as the limits for environment.
+ *
+ * @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 current usage information as well as the limits for environment as paginated response with {@link
+ * PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(String resourceGroupName, String environmentName, Context context);
+}
diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/ResourceProvidersClient.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/ResourceProvidersClient.java
new file mode 100644
index 000000000000..01f24b00b3ef
--- /dev/null
+++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/ResourceProvidersClient.java
@@ -0,0 +1,70 @@
+// 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.JobExecutionInner;
+
+/** An instance of this class provides access to all the operations defined in ResourceProvidersClient. */
+public interface ResourceProvidersClient {
+ /**
+ * Get details of a single job execution.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param jobName Job Name.
+ * @param jobExecutionName Job execution name.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
+ * is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return details of a single job execution along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response jobExecutionWithResponse(
+ String resourceGroupName, String jobName, String jobExecutionName, Context context);
+
+ /**
+ * Get details of a single job execution.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param jobName Job Name.
+ * @param jobExecutionName Job execution name.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
+ * is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return details of a single job execution.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ JobExecutionInner jobExecution(String resourceGroupName, String jobName, String jobExecutionName);
+
+ /**
+ * Get the verification id of a subscription used for verifying custom domains.
+ *
+ * @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 verification id of a subscription used for verifying custom domains along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getCustomDomainVerificationIdWithResponse(Context context);
+
+ /**
+ * Get the verification id of a subscription used for verifying custom domains.
+ *
+ * @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 verification id of a subscription used for verifying custom domains.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ String getCustomDomainVerificationId();
+}
diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/UsagesClient.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/UsagesClient.java
new file mode 100644
index 000000000000..fc76f574171f
--- /dev/null
+++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/UsagesClient.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.UsageInner;
+
+/** An instance of this class provides access to all the operations defined in UsagesClient. */
+public interface UsagesClient {
+ /**
+ * Gets, for the specified location, the current resource usage information as well as the limits under the
+ * subscription.
+ *
+ * @param location The location for which resource usage is queried.
+ * @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 paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(String location);
+
+ /**
+ * Gets, for the specified location, the current resource usage information as well as the limits under the
+ * subscription.
+ *
+ * @param location The location for which resource usage is queried.
+ * @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 paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(String location, Context context);
+}
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 7a3c141ee7e5..9dd895de50a7 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
@@ -8,6 +8,7 @@
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.EncryptionSettings;
import com.azure.resourcemanager.appcontainers.models.GlobalValidation;
import com.azure.resourcemanager.appcontainers.models.HttpSettings;
import com.azure.resourcemanager.appcontainers.models.IdentityProviders;
@@ -176,6 +177,31 @@ public AuthConfigInner withHttpSettings(HttpSettings httpSettings) {
return this;
}
+ /**
+ * Get the encryptionSettings property: The configuration settings of the secrets references of encryption key and
+ * signing key for ContainerApp Service Authentication/Authorization.
+ *
+ * @return the encryptionSettings value.
+ */
+ public EncryptionSettings encryptionSettings() {
+ return this.innerProperties() == null ? null : this.innerProperties().encryptionSettings();
+ }
+
+ /**
+ * Set the encryptionSettings property: The configuration settings of the secrets references of encryption key and
+ * signing key for ContainerApp Service Authentication/Authorization.
+ *
+ * @param encryptionSettings the encryptionSettings value to set.
+ * @return the AuthConfigInner object itself.
+ */
+ public AuthConfigInner withEncryptionSettings(EncryptionSettings encryptionSettings) {
+ if (this.innerProperties() == null) {
+ this.innerProperties = new AuthConfigProperties();
+ }
+ this.innerProperties().withEncryptionSettings(encryptionSettings);
+ return this;
+ }
+
/**
* Validates the instance.
*
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 9562abcf1c1d..d1483c9f407d 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
@@ -6,6 +6,7 @@
import com.azure.core.annotation.Fluent;
import com.azure.resourcemanager.appcontainers.models.AuthPlatform;
+import com.azure.resourcemanager.appcontainers.models.EncryptionSettings;
import com.azure.resourcemanager.appcontainers.models.GlobalValidation;
import com.azure.resourcemanager.appcontainers.models.HttpSettings;
import com.azure.resourcemanager.appcontainers.models.IdentityProviders;
@@ -48,6 +49,13 @@ public final class AuthConfigProperties {
@JsonProperty(value = "httpSettings")
private HttpSettings httpSettings;
+ /*
+ * The configuration settings of the secrets references of encryption key and signing key for ContainerApp Service
+ * Authentication/Authorization.
+ */
+ @JsonProperty(value = "encryptionSettings")
+ private EncryptionSettings encryptionSettings;
+
/** Creates an instance of AuthConfigProperties class. */
public AuthConfigProperties() {
}
@@ -162,6 +170,28 @@ public AuthConfigProperties withHttpSettings(HttpSettings httpSettings) {
return this;
}
+ /**
+ * Get the encryptionSettings property: The configuration settings of the secrets references of encryption key and
+ * signing key for ContainerApp Service Authentication/Authorization.
+ *
+ * @return the encryptionSettings value.
+ */
+ public EncryptionSettings encryptionSettings() {
+ return this.encryptionSettings;
+ }
+
+ /**
+ * Set the encryptionSettings property: The configuration settings of the secrets references of encryption key and
+ * signing key for ContainerApp Service Authentication/Authorization.
+ *
+ * @param encryptionSettings the encryptionSettings value to set.
+ * @return the AuthConfigProperties object itself.
+ */
+ public AuthConfigProperties withEncryptionSettings(EncryptionSettings encryptionSettings) {
+ this.encryptionSettings = encryptionSettings;
+ return this;
+ }
+
/**
* Validates the instance.
*
@@ -183,5 +213,8 @@ public void validate() {
if (httpSettings() != null) {
httpSettings().validate();
}
+ if (encryptionSettings() != null) {
+ encryptionSettings().validate();
+ }
}
}
diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/AvailableWorkloadProfileInner.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/AvailableWorkloadProfileInner.java
index 29bba9a50779..ad62df22ee74 100644
--- a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/AvailableWorkloadProfileInner.java
+++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/AvailableWorkloadProfileInner.java
@@ -6,7 +6,6 @@
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;
@@ -25,12 +24,6 @@ public final class AvailableWorkloadProfileInner extends ProxyResource {
@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() {
}
@@ -75,15 +68,6 @@ public AvailableWorkloadProfileInner withProperties(AvailableWorkloadProfileProp
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.
*
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
index bbbf23cc740d..4114a1b4e732 100644
--- 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
@@ -6,7 +6,6 @@
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;
@@ -19,12 +18,6 @@ public final class ConnectedEnvironmentStorageInner extends ProxyResource {
@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() {
}
@@ -49,15 +42,6 @@ public ConnectedEnvironmentStorageInner withProperties(ConnectedEnvironmentStora
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.
*
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 a35ad873e46c..bb777312434d 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
@@ -6,7 +6,6 @@
import com.azure.core.annotation.Fluent;
import com.azure.core.management.ProxyResource;
-import com.azure.core.management.SystemData;
import com.azure.resourcemanager.appcontainers.models.DaprMetadata;
import com.azure.resourcemanager.appcontainers.models.Secret;
import com.fasterxml.jackson.annotation.JsonProperty;
@@ -21,12 +20,6 @@ public final class DaprComponentInner extends ProxyResource {
@JsonProperty(value = "properties")
private DaprComponentProperties 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 DaprComponentInner class. */
public DaprComponentInner() {
}
@@ -40,15 +33,6 @@ private DaprComponentProperties 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 componentType property: Component type.
*
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
index 1c590f86793d..8bd178e635bb 100644
--- 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
@@ -6,7 +6,6 @@
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;
@@ -19,12 +18,6 @@ public final class DiagnosticsInner extends ProxyResource {
@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() {
}
@@ -49,15 +42,6 @@ public DiagnosticsInner withProperties(DiagnosticsProperties 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.
*
diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/JobExecutionInner.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/JobExecutionInner.java
index 116681ecc04d..dbebc66d46a4 100644
--- a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/JobExecutionInner.java
+++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/JobExecutionInner.java
@@ -10,7 +10,7 @@
import com.fasterxml.jackson.annotation.JsonProperty;
import java.time.OffsetDateTime;
-/** Container Apps Jobs execution. */
+/** Container Apps Job execution. */
@Fluent
public final class JobExecutionInner {
/*
@@ -44,7 +44,7 @@ public final class JobExecutionInner {
private OffsetDateTime startTime;
/*
- * Job execution start time.
+ * Job execution end time.
*/
@JsonProperty(value = "endTime")
private OffsetDateTime endTime;
@@ -149,7 +149,7 @@ public JobExecutionInner withStartTime(OffsetDateTime startTime) {
}
/**
- * Get the endTime property: Job execution start time.
+ * Get the endTime property: Job execution end time.
*
* @return the endTime value.
*/
@@ -158,7 +158,7 @@ public OffsetDateTime endTime() {
}
/**
- * Set the endTime property: Job execution start time.
+ * Set the endTime property: Job execution end time.
*
* @param endTime the endTime value to set.
* @return the JobExecutionInner object itself.
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 f3c137f21723..897faf511a69 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
@@ -12,6 +12,7 @@
import com.azure.resourcemanager.appcontainers.models.DaprConfiguration;
import com.azure.resourcemanager.appcontainers.models.EnvironmentProvisioningState;
import com.azure.resourcemanager.appcontainers.models.KedaConfiguration;
+import com.azure.resourcemanager.appcontainers.models.ManagedEnvironmentPropertiesPeerAuthentication;
import com.azure.resourcemanager.appcontainers.models.VnetConfiguration;
import com.azure.resourcemanager.appcontainers.models.WorkloadProfile;
import com.fasterxml.jackson.annotation.JsonProperty;
@@ -380,6 +381,30 @@ public ManagedEnvironmentInner withInfrastructureResourceGroup(String infrastruc
return this;
}
+ /**
+ * Get the peerAuthentication property: Peer authentication settings for the Managed Environment.
+ *
+ * @return the peerAuthentication value.
+ */
+ public ManagedEnvironmentPropertiesPeerAuthentication peerAuthentication() {
+ return this.innerProperties() == null ? null : this.innerProperties().peerAuthentication();
+ }
+
+ /**
+ * Set the peerAuthentication property: Peer authentication settings for the Managed Environment.
+ *
+ * @param peerAuthentication the peerAuthentication value to set.
+ * @return the ManagedEnvironmentInner object itself.
+ */
+ public ManagedEnvironmentInner withPeerAuthentication(
+ ManagedEnvironmentPropertiesPeerAuthentication peerAuthentication) {
+ if (this.innerProperties() == null) {
+ this.innerProperties = new ManagedEnvironmentProperties();
+ }
+ this.innerProperties().withPeerAuthentication(peerAuthentication);
+ return this;
+ }
+
/**
* Validates the instance.
*
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 d36af4c8d7ae..f14479db3aa5 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
@@ -10,6 +10,7 @@
import com.azure.resourcemanager.appcontainers.models.DaprConfiguration;
import com.azure.resourcemanager.appcontainers.models.EnvironmentProvisioningState;
import com.azure.resourcemanager.appcontainers.models.KedaConfiguration;
+import com.azure.resourcemanager.appcontainers.models.ManagedEnvironmentPropertiesPeerAuthentication;
import com.azure.resourcemanager.appcontainers.models.VnetConfiguration;
import com.azure.resourcemanager.appcontainers.models.WorkloadProfile;
import com.fasterxml.jackson.annotation.JsonProperty;
@@ -112,6 +113,12 @@ public final class ManagedEnvironmentProperties {
@JsonProperty(value = "infrastructureResourceGroup")
private String infrastructureResourceGroup;
+ /*
+ * Peer authentication settings for the Managed Environment
+ */
+ @JsonProperty(value = "peerAuthentication")
+ private ManagedEnvironmentPropertiesPeerAuthentication peerAuthentication;
+
/** Creates an instance of ManagedEnvironmentProperties class. */
public ManagedEnvironmentProperties() {
}
@@ -372,6 +379,27 @@ public ManagedEnvironmentProperties withInfrastructureResourceGroup(String infra
return this;
}
+ /**
+ * Get the peerAuthentication property: Peer authentication settings for the Managed Environment.
+ *
+ * @return the peerAuthentication value.
+ */
+ public ManagedEnvironmentPropertiesPeerAuthentication peerAuthentication() {
+ return this.peerAuthentication;
+ }
+
+ /**
+ * Set the peerAuthentication property: Peer authentication settings for the Managed Environment.
+ *
+ * @param peerAuthentication the peerAuthentication value to set.
+ * @return the ManagedEnvironmentProperties object itself.
+ */
+ public ManagedEnvironmentProperties withPeerAuthentication(
+ ManagedEnvironmentPropertiesPeerAuthentication peerAuthentication) {
+ this.peerAuthentication = peerAuthentication;
+ return this;
+ }
+
/**
* Validates the instance.
*
@@ -396,5 +424,8 @@ public void validate() {
if (daprConfiguration() != null) {
daprConfiguration().validate();
}
+ if (peerAuthentication() != null) {
+ peerAuthentication().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 cf04d189ef98..5b01b9826d61 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
@@ -6,7 +6,6 @@
import com.azure.core.annotation.Fluent;
import com.azure.core.management.ProxyResource;
-import com.azure.core.management.SystemData;
import com.azure.resourcemanager.appcontainers.models.ManagedEnvironmentStorageProperties;
import com.fasterxml.jackson.annotation.JsonProperty;
@@ -19,12 +18,6 @@ public final class ManagedEnvironmentStorageInner extends ProxyResource {
@JsonProperty(value = "properties")
private ManagedEnvironmentStorageProperties 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 ManagedEnvironmentStorageInner class. */
public ManagedEnvironmentStorageInner() {
}
@@ -49,15 +42,6 @@ public ManagedEnvironmentStorageInner withProperties(ManagedEnvironmentStoragePr
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.
*
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 5dfd65482343..503299ffa44f 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
@@ -6,7 +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.ContainerAppReplicaRunningState;
import com.azure.resourcemanager.appcontainers.models.ReplicaContainer;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.time.OffsetDateTime;
@@ -21,12 +21,6 @@ public final class ReplicaInner extends ProxyResource {
@JsonProperty(value = "properties")
private ReplicaProperties 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 ReplicaInner class. */
public ReplicaInner() {
}
@@ -41,21 +35,30 @@ private ReplicaProperties innerProperties() {
}
/**
- * Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
+ * Get the createdTime property: Timestamp describing when the pod was created by controller.
*
- * @return the systemData value.
+ * @return the createdTime value.
*/
- public SystemData systemData() {
- return this.systemData;
+ public OffsetDateTime createdTime() {
+ return this.innerProperties() == null ? null : this.innerProperties().createdTime();
}
/**
- * Get the createdTime property: Timestamp describing when the pod was created by controller.
+ * Get the runningState property: Current running state of the replica.
*
- * @return the createdTime value.
+ * @return the runningState value.
*/
- public OffsetDateTime createdTime() {
- return this.innerProperties() == null ? null : this.innerProperties().createdTime();
+ public ContainerAppReplicaRunningState runningState() {
+ return this.innerProperties() == null ? null : this.innerProperties().runningState();
+ }
+
+ /**
+ * Get the runningStateDetails property: The details of replica current running state.
+ *
+ * @return the runningStateDetails value.
+ */
+ public String runningStateDetails() {
+ return this.innerProperties() == null ? null : this.innerProperties().runningStateDetails();
}
/**
@@ -81,6 +84,29 @@ public ReplicaInner withContainers(List containers) {
return this;
}
+ /**
+ * Get the initContainers property: The init containers collection under a replica.
+ *
+ * @return the initContainers value.
+ */
+ public List initContainers() {
+ return this.innerProperties() == null ? null : this.innerProperties().initContainers();
+ }
+
+ /**
+ * Set the initContainers property: The init containers collection under a replica.
+ *
+ * @param initContainers the initContainers value to set.
+ * @return the ReplicaInner object itself.
+ */
+ public ReplicaInner withInitContainers(List initContainers) {
+ if (this.innerProperties() == null) {
+ this.innerProperties = new ReplicaProperties();
+ }
+ this.innerProperties().withInitContainers(initContainers);
+ return this;
+ }
+
/**
* Validates the instance.
*
diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/ReplicaProperties.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/ReplicaProperties.java
index 1ddc5027cdc9..0d3eed1784a7 100644
--- a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/ReplicaProperties.java
+++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/ReplicaProperties.java
@@ -5,6 +5,7 @@
package com.azure.resourcemanager.appcontainers.fluent.models;
import com.azure.core.annotation.Fluent;
+import com.azure.resourcemanager.appcontainers.models.ContainerAppReplicaRunningState;
import com.azure.resourcemanager.appcontainers.models.ReplicaContainer;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.time.OffsetDateTime;
@@ -19,12 +20,30 @@ public final class ReplicaProperties {
@JsonProperty(value = "createdTime", access = JsonProperty.Access.WRITE_ONLY)
private OffsetDateTime createdTime;
+ /*
+ * Current running state of the replica
+ */
+ @JsonProperty(value = "runningState", access = JsonProperty.Access.WRITE_ONLY)
+ private ContainerAppReplicaRunningState runningState;
+
+ /*
+ * The details of replica current running state
+ */
+ @JsonProperty(value = "runningStateDetails", access = JsonProperty.Access.WRITE_ONLY)
+ private String runningStateDetails;
+
/*
* The containers collection under a replica.
*/
@JsonProperty(value = "containers")
private List containers;
+ /*
+ * The init containers collection under a replica.
+ */
+ @JsonProperty(value = "initContainers")
+ private List initContainers;
+
/** Creates an instance of ReplicaProperties class. */
public ReplicaProperties() {
}
@@ -38,6 +57,24 @@ public OffsetDateTime createdTime() {
return this.createdTime;
}
+ /**
+ * Get the runningState property: Current running state of the replica.
+ *
+ * @return the runningState value.
+ */
+ public ContainerAppReplicaRunningState runningState() {
+ return this.runningState;
+ }
+
+ /**
+ * Get the runningStateDetails property: The details of replica current running state.
+ *
+ * @return the runningStateDetails value.
+ */
+ public String runningStateDetails() {
+ return this.runningStateDetails;
+ }
+
/**
* Get the containers property: The containers collection under a replica.
*
@@ -58,6 +95,26 @@ public ReplicaProperties withContainers(List containers) {
return this;
}
+ /**
+ * Get the initContainers property: The init containers collection under a replica.
+ *
+ * @return the initContainers value.
+ */
+ public List initContainers() {
+ return this.initContainers;
+ }
+
+ /**
+ * Set the initContainers property: The init containers collection under a replica.
+ *
+ * @param initContainers the initContainers value to set.
+ * @return the ReplicaProperties object itself.
+ */
+ public ReplicaProperties withInitContainers(List initContainers) {
+ this.initContainers = initContainers;
+ return this;
+ }
+
/**
* Validates the instance.
*
@@ -67,5 +124,8 @@ public void validate() {
if (containers() != null) {
containers().forEach(e -> e.validate());
}
+ if (initContainers() != null) {
+ initContainers().forEach(e -> e.validate());
+ }
}
}
diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/RevisionInner.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/RevisionInner.java
index b69a3c85c633..178306f4e3f2 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
@@ -6,9 +6,9 @@
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;
import com.azure.resourcemanager.appcontainers.models.RevisionProvisioningState;
+import com.azure.resourcemanager.appcontainers.models.RevisionRunningState;
import com.azure.resourcemanager.appcontainers.models.Template;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.time.OffsetDateTime;
@@ -22,12 +22,6 @@ public final class RevisionInner extends ProxyResource {
@JsonProperty(value = "properties")
private RevisionProperties 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 RevisionInner class. */
public RevisionInner() {
}
@@ -41,15 +35,6 @@ private RevisionProperties 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 createdTime property: Timestamp describing when the revision was created by controller.
*
@@ -142,6 +127,15 @@ public RevisionProvisioningState provisioningState() {
return this.innerProperties() == null ? null : this.innerProperties().provisioningState();
}
+ /**
+ * Get the runningState property: Current running state of the revision.
+ *
+ * @return the runningState value.
+ */
+ public RevisionRunningState runningState() {
+ return this.innerProperties() == null ? null : this.innerProperties().runningState();
+ }
+
/**
* Validates the instance.
*
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 a11ef7a98b97..64782de6f21c 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
@@ -7,6 +7,7 @@
import com.azure.core.annotation.Immutable;
import com.azure.resourcemanager.appcontainers.models.RevisionHealthState;
import com.azure.resourcemanager.appcontainers.models.RevisionProvisioningState;
+import com.azure.resourcemanager.appcontainers.models.RevisionRunningState;
import com.azure.resourcemanager.appcontainers.models.Template;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.time.OffsetDateTime;
@@ -77,6 +78,12 @@ public final class RevisionProperties {
@JsonProperty(value = "provisioningState", access = JsonProperty.Access.WRITE_ONLY)
private RevisionProvisioningState provisioningState;
+ /*
+ * Current running state of the revision
+ */
+ @JsonProperty(value = "runningState", access = JsonProperty.Access.WRITE_ONLY)
+ private RevisionRunningState runningState;
+
/** Creates an instance of RevisionProperties class. */
public RevisionProperties() {
}
@@ -173,6 +180,15 @@ public RevisionProvisioningState provisioningState() {
return this.provisioningState;
}
+ /**
+ * Get the runningState property: Current running state of the revision.
+ *
+ * @return the runningState value.
+ */
+ public RevisionRunningState runningState() {
+ return this.runningState;
+ }
+
/**
* Validates the instance.
*
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 401141b646ef..74f9577011f6 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
@@ -6,7 +6,6 @@
import com.azure.core.annotation.Fluent;
import com.azure.core.management.ProxyResource;
-import com.azure.core.management.SystemData;
import com.azure.resourcemanager.appcontainers.models.GithubActionConfiguration;
import com.azure.resourcemanager.appcontainers.models.SourceControlOperationState;
import com.fasterxml.jackson.annotation.JsonProperty;
@@ -20,12 +19,6 @@ public final class SourceControlInner extends ProxyResource {
@JsonProperty(value = "properties")
private SourceControlProperties 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 SourceControlInner class. */
public SourceControlInner() {
}
@@ -39,15 +32,6 @@ private SourceControlProperties 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 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/UsageInner.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/UsageInner.java
new file mode 100644
index 000000000000..f3e4a57c8db8
--- /dev/null
+++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/UsageInner.java
@@ -0,0 +1,140 @@
+// 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.UsageName;
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+/** Describes Compute Resource Usage. */
+@Fluent
+public final class UsageInner {
+ /*
+ * An enum describing the unit of usage measurement.
+ */
+ @JsonProperty(value = "unit", required = true)
+ private String unit = "Count";
+
+ /*
+ * The current usage of the resource.
+ */
+ @JsonProperty(value = "currentValue", required = true)
+ private int currentValue;
+
+ /*
+ * The maximum permitted usage of the resource.
+ */
+ @JsonProperty(value = "limit", required = true)
+ private long limit;
+
+ /*
+ * The name of the type of usage.
+ */
+ @JsonProperty(value = "name", required = true)
+ private UsageName name;
+
+ /** Creates an instance of UsageInner class. */
+ public UsageInner() {
+ unit = "Count";
+ }
+
+ /**
+ * Get the unit property: An enum describing the unit of usage measurement.
+ *
+ * @return the unit value.
+ */
+ public String unit() {
+ return this.unit;
+ }
+
+ /**
+ * Set the unit property: An enum describing the unit of usage measurement.
+ *
+ * @param unit the unit value to set.
+ * @return the UsageInner object itself.
+ */
+ public UsageInner withUnit(String unit) {
+ this.unit = unit;
+ return this;
+ }
+
+ /**
+ * Get the currentValue property: The current usage of the resource.
+ *
+ * @return the currentValue value.
+ */
+ public int currentValue() {
+ return this.currentValue;
+ }
+
+ /**
+ * Set the currentValue property: The current usage of the resource.
+ *
+ * @param currentValue the currentValue value to set.
+ * @return the UsageInner object itself.
+ */
+ public UsageInner withCurrentValue(int currentValue) {
+ this.currentValue = currentValue;
+ return this;
+ }
+
+ /**
+ * Get the limit property: The maximum permitted usage of the resource.
+ *
+ * @return the limit value.
+ */
+ public long limit() {
+ return this.limit;
+ }
+
+ /**
+ * Set the limit property: The maximum permitted usage of the resource.
+ *
+ * @param limit the limit value to set.
+ * @return the UsageInner object itself.
+ */
+ public UsageInner withLimit(long limit) {
+ this.limit = limit;
+ return this;
+ }
+
+ /**
+ * Get the name property: The name of the type of usage.
+ *
+ * @return the name value.
+ */
+ public UsageName name() {
+ return this.name;
+ }
+
+ /**
+ * Set the name property: The name of the type of usage.
+ *
+ * @param name the name value to set.
+ * @return the UsageInner object itself.
+ */
+ public UsageInner withName(UsageName name) {
+ this.name = name;
+ return this;
+ }
+
+ /**
+ * Validates the instance.
+ *
+ * @throws IllegalArgumentException thrown if the instance is not valid.
+ */
+ public void validate() {
+ if (name() == null) {
+ throw LOGGER
+ .logExceptionAsError(
+ new IllegalArgumentException("Missing required property name in model UsageInner"));
+ } else {
+ name().validate();
+ }
+ }
+
+ private static final ClientLogger LOGGER = new ClientLogger(UsageInner.class);
+}
diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/WorkloadProfileStatesInner.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/WorkloadProfileStatesInner.java
index 9a0c03e9dead..825cf626a1bf 100644
--- a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/WorkloadProfileStatesInner.java
+++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/WorkloadProfileStatesInner.java
@@ -6,7 +6,6 @@
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;
@@ -19,12 +18,6 @@ public final class WorkloadProfileStatesInner extends ProxyResource {
@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() {
}
@@ -49,15 +42,6 @@ public WorkloadProfileStatesInner withProperties(WorkloadProfileStatesProperties
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.
*
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 9db849c965eb..b6ea9f2a352a 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
@@ -9,6 +9,7 @@
import com.azure.resourcemanager.appcontainers.fluent.models.AuthConfigInner;
import com.azure.resourcemanager.appcontainers.models.AuthConfig;
import com.azure.resourcemanager.appcontainers.models.AuthPlatform;
+import com.azure.resourcemanager.appcontainers.models.EncryptionSettings;
import com.azure.resourcemanager.appcontainers.models.GlobalValidation;
import com.azure.resourcemanager.appcontainers.models.HttpSettings;
import com.azure.resourcemanager.appcontainers.models.IdentityProviders;
@@ -55,6 +56,10 @@ public HttpSettings httpSettings() {
return this.innerModel().httpSettings();
}
+ public EncryptionSettings encryptionSettings() {
+ return this.innerModel().encryptionSettings();
+ }
+
public String resourceGroupName() {
return resourceGroupName;
}
@@ -186,4 +191,9 @@ public AuthConfigImpl withHttpSettings(HttpSettings httpSettings) {
this.innerModel().withHttpSettings(httpSettings);
return this;
}
+
+ public AuthConfigImpl withEncryptionSettings(EncryptionSettings encryptionSettings) {
+ this.innerModel().withEncryptionSettings(encryptionSettings);
+ return this;
+ }
}
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
index 6426657e43c3..c43cffd130a1 100644
--- 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
@@ -4,7 +4,6 @@
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;
@@ -41,10 +40,6 @@ public AvailableWorkloadProfileProperties properties() {
return this.innerModel().properties();
}
- public SystemData systemData() {
- return this.innerModel().systemData();
- }
-
public AvailableWorkloadProfileInner innerModel() {
return this.innerObject;
}
diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/implementation/ConnectedEnvironmentStorageImpl.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/implementation/ConnectedEnvironmentStorageImpl.java
index 6b49e3cdead7..4e0adba8acb4 100644
--- a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/implementation/ConnectedEnvironmentStorageImpl.java
+++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/implementation/ConnectedEnvironmentStorageImpl.java
@@ -4,7 +4,6 @@
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.ConnectedEnvironmentStorageInner;
import com.azure.resourcemanager.appcontainers.models.ConnectedEnvironmentStorage;
@@ -32,10 +31,6 @@ public ConnectedEnvironmentStorageProperties properties() {
return this.innerModel().properties();
}
- public SystemData systemData() {
- return this.innerModel().systemData();
- }
-
public String resourceGroupName() {
return resourceGroupName;
}
diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/implementation/ContainerAppImpl.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/implementation/ContainerAppImpl.java
index 0fce8f4c58cc..a56a23c9a439 100644
--- a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/implementation/ContainerAppImpl.java
+++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/implementation/ContainerAppImpl.java
@@ -251,6 +251,22 @@ public ContainerAppAuthToken getAuthToken() {
return serviceManager.containerApps().getAuthToken(resourceGroupName, containerAppName);
}
+ public ContainerApp start() {
+ return serviceManager.containerApps().start(resourceGroupName, containerAppName);
+ }
+
+ public ContainerApp start(Context context) {
+ return serviceManager.containerApps().start(resourceGroupName, containerAppName, context);
+ }
+
+ public ContainerApp stop() {
+ return serviceManager.containerApps().stop(resourceGroupName, containerAppName);
+ }
+
+ public ContainerApp stop(Context context) {
+ return serviceManager.containerApps().stop(resourceGroupName, containerAppName, context);
+ }
+
public ContainerAppImpl withRegion(Region location) {
this.innerModel().withLocation(location.toString());
return this;
diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/implementation/ContainerAppsApiClientImpl.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/implementation/ContainerAppsApiClientImpl.java
index d0691b5bd6b9..df371ede2ba6 100644
--- a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/implementation/ContainerAppsApiClientImpl.java
+++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/implementation/ContainerAppsApiClientImpl.java
@@ -41,11 +41,14 @@
import com.azure.resourcemanager.appcontainers.fluent.JobsExecutionsClient;
import com.azure.resourcemanager.appcontainers.fluent.ManagedCertificatesClient;
import com.azure.resourcemanager.appcontainers.fluent.ManagedEnvironmentDiagnosticsClient;
+import com.azure.resourcemanager.appcontainers.fluent.ManagedEnvironmentUsagesClient;
import com.azure.resourcemanager.appcontainers.fluent.ManagedEnvironmentsClient;
import com.azure.resourcemanager.appcontainers.fluent.ManagedEnvironmentsDiagnosticsClient;
import com.azure.resourcemanager.appcontainers.fluent.ManagedEnvironmentsStoragesClient;
import com.azure.resourcemanager.appcontainers.fluent.NamespacesClient;
import com.azure.resourcemanager.appcontainers.fluent.OperationsClient;
+import com.azure.resourcemanager.appcontainers.fluent.ResourceProvidersClient;
+import com.azure.resourcemanager.appcontainers.fluent.UsagesClient;
import java.io.IOException;
import java.lang.reflect.Type;
import java.nio.ByteBuffer;
@@ -226,30 +229,6 @@ public ContainerAppsClient getContainerApps() {
return this.containerApps;
}
- /** The JobsClient object to access its operations. */
- private final JobsClient jobs;
-
- /**
- * Gets the JobsClient object to access its operations.
- *
- * @return the JobsClient object.
- */
- public JobsClient getJobs() {
- return this.jobs;
- }
-
- /** The JobsExecutionsClient object to access its operations. */
- private final JobsExecutionsClient jobsExecutions;
-
- /**
- * Gets the JobsExecutionsClient object to access its operations.
- *
- * @return the JobsExecutionsClient object.
- */
- public JobsExecutionsClient getJobsExecutions() {
- return this.jobsExecutions;
- }
-
/** The ContainerAppsRevisionsClient object to access its operations. */
private final ContainerAppsRevisionsClient containerAppsRevisions;
@@ -322,6 +301,42 @@ public OperationsClient getOperations() {
return this.operations;
}
+ /** The JobsClient object to access its operations. */
+ private final JobsClient jobs;
+
+ /**
+ * Gets the JobsClient object to access its operations.
+ *
+ * @return the JobsClient object.
+ */
+ public JobsClient getJobs() {
+ return this.jobs;
+ }
+
+ /** The JobsExecutionsClient object to access its operations. */
+ private final JobsExecutionsClient jobsExecutions;
+
+ /**
+ * Gets the JobsExecutionsClient object to access its operations.
+ *
+ * @return the JobsExecutionsClient object.
+ */
+ public JobsExecutionsClient getJobsExecutions() {
+ return this.jobsExecutions;
+ }
+
+ /** The ResourceProvidersClient object to access its operations. */
+ private final ResourceProvidersClient resourceProviders;
+
+ /**
+ * Gets the ResourceProvidersClient object to access its operations.
+ *
+ * @return the ResourceProvidersClient object.
+ */
+ public ResourceProvidersClient getResourceProviders() {
+ return this.resourceProviders;
+ }
+
/** The ManagedEnvironmentsClient object to access its operations. */
private final ManagedEnvironmentsClient managedEnvironments;
@@ -406,6 +421,30 @@ public ContainerAppsSourceControlsClient getContainerAppsSourceControls() {
return this.containerAppsSourceControls;
}
+ /** The UsagesClient object to access its operations. */
+ private final UsagesClient usages;
+
+ /**
+ * Gets the UsagesClient object to access its operations.
+ *
+ * @return the UsagesClient object.
+ */
+ public UsagesClient getUsages() {
+ return this.usages;
+ }
+
+ /** The ManagedEnvironmentUsagesClient object to access its operations. */
+ private final ManagedEnvironmentUsagesClient managedEnvironmentUsages;
+
+ /**
+ * Gets the ManagedEnvironmentUsagesClient object to access its operations.
+ *
+ * @return the ManagedEnvironmentUsagesClient object.
+ */
+ public ManagedEnvironmentUsagesClient getManagedEnvironmentUsages() {
+ return this.managedEnvironmentUsages;
+ }
+
/**
* Initializes an instance of ContainerAppsApiClient client.
*
@@ -428,7 +467,7 @@ public ContainerAppsSourceControlsClient getContainerAppsSourceControls() {
this.defaultPollInterval = defaultPollInterval;
this.subscriptionId = subscriptionId;
this.endpoint = endpoint;
- this.apiVersion = "2022-11-01-preview";
+ this.apiVersion = "2023-05-02-preview";
this.containerAppsAuthConfigs = new ContainerAppsAuthConfigsClientImpl(this);
this.availableWorkloadProfiles = new AvailableWorkloadProfilesClientImpl(this);
this.billingMeters = new BillingMetersClientImpl(this);
@@ -437,14 +476,15 @@ public ContainerAppsSourceControlsClient getContainerAppsSourceControls() {
this.connectedEnvironmentsDaprComponents = new ConnectedEnvironmentsDaprComponentsClientImpl(this);
this.connectedEnvironmentsStorages = new ConnectedEnvironmentsStoragesClientImpl(this);
this.containerApps = new ContainerAppsClientImpl(this);
- this.jobs = new JobsClientImpl(this);
- this.jobsExecutions = new JobsExecutionsClientImpl(this);
this.containerAppsRevisions = new ContainerAppsRevisionsClientImpl(this);
this.containerAppsRevisionReplicas = new ContainerAppsRevisionReplicasClientImpl(this);
this.containerAppsDiagnostics = new ContainerAppsDiagnosticsClientImpl(this);
this.managedEnvironmentDiagnostics = new ManagedEnvironmentDiagnosticsClientImpl(this);
this.managedEnvironmentsDiagnostics = new ManagedEnvironmentsDiagnosticsClientImpl(this);
this.operations = new OperationsClientImpl(this);
+ this.jobs = new JobsClientImpl(this);
+ this.jobsExecutions = new JobsExecutionsClientImpl(this);
+ this.resourceProviders = new ResourceProvidersClientImpl(this);
this.managedEnvironments = new ManagedEnvironmentsClientImpl(this);
this.certificates = new CertificatesClientImpl(this);
this.managedCertificates = new ManagedCertificatesClientImpl(this);
@@ -452,6 +492,8 @@ public ContainerAppsSourceControlsClient getContainerAppsSourceControls() {
this.daprComponents = new DaprComponentsClientImpl(this);
this.managedEnvironmentsStorages = new ManagedEnvironmentsStoragesClientImpl(this);
this.containerAppsSourceControls = new ContainerAppsSourceControlsClientImpl(this);
+ this.usages = new UsagesClientImpl(this);
+ this.managedEnvironmentUsages = new ManagedEnvironmentUsagesClientImpl(this);
}
/**
diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/implementation/ContainerAppsClientImpl.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/implementation/ContainerAppsClientImpl.java
index c3119a5e81b3..31d17e3abca0 100644
--- a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/implementation/ContainerAppsClientImpl.java
+++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/implementation/ContainerAppsClientImpl.java
@@ -200,6 +200,34 @@ Mono> getAuthToken(
@HeaderParam("Accept") String accept,
Context context);
+ @Headers({"Content-Type: application/json"})
+ @Post(
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/containerApps/{containerAppName}/start")
+ @ExpectedResponses({200, 202})
+ @UnexpectedResponseExceptionType(DefaultErrorResponseErrorException.class)
+ Mono>> start(
+ @HostParam("$host") String endpoint,
+ @PathParam("subscriptionId") String subscriptionId,
+ @PathParam("resourceGroupName") String resourceGroupName,
+ @QueryParam("api-version") String apiVersion,
+ @PathParam("containerAppName") String containerAppName,
+ @HeaderParam("Accept") String accept,
+ Context context);
+
+ @Headers({"Content-Type: application/json"})
+ @Post(
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/containerApps/{containerAppName}/stop")
+ @ExpectedResponses({200, 202})
+ @UnexpectedResponseExceptionType(DefaultErrorResponseErrorException.class)
+ Mono>> stop(
+ @HostParam("$host") String endpoint,
+ @PathParam("subscriptionId") String subscriptionId,
+ @PathParam("resourceGroupName") String resourceGroupName,
+ @QueryParam("api-version") String apiVersion,
+ @PathParam("containerAppName") String containerAppName,
+ @HeaderParam("Accept") String accept,
+ Context context);
+
@Headers({"Content-Type: application/json"})
@Get("{nextLink}")
@ExpectedResponses({200})
@@ -1926,6 +1954,486 @@ public ContainerAppAuthTokenInner getAuthToken(String resourceGroupName, String
return getAuthTokenWithResponse(resourceGroupName, containerAppName, Context.NONE).getValue();
}
+ /**
+ * Start 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 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 along with {@link Response} on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Mono>> startWithResponseAsync(String resourceGroupName, String containerAppName) {
+ 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 (resourceGroupName == null) {
+ return Mono
+ .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."));
+ }
+ if (containerAppName == null) {
+ return Mono
+ .error(new IllegalArgumentException("Parameter containerAppName is required and cannot be null."));
+ }
+ final String accept = "application/json";
+ return FluxUtil
+ .withContext(
+ context ->
+ service
+ .start(
+ this.client.getEndpoint(),
+ this.client.getSubscriptionId(),
+ resourceGroupName,
+ this.client.getApiVersion(),
+ containerAppName,
+ accept,
+ context))
+ .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly()));
+ }
+
+ /**
+ * Start 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 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 along with {@link Response} on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Mono>> startWithResponseAsync(
+ String resourceGroupName, String containerAppName, 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 (resourceGroupName == null) {
+ return Mono
+ .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."));
+ }
+ if (containerAppName == null) {
+ return Mono
+ .error(new IllegalArgumentException("Parameter containerAppName is required and cannot be null."));
+ }
+ final String accept = "application/json";
+ context = this.client.mergeContext(context);
+ return service
+ .start(
+ this.client.getEndpoint(),
+ this.client.getSubscriptionId(),
+ resourceGroupName,
+ this.client.getApiVersion(),
+ containerAppName,
+ accept,
+ context);
+ }
+
+ /**
+ * Start 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 DefaultErrorResponseErrorException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link PollerFlux} for polling of container App.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ private PollerFlux, ContainerAppInner> beginStartAsync(
+ String resourceGroupName, String containerAppName) {
+ Mono>> mono = startWithResponseAsync(resourceGroupName, containerAppName);
+ return this
+ .client
+ .getLroResult(
+ mono,
+ this.client.getHttpPipeline(),
+ ContainerAppInner.class,
+ ContainerAppInner.class,
+ this.client.getContext());
+ }
+
+ /**
+ * Start 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 DefaultErrorResponseErrorException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link PollerFlux} for polling of container App.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ private PollerFlux, ContainerAppInner> beginStartAsync(
+ String resourceGroupName, String containerAppName, Context context) {
+ context = this.client.mergeContext(context);
+ Mono>> mono = startWithResponseAsync(resourceGroupName, containerAppName, context);
+ return this
+ .client
+ .getLroResult(
+ mono, this.client.getHttpPipeline(), ContainerAppInner.class, ContainerAppInner.class, context);
+ }
+
+ /**
+ * Start 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 DefaultErrorResponseErrorException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of container App.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ public SyncPoller, ContainerAppInner> beginStart(
+ String resourceGroupName, String containerAppName) {
+ return this.beginStartAsync(resourceGroupName, containerAppName).getSyncPoller();
+ }
+
+ /**
+ * Start 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 DefaultErrorResponseErrorException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of container App.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ public SyncPoller, ContainerAppInner> beginStart(
+ String resourceGroupName, String containerAppName, Context context) {
+ return this.beginStartAsync(resourceGroupName, containerAppName, context).getSyncPoller();
+ }
+
+ /**
+ * Start 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 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 on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Mono startAsync(String resourceGroupName, String containerAppName) {
+ return beginStartAsync(resourceGroupName, containerAppName)
+ .last()
+ .flatMap(this.client::getLroFinalResultOrError);
+ }
+
+ /**
+ * Start 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 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 on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Mono startAsync(String resourceGroupName, String containerAppName, Context context) {
+ return beginStartAsync(resourceGroupName, containerAppName, context)
+ .last()
+ .flatMap(this.client::getLroFinalResultOrError);
+ }
+
+ /**
+ * Start 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 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.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ public ContainerAppInner start(String resourceGroupName, String containerAppName) {
+ return startAsync(resourceGroupName, containerAppName).block();
+ }
+
+ /**
+ * Start 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 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.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ public ContainerAppInner start(String resourceGroupName, String containerAppName, Context context) {
+ return startAsync(resourceGroupName, containerAppName, context).block();
+ }
+
+ /**
+ * Stop 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 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 along with {@link Response} on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Mono>> stopWithResponseAsync(String resourceGroupName, String containerAppName) {
+ 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 (resourceGroupName == null) {
+ return Mono
+ .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."));
+ }
+ if (containerAppName == null) {
+ return Mono
+ .error(new IllegalArgumentException("Parameter containerAppName is required and cannot be null."));
+ }
+ final String accept = "application/json";
+ return FluxUtil
+ .withContext(
+ context ->
+ service
+ .stop(
+ this.client.getEndpoint(),
+ this.client.getSubscriptionId(),
+ resourceGroupName,
+ this.client.getApiVersion(),
+ containerAppName,
+ accept,
+ context))
+ .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly()));
+ }
+
+ /**
+ * Stop 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 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 along with {@link Response} on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Mono>> stopWithResponseAsync(
+ String resourceGroupName, String containerAppName, 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 (resourceGroupName == null) {
+ return Mono
+ .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."));
+ }
+ if (containerAppName == null) {
+ return Mono
+ .error(new IllegalArgumentException("Parameter containerAppName is required and cannot be null."));
+ }
+ final String accept = "application/json";
+ context = this.client.mergeContext(context);
+ return service
+ .stop(
+ this.client.getEndpoint(),
+ this.client.getSubscriptionId(),
+ resourceGroupName,
+ this.client.getApiVersion(),
+ containerAppName,
+ accept,
+ context);
+ }
+
+ /**
+ * Stop 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 DefaultErrorResponseErrorException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link PollerFlux} for polling of container App.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ private PollerFlux, ContainerAppInner> beginStopAsync(
+ String resourceGroupName, String containerAppName) {
+ Mono>> mono = stopWithResponseAsync(resourceGroupName, containerAppName);
+ return this
+ .client
+ .getLroResult(
+ mono,
+ this.client.getHttpPipeline(),
+ ContainerAppInner.class,
+ ContainerAppInner.class,
+ this.client.getContext());
+ }
+
+ /**
+ * Stop 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 DefaultErrorResponseErrorException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link PollerFlux} for polling of container App.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ private PollerFlux, ContainerAppInner> beginStopAsync(
+ String resourceGroupName, String containerAppName, Context context) {
+ context = this.client.mergeContext(context);
+ Mono>> mono = stopWithResponseAsync(resourceGroupName, containerAppName, context);
+ return this
+ .client
+ .getLroResult(
+ mono, this.client.getHttpPipeline(), ContainerAppInner.class, ContainerAppInner.class, context);
+ }
+
+ /**
+ * Stop 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 DefaultErrorResponseErrorException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of container App.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ public SyncPoller, ContainerAppInner> beginStop(
+ String resourceGroupName, String containerAppName) {
+ return this.beginStopAsync(resourceGroupName, containerAppName).getSyncPoller();
+ }
+
+ /**
+ * Stop 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 DefaultErrorResponseErrorException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of container App.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ public SyncPoller, ContainerAppInner> beginStop(
+ String resourceGroupName, String containerAppName, Context context) {
+ return this.beginStopAsync(resourceGroupName, containerAppName, context).getSyncPoller();
+ }
+
+ /**
+ * Stop 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 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 on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Mono stopAsync(String resourceGroupName, String containerAppName) {
+ return beginStopAsync(resourceGroupName, containerAppName)
+ .last()
+ .flatMap(this.client::getLroFinalResultOrError);
+ }
+
+ /**
+ * Stop 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 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 on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Mono stopAsync(String resourceGroupName, String containerAppName, Context context) {
+ return beginStopAsync(resourceGroupName, containerAppName, context)
+ .last()
+ .flatMap(this.client::getLroFinalResultOrError);
+ }
+
+ /**
+ * Stop 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 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.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ public ContainerAppInner stop(String resourceGroupName, String containerAppName) {
+ return stopAsync(resourceGroupName, containerAppName).block();
+ }
+
+ /**
+ * Stop 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 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.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ public ContainerAppInner stop(String resourceGroupName, String containerAppName, Context context) {
+ return stopAsync(resourceGroupName, containerAppName, context).block();
+ }
+
/**
* Get the next page of items.
*
diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/implementation/ContainerAppsImpl.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/implementation/ContainerAppsImpl.java
index 2487493c7ff6..19f3b1c80203 100644
--- a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/implementation/ContainerAppsImpl.java
+++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/implementation/ContainerAppsImpl.java
@@ -161,6 +161,42 @@ public ContainerAppAuthToken getAuthToken(String resourceGroupName, String conta
}
}
+ public ContainerApp start(String resourceGroupName, String containerAppName) {
+ ContainerAppInner inner = this.serviceClient().start(resourceGroupName, containerAppName);
+ if (inner != null) {
+ return new ContainerAppImpl(inner, this.manager());
+ } else {
+ return null;
+ }
+ }
+
+ public ContainerApp start(String resourceGroupName, String containerAppName, Context context) {
+ ContainerAppInner inner = this.serviceClient().start(resourceGroupName, containerAppName, context);
+ if (inner != null) {
+ return new ContainerAppImpl(inner, this.manager());
+ } else {
+ return null;
+ }
+ }
+
+ public ContainerApp stop(String resourceGroupName, String containerAppName) {
+ ContainerAppInner inner = this.serviceClient().stop(resourceGroupName, containerAppName);
+ if (inner != null) {
+ return new ContainerAppImpl(inner, this.manager());
+ } else {
+ return null;
+ }
+ }
+
+ public ContainerApp stop(String resourceGroupName, String containerAppName, Context context) {
+ ContainerAppInner inner = this.serviceClient().stop(resourceGroupName, containerAppName, context);
+ if (inner != null) {
+ return new ContainerAppImpl(inner, this.manager());
+ } else {
+ return null;
+ }
+ }
+
public ContainerApp getById(String id) {
String resourceGroupName = Utils.getValueFromIdByName(id, "resourceGroups");
if (resourceGroupName == null) {
diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/implementation/DaprComponentImpl.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/implementation/DaprComponentImpl.java
index f4699fac8b92..9afafdafa4c7 100644
--- a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/implementation/DaprComponentImpl.java
+++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/implementation/DaprComponentImpl.java
@@ -5,7 +5,6 @@
package com.azure.resourcemanager.appcontainers.implementation;
import com.azure.core.http.rest.Response;
-import com.azure.core.management.SystemData;
import com.azure.core.util.Context;
import com.azure.resourcemanager.appcontainers.fluent.models.DaprComponentInner;
import com.azure.resourcemanager.appcontainers.models.DaprComponent;
@@ -32,10 +31,6 @@ public String type() {
return this.innerModel().type();
}
- public SystemData systemData() {
- return this.innerModel().systemData();
- }
-
public String componentType() {
return this.innerModel().componentType();
}
diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/implementation/DiagnosticsImpl.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/implementation/DiagnosticsImpl.java
index 593d62d7018a..40453e7de947 100644
--- a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/implementation/DiagnosticsImpl.java
+++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/implementation/DiagnosticsImpl.java
@@ -4,7 +4,6 @@
package com.azure.resourcemanager.appcontainers.implementation;
-import com.azure.core.management.SystemData;
import com.azure.resourcemanager.appcontainers.fluent.models.DiagnosticsInner;
import com.azure.resourcemanager.appcontainers.models.Diagnostics;
import com.azure.resourcemanager.appcontainers.models.DiagnosticsProperties;
@@ -36,10 +35,6 @@ public DiagnosticsProperties properties() {
return this.innerModel().properties();
}
- public SystemData systemData() {
- return this.innerModel().systemData();
- }
-
public DiagnosticsInner innerModel() {
return this.innerObject;
}
diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/implementation/JobImpl.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/implementation/JobImpl.java
index 633889c12d1f..27d5fc2a4da4 100644
--- a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/implementation/JobImpl.java
+++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/implementation/JobImpl.java
@@ -13,7 +13,6 @@
import com.azure.resourcemanager.appcontainers.models.Job;
import com.azure.resourcemanager.appcontainers.models.JobConfiguration;
import com.azure.resourcemanager.appcontainers.models.JobExecutionBase;
-import com.azure.resourcemanager.appcontainers.models.JobExecutionNamesCollection;
import com.azure.resourcemanager.appcontainers.models.JobExecutionTemplate;
import com.azure.resourcemanager.appcontainers.models.JobPatchProperties;
import com.azure.resourcemanager.appcontainers.models.JobPatchPropertiesProperties;
@@ -206,13 +205,12 @@ public JobExecutionBase start(JobExecutionTemplate template, Context context) {
return serviceManager.jobs().start(resourceGroupName, jobName, template, context);
}
- public ContainerAppJobExecutions stopMultipleExecutions(JobExecutionNamesCollection jobExecutionName) {
- return serviceManager.jobs().stopMultipleExecutions(resourceGroupName, jobName, jobExecutionName);
+ public ContainerAppJobExecutions stopMultipleExecutions() {
+ return serviceManager.jobs().stopMultipleExecutions(resourceGroupName, jobName);
}
- public ContainerAppJobExecutions stopMultipleExecutions(
- JobExecutionNamesCollection jobExecutionName, Context context) {
- return serviceManager.jobs().stopMultipleExecutions(resourceGroupName, jobName, jobExecutionName, context);
+ public ContainerAppJobExecutions stopMultipleExecutions(Context context) {
+ return serviceManager.jobs().stopMultipleExecutions(resourceGroupName, jobName, context);
}
public Response listSecretsWithResponse(Context context) {
diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/implementation/JobsClientImpl.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/implementation/JobsClientImpl.java
index a80dbbdbcba0..32c8ead6a3c0 100644
--- a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/implementation/JobsClientImpl.java
+++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/implementation/JobsClientImpl.java
@@ -38,7 +38,6 @@
import com.azure.resourcemanager.appcontainers.fluent.models.JobInner;
import com.azure.resourcemanager.appcontainers.fluent.models.JobSecretsCollectionInner;
import com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException;
-import com.azure.resourcemanager.appcontainers.models.JobExecutionNamesCollection;
import com.azure.resourcemanager.appcontainers.models.JobExecutionTemplate;
import com.azure.resourcemanager.appcontainers.models.JobPatchProperties;
import com.azure.resourcemanager.appcontainers.models.JobsCollection;
@@ -193,7 +192,6 @@ Mono>> stopMultipleExecutions(
@PathParam("resourceGroupName") String resourceGroupName,
@QueryParam("api-version") String apiVersion,
@PathParam("jobName") String jobName,
- @BodyParam("application/json") JobExecutionNamesCollection jobExecutionName,
@HeaderParam("Accept") String accept,
Context context);
@@ -544,7 +542,7 @@ public PagedIterable listByResourceGroup(String resourceGroupName, Con
* Get the properties of a Container Apps Job.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param jobName Name of the Container Apps Job.
+ * @param jobName Job Name.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws DefaultErrorResponseErrorException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
@@ -592,7 +590,7 @@ private Mono> getByResourceGroupWithResponseAsync(String reso
* Get the properties of a Container Apps Job.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param jobName Name of the Container Apps Job.
+ * @param jobName Job Name.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws DefaultErrorResponseErrorException thrown if the request is rejected by server.
@@ -639,7 +637,7 @@ private Mono> getByResourceGroupWithResponseAsync(
* Get the properties of a Container Apps Job.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param jobName Name of the Container Apps Job.
+ * @param jobName Job Name.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws DefaultErrorResponseErrorException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
@@ -655,7 +653,7 @@ private Mono getByResourceGroupAsync(String resourceGroupName, String
* Get the properties of a Container Apps Job.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param jobName Name of the Container Apps Job.
+ * @param jobName Job Name.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws DefaultErrorResponseErrorException thrown if the request is rejected by server.
@@ -672,7 +670,7 @@ public Response getByResourceGroupWithResponse(
* Get the properties of a Container Apps Job.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param jobName Name of the Container Apps Job.
+ * @param jobName Job Name.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws DefaultErrorResponseErrorException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
@@ -687,7 +685,7 @@ public JobInner getByResourceGroup(String resourceGroupName, String jobName) {
* Create or Update a Container Apps Job.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param jobName Name of the Container Apps Job.
+ * @param jobName Job Name.
* @param jobEnvelope Properties used to create a container apps job.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws DefaultErrorResponseErrorException thrown if the request is rejected by server.
@@ -742,7 +740,7 @@ private Mono>> createOrUpdateWithResponseAsync(
* Create or Update a Container Apps Job.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param jobName Name of the Container Apps Job.
+ * @param jobName Job Name.
* @param jobEnvelope Properties used to create a container apps job.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -795,7 +793,7 @@ private Mono>> createOrUpdateWithResponseAsync(
* Create or Update a Container Apps Job.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param jobName Name of the Container Apps Job.
+ * @param jobName Job Name.
* @param jobEnvelope Properties used to create a container apps job.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws DefaultErrorResponseErrorException thrown if the request is rejected by server.
@@ -817,7 +815,7 @@ private PollerFlux, JobInner> beginCreateOrUpdateAsync(
* Create or Update a Container Apps Job.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param jobName Name of the Container Apps Job.
+ * @param jobName Job Name.
* @param jobEnvelope Properties used to create a container apps job.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -841,7 +839,7 @@ private PollerFlux, JobInner> beginCreateOrUpdateAsync(
* Create or Update a Container Apps Job.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param jobName Name of the Container Apps Job.
+ * @param jobName Job Name.
* @param jobEnvelope Properties used to create a container apps job.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws DefaultErrorResponseErrorException thrown if the request is rejected by server.
@@ -858,7 +856,7 @@ public SyncPoller, JobInner> beginCreateOrUpdate(
* Create or Update a Container Apps Job.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param jobName Name of the Container Apps Job.
+ * @param jobName Job Name.
* @param jobEnvelope Properties used to create a container apps job.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -876,7 +874,7 @@ public SyncPoller, JobInner> beginCreateOrUpdate(
* Create or Update a Container Apps Job.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param jobName Name of the Container Apps Job.
+ * @param jobName Job Name.
* @param jobEnvelope Properties used to create a container apps job.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws DefaultErrorResponseErrorException thrown if the request is rejected by server.
@@ -894,7 +892,7 @@ private Mono createOrUpdateAsync(String resourceGroupName, String jobN
* Create or Update a Container Apps Job.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param jobName Name of the Container Apps Job.
+ * @param jobName Job Name.
* @param jobEnvelope Properties used to create a container apps job.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -914,7 +912,7 @@ private Mono createOrUpdateAsync(
* Create or Update a Container Apps Job.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param jobName Name of the Container Apps Job.
+ * @param jobName Job Name.
* @param jobEnvelope Properties used to create a container apps job.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws DefaultErrorResponseErrorException thrown if the request is rejected by server.
@@ -930,7 +928,7 @@ public JobInner createOrUpdate(String resourceGroupName, String jobName, JobInne
* Create or Update a Container Apps Job.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param jobName Name of the Container Apps Job.
+ * @param jobName Job Name.
* @param jobEnvelope Properties used to create a container apps job.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -947,7 +945,7 @@ public JobInner createOrUpdate(String resourceGroupName, String jobName, JobInne
* Delete a Container Apps Job.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param jobName Name of the Container Apps Job.
+ * @param jobName Job Name.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws DefaultErrorResponseErrorException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
@@ -994,7 +992,7 @@ private Mono>> deleteWithResponseAsync(String resource
* Delete a Container Apps Job.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param jobName Name of the Container Apps Job.
+ * @param jobName Job Name.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws DefaultErrorResponseErrorException thrown if the request is rejected by server.
@@ -1040,7 +1038,7 @@ private Mono>> deleteWithResponseAsync(
* Delete a Container Apps Job.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param jobName Name of the Container Apps Job.
+ * @param jobName Job Name.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws DefaultErrorResponseErrorException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
@@ -1059,7 +1057,7 @@ private PollerFlux, Void> beginDeleteAsync(String resourceGroup
* Delete a Container Apps Job.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param jobName Name of the Container Apps Job.
+ * @param jobName Job Name.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws DefaultErrorResponseErrorException thrown if the request is rejected by server.
@@ -1080,7 +1078,7 @@ private PollerFlux, Void> beginDeleteAsync(
* Delete a Container Apps Job.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param jobName Name of the Container Apps Job.
+ * @param jobName Job Name.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws DefaultErrorResponseErrorException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
@@ -1095,7 +1093,7 @@ public SyncPoller, Void> beginDelete(String resourceGroupName,
* Delete a Container Apps Job.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param jobName Name of the Container Apps Job.
+ * @param jobName Job Name.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws DefaultErrorResponseErrorException thrown if the request is rejected by server.
@@ -1111,7 +1109,7 @@ public SyncPoller, Void> beginDelete(String resourceGroupName,
* Delete a Container Apps Job.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param jobName Name of the Container Apps Job.
+ * @param jobName Job Name.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws DefaultErrorResponseErrorException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
@@ -1126,7 +1124,7 @@ private Mono deleteAsync(String resourceGroupName, String jobName) {
* Delete a Container Apps Job.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param jobName Name of the Container Apps Job.
+ * @param jobName Job Name.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws DefaultErrorResponseErrorException thrown if the request is rejected by server.
@@ -1144,7 +1142,7 @@ private Mono deleteAsync(String resourceGroupName, String jobName, Context
* Delete a Container Apps Job.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param jobName Name of the Container Apps Job.
+ * @param jobName Job Name.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws DefaultErrorResponseErrorException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
@@ -1158,7 +1156,7 @@ public void delete(String resourceGroupName, String jobName) {
* Delete a Container Apps Job.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param jobName Name of the Container Apps Job.
+ * @param jobName Job Name.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws DefaultErrorResponseErrorException thrown if the request is rejected by server.
@@ -1175,7 +1173,7 @@ public void delete(String resourceGroupName, String jobName, Context context) {
* Patches a Container Apps Job using JSON Merge Patch.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param jobName Name of the Container Apps Job.
+ * @param jobName Job Name.
* @param jobEnvelope Properties used to create a container apps job.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws DefaultErrorResponseErrorException thrown if the request is rejected by server.
@@ -1232,7 +1230,7 @@ private Mono>> updateWithResponseAsync(
* Patches a Container Apps Job using JSON Merge Patch.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param jobName Name of the Container Apps Job.
+ * @param jobName Job Name.
* @param jobEnvelope Properties used to create a container apps job.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -1287,7 +1285,7 @@ private Mono>> updateWithResponseAsync(
* Patches a Container Apps Job using JSON Merge Patch.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param jobName Name of the Container Apps Job.
+ * @param jobName Job Name.
* @param jobEnvelope Properties used to create a container apps job.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws DefaultErrorResponseErrorException thrown if the request is rejected by server.
@@ -1310,7 +1308,7 @@ private PollerFlux, JobInner> beginUpdateAsync(
* Patches a Container Apps Job using JSON Merge Patch.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param jobName Name of the Container Apps Job.
+ * @param jobName Job Name.
* @param jobEnvelope Properties used to create a container apps job.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -1336,7 +1334,7 @@ private PollerFlux, JobInner> beginUpdateAsync(
* Patches a Container Apps Job using JSON Merge Patch.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param jobName Name of the Container Apps Job.
+ * @param jobName Job Name.
* @param jobEnvelope Properties used to create a container apps job.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws DefaultErrorResponseErrorException thrown if the request is rejected by server.
@@ -1355,7 +1353,7 @@ public SyncPoller, JobInner> beginUpdate(
* Patches a Container Apps Job using JSON Merge Patch.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param jobName Name of the Container Apps Job.
+ * @param jobName Job Name.
* @param jobEnvelope Properties used to create a container apps job.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -1375,7 +1373,7 @@ public SyncPoller, JobInner> beginUpdate(
* Patches a Container Apps Job using JSON Merge Patch.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param jobName Name of the Container Apps Job.
+ * @param jobName Job Name.
* @param jobEnvelope Properties used to create a container apps job.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws DefaultErrorResponseErrorException thrown if the request is rejected by server.
@@ -1395,7 +1393,7 @@ private Mono updateAsync(String resourceGroupName, String jobName, Job
* Patches a Container Apps Job using JSON Merge Patch.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param jobName Name of the Container Apps Job.
+ * @param jobName Job Name.
* @param jobEnvelope Properties used to create a container apps job.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -1417,7 +1415,7 @@ private Mono updateAsync(
* Patches a Container Apps Job using JSON Merge Patch.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param jobName Name of the Container Apps Job.
+ * @param jobName Job Name.
* @param jobEnvelope Properties used to create a container apps job.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws DefaultErrorResponseErrorException thrown if the request is rejected by server.
@@ -1435,7 +1433,7 @@ public JobInner update(String resourceGroupName, String jobName, JobPatchPropert
*
Patches a Container Apps Job using JSON Merge Patch.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param jobName Name of the Container Apps Job.
+ * @param jobName Job Name.
* @param jobEnvelope Properties used to create a container apps job.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -1452,7 +1450,7 @@ public JobInner update(String resourceGroupName, String jobName, JobPatchPropert
* Start a Container Apps Job.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param jobName Name of the Container Apps Job.
+ * @param jobName Job Name.
* @param template Properties used to start a job instance.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws DefaultErrorResponseErrorException thrown if the request is rejected by server.
@@ -1507,7 +1505,7 @@ private Mono>> startWithResponseAsync(
* Start a Container Apps Job.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param jobName Name of the Container Apps Job.
+ * @param jobName Job Name.
* @param template Properties used to start a job instance.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -1560,7 +1558,7 @@ private Mono>> startWithResponseAsync(
* Start a Container Apps Job.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param jobName Name of the Container Apps Job.
+ * @param jobName Job Name.
* @param template Properties used to start a job instance.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws DefaultErrorResponseErrorException thrown if the request is rejected by server.
@@ -1585,7 +1583,7 @@ private PollerFlux, JobExecutionBaseInner> beg
* Start a Container Apps Job.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param jobName Name of the Container Apps Job.
+ * @param jobName Job Name.
* @param template Properties used to start a job instance.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -1608,7 +1606,7 @@ private PollerFlux, JobExecutionBaseInner> beg
* Start a Container Apps Job.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param jobName Name of the Container Apps Job.
+ * @param jobName Job Name.
* @param template Properties used to start a job instance.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws DefaultErrorResponseErrorException thrown if the request is rejected by server.
@@ -1625,7 +1623,7 @@ public SyncPoller, JobExecutionBaseInner> begi
* Start a Container Apps Job.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param jobName Name of the Container Apps Job.
+ * @param jobName Job Name.
* @param template Properties used to start a job instance.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -1643,7 +1641,7 @@ public SyncPoller, JobExecutionBaseInner> begi
* Start a Container Apps Job.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param jobName Name of the Container Apps Job.
+ * @param jobName Job Name.
* @param template Properties used to start a job instance.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws DefaultErrorResponseErrorException thrown if the request is rejected by server.
@@ -1662,7 +1660,7 @@ private Mono startAsync(
* Start a Container Apps Job.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param jobName Name of the Container Apps Job.
+ * @param jobName Job Name.
* @param template Properties used to start a job instance.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -1682,7 +1680,7 @@ private Mono startAsync(
* Start a Container Apps Job.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param jobName Name of the Container Apps Job.
+ * @param jobName Job Name.
* @param template Properties used to start a job instance.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws DefaultErrorResponseErrorException thrown if the request is rejected by server.
@@ -1698,7 +1696,7 @@ public JobExecutionBaseInner start(String resourceGroupName, String jobName, Job
* Start a Container Apps Job.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param jobName Name of the Container Apps Job.
+ * @param jobName Job Name.
* @param template Properties used to start a job instance.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -1716,7 +1714,7 @@ public JobExecutionBaseInner start(
* Terminates execution of a running container apps job.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param jobName Name of the Container Apps Job.
+ * @param jobName Job Name.
* @param jobExecutionName Job execution name.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws DefaultErrorResponseErrorException thrown if the request is rejected by server.
@@ -1770,7 +1768,7 @@ private Mono>> stopExecutionWithResponseAsync(
* Terminates execution of a running container apps job.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param jobName Name of the Container Apps Job.
+ * @param jobName Job Name.
* @param jobExecutionName Job execution name.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -1822,7 +1820,7 @@ private Mono>> stopExecutionWithResponseAsync(
* Terminates execution of a running container apps job.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param jobName Name of the Container Apps Job.
+ * @param jobName Job Name.
* @param jobExecutionName Job execution name.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws DefaultErrorResponseErrorException thrown if the request is rejected by server.
@@ -1844,7 +1842,7 @@ private PollerFlux, Void> beginStopExecutionAsync(
* Terminates execution of a running container apps job.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param jobName Name of the Container Apps Job.
+ * @param jobName Job Name.
* @param jobExecutionName Job execution name.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -1867,7 +1865,7 @@ private PollerFlux, Void> beginStopExecutionAsync(
* Terminates execution of a running container apps job.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param jobName Name of the Container Apps Job.
+ * @param jobName Job Name.
* @param jobExecutionName Job execution name.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws DefaultErrorResponseErrorException thrown if the request is rejected by server.
@@ -1884,7 +1882,7 @@ public SyncPoller, Void> beginStopExecution(
* Terminates execution of a running container apps job.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param jobName Name of the Container Apps Job.
+ * @param jobName Job Name.
* @param jobExecutionName Job execution name.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -1902,7 +1900,7 @@ public SyncPoller, Void> beginStopExecution(
* Terminates execution of a running container apps job.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param jobName Name of the Container Apps Job.
+ * @param jobName Job Name.
* @param jobExecutionName Job execution name.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws DefaultErrorResponseErrorException thrown if the request is rejected by server.
@@ -1920,7 +1918,7 @@ private Mono stopExecutionAsync(String resourceGroupName, String jobName,
* Terminates execution of a running container apps job.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param jobName Name of the Container Apps Job.
+ * @param jobName Job Name.
* @param jobExecutionName Job execution name.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -1940,7 +1938,7 @@ private Mono stopExecutionAsync(
* Terminates execution of a running container apps job.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param jobName Name of the Container Apps Job.
+ * @param jobName Job Name.
* @param jobExecutionName Job execution name.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws DefaultErrorResponseErrorException thrown if the request is rejected by server.
@@ -1955,7 +1953,7 @@ public void stopExecution(String resourceGroupName, String jobName, String jobEx
* Terminates execution of a running container apps job.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param jobName Name of the Container Apps Job.
+ * @param jobName Job Name.
* @param jobExecutionName Job execution name.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -1971,8 +1969,7 @@ public void stopExecution(String resourceGroupName, String jobName, String jobEx
* Terminates execution of a running container apps job.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param jobName Name of the Container Apps Job.
- * @param jobExecutionName List of all job executions that should be stopped.
+ * @param jobName Job Name.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws DefaultErrorResponseErrorException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
@@ -1981,7 +1978,7 @@ public void stopExecution(String resourceGroupName, String jobName, String jobEx
*/
@ServiceMethod(returns = ReturnType.SINGLE)
private Mono>> stopMultipleExecutionsWithResponseAsync(
- String resourceGroupName, String jobName, JobExecutionNamesCollection jobExecutionName) {
+ String resourceGroupName, String jobName) {
if (this.client.getEndpoint() == null) {
return Mono
.error(
@@ -2001,12 +1998,6 @@ private Mono>> stopMultipleExecutionsWithResponseAsync
if (jobName == null) {
return Mono.error(new IllegalArgumentException("Parameter jobName is required and cannot be null."));
}
- if (jobExecutionName == null) {
- return Mono
- .error(new IllegalArgumentException("Parameter jobExecutionName is required and cannot be null."));
- } else {
- jobExecutionName.validate();
- }
final String accept = "application/json";
return FluxUtil
.withContext(
@@ -2018,7 +2009,6 @@ private Mono>> stopMultipleExecutionsWithResponseAsync
resourceGroupName,
this.client.getApiVersion(),
jobName,
- jobExecutionName,
accept,
context))
.contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly()));
@@ -2028,8 +2018,7 @@ private Mono>> stopMultipleExecutionsWithResponseAsync
* Terminates execution of a running container apps job.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param jobName Name of the Container Apps Job.
- * @param jobExecutionName List of all job executions that should be stopped.
+ * @param jobName Job Name.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws DefaultErrorResponseErrorException thrown if the request is rejected by server.
@@ -2039,7 +2028,7 @@ private Mono>> stopMultipleExecutionsWithResponseAsync
*/
@ServiceMethod(returns = ReturnType.SINGLE)
private Mono>> stopMultipleExecutionsWithResponseAsync(
- String resourceGroupName, String jobName, JobExecutionNamesCollection jobExecutionName, Context context) {
+ String resourceGroupName, String jobName, Context context) {
if (this.client.getEndpoint() == null) {
return Mono
.error(
@@ -2059,12 +2048,6 @@ private Mono>> stopMultipleExecutionsWithResponseAsync
if (jobName == null) {
return Mono.error(new IllegalArgumentException("Parameter jobName is required and cannot be null."));
}
- if (jobExecutionName == null) {
- return Mono
- .error(new IllegalArgumentException("Parameter jobExecutionName is required and cannot be null."));
- } else {
- jobExecutionName.validate();
- }
final String accept = "application/json";
context = this.client.mergeContext(context);
return service
@@ -2074,7 +2057,6 @@ private Mono>> stopMultipleExecutionsWithResponseAsync
resourceGroupName,
this.client.getApiVersion(),
jobName,
- jobExecutionName,
accept,
context);
}
@@ -2083,8 +2065,7 @@ private Mono>> stopMultipleExecutionsWithResponseAsync
* Terminates execution of a running container apps job.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param jobName Name of the Container Apps Job.
- * @param jobExecutionName List of all job executions that should be stopped.
+ * @param jobName Job Name.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws DefaultErrorResponseErrorException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
@@ -2092,10 +2073,8 @@ private Mono>> stopMultipleExecutionsWithResponseAsync
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
private PollerFlux, ContainerAppJobExecutionsInner>
- beginStopMultipleExecutionsAsync(
- String resourceGroupName, String jobName, JobExecutionNamesCollection jobExecutionName) {
- Mono>> mono =
- stopMultipleExecutionsWithResponseAsync(resourceGroupName, jobName, jobExecutionName);
+ beginStopMultipleExecutionsAsync(String resourceGroupName, String jobName) {
+ Mono>> mono = stopMultipleExecutionsWithResponseAsync(resourceGroupName, jobName);
return this
.client
.getLroResult(
@@ -2110,8 +2089,7 @@ private Mono>> stopMultipleExecutionsWithResponseAsync
* Terminates execution of a running container apps job.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param jobName Name of the Container Apps Job.
- * @param jobExecutionName List of all job executions that should be stopped.
+ * @param jobName Job Name.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws DefaultErrorResponseErrorException thrown if the request is rejected by server.
@@ -2120,11 +2098,10 @@ private Mono>> stopMultipleExecutionsWithResponseAsync
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
private PollerFlux, ContainerAppJobExecutionsInner>
- beginStopMultipleExecutionsAsync(
- String resourceGroupName, String jobName, JobExecutionNamesCollection jobExecutionName, Context context) {
+ beginStopMultipleExecutionsAsync(String resourceGroupName, String jobName, Context context) {
context = this.client.mergeContext(context);
Mono>> mono =
- stopMultipleExecutionsWithResponseAsync(resourceGroupName, jobName, jobExecutionName, context);
+ stopMultipleExecutionsWithResponseAsync(resourceGroupName, jobName, context);
return this
.client
.getLroResult(
@@ -2139,8 +2116,7 @@ private Mono>> stopMultipleExecutionsWithResponseAsync
* Terminates execution of a running container apps job.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param jobName Name of the Container Apps Job.
- * @param jobExecutionName List of all job executions that should be stopped.
+ * @param jobName Job Name.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws DefaultErrorResponseErrorException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
@@ -2148,17 +2124,15 @@ private Mono>> stopMultipleExecutionsWithResponseAsync
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
public SyncPoller, ContainerAppJobExecutionsInner>
- beginStopMultipleExecutions(
- String resourceGroupName, String jobName, JobExecutionNamesCollection jobExecutionName) {
- return this.beginStopMultipleExecutionsAsync(resourceGroupName, jobName, jobExecutionName).getSyncPoller();
+ beginStopMultipleExecutions(String resourceGroupName, String jobName) {
+ return this.beginStopMultipleExecutionsAsync(resourceGroupName, jobName).getSyncPoller();
}
/**
* Terminates execution of a running container apps job.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param jobName Name of the Container Apps Job.
- * @param jobExecutionName List of all job executions that should be stopped.
+ * @param jobName Job Name.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws DefaultErrorResponseErrorException thrown if the request is rejected by server.
@@ -2167,28 +2141,23 @@ private Mono>> stopMultipleExecutionsWithResponseAsync
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
public SyncPoller, ContainerAppJobExecutionsInner>
- beginStopMultipleExecutions(
- String resourceGroupName, String jobName, JobExecutionNamesCollection jobExecutionName, Context context) {
- return this
- .beginStopMultipleExecutionsAsync(resourceGroupName, jobName, jobExecutionName, context)
- .getSyncPoller();
+ beginStopMultipleExecutions(String resourceGroupName, String jobName, Context context) {
+ return this.beginStopMultipleExecutionsAsync(resourceGroupName, jobName, context).getSyncPoller();
}
/**
* Terminates execution of a running container apps job.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param jobName Name of the Container Apps Job.
- * @param jobExecutionName List of all job executions that should be stopped.
+ * @param jobName Job Name.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws DefaultErrorResponseErrorException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return container App executions collection ARM resource on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- private Mono stopMultipleExecutionsAsync(
- String resourceGroupName, String jobName, JobExecutionNamesCollection jobExecutionName) {
- return beginStopMultipleExecutionsAsync(resourceGroupName, jobName, jobExecutionName)
+ private Mono stopMultipleExecutionsAsync(String resourceGroupName, String jobName) {
+ return beginStopMultipleExecutionsAsync(resourceGroupName, jobName)
.last()
.flatMap(this.client::getLroFinalResultOrError);
}
@@ -2197,8 +2166,7 @@ private Mono stopMultipleExecutionsAsync(
* Terminates execution of a running container apps job.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param jobName Name of the Container Apps Job.
- * @param jobExecutionName List of all job executions that should be stopped.
+ * @param jobName Job Name.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws DefaultErrorResponseErrorException thrown if the request is rejected by server.
@@ -2207,8 +2175,8 @@ private Mono stopMultipleExecutionsAsync(
*/
@ServiceMethod(returns = ReturnType.SINGLE)
private Mono stopMultipleExecutionsAsync(
- String resourceGroupName, String jobName, JobExecutionNamesCollection jobExecutionName, Context context) {
- return beginStopMultipleExecutionsAsync(resourceGroupName, jobName, jobExecutionName, context)
+ String resourceGroupName, String jobName, Context context) {
+ return beginStopMultipleExecutionsAsync(resourceGroupName, jobName, context)
.last()
.flatMap(this.client::getLroFinalResultOrError);
}
@@ -2217,25 +2185,22 @@ private Mono stopMultipleExecutionsAsync(
* Terminates execution of a running container apps job.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param jobName Name of the Container Apps Job.
- * @param jobExecutionName List of all job executions that should be stopped.
+ * @param jobName Job Name.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws DefaultErrorResponseErrorException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return container App executions collection ARM resource.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- public ContainerAppJobExecutionsInner stopMultipleExecutions(
- String resourceGroupName, String jobName, JobExecutionNamesCollection jobExecutionName) {
- return stopMultipleExecutionsAsync(resourceGroupName, jobName, jobExecutionName).block();
+ public ContainerAppJobExecutionsInner stopMultipleExecutions(String resourceGroupName, String jobName) {
+ return stopMultipleExecutionsAsync(resourceGroupName, jobName).block();
}
/**
* Terminates execution of a running container apps job.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param jobName Name of the Container Apps Job.
- * @param jobExecutionName List of all job executions that should be stopped.
+ * @param jobName Job Name.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws DefaultErrorResponseErrorException thrown if the request is rejected by server.
@@ -2244,15 +2209,15 @@ public ContainerAppJobExecutionsInner stopMultipleExecutions(
*/
@ServiceMethod(returns = ReturnType.SINGLE)
public ContainerAppJobExecutionsInner stopMultipleExecutions(
- String resourceGroupName, String jobName, JobExecutionNamesCollection jobExecutionName, Context context) {
- return stopMultipleExecutionsAsync(resourceGroupName, jobName, jobExecutionName, context).block();
+ String resourceGroupName, String jobName, Context context) {
+ return stopMultipleExecutionsAsync(resourceGroupName, jobName, context).block();
}
/**
* List secrets for a container apps job.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param jobName Name of the Container Apps Job.
+ * @param jobName Job Name.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws DefaultErrorResponseErrorException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
@@ -2301,7 +2266,7 @@ private Mono> listSecretsWithResponseAsync(
* List secrets for a container apps job.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param jobName Name of the Container Apps Job.
+ * @param jobName Job Name.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws DefaultErrorResponseErrorException thrown if the request is rejected by server.
@@ -2348,7 +2313,7 @@ private Mono> listSecretsWithResponseAsync(
* List secrets for a container apps job.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param jobName Name of the Container Apps Job.
+ * @param jobName Job Name.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws DefaultErrorResponseErrorException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
@@ -2364,7 +2329,7 @@ private Mono listSecretsAsync(String resourceGroupNam
* List secrets for a container apps job.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param jobName Name of the Container Apps Job.
+ * @param jobName Job Name.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws DefaultErrorResponseErrorException thrown if the request is rejected by server.
@@ -2381,7 +2346,7 @@ public Response listSecretsWithResponse(
* List secrets for a container apps job.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param jobName Name of the Container Apps Job.
+ * @param jobName Job Name.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws DefaultErrorResponseErrorException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/implementation/JobsExecutionsClientImpl.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/implementation/JobsExecutionsClientImpl.java
index e5cc9746895e..6bf912ce7b4b 100644
--- a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/implementation/JobsExecutionsClientImpl.java
+++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/implementation/JobsExecutionsClientImpl.java
@@ -86,7 +86,7 @@ Mono> listNext(
* Get a Container Apps Job's executions.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param jobName Name of the Container Apps Job.
+ * @param jobName Job Name.
* @param filter The filter to apply on the operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws DefaultErrorResponseErrorException thrown if the request is rejected by server.
@@ -146,7 +146,7 @@ private Mono> listSinglePageAsync(
* Get a Container Apps Job's executions.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param jobName Name of the Container Apps Job.
+ * @param jobName Job Name.
* @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.
@@ -204,7 +204,7 @@ private Mono> listSinglePageAsync(
* Get a Container Apps Job's executions.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param jobName Name of the Container Apps Job.
+ * @param jobName Job Name.
* @param filter The filter to apply on the operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws DefaultErrorResponseErrorException thrown if the request is rejected by server.
@@ -222,7 +222,7 @@ private PagedFlux listAsync(String resourceGroupName, String
* Get a Container Apps Job's executions.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param jobName Name of the Container Apps Job.
+ * @param jobName Job Name.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws DefaultErrorResponseErrorException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
@@ -240,7 +240,7 @@ private PagedFlux listAsync(String resourceGroupName, String
* Get a Container Apps Job's executions.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param jobName Name of the Container Apps Job.
+ * @param jobName Job Name.
* @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.
@@ -260,7 +260,7 @@ private PagedFlux listAsync(
* Get a Container Apps Job's executions.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param jobName Name of the Container Apps Job.
+ * @param jobName Job Name.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws DefaultErrorResponseErrorException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
@@ -276,7 +276,7 @@ public PagedIterable list(String resourceGroupName, String jo
* Get a Container Apps Job's executions.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param jobName Name of the Container Apps Job.
+ * @param jobName Job Name.
* @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.
diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/implementation/JobsImpl.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/implementation/JobsImpl.java
index b1baaaeff51d..27e1df3f3704 100644
--- a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/implementation/JobsImpl.java
+++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/implementation/JobsImpl.java
@@ -17,7 +17,6 @@
import com.azure.resourcemanager.appcontainers.models.ContainerAppJobExecutions;
import com.azure.resourcemanager.appcontainers.models.Job;
import com.azure.resourcemanager.appcontainers.models.JobExecutionBase;
-import com.azure.resourcemanager.appcontainers.models.JobExecutionNamesCollection;
import com.azure.resourcemanager.appcontainers.models.JobExecutionTemplate;
import com.azure.resourcemanager.appcontainers.models.JobSecretsCollection;
import com.azure.resourcemanager.appcontainers.models.Jobs;
@@ -113,10 +112,8 @@ public void stopExecution(String resourceGroupName, String jobName, String jobEx
this.serviceClient().stopExecution(resourceGroupName, jobName, jobExecutionName, context);
}
- public ContainerAppJobExecutions stopMultipleExecutions(
- String resourceGroupName, String jobName, JobExecutionNamesCollection jobExecutionName) {
- ContainerAppJobExecutionsInner inner =
- this.serviceClient().stopMultipleExecutions(resourceGroupName, jobName, jobExecutionName);
+ public ContainerAppJobExecutions stopMultipleExecutions(String resourceGroupName, String jobName) {
+ ContainerAppJobExecutionsInner inner = this.serviceClient().stopMultipleExecutions(resourceGroupName, jobName);
if (inner != null) {
return new ContainerAppJobExecutionsImpl(inner, this.manager());
} else {
@@ -124,10 +121,9 @@ public ContainerAppJobExecutions stopMultipleExecutions(
}
}
- public ContainerAppJobExecutions stopMultipleExecutions(
- String resourceGroupName, String jobName, JobExecutionNamesCollection jobExecutionName, Context context) {
+ public ContainerAppJobExecutions stopMultipleExecutions(String resourceGroupName, String jobName, Context context) {
ContainerAppJobExecutionsInner inner =
- this.serviceClient().stopMultipleExecutions(resourceGroupName, jobName, jobExecutionName, context);
+ this.serviceClient().stopMultipleExecutions(resourceGroupName, jobName, context);
if (inner != null) {
return new ContainerAppJobExecutionsImpl(inner, this.manager());
} else {
diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/implementation/ManagedEnvironmentImpl.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/implementation/ManagedEnvironmentImpl.java
index 88ee14309073..1d0877490ef0 100644
--- a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/implementation/ManagedEnvironmentImpl.java
+++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/implementation/ManagedEnvironmentImpl.java
@@ -16,6 +16,7 @@
import com.azure.resourcemanager.appcontainers.models.EnvironmentProvisioningState;
import com.azure.resourcemanager.appcontainers.models.KedaConfiguration;
import com.azure.resourcemanager.appcontainers.models.ManagedEnvironment;
+import com.azure.resourcemanager.appcontainers.models.ManagedEnvironmentPropertiesPeerAuthentication;
import com.azure.resourcemanager.appcontainers.models.VnetConfiguration;
import com.azure.resourcemanager.appcontainers.models.WorkloadProfile;
import java.util.Collections;
@@ -126,6 +127,10 @@ public String infrastructureResourceGroup() {
return this.innerModel().infrastructureResourceGroup();
}
+ public ManagedEnvironmentPropertiesPeerAuthentication peerAuthentication() {
+ return this.innerModel().peerAuthentication();
+ }
+
public Region region() {
return Region.fromName(this.regionName());
}
@@ -310,4 +315,10 @@ public ManagedEnvironmentImpl withInfrastructureResourceGroup(String infrastruct
this.innerModel().withInfrastructureResourceGroup(infrastructureResourceGroup);
return this;
}
+
+ public ManagedEnvironmentImpl withPeerAuthentication(
+ ManagedEnvironmentPropertiesPeerAuthentication peerAuthentication) {
+ this.innerModel().withPeerAuthentication(peerAuthentication);
+ return this;
+ }
}
diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/implementation/ManagedEnvironmentStorageImpl.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/implementation/ManagedEnvironmentStorageImpl.java
index 06812b119670..dc5d0b9e1ee4 100644
--- a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/implementation/ManagedEnvironmentStorageImpl.java
+++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/implementation/ManagedEnvironmentStorageImpl.java
@@ -4,7 +4,6 @@
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.ManagedEnvironmentStorageInner;
import com.azure.resourcemanager.appcontainers.models.ManagedEnvironmentStorage;
@@ -32,10 +31,6 @@ public ManagedEnvironmentStorageProperties properties() {
return this.innerModel().properties();
}
- public SystemData systemData() {
- return this.innerModel().systemData();
- }
-
public String resourceGroupName() {
return resourceGroupName;
}
diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/implementation/ManagedEnvironmentUsagesClientImpl.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/implementation/ManagedEnvironmentUsagesClientImpl.java
new file mode 100644
index 000000000000..f9c18c51d1fa
--- /dev/null
+++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/implementation/ManagedEnvironmentUsagesClientImpl.java
@@ -0,0 +1,342 @@
+// 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.util.Context;
+import com.azure.core.util.FluxUtil;
+import com.azure.resourcemanager.appcontainers.fluent.ManagedEnvironmentUsagesClient;
+import com.azure.resourcemanager.appcontainers.fluent.models.UsageInner;
+import com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException;
+import com.azure.resourcemanager.appcontainers.models.ListUsagesResult;
+import reactor.core.publisher.Mono;
+
+/** An instance of this class provides access to all the operations defined in ManagedEnvironmentUsagesClient. */
+public final class ManagedEnvironmentUsagesClientImpl implements ManagedEnvironmentUsagesClient {
+ /** The proxy service used to perform REST calls. */
+ private final ManagedEnvironmentUsagesService service;
+
+ /** The service client containing this operation class. */
+ private final ContainerAppsApiClientImpl client;
+
+ /**
+ * Initializes an instance of ManagedEnvironmentUsagesClientImpl.
+ *
+ * @param client the instance of the service client containing this operation class.
+ */
+ ManagedEnvironmentUsagesClientImpl(ContainerAppsApiClientImpl client) {
+ this.service =
+ RestProxy
+ .create(ManagedEnvironmentUsagesService.class, client.getHttpPipeline(), client.getSerializerAdapter());
+ this.client = client;
+ }
+
+ /**
+ * The interface defining all the services for ContainerAppsApiClientManagedEnvironmentUsages to be used by the
+ * proxy service to perform REST calls.
+ */
+ @Host("{$host}")
+ @ServiceInterface(name = "ContainerAppsApiClie")
+ public interface ManagedEnvironmentUsagesService {
+ @Headers({"Content-Type: application/json"})
+ @Get(
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/managedEnvironments/{environmentName}/usages")
+ @ExpectedResponses({200})
+ @UnexpectedResponseExceptionType(DefaultErrorResponseErrorException.class)
+ Mono> list(
+ @HostParam("$host") String endpoint,
+ @PathParam("subscriptionId") String subscriptionId,
+ @PathParam("resourceGroupName") String resourceGroupName,
+ @PathParam("environmentName") String environmentName,
+ @QueryParam("api-version") String apiVersion,
+ @HeaderParam("Accept") String accept,
+ Context context);
+
+ @Headers({"Content-Type: application/json"})
+ @Get("{nextLink}")
+ @ExpectedResponses({200})
+ @UnexpectedResponseExceptionType(DefaultErrorResponseErrorException.class)
+ Mono> listNext(
+ @PathParam(value = "nextLink", encoded = true) String nextLink,
+ @HostParam("$host") String endpoint,
+ @HeaderParam("Accept") String accept,
+ Context context);
+ }
+
+ /**
+ * Gets the current usage information as well as the limits for environment.
+ *
+ * @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 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 current usage information as well as the limits for environment along with {@link PagedResponse} on
+ * successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Mono> listSinglePageAsync(String resourceGroupName, String environmentName) {
+ 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 (resourceGroupName == null) {
+ return Mono
+ .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."));
+ }
+ if (environmentName == null) {
+ return Mono
+ .error(new IllegalArgumentException("Parameter environmentName is required and cannot be null."));
+ }
+ final String accept = "application/json";
+ return FluxUtil
+ .withContext(
+ context ->
+ service
+ .list(
+ this.client.getEndpoint(),
+ this.client.getSubscriptionId(),
+ resourceGroupName,
+ environmentName,
+ 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()));
+ }
+
+ /**
+ * Gets the current usage information as well as the limits for environment.
+ *
+ * @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 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 current usage information as well as the limits for environment along with {@link PagedResponse} on
+ * successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Mono> listSinglePageAsync(
+ String resourceGroupName, String environmentName, 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 (resourceGroupName == null) {
+ return Mono
+ .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."));
+ }
+ if (environmentName == null) {
+ return Mono
+ .error(new IllegalArgumentException("Parameter environmentName is required and cannot be null."));
+ }
+ final String accept = "application/json";
+ context = this.client.mergeContext(context);
+ return service
+ .list(
+ this.client.getEndpoint(),
+ this.client.getSubscriptionId(),
+ resourceGroupName,
+ environmentName,
+ this.client.getApiVersion(),
+ accept,
+ context)
+ .map(
+ res ->
+ new PagedResponseBase<>(
+ res.getRequest(),
+ res.getStatusCode(),
+ res.getHeaders(),
+ res.getValue().value(),
+ res.getValue().nextLink(),
+ null));
+ }
+
+ /**
+ * Gets the current usage information as well as the limits for environment.
+ *
+ * @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 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 current usage information as well as the limits for environment as paginated response with {@link
+ * PagedFlux}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ private PagedFlux listAsync(String resourceGroupName, String environmentName) {
+ return new PagedFlux<>(
+ () -> listSinglePageAsync(resourceGroupName, environmentName),
+ nextLink -> listNextSinglePageAsync(nextLink));
+ }
+
+ /**
+ * Gets the current usage information as well as the limits for environment.
+ *
+ * @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 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 current usage information as well as the limits for environment as paginated response with {@link
+ * PagedFlux}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ private PagedFlux listAsync(String resourceGroupName, String environmentName, Context context) {
+ return new PagedFlux<>(
+ () -> listSinglePageAsync(resourceGroupName, environmentName, context),
+ nextLink -> listNextSinglePageAsync(nextLink, context));
+ }
+
+ /**
+ * Gets the current usage information as well as the limits for environment.
+ *
+ * @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 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 current usage information as well as the limits for environment as paginated response with {@link
+ * PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ public PagedIterable list(String resourceGroupName, String environmentName) {
+ return new PagedIterable<>(listAsync(resourceGroupName, environmentName));
+ }
+
+ /**
+ * Gets the current usage information as well as the limits for environment.
+ *
+ * @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 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 current usage information as well as the limits for environment as paginated response with {@link
+ * PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ public PagedIterable list(String resourceGroupName, String environmentName, Context context) {
+ return new PagedIterable<>(listAsync(resourceGroupName, environmentName, context));
+ }
+
+ /**
+ * Get the next page of items.
+ *
+ * @param nextLink The URL to get the next list of items
+ * The nextLink parameter.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws DefaultErrorResponseErrorException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response body along with {@link PagedResponse} on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Mono> listNextSinglePageAsync(String nextLink) {
+ if (nextLink == null) {
+ return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null."));
+ }
+ if (this.client.getEndpoint() == null) {
+ return Mono
+ .error(
+ new IllegalArgumentException(
+ "Parameter this.client.getEndpoint() is required and cannot be null."));
+ }
+ final String accept = "application/json";
+ return FluxUtil
+ .withContext(context -> service.listNext(nextLink, this.client.getEndpoint(), 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 the next page of items.
+ *
+ * @param nextLink The URL to get the next list of items
+ * The nextLink parameter.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws DefaultErrorResponseErrorException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response body along with {@link PagedResponse} on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Mono> listNextSinglePageAsync(String nextLink, Context context) {
+ if (nextLink == null) {
+ return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null."));
+ }
+ if (this.client.getEndpoint() == null) {
+ return Mono
+ .error(
+ new IllegalArgumentException(
+ "Parameter this.client.getEndpoint() is required and cannot be null."));
+ }
+ final String accept = "application/json";
+ context = this.client.mergeContext(context);
+ return service
+ .listNext(nextLink, this.client.getEndpoint(), accept, context)
+ .map(
+ res ->
+ new PagedResponseBase<>(
+ res.getRequest(),
+ res.getStatusCode(),
+ res.getHeaders(),
+ res.getValue().value(),
+ res.getValue().nextLink(),
+ null));
+ }
+}
diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/implementation/ManagedEnvironmentUsagesImpl.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/implementation/ManagedEnvironmentUsagesImpl.java
new file mode 100644
index 000000000000..32babed5c4df
--- /dev/null
+++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/implementation/ManagedEnvironmentUsagesImpl.java
@@ -0,0 +1,46 @@
+// 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.http.rest.PagedIterable;
+import com.azure.core.util.Context;
+import com.azure.core.util.logging.ClientLogger;
+import com.azure.resourcemanager.appcontainers.fluent.ManagedEnvironmentUsagesClient;
+import com.azure.resourcemanager.appcontainers.fluent.models.UsageInner;
+import com.azure.resourcemanager.appcontainers.models.ManagedEnvironmentUsages;
+import com.azure.resourcemanager.appcontainers.models.Usage;
+
+public final class ManagedEnvironmentUsagesImpl implements ManagedEnvironmentUsages {
+ private static final ClientLogger LOGGER = new ClientLogger(ManagedEnvironmentUsagesImpl.class);
+
+ private final ManagedEnvironmentUsagesClient innerClient;
+
+ private final com.azure.resourcemanager.appcontainers.ContainerAppsApiManager serviceManager;
+
+ public ManagedEnvironmentUsagesImpl(
+ ManagedEnvironmentUsagesClient innerClient,
+ com.azure.resourcemanager.appcontainers.ContainerAppsApiManager serviceManager) {
+ this.innerClient = innerClient;
+ this.serviceManager = serviceManager;
+ }
+
+ public PagedIterable list(String resourceGroupName, String environmentName) {
+ PagedIterable inner = this.serviceClient().list(resourceGroupName, environmentName);
+ return Utils.mapPage(inner, inner1 -> new UsageImpl(inner1, this.manager()));
+ }
+
+ public PagedIterable list(String resourceGroupName, String environmentName, Context context) {
+ PagedIterable inner = this.serviceClient().list(resourceGroupName, environmentName, context);
+ return Utils.mapPage(inner, inner1 -> new UsageImpl(inner1, this.manager()));
+ }
+
+ private ManagedEnvironmentUsagesClient serviceClient() {
+ return this.innerClient;
+ }
+
+ 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/ReplicaImpl.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/implementation/ReplicaImpl.java
index cf34ac0584a5..89ccdf824e2c 100644
--- a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/implementation/ReplicaImpl.java
+++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/implementation/ReplicaImpl.java
@@ -4,8 +4,8 @@
package com.azure.resourcemanager.appcontainers.implementation;
-import com.azure.core.management.SystemData;
import com.azure.resourcemanager.appcontainers.fluent.models.ReplicaInner;
+import com.azure.resourcemanager.appcontainers.models.ContainerAppReplicaRunningState;
import com.azure.resourcemanager.appcontainers.models.Replica;
import com.azure.resourcemanager.appcontainers.models.ReplicaContainer;
import java.time.OffsetDateTime;
@@ -35,14 +35,18 @@ public String type() {
return this.innerModel().type();
}
- public SystemData systemData() {
- return this.innerModel().systemData();
- }
-
public OffsetDateTime createdTime() {
return this.innerModel().createdTime();
}
+ public ContainerAppReplicaRunningState runningState() {
+ return this.innerModel().runningState();
+ }
+
+ public String runningStateDetails() {
+ return this.innerModel().runningStateDetails();
+ }
+
public List containers() {
List inner = this.innerModel().containers();
if (inner != null) {
@@ -52,6 +56,15 @@ public List containers() {
}
}
+ public List initContainers() {
+ List inner = this.innerModel().initContainers();
+ if (inner != null) {
+ return Collections.unmodifiableList(inner);
+ } else {
+ return Collections.emptyList();
+ }
+ }
+
public ReplicaInner innerModel() {
return this.innerObject;
}
diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/implementation/ResourceProvidersClientImpl.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/implementation/ResourceProvidersClientImpl.java
new file mode 100644
index 000000000000..f240ddda480a
--- /dev/null
+++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/implementation/ResourceProvidersClientImpl.java
@@ -0,0 +1,349 @@
+// 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.Post;
+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.Response;
+import com.azure.core.http.rest.RestProxy;
+import com.azure.core.util.Context;
+import com.azure.core.util.FluxUtil;
+import com.azure.resourcemanager.appcontainers.fluent.ResourceProvidersClient;
+import com.azure.resourcemanager.appcontainers.fluent.models.JobExecutionInner;
+import com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException;
+import reactor.core.publisher.Mono;
+
+/** An instance of this class provides access to all the operations defined in ResourceProvidersClient. */
+public final class ResourceProvidersClientImpl implements ResourceProvidersClient {
+ /** The proxy service used to perform REST calls. */
+ private final ResourceProvidersService service;
+
+ /** The service client containing this operation class. */
+ private final ContainerAppsApiClientImpl client;
+
+ /**
+ * Initializes an instance of ResourceProvidersClientImpl.
+ *
+ * @param client the instance of the service client containing this operation class.
+ */
+ ResourceProvidersClientImpl(ContainerAppsApiClientImpl client) {
+ this.service =
+ RestProxy.create(ResourceProvidersService.class, client.getHttpPipeline(), client.getSerializerAdapter());
+ this.client = client;
+ }
+
+ /**
+ * The interface defining all the services for ContainerAppsApiClientResourceProviders to be used by the proxy
+ * service to perform REST calls.
+ */
+ @Host("{$host}")
+ @ServiceInterface(name = "ContainerAppsApiClie")
+ public interface ResourceProvidersService {
+ @Headers({"Content-Type: application/json"})
+ @Get(
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/jobs/{jobName}/executions/{jobExecutionName}")
+ @ExpectedResponses({200})
+ @UnexpectedResponseExceptionType(DefaultErrorResponseErrorException.class)
+ Mono> jobExecution(
+ @HostParam("$host") String endpoint,
+ @PathParam("subscriptionId") String subscriptionId,
+ @PathParam("resourceGroupName") String resourceGroupName,
+ @PathParam("jobName") String jobName,
+ @PathParam("jobExecutionName") String jobExecutionName,
+ @QueryParam("api-version") String apiVersion,
+ @HeaderParam("Accept") String accept,
+ Context context);
+
+ @Headers({"Content-Type: application/json"})
+ @Post("/subscriptions/{subscriptionId}/providers/Microsoft.App/getCustomDomainVerificationId")
+ @ExpectedResponses({200})
+ @UnexpectedResponseExceptionType(DefaultErrorResponseErrorException.class)
+ Mono> getCustomDomainVerificationId(
+ @HostParam("$host") String endpoint,
+ @PathParam("subscriptionId") String subscriptionId,
+ @QueryParam("api-version") String apiVersion,
+ @HeaderParam("Accept") String accept,
+ Context context);
+ }
+
+ /**
+ * Get details of a single job execution.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param jobName Job Name.
+ * @param jobExecutionName Job execution name.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws DefaultErrorResponseErrorException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return details of a single job execution along with {@link Response} on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Mono> jobExecutionWithResponseAsync(
+ String resourceGroupName, String jobName, String jobExecutionName) {
+ 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 (resourceGroupName == null) {
+ return Mono
+ .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."));
+ }
+ if (jobName == null) {
+ return Mono.error(new IllegalArgumentException("Parameter jobName is required and cannot be null."));
+ }
+ if (jobExecutionName == null) {
+ return Mono
+ .error(new IllegalArgumentException("Parameter jobExecutionName is required and cannot be null."));
+ }
+ final String accept = "application/json";
+ return FluxUtil
+ .withContext(
+ context ->
+ service
+ .jobExecution(
+ this.client.getEndpoint(),
+ this.client.getSubscriptionId(),
+ resourceGroupName,
+ jobName,
+ jobExecutionName,
+ this.client.getApiVersion(),
+ accept,
+ context))
+ .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly()));
+ }
+
+ /**
+ * Get details of a single job execution.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param jobName Job Name.
+ * @param jobExecutionName Job execution name.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws DefaultErrorResponseErrorException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return details of a single job execution along with {@link Response} on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Mono> jobExecutionWithResponseAsync(
+ String resourceGroupName, String jobName, String jobExecutionName, 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 (resourceGroupName == null) {
+ return Mono
+ .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."));
+ }
+ if (jobName == null) {
+ return Mono.error(new IllegalArgumentException("Parameter jobName is required and cannot be null."));
+ }
+ if (jobExecutionName == null) {
+ return Mono
+ .error(new IllegalArgumentException("Parameter jobExecutionName is required and cannot be null."));
+ }
+ final String accept = "application/json";
+ context = this.client.mergeContext(context);
+ return service
+ .jobExecution(
+ this.client.getEndpoint(),
+ this.client.getSubscriptionId(),
+ resourceGroupName,
+ jobName,
+ jobExecutionName,
+ this.client.getApiVersion(),
+ accept,
+ context);
+ }
+
+ /**
+ * Get details of a single job execution.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param jobName Job Name.
+ * @param jobExecutionName Job execution name.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws DefaultErrorResponseErrorException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return details of a single job execution on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Mono jobExecutionAsync(
+ String resourceGroupName, String jobName, String jobExecutionName) {
+ return jobExecutionWithResponseAsync(resourceGroupName, jobName, jobExecutionName)
+ .flatMap(res -> Mono.justOrEmpty(res.getValue()));
+ }
+
+ /**
+ * Get details of a single job execution.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param jobName Job Name.
+ * @param jobExecutionName Job execution name.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws DefaultErrorResponseErrorException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return details of a single job execution along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ public Response jobExecutionWithResponse(
+ String resourceGroupName, String jobName, String jobExecutionName, Context context) {
+ return jobExecutionWithResponseAsync(resourceGroupName, jobName, jobExecutionName, context).block();
+ }
+
+ /**
+ * Get details of a single job execution.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param jobName Job Name.
+ * @param jobExecutionName Job execution name.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws DefaultErrorResponseErrorException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return details of a single job execution.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ public JobExecutionInner jobExecution(String resourceGroupName, String jobName, String jobExecutionName) {
+ return jobExecutionWithResponse(resourceGroupName, jobName, jobExecutionName, Context.NONE).getValue();
+ }
+
+ /**
+ * Get the verification id of a subscription used for verifying custom domains.
+ *
+ * @throws DefaultErrorResponseErrorException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the verification id of a subscription used for verifying custom domains along with {@link Response} on
+ * successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Mono> getCustomDomainVerificationIdWithResponseAsync() {
+ 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."));
+ }
+ final String accept = "application/json";
+ return FluxUtil
+ .withContext(
+ context ->
+ service
+ .getCustomDomainVerificationId(
+ this.client.getEndpoint(),
+ this.client.getSubscriptionId(),
+ this.client.getApiVersion(),
+ accept,
+ context))
+ .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly()));
+ }
+
+ /**
+ * Get the verification id of a subscription used for verifying custom domains.
+ *
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws DefaultErrorResponseErrorException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the verification id of a subscription used for verifying custom domains along with {@link Response} on
+ * successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Mono> getCustomDomainVerificationIdWithResponseAsync(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."));
+ }
+ final String accept = "application/json";
+ context = this.client.mergeContext(context);
+ return service
+ .getCustomDomainVerificationId(
+ this.client.getEndpoint(),
+ this.client.getSubscriptionId(),
+ this.client.getApiVersion(),
+ accept,
+ context);
+ }
+
+ /**
+ * Get the verification id of a subscription used for verifying custom domains.
+ *
+ * @throws DefaultErrorResponseErrorException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the verification id of a subscription used for verifying custom domains on successful completion of
+ * {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Mono getCustomDomainVerificationIdAsync() {
+ return getCustomDomainVerificationIdWithResponseAsync().flatMap(res -> Mono.justOrEmpty(res.getValue()));
+ }
+
+ /**
+ * Get the verification id of a subscription used for verifying custom domains.
+ *
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws DefaultErrorResponseErrorException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the verification id of a subscription used for verifying custom domains along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ public Response getCustomDomainVerificationIdWithResponse(Context context) {
+ return getCustomDomainVerificationIdWithResponseAsync(context).block();
+ }
+
+ /**
+ * Get the verification id of a subscription used for verifying custom domains.
+ *
+ * @throws DefaultErrorResponseErrorException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the verification id of a subscription used for verifying custom domains.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ public String getCustomDomainVerificationId() {
+ return getCustomDomainVerificationIdWithResponse(Context.NONE).getValue();
+ }
+}
diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/implementation/ResourceProvidersImpl.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/implementation/ResourceProvidersImpl.java
new file mode 100644
index 000000000000..467f930583ed
--- /dev/null
+++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/implementation/ResourceProvidersImpl.java
@@ -0,0 +1,69 @@
+// 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.http.rest.Response;
+import com.azure.core.http.rest.SimpleResponse;
+import com.azure.core.util.Context;
+import com.azure.core.util.logging.ClientLogger;
+import com.azure.resourcemanager.appcontainers.fluent.ResourceProvidersClient;
+import com.azure.resourcemanager.appcontainers.fluent.models.JobExecutionInner;
+import com.azure.resourcemanager.appcontainers.models.JobExecution;
+import com.azure.resourcemanager.appcontainers.models.ResourceProviders;
+
+public final class ResourceProvidersImpl implements ResourceProviders {
+ private static final ClientLogger LOGGER = new ClientLogger(ResourceProvidersImpl.class);
+
+ private final ResourceProvidersClient innerClient;
+
+ private final com.azure.resourcemanager.appcontainers.ContainerAppsApiManager serviceManager;
+
+ public ResourceProvidersImpl(
+ ResourceProvidersClient innerClient,
+ com.azure.resourcemanager.appcontainers.ContainerAppsApiManager serviceManager) {
+ this.innerClient = innerClient;
+ this.serviceManager = serviceManager;
+ }
+
+ public Response jobExecutionWithResponse(
+ String resourceGroupName, String jobName, String jobExecutionName, Context context) {
+ Response inner =
+ this.serviceClient().jobExecutionWithResponse(resourceGroupName, jobName, jobExecutionName, context);
+ if (inner != null) {
+ return new SimpleResponse<>(
+ inner.getRequest(),
+ inner.getStatusCode(),
+ inner.getHeaders(),
+ new JobExecutionImpl(inner.getValue(), this.manager()));
+ } else {
+ return null;
+ }
+ }
+
+ public JobExecution jobExecution(String resourceGroupName, String jobName, String jobExecutionName) {
+ JobExecutionInner inner = this.serviceClient().jobExecution(resourceGroupName, jobName, jobExecutionName);
+ if (inner != null) {
+ return new JobExecutionImpl(inner, this.manager());
+ } else {
+ return null;
+ }
+ }
+
+ public Response getCustomDomainVerificationIdWithResponse(Context context) {
+ return this.serviceClient().getCustomDomainVerificationIdWithResponse(context);
+ }
+
+ public String getCustomDomainVerificationId() {
+ return this.serviceClient().getCustomDomainVerificationId();
+ }
+
+ private ResourceProvidersClient serviceClient() {
+ return this.innerClient;
+ }
+
+ 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/RevisionImpl.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/implementation/RevisionImpl.java
index 7b42cccf03ba..e56a7cd26d09 100644
--- a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/implementation/RevisionImpl.java
+++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/implementation/RevisionImpl.java
@@ -4,11 +4,11 @@
package com.azure.resourcemanager.appcontainers.implementation;
-import com.azure.core.management.SystemData;
import com.azure.resourcemanager.appcontainers.fluent.models.RevisionInner;
import com.azure.resourcemanager.appcontainers.models.Revision;
import com.azure.resourcemanager.appcontainers.models.RevisionHealthState;
import com.azure.resourcemanager.appcontainers.models.RevisionProvisioningState;
+import com.azure.resourcemanager.appcontainers.models.RevisionRunningState;
import com.azure.resourcemanager.appcontainers.models.Template;
import java.time.OffsetDateTime;
@@ -35,10 +35,6 @@ public String type() {
return this.innerModel().type();
}
- public SystemData systemData() {
- return this.innerModel().systemData();
- }
-
public OffsetDateTime createdTime() {
return this.innerModel().createdTime();
}
@@ -79,6 +75,10 @@ public RevisionProvisioningState provisioningState() {
return this.innerModel().provisioningState();
}
+ public RevisionRunningState runningState() {
+ return this.innerModel().runningState();
+ }
+
public RevisionInner innerModel() {
return this.innerObject;
}
diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/implementation/SourceControlImpl.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/implementation/SourceControlImpl.java
index 87912df4a417..20efb9b6dd7f 100644
--- a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/implementation/SourceControlImpl.java
+++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/implementation/SourceControlImpl.java
@@ -4,7 +4,6 @@
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.SourceControlInner;
import com.azure.resourcemanager.appcontainers.models.GithubActionConfiguration;
@@ -28,10 +27,6 @@ public String type() {
return this.innerModel().type();
}
- public SystemData systemData() {
- return this.innerModel().systemData();
- }
-
public SourceControlOperationState operationState() {
return this.innerModel().operationState();
}
diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/implementation/UsageImpl.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/implementation/UsageImpl.java
new file mode 100644
index 000000000000..9af23c3f054f
--- /dev/null
+++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/implementation/UsageImpl.java
@@ -0,0 +1,44 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.appcontainers.implementation;
+
+import com.azure.resourcemanager.appcontainers.fluent.models.UsageInner;
+import com.azure.resourcemanager.appcontainers.models.Usage;
+import com.azure.resourcemanager.appcontainers.models.UsageName;
+
+public final class UsageImpl implements Usage {
+ private UsageInner innerObject;
+
+ private final com.azure.resourcemanager.appcontainers.ContainerAppsApiManager serviceManager;
+
+ UsageImpl(UsageInner innerObject, com.azure.resourcemanager.appcontainers.ContainerAppsApiManager serviceManager) {
+ this.innerObject = innerObject;
+ this.serviceManager = serviceManager;
+ }
+
+ public String unit() {
+ return this.innerModel().unit();
+ }
+
+ public int currentValue() {
+ return this.innerModel().currentValue();
+ }
+
+ public long limit() {
+ return this.innerModel().limit();
+ }
+
+ public UsageName name() {
+ return this.innerModel().name();
+ }
+
+ public UsageInner 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/UsagesClientImpl.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/implementation/UsagesClientImpl.java
new file mode 100644
index 000000000000..b66cfa70f19c
--- /dev/null
+++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/implementation/UsagesClientImpl.java
@@ -0,0 +1,316 @@
+// 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.util.Context;
+import com.azure.core.util.FluxUtil;
+import com.azure.resourcemanager.appcontainers.fluent.UsagesClient;
+import com.azure.resourcemanager.appcontainers.fluent.models.UsageInner;
+import com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException;
+import com.azure.resourcemanager.appcontainers.models.ListUsagesResult;
+import reactor.core.publisher.Mono;
+
+/** An instance of this class provides access to all the operations defined in UsagesClient. */
+public final class UsagesClientImpl implements UsagesClient {
+ /** The proxy service used to perform REST calls. */
+ private final UsagesService service;
+
+ /** The service client containing this operation class. */
+ private final ContainerAppsApiClientImpl client;
+
+ /**
+ * Initializes an instance of UsagesClientImpl.
+ *
+ * @param client the instance of the service client containing this operation class.
+ */
+ UsagesClientImpl(ContainerAppsApiClientImpl client) {
+ this.service = RestProxy.create(UsagesService.class, client.getHttpPipeline(), client.getSerializerAdapter());
+ this.client = client;
+ }
+
+ /**
+ * The interface defining all the services for ContainerAppsApiClientUsages to be used by the proxy service to
+ * perform REST calls.
+ */
+ @Host("{$host}")
+ @ServiceInterface(name = "ContainerAppsApiClie")
+ public interface UsagesService {
+ @Headers({"Content-Type: application/json"})
+ @Get("/subscriptions/{subscriptionId}/providers/Microsoft.App/locations/{location}/usages")
+ @ExpectedResponses({200})
+ @UnexpectedResponseExceptionType(DefaultErrorResponseErrorException.class)
+ Mono> list(
+ @HostParam("$host") String endpoint,
+ @PathParam("location") String location,
+ @PathParam("subscriptionId") String subscriptionId,
+ @QueryParam("api-version") String apiVersion,
+ @HeaderParam("Accept") String accept,
+ Context context);
+
+ @Headers({"Content-Type: application/json"})
+ @Get("{nextLink}")
+ @ExpectedResponses({200})
+ @UnexpectedResponseExceptionType(DefaultErrorResponseErrorException.class)
+ Mono> listNext(
+ @PathParam(value = "nextLink", encoded = true) String nextLink,
+ @HostParam("$host") String endpoint,
+ @HeaderParam("Accept") String accept,
+ Context context);
+ }
+
+ /**
+ * Gets, for the specified location, the current resource usage information as well as the limits under the
+ * subscription.
+ *
+ * @param location The location for which resource usage is queried.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws DefaultErrorResponseErrorException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response body along with {@link PagedResponse} on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Mono> listSinglePageAsync(String location) {
+ if (this.client.getEndpoint() == null) {
+ return Mono
+ .error(
+ new IllegalArgumentException(
+ "Parameter this.client.getEndpoint() is required and cannot be null."));
+ }
+ if (location == null) {
+ return Mono.error(new IllegalArgumentException("Parameter location 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."));
+ }
+ final String accept = "application/json";
+ return FluxUtil
+ .withContext(
+ context ->
+ service
+ .list(
+ this.client.getEndpoint(),
+ location,
+ this.client.getSubscriptionId(),
+ 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()));
+ }
+
+ /**
+ * Gets, for the specified location, the current resource usage information as well as the limits under the
+ * subscription.
+ *
+ * @param location The location for which resource usage is queried.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws DefaultErrorResponseErrorException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response body along with {@link PagedResponse} on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Mono> listSinglePageAsync(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 (location == null) {
+ return Mono.error(new IllegalArgumentException("Parameter location 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."));
+ }
+ final String accept = "application/json";
+ context = this.client.mergeContext(context);
+ return service
+ .list(
+ this.client.getEndpoint(),
+ location,
+ this.client.getSubscriptionId(),
+ this.client.getApiVersion(),
+ accept,
+ context)
+ .map(
+ res ->
+ new PagedResponseBase<>(
+ res.getRequest(),
+ res.getStatusCode(),
+ res.getHeaders(),
+ res.getValue().value(),
+ res.getValue().nextLink(),
+ null));
+ }
+
+ /**
+ * Gets, for the specified location, the current resource usage information as well as the limits under the
+ * subscription.
+ *
+ * @param location The location for which resource usage is queried.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws DefaultErrorResponseErrorException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the paginated response with {@link PagedFlux}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ private PagedFlux listAsync(String location) {
+ return new PagedFlux<>(() -> listSinglePageAsync(location), nextLink -> listNextSinglePageAsync(nextLink));
+ }
+
+ /**
+ * Gets, for the specified location, the current resource usage information as well as the limits under the
+ * subscription.
+ *
+ * @param location The location for which resource usage is queried.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws DefaultErrorResponseErrorException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the paginated response with {@link PagedFlux}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ private PagedFlux listAsync(String location, Context context) {
+ return new PagedFlux<>(
+ () -> listSinglePageAsync(location, context), nextLink -> listNextSinglePageAsync(nextLink, context));
+ }
+
+ /**
+ * Gets, for the specified location, the current resource usage information as well as the limits under the
+ * subscription.
+ *
+ * @param location The location for which resource usage is queried.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws DefaultErrorResponseErrorException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ public PagedIterable list(String location) {
+ return new PagedIterable<>(listAsync(location));
+ }
+
+ /**
+ * Gets, for the specified location, the current resource usage information as well as the limits under the
+ * subscription.
+ *
+ * @param location The location for which resource usage is queried.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws DefaultErrorResponseErrorException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ public PagedIterable list(String location, Context context) {
+ return new PagedIterable<>(listAsync(location, context));
+ }
+
+ /**
+ * Get the next page of items.
+ *
+ * @param nextLink The URL to get the next list of items
+ * The nextLink parameter.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws DefaultErrorResponseErrorException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response body along with {@link PagedResponse} on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Mono> listNextSinglePageAsync(String nextLink) {
+ if (nextLink == null) {
+ return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null."));
+ }
+ if (this.client.getEndpoint() == null) {
+ return Mono
+ .error(
+ new IllegalArgumentException(
+ "Parameter this.client.getEndpoint() is required and cannot be null."));
+ }
+ final String accept = "application/json";
+ return FluxUtil
+ .withContext(context -> service.listNext(nextLink, this.client.getEndpoint(), 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 the next page of items.
+ *
+ * @param nextLink The URL to get the next list of items
+ * The nextLink parameter.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws DefaultErrorResponseErrorException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response body along with {@link PagedResponse} on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Mono> listNextSinglePageAsync(String nextLink, Context context) {
+ if (nextLink == null) {
+ return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null."));
+ }
+ if (this.client.getEndpoint() == null) {
+ return Mono
+ .error(
+ new IllegalArgumentException(
+ "Parameter this.client.getEndpoint() is required and cannot be null."));
+ }
+ final String accept = "application/json";
+ context = this.client.mergeContext(context);
+ return service
+ .listNext(nextLink, this.client.getEndpoint(), accept, context)
+ .map(
+ res ->
+ new PagedResponseBase<>(
+ res.getRequest(),
+ res.getStatusCode(),
+ res.getHeaders(),
+ res.getValue().value(),
+ res.getValue().nextLink(),
+ null));
+ }
+}
diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/implementation/UsagesImpl.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/implementation/UsagesImpl.java
new file mode 100644
index 000000000000..37478ffe57a8
--- /dev/null
+++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/implementation/UsagesImpl.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.implementation;
+
+import com.azure.core.http.rest.PagedIterable;
+import com.azure.core.util.Context;
+import com.azure.core.util.logging.ClientLogger;
+import com.azure.resourcemanager.appcontainers.fluent.UsagesClient;
+import com.azure.resourcemanager.appcontainers.fluent.models.UsageInner;
+import com.azure.resourcemanager.appcontainers.models.Usage;
+import com.azure.resourcemanager.appcontainers.models.Usages;
+
+public final class UsagesImpl implements Usages {
+ private static final ClientLogger LOGGER = new ClientLogger(UsagesImpl.class);
+
+ private final UsagesClient innerClient;
+
+ private final com.azure.resourcemanager.appcontainers.ContainerAppsApiManager serviceManager;
+
+ public UsagesImpl(
+ UsagesClient innerClient, com.azure.resourcemanager.appcontainers.ContainerAppsApiManager serviceManager) {
+ this.innerClient = innerClient;
+ this.serviceManager = serviceManager;
+ }
+
+ public PagedIterable list(String location) {
+ PagedIterable inner = this.serviceClient().list(location);
+ return Utils.mapPage(inner, inner1 -> new UsageImpl(inner1, this.manager()));
+ }
+
+ public PagedIterable list(String location, Context context) {
+ PagedIterable inner = this.serviceClient().list(location, context);
+ return Utils.mapPage(inner, inner1 -> new UsageImpl(inner1, this.manager()));
+ }
+
+ private UsagesClient serviceClient() {
+ return this.innerClient;
+ }
+
+ 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/WorkloadProfileStatesImpl.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/implementation/WorkloadProfileStatesImpl.java
index d53fda0bcb69..8e91506dd431 100644
--- a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/implementation/WorkloadProfileStatesImpl.java
+++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/implementation/WorkloadProfileStatesImpl.java
@@ -4,7 +4,6 @@
package com.azure.resourcemanager.appcontainers.implementation;
-import com.azure.core.management.SystemData;
import com.azure.resourcemanager.appcontainers.fluent.models.WorkloadProfileStatesInner;
import com.azure.resourcemanager.appcontainers.models.WorkloadProfileStates;
import com.azure.resourcemanager.appcontainers.models.WorkloadProfileStatesProperties;
@@ -37,10 +36,6 @@ public WorkloadProfileStatesProperties properties() {
return this.innerModel().properties();
}
- public SystemData systemData() {
- return this.innerModel().systemData();
- }
-
public WorkloadProfileStatesInner innerModel() {
return this.innerObject;
}
diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/AppLogsConfiguration.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/AppLogsConfiguration.java
index 5d0520f20948..b015b446de0f 100644
--- a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/AppLogsConfiguration.java
+++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/AppLogsConfiguration.java
@@ -11,13 +11,13 @@
@Fluent
public final class AppLogsConfiguration {
/*
- * Logs destination
+ * Logs destination, can be 'log-analytics', 'azure-monitor' or 'none'
*/
@JsonProperty(value = "destination")
private String destination;
/*
- * Log Analytics configuration
+ * Log Analytics configuration, must only be provided when destination is configured as 'log-analytics'
*/
@JsonProperty(value = "logAnalyticsConfiguration")
private LogAnalyticsConfiguration logAnalyticsConfiguration;
@@ -27,7 +27,7 @@ public AppLogsConfiguration() {
}
/**
- * Get the destination property: Logs destination.
+ * Get the destination property: Logs destination, can be 'log-analytics', 'azure-monitor' or 'none'.
*
* @return the destination value.
*/
@@ -36,7 +36,7 @@ public String destination() {
}
/**
- * Set the destination property: Logs destination.
+ * Set the destination property: Logs destination, can be 'log-analytics', 'azure-monitor' or 'none'.
*
* @param destination the destination value to set.
* @return the AppLogsConfiguration object itself.
@@ -47,7 +47,8 @@ public AppLogsConfiguration withDestination(String destination) {
}
/**
- * Get the logAnalyticsConfiguration property: Log Analytics configuration.
+ * Get the logAnalyticsConfiguration property: Log Analytics configuration, must only be provided when destination
+ * is configured as 'log-analytics'.
*
* @return the logAnalyticsConfiguration value.
*/
@@ -56,7 +57,8 @@ public LogAnalyticsConfiguration logAnalyticsConfiguration() {
}
/**
- * Set the logAnalyticsConfiguration property: Log Analytics configuration.
+ * Set the logAnalyticsConfiguration property: Log Analytics configuration, must only be provided when destination
+ * is configured as 'log-analytics'.
*
* @param logAnalyticsConfiguration the logAnalyticsConfiguration value to set.
* @return the AppLogsConfiguration object itself.
diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/AuthConfig.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/AuthConfig.java
index cd2bd12f5dcc..f1b43d4e421a 100644
--- a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/AuthConfig.java
+++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/AuthConfig.java
@@ -78,6 +78,14 @@ public interface AuthConfig {
*/
HttpSettings httpSettings();
+ /**
+ * Gets the encryptionSettings property: The configuration settings of the secrets references of encryption key and
+ * signing key for ContainerApp Service Authentication/Authorization.
+ *
+ * @return the encryptionSettings value.
+ */
+ EncryptionSettings encryptionSettings();
+
/**
* Gets the name of the resource group.
*
@@ -96,11 +104,13 @@ public interface AuthConfig {
interface Definition
extends DefinitionStages.Blank, DefinitionStages.WithParentResource, DefinitionStages.WithCreate {
}
+
/** The AuthConfig definition stages. */
interface DefinitionStages {
/** The first stage of the AuthConfig definition. */
interface Blank extends WithParentResource {
}
+
/** The stage of the AuthConfig definition allowing to specify parent resource. */
interface WithParentResource {
/**
@@ -112,6 +122,7 @@ interface WithParentResource {
*/
WithCreate withExistingContainerApp(String resourceGroupName, String containerAppName);
}
+
/**
* The stage of the AuthConfig definition which contains all the minimum required properties for the resource to
* be created, but also allows for any other optional properties to be specified.
@@ -121,7 +132,8 @@ interface WithCreate
DefinitionStages.WithGlobalValidation,
DefinitionStages.WithIdentityProviders,
DefinitionStages.WithLogin,
- DefinitionStages.WithHttpSettings {
+ DefinitionStages.WithHttpSettings,
+ DefinitionStages.WithEncryptionSettings {
/**
* Executes the create request.
*
@@ -137,6 +149,7 @@ interface WithCreate
*/
AuthConfig create(Context context);
}
+
/** The stage of the AuthConfig definition allowing to specify platform. */
interface WithPlatform {
/**
@@ -149,6 +162,7 @@ interface WithPlatform {
*/
WithCreate withPlatform(AuthPlatform platform);
}
+
/** The stage of the AuthConfig definition allowing to specify globalValidation. */
interface WithGlobalValidation {
/**
@@ -161,6 +175,7 @@ interface WithGlobalValidation {
*/
WithCreate withGlobalValidation(GlobalValidation globalValidation);
}
+
/** The stage of the AuthConfig definition allowing to specify identityProviders. */
interface WithIdentityProviders {
/**
@@ -173,6 +188,7 @@ interface WithIdentityProviders {
*/
WithCreate withIdentityProviders(IdentityProviders identityProviders);
}
+
/** The stage of the AuthConfig definition allowing to specify login. */
interface WithLogin {
/**
@@ -185,6 +201,7 @@ interface WithLogin {
*/
WithCreate withLogin(Login login);
}
+
/** The stage of the AuthConfig definition allowing to specify httpSettings. */
interface WithHttpSettings {
/**
@@ -197,7 +214,21 @@ interface WithHttpSettings {
*/
WithCreate withHttpSettings(HttpSettings httpSettings);
}
+
+ /** The stage of the AuthConfig definition allowing to specify encryptionSettings. */
+ interface WithEncryptionSettings {
+ /**
+ * Specifies the encryptionSettings property: The configuration settings of the secrets references of
+ * encryption key and signing key for ContainerApp Service Authentication/Authorization..
+ *
+ * @param encryptionSettings The configuration settings of the secrets references of encryption key and
+ * signing key for ContainerApp Service Authentication/Authorization.
+ * @return the next definition stage.
+ */
+ WithCreate withEncryptionSettings(EncryptionSettings encryptionSettings);
+ }
}
+
/**
* Begins update for the AuthConfig resource.
*
@@ -211,7 +242,8 @@ interface Update
UpdateStages.WithGlobalValidation,
UpdateStages.WithIdentityProviders,
UpdateStages.WithLogin,
- UpdateStages.WithHttpSettings {
+ UpdateStages.WithHttpSettings,
+ UpdateStages.WithEncryptionSettings {
/**
* Executes the update request.
*
@@ -227,6 +259,7 @@ interface Update
*/
AuthConfig apply(Context context);
}
+
/** The AuthConfig update stages. */
interface UpdateStages {
/** The stage of the AuthConfig update allowing to specify platform. */
@@ -241,6 +274,7 @@ interface WithPlatform {
*/
Update withPlatform(AuthPlatform platform);
}
+
/** The stage of the AuthConfig update allowing to specify globalValidation. */
interface WithGlobalValidation {
/**
@@ -253,6 +287,7 @@ interface WithGlobalValidation {
*/
Update withGlobalValidation(GlobalValidation globalValidation);
}
+
/** The stage of the AuthConfig update allowing to specify identityProviders. */
interface WithIdentityProviders {
/**
@@ -265,6 +300,7 @@ interface WithIdentityProviders {
*/
Update withIdentityProviders(IdentityProviders identityProviders);
}
+
/** The stage of the AuthConfig update allowing to specify login. */
interface WithLogin {
/**
@@ -277,6 +313,7 @@ interface WithLogin {
*/
Update withLogin(Login login);
}
+
/** The stage of the AuthConfig update allowing to specify httpSettings. */
interface WithHttpSettings {
/**
@@ -289,7 +326,21 @@ interface WithHttpSettings {
*/
Update withHttpSettings(HttpSettings httpSettings);
}
+
+ /** The stage of the AuthConfig update allowing to specify encryptionSettings. */
+ interface WithEncryptionSettings {
+ /**
+ * Specifies the encryptionSettings property: The configuration settings of the secrets references of
+ * encryption key and signing key for ContainerApp Service Authentication/Authorization..
+ *
+ * @param encryptionSettings The configuration settings of the secrets references of encryption key and
+ * signing key for ContainerApp Service Authentication/Authorization.
+ * @return the next definition stage.
+ */
+ Update withEncryptionSettings(EncryptionSettings encryptionSettings);
+ }
}
+
/**
* Refreshes the resource to sync with Azure.
*
diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/AvailableWorkloadProfile.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/AvailableWorkloadProfile.java
index f3a46738f9df..9d2d444694b5 100644
--- a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/AvailableWorkloadProfile.java
+++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/AvailableWorkloadProfile.java
@@ -4,7 +4,6 @@
package com.azure.resourcemanager.appcontainers.models;
-import com.azure.core.management.SystemData;
import com.azure.resourcemanager.appcontainers.fluent.models.AvailableWorkloadProfileInner;
/** An immutable client-side representation of AvailableWorkloadProfile. */
@@ -44,13 +43,6 @@ public interface AvailableWorkloadProfile {
*/
AvailableWorkloadProfileProperties properties();
- /**
- * Gets the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
- *
- * @return the systemData value.
- */
- SystemData systemData();
-
/**
* Gets the inner com.azure.resourcemanager.appcontainers.fluent.models.AvailableWorkloadProfileInner object.
*
diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/AzureCredentials.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/AzureCredentials.java
index 256228a58237..b2c689859bc0 100644
--- a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/AzureCredentials.java
+++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/AzureCredentials.java
@@ -28,6 +28,12 @@ public final class AzureCredentials {
@JsonProperty(value = "tenantId")
private String tenantId;
+ /*
+ * Kind of auth github does for deploying the template
+ */
+ @JsonProperty(value = "kind")
+ private String kind;
+
/*
* Subscription Id.
*/
@@ -98,6 +104,26 @@ public AzureCredentials withTenantId(String tenantId) {
return this;
}
+ /**
+ * Get the kind property: Kind of auth github does for deploying the template.
+ *
+ * @return the kind value.
+ */
+ public String kind() {
+ return this.kind;
+ }
+
+ /**
+ * Set the kind property: Kind of auth github does for deploying the template.
+ *
+ * @param kind the kind value to set.
+ * @return the AzureCredentials object itself.
+ */
+ public AzureCredentials withKind(String kind) {
+ this.kind = kind;
+ return this;
+ }
+
/**
* Get the subscriptionId property: Subscription Id.
*
diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/BillingMeter.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/BillingMeter.java
index 6de3c755721c..6e78ff421016 100644
--- a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/BillingMeter.java
+++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/BillingMeter.java
@@ -6,7 +6,6 @@
import com.azure.core.annotation.Fluent;
import com.azure.core.management.ProxyResource;
-import com.azure.core.management.SystemData;
import com.fasterxml.jackson.annotation.JsonProperty;
/** Billing meter. */
@@ -24,12 +23,6 @@ public final class BillingMeter extends ProxyResource {
@JsonProperty(value = "properties")
private BillingMeterProperties 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 BillingMeter class. */
public BillingMeter() {
}
@@ -74,15 +67,6 @@ public BillingMeter withProperties(BillingMeterProperties 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.
*
diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/BlobStorageTokenStore.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/BlobStorageTokenStore.java
new file mode 100644
index 000000000000..65d2574e2dd0
--- /dev/null
+++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/BlobStorageTokenStore.java
@@ -0,0 +1,61 @@
+// 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.models;
+
+import com.azure.core.annotation.Fluent;
+import com.azure.core.util.logging.ClientLogger;
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+/** The configuration settings of the storage of the tokens if blob storage is used. */
+@Fluent
+public final class BlobStorageTokenStore {
+ /*
+ * The name of the app secrets containing the SAS URL of the blob storage containing the tokens.
+ */
+ @JsonProperty(value = "sasUrlSettingName", required = true)
+ private String sasUrlSettingName;
+
+ /** Creates an instance of BlobStorageTokenStore class. */
+ public BlobStorageTokenStore() {
+ }
+
+ /**
+ * Get the sasUrlSettingName property: The name of the app secrets containing the SAS URL of the blob storage
+ * containing the tokens.
+ *
+ * @return the sasUrlSettingName value.
+ */
+ public String sasUrlSettingName() {
+ return this.sasUrlSettingName;
+ }
+
+ /**
+ * Set the sasUrlSettingName property: The name of the app secrets containing the SAS URL of the blob storage
+ * containing the tokens.
+ *
+ * @param sasUrlSettingName the sasUrlSettingName value to set.
+ * @return the BlobStorageTokenStore object itself.
+ */
+ public BlobStorageTokenStore withSasUrlSettingName(String sasUrlSettingName) {
+ this.sasUrlSettingName = sasUrlSettingName;
+ return this;
+ }
+
+ /**
+ * Validates the instance.
+ *
+ * @throws IllegalArgumentException thrown if the instance is not valid.
+ */
+ public void validate() {
+ if (sasUrlSettingName() == null) {
+ throw LOGGER
+ .logExceptionAsError(
+ new IllegalArgumentException(
+ "Missing required property sasUrlSettingName in model BlobStorageTokenStore"));
+ }
+ }
+
+ private static final ClientLogger LOGGER = new ClientLogger(BlobStorageTokenStore.class);
+}
diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/Certificate.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/Certificate.java
index 25177f50653f..e25331db625d 100644
--- a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/Certificate.java
+++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/Certificate.java
@@ -96,11 +96,13 @@ interface Definition
DefinitionStages.WithParentResource,
DefinitionStages.WithCreate {
}
+
/** The Certificate definition stages. */
interface DefinitionStages {
/** The first stage of the Certificate definition. */
interface Blank extends WithLocation {
}
+
/** The stage of the Certificate definition allowing to specify location. */
interface WithLocation {
/**
@@ -119,6 +121,7 @@ interface WithLocation {
*/
WithParentResource withRegion(String location);
}
+
/** The stage of the Certificate definition allowing to specify parent resource. */
interface WithParentResource {
/**
@@ -130,6 +133,7 @@ interface WithParentResource {
*/
WithCreate withExistingConnectedEnvironment(String resourceGroupName, String connectedEnvironmentName);
}
+
/**
* The stage of the Certificate definition which contains all the minimum required properties for the resource
* to be created, but also allows for any other optional properties to be specified.
@@ -150,6 +154,7 @@ interface WithCreate extends DefinitionStages.WithTags, DefinitionStages.WithPro
*/
Certificate create(Context context);
}
+
/** The stage of the Certificate definition allowing to specify tags. */
interface WithTags {
/**
@@ -160,6 +165,7 @@ interface WithTags {
*/
WithCreate withTags(Map tags);
}
+
/** The stage of the Certificate definition allowing to specify properties. */
interface WithProperties {
/**
@@ -171,6 +177,7 @@ interface WithProperties {
WithCreate withProperties(CertificateProperties properties);
}
}
+
/**
* Begins update for the Certificate resource.
*
@@ -195,6 +202,7 @@ interface Update extends UpdateStages.WithTags {
*/
Certificate apply(Context context);
}
+
/** The Certificate update stages. */
interface UpdateStages {
/** The stage of the Certificate update allowing to specify tags. */
@@ -208,6 +216,7 @@ interface WithTags {
Update withTags(Map tags);
}
}
+
/**
* Refreshes the resource to sync with Azure.
*
diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/Configuration.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/Configuration.java
index 230e78772bb1..98f0b1ad7b07 100644
--- a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/Configuration.java
+++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/Configuration.java
@@ -49,6 +49,12 @@ public final class Configuration {
@JsonProperty(value = "maxInactiveRevisions")
private Integer maxInactiveRevisions;
+ /*
+ * Container App to be a dev Container App Service
+ */
+ @JsonProperty(value = "service")
+ private Service service;
+
/** Creates an instance of Configuration class. */
public Configuration() {
}
@@ -181,6 +187,26 @@ public Configuration withMaxInactiveRevisions(Integer maxInactiveRevisions) {
return this;
}
+ /**
+ * Get the service property: Container App to be a dev Container App Service.
+ *
+ * @return the service value.
+ */
+ public Service service() {
+ return this.service;
+ }
+
+ /**
+ * Set the service property: Container App to be a dev Container App Service.
+ *
+ * @param service the service value to set.
+ * @return the Configuration object itself.
+ */
+ public Configuration withService(Service service) {
+ this.service = service;
+ return this;
+ }
+
/**
* Validates the instance.
*
@@ -199,5 +225,8 @@ public void validate() {
if (dapr() != null) {
dapr().validate();
}
+ if (service() != null) {
+ service().validate();
+ }
}
}
diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/ConnectedEnvironment.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/ConnectedEnvironment.java
index c6f3a3e31cdf..7cd325e26c16 100644
--- a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/ConnectedEnvironment.java
+++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/ConnectedEnvironment.java
@@ -140,11 +140,13 @@ interface Definition
DefinitionStages.WithResourceGroup,
DefinitionStages.WithCreate {
}
+
/** The ConnectedEnvironment definition stages. */
interface DefinitionStages {
/** The first stage of the ConnectedEnvironment definition. */
interface Blank extends WithLocation {
}
+
/** The stage of the ConnectedEnvironment definition allowing to specify location. */
interface WithLocation {
/**
@@ -163,6 +165,7 @@ interface WithLocation {
*/
WithResourceGroup withRegion(String location);
}
+
/** The stage of the ConnectedEnvironment definition allowing to specify parent resource. */
interface WithResourceGroup {
/**
@@ -173,6 +176,7 @@ interface WithResourceGroup {
*/
WithCreate withExistingResourceGroup(String resourceGroupName);
}
+
/**
* The stage of the ConnectedEnvironment definition which contains all the minimum required properties for the
* resource to be created, but also allows for any other optional properties to be specified.
@@ -198,6 +202,7 @@ interface WithCreate
*/
ConnectedEnvironment create(Context context);
}
+
/** The stage of the ConnectedEnvironment definition allowing to specify tags. */
interface WithTags {
/**
@@ -208,6 +213,7 @@ interface WithTags {
*/
WithCreate withTags(Map tags);
}
+
/** The stage of the ConnectedEnvironment definition allowing to specify extendedLocation. */
interface WithExtendedLocation {
/**
@@ -218,6 +224,7 @@ interface WithExtendedLocation {
*/
WithCreate withExtendedLocation(ExtendedLocation extendedLocation);
}
+
/** The stage of the ConnectedEnvironment definition allowing to specify staticIp. */
interface WithStaticIp {
/**
@@ -228,6 +235,7 @@ interface WithStaticIp {
*/
WithCreate withStaticIp(String staticIp);
}
+
/** The stage of the ConnectedEnvironment definition allowing to specify daprAIConnectionString. */
interface WithDaprAIConnectionString {
/**
@@ -240,6 +248,7 @@ interface WithDaprAIConnectionString {
*/
WithCreate withDaprAIConnectionString(String daprAIConnectionString);
}
+
/** The stage of the ConnectedEnvironment definition allowing to specify customDomainConfiguration. */
interface WithCustomDomainConfiguration {
/**
@@ -251,6 +260,7 @@ interface WithCustomDomainConfiguration {
WithCreate withCustomDomainConfiguration(CustomDomainConfiguration customDomainConfiguration);
}
}
+
/**
* Begins update for the ConnectedEnvironment resource.
*
@@ -280,6 +290,7 @@ interface Update
*/
ConnectedEnvironment apply(Context context);
}
+
/** The ConnectedEnvironment update stages. */
interface UpdateStages {
/** The stage of the ConnectedEnvironment update allowing to specify tags. */
@@ -292,6 +303,7 @@ interface WithTags {
*/
Update withTags(Map tags);
}
+
/** The stage of the ConnectedEnvironment update allowing to specify extendedLocation. */
interface WithExtendedLocation {
/**
@@ -302,6 +314,7 @@ interface WithExtendedLocation {
*/
Update withExtendedLocation(ExtendedLocation extendedLocation);
}
+
/** The stage of the ConnectedEnvironment update allowing to specify staticIp. */
interface WithStaticIp {
/**
@@ -312,6 +325,7 @@ interface WithStaticIp {
*/
Update withStaticIp(String staticIp);
}
+
/** The stage of the ConnectedEnvironment update allowing to specify daprAIConnectionString. */
interface WithDaprAIConnectionString {
/**
@@ -324,6 +338,7 @@ interface WithDaprAIConnectionString {
*/
Update withDaprAIConnectionString(String daprAIConnectionString);
}
+
/** The stage of the ConnectedEnvironment update allowing to specify customDomainConfiguration. */
interface WithCustomDomainConfiguration {
/**
@@ -335,6 +350,7 @@ interface WithCustomDomainConfiguration {
Update withCustomDomainConfiguration(CustomDomainConfiguration customDomainConfiguration);
}
}
+
/**
* Refreshes the resource to sync with Azure.
*
diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/ConnectedEnvironmentStorage.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/ConnectedEnvironmentStorage.java
index 0b383982af49..c413cde7c5f1 100644
--- a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/ConnectedEnvironmentStorage.java
+++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/ConnectedEnvironmentStorage.java
@@ -4,7 +4,6 @@
package com.azure.resourcemanager.appcontainers.models;
-import com.azure.core.management.SystemData;
import com.azure.core.util.Context;
import com.azure.resourcemanager.appcontainers.fluent.models.ConnectedEnvironmentStorageInner;
@@ -38,13 +37,6 @@ public interface ConnectedEnvironmentStorage {
*/
ConnectedEnvironmentStorageProperties properties();
- /**
- * Gets the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
- *
- * @return the systemData value.
- */
- SystemData systemData();
-
/**
* Gets the name of the resource group.
*
@@ -63,11 +55,13 @@ public interface ConnectedEnvironmentStorage {
interface Definition
extends DefinitionStages.Blank, DefinitionStages.WithParentResource, DefinitionStages.WithCreate {
}
+
/** The ConnectedEnvironmentStorage definition stages. */
interface DefinitionStages {
/** The first stage of the ConnectedEnvironmentStorage definition. */
interface Blank extends WithParentResource {
}
+
/** The stage of the ConnectedEnvironmentStorage definition allowing to specify parent resource. */
interface WithParentResource {
/**
@@ -79,6 +73,7 @@ interface WithParentResource {
*/
WithCreate withExistingConnectedEnvironment(String resourceGroupName, String connectedEnvironmentName);
}
+
/**
* The stage of the ConnectedEnvironmentStorage definition which contains all the minimum required properties
* for the resource to be created, but also allows for any other optional properties to be specified.
@@ -99,6 +94,7 @@ interface WithCreate extends DefinitionStages.WithProperties {
*/
ConnectedEnvironmentStorage create(Context context);
}
+
/** The stage of the ConnectedEnvironmentStorage definition allowing to specify properties. */
interface WithProperties {
/**
@@ -110,6 +106,7 @@ interface WithProperties {
WithCreate withProperties(ConnectedEnvironmentStorageProperties properties);
}
}
+
/**
* Begins update for the ConnectedEnvironmentStorage resource.
*
@@ -134,6 +131,7 @@ interface Update extends UpdateStages.WithProperties {
*/
ConnectedEnvironmentStorage apply(Context context);
}
+
/** The ConnectedEnvironmentStorage update stages. */
interface UpdateStages {
/** The stage of the ConnectedEnvironmentStorage update allowing to specify properties. */
@@ -147,6 +145,7 @@ interface WithProperties {
Update withProperties(ConnectedEnvironmentStorageProperties properties);
}
}
+
/**
* Refreshes the resource to sync with Azure.
*
diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/ContainerApp.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/ContainerApp.java
index 49af3cdd6228..6b2c89375c65 100644
--- a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/ContainerApp.java
+++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/ContainerApp.java
@@ -199,11 +199,13 @@ interface Definition
DefinitionStages.WithResourceGroup,
DefinitionStages.WithCreate {
}
+
/** The ContainerApp definition stages. */
interface DefinitionStages {
/** The first stage of the ContainerApp definition. */
interface Blank extends WithLocation {
}
+
/** The stage of the ContainerApp definition allowing to specify location. */
interface WithLocation {
/**
@@ -222,6 +224,7 @@ interface WithLocation {
*/
WithResourceGroup withRegion(String location);
}
+
/** The stage of the ContainerApp definition allowing to specify parent resource. */
interface WithResourceGroup {
/**
@@ -232,6 +235,7 @@ interface WithResourceGroup {
*/
WithCreate withExistingResourceGroup(String resourceGroupName);
}
+
/**
* The stage of the ContainerApp definition which contains all the minimum required properties for the resource
* to be created, but also allows for any other optional properties to be specified.
@@ -261,6 +265,7 @@ interface WithCreate
*/
ContainerApp create(Context context);
}
+
/** The stage of the ContainerApp definition allowing to specify tags. */
interface WithTags {
/**
@@ -271,6 +276,7 @@ interface WithTags {
*/
WithCreate withTags(Map tags);
}
+
/** The stage of the ContainerApp definition allowing to specify extendedLocation. */
interface WithExtendedLocation {
/**
@@ -281,6 +287,7 @@ interface WithExtendedLocation {
*/
WithCreate withExtendedLocation(ExtendedLocation extendedLocation);
}
+
/** The stage of the ContainerApp definition allowing to specify identity. */
interface WithIdentity {
/**
@@ -293,6 +300,7 @@ interface WithIdentity {
*/
WithCreate withIdentity(ManagedServiceIdentity identity);
}
+
/** The stage of the ContainerApp definition allowing to specify managedBy. */
interface WithManagedBy {
/**
@@ -308,6 +316,7 @@ interface WithManagedBy {
*/
WithCreate withManagedBy(String managedBy);
}
+
/** The stage of the ContainerApp definition allowing to specify managedEnvironmentId. */
interface WithManagedEnvironmentId {
/**
@@ -318,6 +327,7 @@ interface WithManagedEnvironmentId {
*/
WithCreate withManagedEnvironmentId(String managedEnvironmentId);
}
+
/** The stage of the ContainerApp definition allowing to specify environmentId. */
interface WithEnvironmentId {
/**
@@ -328,6 +338,7 @@ interface WithEnvironmentId {
*/
WithCreate withEnvironmentId(String environmentId);
}
+
/** The stage of the ContainerApp definition allowing to specify workloadProfileName. */
interface WithWorkloadProfileName {
/**
@@ -338,6 +349,7 @@ interface WithWorkloadProfileName {
*/
WithCreate withWorkloadProfileName(String workloadProfileName);
}
+
/** The stage of the ContainerApp definition allowing to specify configuration. */
interface WithConfiguration {
/**
@@ -348,6 +360,7 @@ interface WithConfiguration {
*/
WithCreate withConfiguration(Configuration configuration);
}
+
/** The stage of the ContainerApp definition allowing to specify template. */
interface WithTemplate {
/**
@@ -359,6 +372,7 @@ interface WithTemplate {
WithCreate withTemplate(Template template);
}
}
+
/**
* Begins update for the ContainerApp resource.
*
@@ -390,6 +404,7 @@ interface Update
*/
ContainerApp apply(Context context);
}
+
/** The ContainerApp update stages. */
interface UpdateStages {
/** The stage of the ContainerApp update allowing to specify tags. */
@@ -402,6 +417,7 @@ interface WithTags {
*/
Update withTags(Map tags);
}
+
/** The stage of the ContainerApp update allowing to specify extendedLocation. */
interface WithExtendedLocation {
/**
@@ -412,6 +428,7 @@ interface WithExtendedLocation {
*/
Update withExtendedLocation(ExtendedLocation extendedLocation);
}
+
/** The stage of the ContainerApp update allowing to specify identity. */
interface WithIdentity {
/**
@@ -424,6 +441,7 @@ interface WithIdentity {
*/
Update withIdentity(ManagedServiceIdentity identity);
}
+
/** The stage of the ContainerApp update allowing to specify managedBy. */
interface WithManagedBy {
/**
@@ -439,6 +457,7 @@ interface WithManagedBy {
*/
Update withManagedBy(String managedBy);
}
+
/** The stage of the ContainerApp update allowing to specify workloadProfileName. */
interface WithWorkloadProfileName {
/**
@@ -449,6 +468,7 @@ interface WithWorkloadProfileName {
*/
Update withWorkloadProfileName(String workloadProfileName);
}
+
/** The stage of the ContainerApp update allowing to specify configuration. */
interface WithConfiguration {
/**
@@ -459,6 +479,7 @@ interface WithConfiguration {
*/
Update withConfiguration(Configuration configuration);
}
+
/** The stage of the ContainerApp update allowing to specify template. */
interface WithTemplate {
/**
@@ -470,6 +491,7 @@ interface WithTemplate {
Update withTemplate(Template template);
}
}
+
/**
* Refreshes the resource to sync with Azure.
*
@@ -556,4 +578,48 @@ Response listCustomHostnameAnalysisWithResponse(
* @return auth token for a container app.
*/
ContainerAppAuthToken getAuthToken();
+
+ /**
+ * Start a container app.
+ *
+ * @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.
+ */
+ ContainerApp start();
+
+ /**
+ * Start a 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 RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return container App.
+ */
+ ContainerApp start(Context context);
+
+ /**
+ * Stop a container app.
+ *
+ * @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.
+ */
+ ContainerApp stop();
+
+ /**
+ * Stop a 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 RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return container App.
+ */
+ ContainerApp stop(Context context);
}
diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/ContainerAppContainerRunningState.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/ContainerAppContainerRunningState.java
new file mode 100644
index 000000000000..e70047c56873
--- /dev/null
+++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/ContainerAppContainerRunningState.java
@@ -0,0 +1,50 @@
+// 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.models;
+
+import com.azure.core.util.ExpandableStringEnum;
+import com.fasterxml.jackson.annotation.JsonCreator;
+import java.util.Collection;
+
+/** Current running state of the container. */
+public final class ContainerAppContainerRunningState extends ExpandableStringEnum {
+ /** Static value Running for ContainerAppContainerRunningState. */
+ public static final ContainerAppContainerRunningState RUNNING = fromString("Running");
+
+ /** Static value Terminated for ContainerAppContainerRunningState. */
+ public static final ContainerAppContainerRunningState TERMINATED = fromString("Terminated");
+
+ /** Static value Waiting for ContainerAppContainerRunningState. */
+ public static final ContainerAppContainerRunningState WAITING = fromString("Waiting");
+
+ /**
+ * Creates a new instance of ContainerAppContainerRunningState value.
+ *
+ * @deprecated Use the {@link #fromString(String)} factory method.
+ */
+ @Deprecated
+ public ContainerAppContainerRunningState() {
+ }
+
+ /**
+ * Creates or finds a ContainerAppContainerRunningState from its string representation.
+ *
+ * @param name a name to look for.
+ * @return the corresponding ContainerAppContainerRunningState.
+ */
+ @JsonCreator
+ public static ContainerAppContainerRunningState fromString(String name) {
+ return fromString(name, ContainerAppContainerRunningState.class);
+ }
+
+ /**
+ * Gets known ContainerAppContainerRunningState values.
+ *
+ * @return known ContainerAppContainerRunningState values.
+ */
+ public static Collection values() {
+ return values(ContainerAppContainerRunningState.class);
+ }
+}
diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/ContainerAppReplicaRunningState.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/ContainerAppReplicaRunningState.java
new file mode 100644
index 000000000000..a480ec43349e
--- /dev/null
+++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/ContainerAppReplicaRunningState.java
@@ -0,0 +1,50 @@
+// 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.models;
+
+import com.azure.core.util.ExpandableStringEnum;
+import com.fasterxml.jackson.annotation.JsonCreator;
+import java.util.Collection;
+
+/** Current running state of the replica. */
+public final class ContainerAppReplicaRunningState extends ExpandableStringEnum {
+ /** Static value Running for ContainerAppReplicaRunningState. */
+ public static final ContainerAppReplicaRunningState RUNNING = fromString("Running");
+
+ /** Static value NotRunning for ContainerAppReplicaRunningState. */
+ public static final ContainerAppReplicaRunningState NOT_RUNNING = fromString("NotRunning");
+
+ /** Static value Unknown for ContainerAppReplicaRunningState. */
+ public static final ContainerAppReplicaRunningState UNKNOWN = fromString("Unknown");
+
+ /**
+ * Creates a new instance of ContainerAppReplicaRunningState value.
+ *
+ * @deprecated Use the {@link #fromString(String)} factory method.
+ */
+ @Deprecated
+ public ContainerAppReplicaRunningState() {
+ }
+
+ /**
+ * Creates or finds a ContainerAppReplicaRunningState from its string representation.
+ *
+ * @param name a name to look for.
+ * @return the corresponding ContainerAppReplicaRunningState.
+ */
+ @JsonCreator
+ public static ContainerAppReplicaRunningState fromString(String name) {
+ return fromString(name, ContainerAppReplicaRunningState.class);
+ }
+
+ /**
+ * Gets known ContainerAppReplicaRunningState values.
+ *
+ * @return known ContainerAppReplicaRunningState values.
+ */
+ public static Collection values() {
+ return values(ContainerAppReplicaRunningState.class);
+ }
+}
diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/ContainerApps.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/ContainerApps.java
index c71a0228f1d2..2f770f162574 100644
--- a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/ContainerApps.java
+++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/ContainerApps.java
@@ -203,6 +203,60 @@ Response getAuthTokenWithResponse(
*/
ContainerAppAuthToken getAuthToken(String resourceGroupName, String containerAppName);
+ /**
+ * Start 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.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.
+ */
+ ContainerApp start(String resourceGroupName, String containerAppName);
+
+ /**
+ * Start 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 RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return container App.
+ */
+ ContainerApp start(String resourceGroupName, String containerAppName, Context context);
+
+ /**
+ * Stop 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.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.
+ */
+ ContainerApp stop(String resourceGroupName, String containerAppName);
+
+ /**
+ * Stop 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 RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return container App.
+ */
+ ContainerApp stop(String resourceGroupName, String containerAppName, Context context);
+
/**
* Get the properties of a Container App.
*
diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/DaprComponent.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/DaprComponent.java
index 68a8bcd7018d..5b0052ba06f7 100644
--- a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/DaprComponent.java
+++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/DaprComponent.java
@@ -5,7 +5,6 @@
package com.azure.resourcemanager.appcontainers.models;
import com.azure.core.http.rest.Response;
-import com.azure.core.management.SystemData;
import com.azure.core.util.Context;
import com.azure.resourcemanager.appcontainers.fluent.models.DaprComponentInner;
import java.util.List;
@@ -33,13 +32,6 @@ public interface DaprComponent {
*/
String type();
- /**
- * Gets the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
- *
- * @return the systemData value.
- */
- SystemData systemData();
-
/**
* Gets the componentType property: Component type.
*
@@ -114,11 +106,13 @@ public interface DaprComponent {
interface Definition
extends DefinitionStages.Blank, DefinitionStages.WithParentResource, DefinitionStages.WithCreate {
}
+
/** The DaprComponent definition stages. */
interface DefinitionStages {
/** The first stage of the DaprComponent definition. */
interface Blank extends WithParentResource {
}
+
/** The stage of the DaprComponent definition allowing to specify parent resource. */
interface WithParentResource {
/**
@@ -130,6 +124,7 @@ interface WithParentResource {
*/
WithCreate withExistingConnectedEnvironment(String resourceGroupName, String connectedEnvironmentName);
}
+
/**
* The stage of the DaprComponent definition which contains all the minimum required properties for the resource
* to be created, but also allows for any other optional properties to be specified.
@@ -158,6 +153,7 @@ interface WithCreate
*/
DaprComponent create(Context context);
}
+
/** The stage of the DaprComponent definition allowing to specify componentType. */
interface WithComponentType {
/**
@@ -168,6 +164,7 @@ interface WithComponentType {
*/
WithCreate withComponentType(String componentType);
}
+
/** The stage of the DaprComponent definition allowing to specify version. */
interface WithVersion {
/**
@@ -178,6 +175,7 @@ interface WithVersion {
*/
WithCreate withVersion(String version);
}
+
/** The stage of the DaprComponent definition allowing to specify ignoreErrors. */
interface WithIgnoreErrors {
/**
@@ -188,6 +186,7 @@ interface WithIgnoreErrors {
*/
WithCreate withIgnoreErrors(Boolean ignoreErrors);
}
+
/** The stage of the DaprComponent definition allowing to specify initTimeout. */
interface WithInitTimeout {
/**
@@ -198,6 +197,7 @@ interface WithInitTimeout {
*/
WithCreate withInitTimeout(String initTimeout);
}
+
/** The stage of the DaprComponent definition allowing to specify secrets. */
interface WithSecrets {
/**
@@ -208,6 +208,7 @@ interface WithSecrets {
*/
WithCreate withSecrets(List secrets);
}
+
/** The stage of the DaprComponent definition allowing to specify secretStoreComponent. */
interface WithSecretStoreComponent {
/**
@@ -218,6 +219,7 @@ interface WithSecretStoreComponent {
*/
WithCreate withSecretStoreComponent(String secretStoreComponent);
}
+
/** The stage of the DaprComponent definition allowing to specify metadata. */
interface WithMetadata {
/**
@@ -228,6 +230,7 @@ interface WithMetadata {
*/
WithCreate withMetadata(List metadata);
}
+
/** The stage of the DaprComponent definition allowing to specify scopes. */
interface WithScopes {
/**
@@ -239,6 +242,7 @@ interface WithScopes {
WithCreate withScopes(List scopes);
}
}
+
/**
* Begins update for the DaprComponent resource.
*
@@ -271,6 +275,7 @@ interface Update
*/
DaprComponent apply(Context context);
}
+
/** The DaprComponent update stages. */
interface UpdateStages {
/** The stage of the DaprComponent update allowing to specify componentType. */
@@ -283,6 +288,7 @@ interface WithComponentType {
*/
Update withComponentType(String componentType);
}
+
/** The stage of the DaprComponent update allowing to specify version. */
interface WithVersion {
/**
@@ -293,6 +299,7 @@ interface WithVersion {
*/
Update withVersion(String version);
}
+
/** The stage of the DaprComponent update allowing to specify ignoreErrors. */
interface WithIgnoreErrors {
/**
@@ -303,6 +310,7 @@ interface WithIgnoreErrors {
*/
Update withIgnoreErrors(Boolean ignoreErrors);
}
+
/** The stage of the DaprComponent update allowing to specify initTimeout. */
interface WithInitTimeout {
/**
@@ -313,6 +321,7 @@ interface WithInitTimeout {
*/
Update withInitTimeout(String initTimeout);
}
+
/** The stage of the DaprComponent update allowing to specify secrets. */
interface WithSecrets {
/**
@@ -323,6 +332,7 @@ interface WithSecrets {
*/
Update withSecrets(List secrets);
}
+
/** The stage of the DaprComponent update allowing to specify secretStoreComponent. */
interface WithSecretStoreComponent {
/**
@@ -333,6 +343,7 @@ interface WithSecretStoreComponent {
*/
Update withSecretStoreComponent(String secretStoreComponent);
}
+
/** The stage of the DaprComponent update allowing to specify metadata. */
interface WithMetadata {
/**
@@ -343,6 +354,7 @@ interface WithMetadata {
*/
Update withMetadata(List metadata);
}
+
/** The stage of the DaprComponent update allowing to specify scopes. */
interface WithScopes {
/**
@@ -354,6 +366,7 @@ interface WithScopes {
Update withScopes(List scopes);
}
}
+
/**
* Refreshes the resource to sync with Azure.
*
diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/Diagnostics.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/Diagnostics.java
index 097fd4f2d489..73bed89218f1 100644
--- a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/Diagnostics.java
+++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/Diagnostics.java
@@ -4,7 +4,6 @@
package com.azure.resourcemanager.appcontainers.models;
-import com.azure.core.management.SystemData;
import com.azure.resourcemanager.appcontainers.fluent.models.DiagnosticsInner;
/** An immutable client-side representation of Diagnostics. */
@@ -37,13 +36,6 @@ public interface Diagnostics {
*/
DiagnosticsProperties properties();
- /**
- * Gets the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
- *
- * @return the systemData value.
- */
- SystemData systemData();
-
/**
* Gets the inner com.azure.resourcemanager.appcontainers.fluent.models.DiagnosticsInner object.
*
diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/EncryptionSettings.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/EncryptionSettings.java
new file mode 100644
index 000000000000..5c3b58f05620
--- /dev/null
+++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/EncryptionSettings.java
@@ -0,0 +1,79 @@
+// 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.models;
+
+import com.azure.core.annotation.Fluent;
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+/**
+ * The configuration settings of the secrets references of encryption key and signing key for ContainerApp Service
+ * Authentication/Authorization.
+ */
+@Fluent
+public final class EncryptionSettings {
+ /*
+ * The secret name which is referenced for EncryptionKey.
+ */
+ @JsonProperty(value = "containerAppAuthEncryptionSecretName")
+ private String containerAppAuthEncryptionSecretName;
+
+ /*
+ * The secret name which is referenced for SigningKey.
+ */
+ @JsonProperty(value = "containerAppAuthSigningSecretName")
+ private String containerAppAuthSigningSecretName;
+
+ /** Creates an instance of EncryptionSettings class. */
+ public EncryptionSettings() {
+ }
+
+ /**
+ * Get the containerAppAuthEncryptionSecretName property: The secret name which is referenced for EncryptionKey.
+ *
+ * @return the containerAppAuthEncryptionSecretName value.
+ */
+ public String containerAppAuthEncryptionSecretName() {
+ return this.containerAppAuthEncryptionSecretName;
+ }
+
+ /**
+ * Set the containerAppAuthEncryptionSecretName property: The secret name which is referenced for EncryptionKey.
+ *
+ * @param containerAppAuthEncryptionSecretName the containerAppAuthEncryptionSecretName value to set.
+ * @return the EncryptionSettings object itself.
+ */
+ public EncryptionSettings withContainerAppAuthEncryptionSecretName(String containerAppAuthEncryptionSecretName) {
+ this.containerAppAuthEncryptionSecretName = containerAppAuthEncryptionSecretName;
+ return this;
+ }
+
+ /**
+ * Get the containerAppAuthSigningSecretName property: The secret name which is referenced for SigningKey.
+ *
+ * @return the containerAppAuthSigningSecretName value.
+ */
+ public String containerAppAuthSigningSecretName() {
+ return this.containerAppAuthSigningSecretName;
+ }
+
+ /**
+ * Set the containerAppAuthSigningSecretName property: The secret name which is referenced for SigningKey.
+ *
+ * @param containerAppAuthSigningSecretName the containerAppAuthSigningSecretName value to set.
+ * @return the EncryptionSettings object itself.
+ */
+ public EncryptionSettings withContainerAppAuthSigningSecretName(String containerAppAuthSigningSecretName) {
+ this.containerAppAuthSigningSecretName = containerAppAuthSigningSecretName;
+ return this;
+ }
+
+ /**
+ * Validates the instance.
+ *
+ * @throws IllegalArgumentException thrown if the instance is not valid.
+ */
+ public void validate() {
+ }
+}
diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/GithubActionConfiguration.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/GithubActionConfiguration.java
index 18644f901af7..2c1cf3be67f4 100644
--- a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/GithubActionConfiguration.java
+++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/GithubActionConfiguration.java
@@ -28,6 +28,12 @@ public final class GithubActionConfiguration {
@JsonProperty(value = "contextPath")
private String contextPath;
+ /*
+ * One time Github PAT to configure github environment
+ */
+ @JsonProperty(value = "githubPersonalAccessToken")
+ private String githubPersonalAccessToken;
+
/*
* Image name
*/
@@ -122,6 +128,26 @@ public GithubActionConfiguration withContextPath(String contextPath) {
return this;
}
+ /**
+ * Get the githubPersonalAccessToken property: One time Github PAT to configure github environment.
+ *
+ * @return the githubPersonalAccessToken value.
+ */
+ public String githubPersonalAccessToken() {
+ return this.githubPersonalAccessToken;
+ }
+
+ /**
+ * Set the githubPersonalAccessToken property: One time Github PAT to configure github environment.
+ *
+ * @param githubPersonalAccessToken the githubPersonalAccessToken value to set.
+ * @return the GithubActionConfiguration object itself.
+ */
+ public GithubActionConfiguration withGithubPersonalAccessToken(String githubPersonalAccessToken) {
+ this.githubPersonalAccessToken = githubPersonalAccessToken;
+ return this;
+ }
+
/**
* Get the image property: Image name.
*
diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/Ingress.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/Ingress.java
index affb86e66066..4d069728ee97 100644
--- a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/Ingress.java
+++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/Ingress.java
@@ -86,6 +86,12 @@ public final class Ingress {
@JsonProperty(value = "corsPolicy")
private CorsPolicy corsPolicy;
+ /*
+ * Settings to expose additional ports on container app
+ */
+ @JsonProperty(value = "additionalPortMappings")
+ private List additionalPortMappings;
+
/** Creates an instance of Ingress class. */
public Ingress() {
}
@@ -325,6 +331,26 @@ public Ingress withCorsPolicy(CorsPolicy corsPolicy) {
return this;
}
+ /**
+ * Get the additionalPortMappings property: Settings to expose additional ports on container app.
+ *
+ * @return the additionalPortMappings value.
+ */
+ public List additionalPortMappings() {
+ return this.additionalPortMappings;
+ }
+
+ /**
+ * Set the additionalPortMappings property: Settings to expose additional ports on container app.
+ *
+ * @param additionalPortMappings the additionalPortMappings value to set.
+ * @return the Ingress object itself.
+ */
+ public Ingress withAdditionalPortMappings(List additionalPortMappings) {
+ this.additionalPortMappings = additionalPortMappings;
+ return this;
+ }
+
/**
* Validates the instance.
*
@@ -346,5 +372,8 @@ public void validate() {
if (corsPolicy() != null) {
corsPolicy().validate();
}
+ if (additionalPortMappings() != null) {
+ additionalPortMappings().forEach(e -> e.validate());
+ }
}
}
diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/IngressPortMapping.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/IngressPortMapping.java
new file mode 100644
index 000000000000..1c1cdd743fb1
--- /dev/null
+++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/IngressPortMapping.java
@@ -0,0 +1,104 @@
+// 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.models;
+
+import com.azure.core.annotation.Fluent;
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+/** Port mappings of container app ingress. */
+@Fluent
+public final class IngressPortMapping {
+ /*
+ * Specifies whether the app port is accessible outside of the environment
+ */
+ @JsonProperty(value = "external", required = true)
+ private boolean external;
+
+ /*
+ * Specifies the port user's container listens on
+ */
+ @JsonProperty(value = "targetPort", required = true)
+ private int targetPort;
+
+ /*
+ * Specifies the exposed port for the target port. If not specified, it defaults to target port
+ */
+ @JsonProperty(value = "exposedPort")
+ private Integer exposedPort;
+
+ /** Creates an instance of IngressPortMapping class. */
+ public IngressPortMapping() {
+ }
+
+ /**
+ * Get the external property: Specifies whether the app port is accessible outside of the environment.
+ *
+ * @return the external value.
+ */
+ public boolean external() {
+ return this.external;
+ }
+
+ /**
+ * Set the external property: Specifies whether the app port is accessible outside of the environment.
+ *
+ * @param external the external value to set.
+ * @return the IngressPortMapping object itself.
+ */
+ public IngressPortMapping withExternal(boolean external) {
+ this.external = external;
+ return this;
+ }
+
+ /**
+ * Get the targetPort property: Specifies the port user's container listens on.
+ *
+ * @return the targetPort value.
+ */
+ public int targetPort() {
+ return this.targetPort;
+ }
+
+ /**
+ * Set the targetPort property: Specifies the port user's container listens on.
+ *
+ * @param targetPort the targetPort value to set.
+ * @return the IngressPortMapping object itself.
+ */
+ public IngressPortMapping withTargetPort(int targetPort) {
+ this.targetPort = targetPort;
+ return this;
+ }
+
+ /**
+ * Get the exposedPort property: Specifies the exposed port for the target port. If not specified, it defaults to
+ * target port.
+ *
+ * @return the exposedPort value.
+ */
+ public Integer exposedPort() {
+ return this.exposedPort;
+ }
+
+ /**
+ * Set the exposedPort property: Specifies the exposed port for the target port. If not specified, it defaults to
+ * target port.
+ *
+ * @param exposedPort the exposedPort value to set.
+ * @return the IngressPortMapping object itself.
+ */
+ public IngressPortMapping withExposedPort(Integer exposedPort) {
+ this.exposedPort = exposedPort;
+ return this;
+ }
+
+ /**
+ * Validates the instance.
+ *
+ * @throws IllegalArgumentException thrown if the instance is not valid.
+ */
+ public void validate() {
+ }
+}
diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/Job.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/Job.java
index f9af707d3b16..16e2d8a0e327 100644
--- a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/Job.java
+++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/Job.java
@@ -148,11 +148,13 @@ interface Definition
DefinitionStages.WithResourceGroup,
DefinitionStages.WithCreate {
}
+
/** The Job definition stages. */
interface DefinitionStages {
/** The first stage of the Job definition. */
interface Blank extends WithLocation {
}
+
/** The stage of the Job definition allowing to specify location. */
interface WithLocation {
/**
@@ -171,6 +173,7 @@ interface WithLocation {
*/
WithResourceGroup withRegion(String location);
}
+
/** The stage of the Job definition allowing to specify parent resource. */
interface WithResourceGroup {
/**
@@ -181,6 +184,7 @@ interface WithResourceGroup {
*/
WithCreate withExistingResourceGroup(String resourceGroupName);
}
+
/**
* The stage of the Job definition which contains all the minimum required properties for the resource to be
* created, but also allows for any other optional properties to be specified.
@@ -207,6 +211,7 @@ interface WithCreate
*/
Job create(Context context);
}
+
/** The stage of the Job definition allowing to specify tags. */
interface WithTags {
/**
@@ -217,6 +222,7 @@ interface WithTags {
*/
WithCreate withTags(Map tags);
}
+
/** The stage of the Job definition allowing to specify identity. */
interface WithIdentity {
/**
@@ -229,6 +235,7 @@ interface WithIdentity {
*/
WithCreate withIdentity(ManagedServiceIdentity identity);
}
+
/** The stage of the Job definition allowing to specify environmentId. */
interface WithEnvironmentId {
/**
@@ -239,6 +246,7 @@ interface WithEnvironmentId {
*/
WithCreate withEnvironmentId(String environmentId);
}
+
/** The stage of the Job definition allowing to specify workloadProfileName. */
interface WithWorkloadProfileName {
/**
@@ -250,6 +258,7 @@ interface WithWorkloadProfileName {
*/
WithCreate withWorkloadProfileName(String workloadProfileName);
}
+
/** The stage of the Job definition allowing to specify configuration. */
interface WithConfiguration {
/**
@@ -260,6 +269,7 @@ interface WithConfiguration {
*/
WithCreate withConfiguration(JobConfiguration configuration);
}
+
/** The stage of the Job definition allowing to specify template. */
interface WithTemplate {
/**
@@ -271,6 +281,7 @@ interface WithTemplate {
WithCreate withTemplate(JobTemplate template);
}
}
+
/**
* Begins update for the Job resource.
*
@@ -295,6 +306,7 @@ interface Update extends UpdateStages.WithTags, UpdateStages.WithIdentity, Updat
*/
Job apply(Context context);
}
+
/** The Job update stages. */
interface UpdateStages {
/** The stage of the Job update allowing to specify tags. */
@@ -307,6 +319,7 @@ interface WithTags {
*/
Update withTags(Map tags);
}
+
/** The stage of the Job update allowing to specify identity. */
interface WithIdentity {
/**
@@ -319,6 +332,7 @@ interface WithIdentity {
*/
Update withIdentity(ManagedServiceIdentity identity);
}
+
/** The stage of the Job update allowing to specify properties. */
interface WithProperties {
/**
@@ -330,6 +344,7 @@ interface WithProperties {
Update withProperties(JobPatchPropertiesProperties properties);
}
}
+
/**
* Refreshes the resource to sync with Azure.
*
@@ -373,19 +388,16 @@ interface WithProperties {
/**
* Terminates execution of a running container apps job.
*
- * @param jobExecutionName List of all job executions that should be stopped.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
* is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return container App executions collection ARM resource.
*/
- ContainerAppJobExecutions stopMultipleExecutions(JobExecutionNamesCollection jobExecutionName);
+ ContainerAppJobExecutions stopMultipleExecutions();
/**
* Terminates execution of a running container apps job.
*
- * @param jobExecutionName List of all job executions that should be stopped.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
@@ -393,7 +405,7 @@ interface WithProperties {
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return container App executions collection ARM resource.
*/
- ContainerAppJobExecutions stopMultipleExecutions(JobExecutionNamesCollection jobExecutionName, Context context);
+ ContainerAppJobExecutions stopMultipleExecutions(Context context);
/**
* List secrets for a container apps job.
diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/JobConfiguration.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/JobConfiguration.java
index 350c04b17257..647c2dadb87e 100644
--- a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/JobConfiguration.java
+++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/JobConfiguration.java
@@ -50,6 +50,12 @@ public final class JobConfiguration {
@JsonProperty(value = "scheduleTriggerConfig")
private JobConfigurationScheduleTriggerConfig scheduleTriggerConfig;
+ /*
+ * Trigger configuration of an event driven job.
+ */
+ @JsonProperty(value = "eventTriggerConfig")
+ private JobConfigurationEventTriggerConfig eventTriggerConfig;
+
/*
* Collection of private container registry credentials used by a Container apps job
*/
@@ -184,6 +190,26 @@ public JobConfiguration withScheduleTriggerConfig(JobConfigurationScheduleTrigge
return this;
}
+ /**
+ * Get the eventTriggerConfig property: Trigger configuration of an event driven job.
+ *
+ * @return the eventTriggerConfig value.
+ */
+ public JobConfigurationEventTriggerConfig eventTriggerConfig() {
+ return this.eventTriggerConfig;
+ }
+
+ /**
+ * Set the eventTriggerConfig property: Trigger configuration of an event driven job.
+ *
+ * @param eventTriggerConfig the eventTriggerConfig value to set.
+ * @return the JobConfiguration object itself.
+ */
+ public JobConfiguration withEventTriggerConfig(JobConfigurationEventTriggerConfig eventTriggerConfig) {
+ this.eventTriggerConfig = eventTriggerConfig;
+ return this;
+ }
+
/**
* Get the registries property: Collection of private container registry credentials used by a Container apps job.
*
@@ -224,6 +250,9 @@ public void validate() {
if (scheduleTriggerConfig() != null) {
scheduleTriggerConfig().validate();
}
+ if (eventTriggerConfig() != null) {
+ eventTriggerConfig().validate();
+ }
if (registries() != null) {
registries().forEach(e -> e.validate());
}
diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/JobConfigurationEventTriggerConfig.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/JobConfigurationEventTriggerConfig.java
new file mode 100644
index 000000000000..d2a7e3053a93
--- /dev/null
+++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/JobConfigurationEventTriggerConfig.java
@@ -0,0 +1,107 @@
+// 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.models;
+
+import com.azure.core.annotation.Fluent;
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+/** Trigger configuration of an event driven job. */
+@Fluent
+public final class JobConfigurationEventTriggerConfig {
+ /*
+ * Minimum number of successful replica completions before overall job completion.
+ */
+ @JsonProperty(value = "replicaCompletionCount")
+ private Integer replicaCompletionCount;
+
+ /*
+ * Number of parallel replicas of a job that can run at a given time.
+ */
+ @JsonProperty(value = "parallelism")
+ private Integer parallelism;
+
+ /*
+ * Scaling configurations for event driven jobs.
+ */
+ @JsonProperty(value = "scale")
+ private JobScale scale;
+
+ /** Creates an instance of JobConfigurationEventTriggerConfig class. */
+ public JobConfigurationEventTriggerConfig() {
+ }
+
+ /**
+ * Get the replicaCompletionCount property: Minimum number of successful replica completions before overall job
+ * completion.
+ *
+ * @return the replicaCompletionCount value.
+ */
+ public Integer replicaCompletionCount() {
+ return this.replicaCompletionCount;
+ }
+
+ /**
+ * Set the replicaCompletionCount property: Minimum number of successful replica completions before overall job
+ * completion.
+ *
+ * @param replicaCompletionCount the replicaCompletionCount value to set.
+ * @return the JobConfigurationEventTriggerConfig object itself.
+ */
+ public JobConfigurationEventTriggerConfig withReplicaCompletionCount(Integer replicaCompletionCount) {
+ this.replicaCompletionCount = replicaCompletionCount;
+ return this;
+ }
+
+ /**
+ * Get the parallelism property: Number of parallel replicas of a job that can run at a given time.
+ *
+ * @return the parallelism value.
+ */
+ public Integer parallelism() {
+ return this.parallelism;
+ }
+
+ /**
+ * Set the parallelism property: Number of parallel replicas of a job that can run at a given time.
+ *
+ * @param parallelism the parallelism value to set.
+ * @return the JobConfigurationEventTriggerConfig object itself.
+ */
+ public JobConfigurationEventTriggerConfig withParallelism(Integer parallelism) {
+ this.parallelism = parallelism;
+ return this;
+ }
+
+ /**
+ * Get the scale property: Scaling configurations for event driven jobs.
+ *
+ * @return the scale value.
+ */
+ public JobScale scale() {
+ return this.scale;
+ }
+
+ /**
+ * Set the scale property: Scaling configurations for event driven jobs.
+ *
+ * @param scale the scale value to set.
+ * @return the JobConfigurationEventTriggerConfig object itself.
+ */
+ public JobConfigurationEventTriggerConfig withScale(JobScale scale) {
+ this.scale = scale;
+ return this;
+ }
+
+ /**
+ * Validates the instance.
+ *
+ * @throws IllegalArgumentException thrown if the instance is not valid.
+ */
+ public void validate() {
+ if (scale() != null) {
+ scale().validate();
+ }
+ }
+}
diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/JobExecution.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/JobExecution.java
index 4439c74df2cf..94a3a816e3c8 100644
--- a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/JobExecution.java
+++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/JobExecution.java
@@ -45,7 +45,7 @@ public interface JobExecution {
OffsetDateTime startTime();
/**
- * Gets the endTime property: Job execution start time.
+ * Gets the endTime property: Job execution end time.
*
* @return the endTime value.
*/
diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/JobExecutionNamesCollection.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/JobExecutionNamesCollection.java
deleted file mode 100644
index 194c4607d045..000000000000
--- a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/JobExecutionNamesCollection.java
+++ /dev/null
@@ -1,63 +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.models;
-
-import com.azure.core.annotation.Fluent;
-import com.azure.core.util.logging.ClientLogger;
-import com.azure.resourcemanager.appcontainers.fluent.models.JobExecutionBaseInner;
-import com.fasterxml.jackson.annotation.JsonProperty;
-import java.util.List;
-
-/** Container App executions names list. */
-@Fluent
-public final class JobExecutionNamesCollection {
- /*
- * Collection of resources.
- */
- @JsonProperty(value = "value", required = true)
- private List value;
-
- /** Creates an instance of JobExecutionNamesCollection class. */
- public JobExecutionNamesCollection() {
- }
-
- /**
- * Get the value property: Collection of resources.
- *
- * @return the value value.
- */
- public List