diff --git a/sdk/containerinstance/azure-resourcemanager-containerinstance/CHANGELOG.md b/sdk/containerinstance/azure-resourcemanager-containerinstance/CHANGELOG.md
index 85b431f23d15..4ad96d9ca228 100644
--- a/sdk/containerinstance/azure-resourcemanager-containerinstance/CHANGELOG.md
+++ b/sdk/containerinstance/azure-resourcemanager-containerinstance/CHANGELOG.md
@@ -1,14 +1,197 @@
# Release History
-## 2.54.0-beta.1 (Unreleased)
+## 2.54.0-beta.1 (2026-07-23)
+
+### Breaking Changes
+
+#### `models.CachedImagesListResult` was removed
+
+#### `models.UsageListResult` was removed
+
+#### `models.ContainerGroupListResult` was removed
+
+#### `models.CapabilitiesListResult` was removed
+
+#### `models.OperationListResult` was removed
+
+#### `models.ContainerState` was modified
+
+* `ContainerState()` was changed to private access
+
+#### `models.ContainerPropertiesInstanceView` was modified
+
+* `ContainerPropertiesInstanceView()` was changed to private access
+
+#### `models.InitContainerPropertiesDefinitionInstanceView` was modified
+
+* `InitContainerPropertiesDefinitionInstanceView()` was changed to private access
+
+#### `models.Capabilities` was modified
+
+* `Capabilities()` was changed to private access
+
+#### `models.Event` was modified
+
+* `Event()` was changed to private access
+
+#### `models.CapabilitiesCapabilities` was modified
+
+* `CapabilitiesCapabilities()` was changed to private access
+
+#### `models.OperationDisplay` was modified
+
+* `OperationDisplay()` was changed to private access
+* `withOperation(java.lang.String)` was removed
+* `withProvider(java.lang.String)` was removed
+* `withResource(java.lang.String)` was removed
+* `withDescription(java.lang.String)` was removed
+
+#### `models.ContainerGroupPropertiesInstanceView` was modified
+
+* `ContainerGroupPropertiesInstanceView()` was changed to private access
+
+#### `models.CachedImages` was modified
+
+* `CachedImages()` was changed to private access
+* `withImage(java.lang.String)` was removed
+* `withOsType(java.lang.String)` was removed
+
+#### `models.UsageName` was modified
+
+* `UsageName()` was changed to private access
+
+#### `models.Operation` was modified
+
+* `Operation()` was changed to private access
+* `withDisplay(models.OperationDisplay)` was removed
+* `withName(java.lang.String)` was removed
+* `withProperties(java.lang.Object)` was removed
+* `withOrigin(models.ContainerInstanceOperationsOrigin)` was removed
### Features Added
-### Breaking Changes
+* `models.NGroupPatch` was added
-### Bugs Fixed
+* `models.StandbyPoolProfileDefinition` was added
-### Other Changes
+* `models.LoadBalancerBackendAddressPool` was added
+
+* `models.CGProfilesUpdateHeaders` was added
+
+* `models.AzureFileShareAccessTier` was added
+
+* `models.UserAssignedIdentity` was added
+
+* `models.ApplicationGateway` was added
+
+* `models.IdentityAccessControl` was added
+
+* `models.ElasticProfile` was added
+
+* `models.ElasticProfileContainerGroupNamingPolicyGuidNamingPolicy` was added
+
+* `models.LoadBalancer` was added
+
+* `models.NGroupCGPropertyContainerProperties` was added
+
+* `models.ElasticProfileContainerGroupNamingPolicy` was added
+
+* `models.FileShareProperties` was added
+
+* `models.CGProfilesUpdateResponse` was added
+
+* `models.AiAgentsGroupProperties` was added
+
+* `models.ContainerGroupProfilePatch` was added
+
+* `models.UpdateProfile` was added
+
+* `models.NGroupUpdateMode` was added
+
+* `models.NGroupIdentity` was added
+
+* `models.NGroupProvisioningState` was added
+
+* `models.ManagedServiceIdentityType` was added
+
+* `models.NGroupContainerGroupProperties` was added
+
+* `models.UpdateProfileRollingUpdateProfile` was added
+
+* `models.ApiEntityReference` was added
+
+* `models.AiAgentsGroupNetworkProfile` was added
+
+* `models.NGroupCGPropertyContainer` was added
+
+* `models.AiAgentsGroupProvisioningState` was added
+
+* `models.ContainerGroupProfileReferenceDefinition` was added
+
+* `models.SecretReference` was added
+
+* `models.StorageProfile` was added
+
+* `models.NGroupCGPropertyVolume` was added
+
+* `models.ApplicationGatewayBackendAddressPool` was added
+
+* `models.CGProfilesCreateOrUpdateHeaders` was added
+
+* `models.IdentityAccessLevel` was added
+
+* `models.AiAgentsGroupTagsUpdate` was added
+
+* `models.AzureFileShareAccessType` was added
+
+* `models.NetworkProfile` was added
+
+* `models.CGProfilesCreateOrUpdateResponse` was added
+
+* `models.IdentityAcls` was added
+
+* `models.SubnetReference` was added
+
+* `models.ConfigMap` was added
+
+* `models.ManagedServiceIdentity` was added
+
+* `models.PlacementProfile` was added
+
+* `models.FileShare` was added
+
+* `models.ContainerGroupProfileStub` was added
+
+#### `models.Container` was modified
+
+* `withConfigMap(models.ConfigMap)` was added
+* `configMap()` was added
+
+#### `models.ImageRegistryCredential` was modified
+
+* `passwordReference()` was added
+* `withPasswordReference(java.lang.String)` was added
+
+#### `models.ContainerGroupSku` was modified
+
+* `NOT_SPECIFIED` was added
+
+#### `models.Volume` was modified
+
+* `secretReference()` was added
+* `withSecretReference(java.util.Map)` was added
+
+#### `models.EnvironmentVariable` was modified
+
+* `secureValueReference()` was added
+* `withSecureValueReference(java.lang.String)` was added
+
+#### `models.AzureFileVolume` was modified
+
+* `withUserAssignedIdentityClientId(java.lang.String)` was added
+* `storageAccountKeyReference()` was added
+* `withStorageAccountKeyReference(java.lang.String)` was added
+* `userAssignedIdentityClientId()` was added
## 2.53.12 (2026-07-07)
diff --git a/sdk/containerinstance/azure-resourcemanager-containerinstance/pom.xml b/sdk/containerinstance/azure-resourcemanager-containerinstance/pom.xml
index 855b78162970..0185547245c4 100644
--- a/sdk/containerinstance/azure-resourcemanager-containerinstance/pom.xml
+++ b/sdk/containerinstance/azure-resourcemanager-containerinstance/pom.xml
@@ -47,6 +47,7 @@
--add-opens com.azure.resourcemanager.msi/com.azure.resourcemanager.msi=ALL-UNNAMED
--add-opens com.azure.core/com.azure.core.implementation.util=ALL-UNNAMED
+ true
diff --git a/sdk/containerinstance/azure-resourcemanager-containerinstance/src/main/java/com/azure/resourcemanager/containerinstance/fluent/AiAgentsGroupsClient.java b/sdk/containerinstance/azure-resourcemanager-containerinstance/src/main/java/com/azure/resourcemanager/containerinstance/fluent/AiAgentsGroupsClient.java
new file mode 100644
index 000000000000..4d24f94c77b1
--- /dev/null
+++ b/sdk/containerinstance/azure-resourcemanager-containerinstance/src/main/java/com/azure/resourcemanager/containerinstance/fluent/AiAgentsGroupsClient.java
@@ -0,0 +1,514 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.containerinstance.fluent;
+
+import com.azure.core.annotation.ReturnType;
+import com.azure.core.annotation.ServiceMethod;
+import com.azure.core.http.rest.PagedFlux;
+import com.azure.core.http.rest.PagedIterable;
+import com.azure.core.http.rest.Response;
+import com.azure.core.management.polling.PollResult;
+import com.azure.core.util.Context;
+import com.azure.core.util.polling.PollerFlux;
+import com.azure.core.util.polling.SyncPoller;
+import com.azure.resourcemanager.containerinstance.fluent.models.AiAgentsGroupAccessTokenInner;
+import com.azure.resourcemanager.containerinstance.fluent.models.AiAgentsGroupInner;
+import com.azure.resourcemanager.containerinstance.models.AiAgentsGroupTagsUpdate;
+import com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsDelete;
+import com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsGet;
+import com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsListing;
+import java.nio.ByteBuffer;
+import reactor.core.publisher.Flux;
+import reactor.core.publisher.Mono;
+
+/**
+ * An instance of this class provides access to all the operations defined in AiAgentsGroupsClient.
+ */
+public interface AiAgentsGroupsClient
+ extends InnerSupportsGet, InnerSupportsListing, InnerSupportsDelete {
+ /**
+ * List AiAgentsGroup resources by subscription ID.
+ *
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response of a AiAgentsGroup list operation as paginated response with {@link PagedFlux}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedFlux listAsync();
+
+ /**
+ * List AiAgentsGroup resources by subscription ID.
+ *
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response of a AiAgentsGroup list operation as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list();
+
+ /**
+ * List AiAgentsGroup resources by subscription ID.
+ *
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response of a AiAgentsGroup list operation as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(Context context);
+
+ /**
+ * List AiAgentsGroup resources by resource group.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response of a AiAgentsGroup list operation as paginated response with {@link PagedFlux}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedFlux listByResourceGroupAsync(String resourceGroupName);
+
+ /**
+ * List AiAgentsGroup resources by resource group.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response of a AiAgentsGroup list operation as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listByResourceGroup(String resourceGroupName);
+
+ /**
+ * List AiAgentsGroup resources by resource group.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response of a AiAgentsGroup list operation as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listByResourceGroup(String resourceGroupName, Context context);
+
+ /**
+ * Get an AiAgentsGroup.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param aiAgentsGroupName The name of the AiAgentsGroup.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return an AiAgentsGroup along with {@link Response} on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Mono> getByResourceGroupWithResponseAsync(String resourceGroupName,
+ String aiAgentsGroupName);
+
+ /**
+ * Get an AiAgentsGroup.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param aiAgentsGroupName The name of the AiAgentsGroup.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return an AiAgentsGroup on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Mono getByResourceGroupAsync(String resourceGroupName, String aiAgentsGroupName);
+
+ /**
+ * Get an AiAgentsGroup.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param aiAgentsGroupName The name of the AiAgentsGroup.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return an AiAgentsGroup along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getByResourceGroupWithResponse(String resourceGroupName, String aiAgentsGroupName,
+ Context context);
+
+ /**
+ * Get an AiAgentsGroup.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param aiAgentsGroupName The name of the AiAgentsGroup.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return an AiAgentsGroup.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ AiAgentsGroupInner getByResourceGroup(String resourceGroupName, String aiAgentsGroupName);
+
+ /**
+ * Create an AiAgentsGroup.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param aiAgentsGroupName The name of the AiAgentsGroup.
+ * @param resource Resource create parameters.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return an AiAgentsGroup tracked resource along with {@link Response} on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Mono>> createOrUpdateWithResponseAsync(String resourceGroupName, String aiAgentsGroupName,
+ AiAgentsGroupInner resource);
+
+ /**
+ * Create an AiAgentsGroup.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param aiAgentsGroupName The name of the AiAgentsGroup.
+ * @param resource Resource create parameters.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link PollerFlux} for polling of an AiAgentsGroup tracked resource.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ PollerFlux, AiAgentsGroupInner> beginCreateOrUpdateAsync(String resourceGroupName,
+ String aiAgentsGroupName, AiAgentsGroupInner resource);
+
+ /**
+ * Create an AiAgentsGroup.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param aiAgentsGroupName The name of the AiAgentsGroup.
+ * @param resource Resource create parameters.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of an AiAgentsGroup tracked resource.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, AiAgentsGroupInner> beginCreateOrUpdate(String resourceGroupName,
+ String aiAgentsGroupName, AiAgentsGroupInner resource);
+
+ /**
+ * Create an AiAgentsGroup.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param aiAgentsGroupName The name of the AiAgentsGroup.
+ * @param resource Resource create parameters.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of an AiAgentsGroup tracked resource.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, AiAgentsGroupInner> beginCreateOrUpdate(String resourceGroupName,
+ String aiAgentsGroupName, AiAgentsGroupInner resource, Context context);
+
+ /**
+ * Create an AiAgentsGroup.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param aiAgentsGroupName The name of the AiAgentsGroup.
+ * @param resource Resource create parameters.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return an AiAgentsGroup tracked resource on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Mono createOrUpdateAsync(String resourceGroupName, String aiAgentsGroupName,
+ AiAgentsGroupInner resource);
+
+ /**
+ * Create an AiAgentsGroup.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param aiAgentsGroupName The name of the AiAgentsGroup.
+ * @param resource Resource create parameters.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return an AiAgentsGroup tracked resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ AiAgentsGroupInner createOrUpdate(String resourceGroupName, String aiAgentsGroupName, AiAgentsGroupInner resource);
+
+ /**
+ * Create an AiAgentsGroup.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param aiAgentsGroupName The name of the AiAgentsGroup.
+ * @param resource Resource create parameters.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return an AiAgentsGroup tracked resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ AiAgentsGroupInner createOrUpdate(String resourceGroupName, String aiAgentsGroupName, AiAgentsGroupInner resource,
+ Context context);
+
+ /**
+ * Update an AiAgentsGroup.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param aiAgentsGroupName The name of the AiAgentsGroup.
+ * @param properties The resource properties to be updated.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return an AiAgentsGroup tracked resource along with {@link Response} on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Mono>> updateWithResponseAsync(String resourceGroupName, String aiAgentsGroupName,
+ AiAgentsGroupTagsUpdate properties);
+
+ /**
+ * Update an AiAgentsGroup.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param aiAgentsGroupName The name of the AiAgentsGroup.
+ * @param properties The resource properties to be updated.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link PollerFlux} for polling of an AiAgentsGroup tracked resource.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ PollerFlux, AiAgentsGroupInner> beginUpdateAsync(String resourceGroupName,
+ String aiAgentsGroupName, AiAgentsGroupTagsUpdate properties);
+
+ /**
+ * Update an AiAgentsGroup.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param aiAgentsGroupName The name of the AiAgentsGroup.
+ * @param properties The resource properties to be updated.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of an AiAgentsGroup tracked resource.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, AiAgentsGroupInner> beginUpdate(String resourceGroupName,
+ String aiAgentsGroupName, AiAgentsGroupTagsUpdate properties);
+
+ /**
+ * Update an AiAgentsGroup.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param aiAgentsGroupName The name of the AiAgentsGroup.
+ * @param properties The resource properties to be updated.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of an AiAgentsGroup tracked resource.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, AiAgentsGroupInner> beginUpdate(String resourceGroupName,
+ String aiAgentsGroupName, AiAgentsGroupTagsUpdate properties, Context context);
+
+ /**
+ * Update an AiAgentsGroup.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param aiAgentsGroupName The name of the AiAgentsGroup.
+ * @param properties The resource properties to be updated.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return an AiAgentsGroup tracked resource on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Mono updateAsync(String resourceGroupName, String aiAgentsGroupName,
+ AiAgentsGroupTagsUpdate properties);
+
+ /**
+ * Update an AiAgentsGroup.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param aiAgentsGroupName The name of the AiAgentsGroup.
+ * @param properties The resource properties to be updated.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return an AiAgentsGroup tracked resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ AiAgentsGroupInner update(String resourceGroupName, String aiAgentsGroupName, AiAgentsGroupTagsUpdate properties);
+
+ /**
+ * Update an AiAgentsGroup.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param aiAgentsGroupName The name of the AiAgentsGroup.
+ * @param properties The resource properties to be updated.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return an AiAgentsGroup tracked resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ AiAgentsGroupInner update(String resourceGroupName, String aiAgentsGroupName, AiAgentsGroupTagsUpdate properties,
+ Context context);
+
+ /**
+ * Delete an AiAgentsGroup.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param aiAgentsGroupName The name of the AiAgentsGroup.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link Response} on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Mono>> deleteWithResponseAsync(String resourceGroupName, String aiAgentsGroupName);
+
+ /**
+ * Delete an AiAgentsGroup.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param aiAgentsGroupName The name of the AiAgentsGroup.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link PollerFlux} for polling of long-running operation.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String aiAgentsGroupName);
+
+ /**
+ * Delete an AiAgentsGroup.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param aiAgentsGroupName The name of the AiAgentsGroup.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of long-running operation.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, Void> beginDelete(String resourceGroupName, String aiAgentsGroupName);
+
+ /**
+ * Delete an AiAgentsGroup.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param aiAgentsGroupName The name of the AiAgentsGroup.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of long-running operation.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, Void> beginDelete(String resourceGroupName, String aiAgentsGroupName, Context context);
+
+ /**
+ * Delete an AiAgentsGroup.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param aiAgentsGroupName The name of the AiAgentsGroup.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return A {@link Mono} that completes when a successful response is received.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Mono deleteAsync(String resourceGroupName, String aiAgentsGroupName);
+
+ /**
+ * Delete an AiAgentsGroup.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param aiAgentsGroupName The name of the AiAgentsGroup.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ void delete(String resourceGroupName, String aiAgentsGroupName);
+
+ /**
+ * Delete an AiAgentsGroup.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param aiAgentsGroupName The name of the AiAgentsGroup.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ void delete(String resourceGroupName, String aiAgentsGroupName, Context context);
+
+ /**
+ * Get an access token and endpoint for connecting to the AiAgentsGroup.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param aiAgentsGroupName The name of the AiAgentsGroup.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return an access token and endpoint for connecting to the AiAgentsGroup along with {@link Response} on
+ * successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Mono> connectWithResponseAsync(String resourceGroupName,
+ String aiAgentsGroupName);
+
+ /**
+ * Get an access token and endpoint for connecting to the AiAgentsGroup.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param aiAgentsGroupName The name of the AiAgentsGroup.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return an access token and endpoint for connecting to the AiAgentsGroup on successful completion of
+ * {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Mono connectAsync(String resourceGroupName, String aiAgentsGroupName);
+
+ /**
+ * Get an access token and endpoint for connecting to the AiAgentsGroup.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param aiAgentsGroupName The name of the AiAgentsGroup.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return an access token and endpoint for connecting to the AiAgentsGroup along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response connectWithResponse(String resourceGroupName, String aiAgentsGroupName,
+ Context context);
+
+ /**
+ * Get an access token and endpoint for connecting to the AiAgentsGroup.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param aiAgentsGroupName The name of the AiAgentsGroup.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return an access token and endpoint for connecting to the AiAgentsGroup.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ AiAgentsGroupAccessTokenInner connect(String resourceGroupName, String aiAgentsGroupName);
+}
diff --git a/sdk/containerinstance/azure-resourcemanager-containerinstance/src/main/java/com/azure/resourcemanager/containerinstance/fluent/ContainerInstanceManagementClient.java b/sdk/containerinstance/azure-resourcemanager-containerinstance/src/main/java/com/azure/resourcemanager/containerinstance/fluent/ContainerInstanceManagementClient.java
index 9a65352a73f5..358cf338bf99 100644
--- a/sdk/containerinstance/azure-resourcemanager-containerinstance/src/main/java/com/azure/resourcemanager/containerinstance/fluent/ContainerInstanceManagementClient.java
+++ b/sdk/containerinstance/azure-resourcemanager-containerinstance/src/main/java/com/azure/resourcemanager/containerinstance/fluent/ContainerInstanceManagementClient.java
@@ -74,6 +74,13 @@ public interface ContainerInstanceManagementClient {
*/
CGProfilesClient getCGProfiles();
+ /**
+ * Gets the AiAgentsGroupsClient object to access its operations.
+ *
+ * @return the AiAgentsGroupsClient object.
+ */
+ AiAgentsGroupsClient getAiAgentsGroups();
+
/**
* Gets the ContainersClient object to access its operations.
*
diff --git a/sdk/containerinstance/azure-resourcemanager-containerinstance/src/main/java/com/azure/resourcemanager/containerinstance/fluent/models/AiAgentsGroupAccessTokenInner.java b/sdk/containerinstance/azure-resourcemanager-containerinstance/src/main/java/com/azure/resourcemanager/containerinstance/fluent/models/AiAgentsGroupAccessTokenInner.java
new file mode 100644
index 000000000000..54e0863112fa
--- /dev/null
+++ b/sdk/containerinstance/azure-resourcemanager-containerinstance/src/main/java/com/azure/resourcemanager/containerinstance/fluent/models/AiAgentsGroupAccessTokenInner.java
@@ -0,0 +1,141 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.containerinstance.fluent.models;
+
+import com.azure.core.annotation.Immutable;
+import com.azure.core.util.CoreUtils;
+import com.azure.core.util.logging.ClientLogger;
+import com.azure.json.JsonReader;
+import com.azure.json.JsonSerializable;
+import com.azure.json.JsonToken;
+import com.azure.json.JsonWriter;
+import java.io.IOException;
+import java.time.OffsetDateTime;
+import java.time.format.DateTimeFormatter;
+
+/**
+ * The result of getting an access token for an AiAgentsGroup.
+ */
+@Immutable
+public final class AiAgentsGroupAccessTokenInner implements JsonSerializable {
+ /*
+ * The endpoint URL to use with the access token.
+ */
+ private String endpoint;
+
+ /*
+ * The access token used to authenticate against the endpoint.
+ */
+ private String accessToken;
+
+ /*
+ * The UTC date and time at which the access token expires.
+ */
+ private OffsetDateTime notAfter;
+
+ /**
+ * Creates an instance of AiAgentsGroupAccessTokenInner class.
+ */
+ private AiAgentsGroupAccessTokenInner() {
+ }
+
+ /**
+ * Get the endpoint property: The endpoint URL to use with the access token.
+ *
+ * @return the endpoint value.
+ */
+ public String endpoint() {
+ return this.endpoint;
+ }
+
+ /**
+ * Get the accessToken property: The access token used to authenticate against the endpoint.
+ *
+ * @return the accessToken value.
+ */
+ public String accessToken() {
+ return this.accessToken;
+ }
+
+ /**
+ * Get the notAfter property: The UTC date and time at which the access token expires.
+ *
+ * @return the notAfter value.
+ */
+ public OffsetDateTime notAfter() {
+ return this.notAfter;
+ }
+
+ /**
+ * Validates the instance.
+ *
+ * @throws IllegalArgumentException thrown if the instance is not valid.
+ */
+ public void validate() {
+ if (endpoint() == null) {
+ throw LOGGER.atError()
+ .log(new IllegalArgumentException(
+ "Missing required property endpoint in model AiAgentsGroupAccessTokenInner"));
+ }
+ if (accessToken() == null) {
+ throw LOGGER.atError()
+ .log(new IllegalArgumentException(
+ "Missing required property accessToken in model AiAgentsGroupAccessTokenInner"));
+ }
+ if (notAfter() == null) {
+ throw LOGGER.atError()
+ .log(new IllegalArgumentException(
+ "Missing required property notAfter in model AiAgentsGroupAccessTokenInner"));
+ }
+ }
+
+ private static final ClientLogger LOGGER = new ClientLogger(AiAgentsGroupAccessTokenInner.class);
+
+ /**
+ * {@inheritDoc}
+ */
+ @Override
+ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException {
+ jsonWriter.writeStartObject();
+ jsonWriter.writeStringField("endpoint", this.endpoint);
+ jsonWriter.writeStringField("accessToken", this.accessToken);
+ jsonWriter.writeStringField("notAfter",
+ this.notAfter == null ? null : DateTimeFormatter.ISO_OFFSET_DATE_TIME.format(this.notAfter));
+ return jsonWriter.writeEndObject();
+ }
+
+ /**
+ * Reads an instance of AiAgentsGroupAccessTokenInner from the JsonReader.
+ *
+ * @param jsonReader The JsonReader being read.
+ * @return An instance of AiAgentsGroupAccessTokenInner if the JsonReader was pointing to an instance of it, or null
+ * if it was pointing to JSON null.
+ * @throws IllegalStateException If the deserialized JSON object was missing any required properties.
+ * @throws IOException If an error occurs while reading the AiAgentsGroupAccessTokenInner.
+ */
+ public static AiAgentsGroupAccessTokenInner fromJson(JsonReader jsonReader) throws IOException {
+ return jsonReader.readObject(reader -> {
+ AiAgentsGroupAccessTokenInner deserializedAiAgentsGroupAccessTokenInner
+ = new AiAgentsGroupAccessTokenInner();
+ while (reader.nextToken() != JsonToken.END_OBJECT) {
+ String fieldName = reader.getFieldName();
+ reader.nextToken();
+
+ if ("endpoint".equals(fieldName)) {
+ deserializedAiAgentsGroupAccessTokenInner.endpoint = reader.getString();
+ } else if ("accessToken".equals(fieldName)) {
+ deserializedAiAgentsGroupAccessTokenInner.accessToken = reader.getString();
+ } else if ("notAfter".equals(fieldName)) {
+ deserializedAiAgentsGroupAccessTokenInner.notAfter = reader
+ .getNullable(nonNullReader -> CoreUtils.parseBestOffsetDateTime(nonNullReader.getString()));
+ } else {
+ reader.skipChildren();
+ }
+ }
+
+ return deserializedAiAgentsGroupAccessTokenInner;
+ });
+ }
+}
diff --git a/sdk/containerinstance/azure-resourcemanager-containerinstance/src/main/java/com/azure/resourcemanager/containerinstance/fluent/models/AiAgentsGroupInner.java b/sdk/containerinstance/azure-resourcemanager-containerinstance/src/main/java/com/azure/resourcemanager/containerinstance/fluent/models/AiAgentsGroupInner.java
new file mode 100644
index 000000000000..d6d296213564
--- /dev/null
+++ b/sdk/containerinstance/azure-resourcemanager-containerinstance/src/main/java/com/azure/resourcemanager/containerinstance/fluent/models/AiAgentsGroupInner.java
@@ -0,0 +1,224 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.containerinstance.fluent.models;
+
+import com.azure.core.annotation.Fluent;
+import com.azure.core.management.Resource;
+import com.azure.core.management.SystemData;
+import com.azure.json.JsonReader;
+import com.azure.json.JsonToken;
+import com.azure.json.JsonWriter;
+import com.azure.resourcemanager.containerinstance.models.AiAgentsGroupProperties;
+import com.azure.resourcemanager.containerinstance.models.ManagedServiceIdentity;
+import java.io.IOException;
+import java.util.Map;
+
+/**
+ * An AiAgentsGroup tracked resource.
+ */
+@Fluent
+public final class AiAgentsGroupInner extends Resource {
+ /*
+ * The resource-specific properties for this resource.
+ */
+ private AiAgentsGroupProperties properties;
+
+ /*
+ * The managed service identities assigned to this resource.
+ */
+ private ManagedServiceIdentity identity;
+
+ /*
+ * Azure Resource Manager metadata containing createdBy and modifiedBy information.
+ */
+ private SystemData systemData;
+
+ /*
+ * The type of the resource.
+ */
+ private String type;
+
+ /*
+ * The name of the resource.
+ */
+ private String name;
+
+ /*
+ * Fully qualified resource Id for the resource.
+ */
+ private String id;
+
+ /**
+ * Creates an instance of AiAgentsGroupInner class.
+ */
+ public AiAgentsGroupInner() {
+ }
+
+ /**
+ * Get the properties property: The resource-specific properties for this resource.
+ *
+ * @return the properties value.
+ */
+ public AiAgentsGroupProperties properties() {
+ return this.properties;
+ }
+
+ /**
+ * Set the properties property: The resource-specific properties for this resource.
+ *
+ * @param properties the properties value to set.
+ * @return the AiAgentsGroupInner object itself.
+ */
+ public AiAgentsGroupInner withProperties(AiAgentsGroupProperties properties) {
+ this.properties = properties;
+ return this;
+ }
+
+ /**
+ * Get the identity property: The managed service identities assigned to this resource.
+ *
+ * @return the identity value.
+ */
+ public ManagedServiceIdentity identity() {
+ return this.identity;
+ }
+
+ /**
+ * Set the identity property: The managed service identities assigned to this resource.
+ *
+ * @param identity the identity value to set.
+ * @return the AiAgentsGroupInner object itself.
+ */
+ public AiAgentsGroupInner withIdentity(ManagedServiceIdentity identity) {
+ this.identity = identity;
+ 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;
+ }
+
+ /**
+ * Get the type property: The type of the resource.
+ *
+ * @return the type value.
+ */
+ @Override
+ public String type() {
+ return this.type;
+ }
+
+ /**
+ * Get the name property: The name of the resource.
+ *
+ * @return the name value.
+ */
+ @Override
+ public String name() {
+ return this.name;
+ }
+
+ /**
+ * Get the id property: Fully qualified resource Id for the resource.
+ *
+ * @return the id value.
+ */
+ @Override
+ public String id() {
+ return this.id;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ @Override
+ public AiAgentsGroupInner withLocation(String location) {
+ super.withLocation(location);
+ return this;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ @Override
+ public AiAgentsGroupInner withTags(Map tags) {
+ super.withTags(tags);
+ return this;
+ }
+
+ /**
+ * Validates the instance.
+ *
+ * @throws IllegalArgumentException thrown if the instance is not valid.
+ */
+ public void validate() {
+ if (properties() != null) {
+ properties().validate();
+ }
+ if (identity() != null) {
+ identity().validate();
+ }
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ @Override
+ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException {
+ jsonWriter.writeStartObject();
+ jsonWriter.writeStringField("location", location());
+ jsonWriter.writeMapField("tags", tags(), (writer, element) -> writer.writeString(element));
+ jsonWriter.writeJsonField("properties", this.properties);
+ jsonWriter.writeJsonField("identity", this.identity);
+ return jsonWriter.writeEndObject();
+ }
+
+ /**
+ * Reads an instance of AiAgentsGroupInner from the JsonReader.
+ *
+ * @param jsonReader The JsonReader being read.
+ * @return An instance of AiAgentsGroupInner if the JsonReader was pointing to an instance of it, or null if it was
+ * pointing to JSON null.
+ * @throws IllegalStateException If the deserialized JSON object was missing any required properties.
+ * @throws IOException If an error occurs while reading the AiAgentsGroupInner.
+ */
+ public static AiAgentsGroupInner fromJson(JsonReader jsonReader) throws IOException {
+ return jsonReader.readObject(reader -> {
+ AiAgentsGroupInner deserializedAiAgentsGroupInner = new AiAgentsGroupInner();
+ while (reader.nextToken() != JsonToken.END_OBJECT) {
+ String fieldName = reader.getFieldName();
+ reader.nextToken();
+
+ if ("id".equals(fieldName)) {
+ deserializedAiAgentsGroupInner.id = reader.getString();
+ } else if ("name".equals(fieldName)) {
+ deserializedAiAgentsGroupInner.name = reader.getString();
+ } else if ("type".equals(fieldName)) {
+ deserializedAiAgentsGroupInner.type = reader.getString();
+ } else if ("location".equals(fieldName)) {
+ deserializedAiAgentsGroupInner.withLocation(reader.getString());
+ } else if ("tags".equals(fieldName)) {
+ Map tags = reader.readMap(reader1 -> reader1.getString());
+ deserializedAiAgentsGroupInner.withTags(tags);
+ } else if ("properties".equals(fieldName)) {
+ deserializedAiAgentsGroupInner.properties = AiAgentsGroupProperties.fromJson(reader);
+ } else if ("identity".equals(fieldName)) {
+ deserializedAiAgentsGroupInner.identity = ManagedServiceIdentity.fromJson(reader);
+ } else if ("systemData".equals(fieldName)) {
+ deserializedAiAgentsGroupInner.systemData = SystemData.fromJson(reader);
+ } else {
+ reader.skipChildren();
+ }
+ }
+
+ return deserializedAiAgentsGroupInner;
+ });
+ }
+}
diff --git a/sdk/containerinstance/azure-resourcemanager-containerinstance/src/main/java/com/azure/resourcemanager/containerinstance/implementation/AiAgentsGroupsClientImpl.java b/sdk/containerinstance/azure-resourcemanager-containerinstance/src/main/java/com/azure/resourcemanager/containerinstance/implementation/AiAgentsGroupsClientImpl.java
new file mode 100644
index 000000000000..0799629935f7
--- /dev/null
+++ b/sdk/containerinstance/azure-resourcemanager-containerinstance/src/main/java/com/azure/resourcemanager/containerinstance/implementation/AiAgentsGroupsClientImpl.java
@@ -0,0 +1,1438 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.containerinstance.implementation;
+
+import com.azure.core.annotation.BodyParam;
+import com.azure.core.annotation.Delete;
+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.Patch;
+import com.azure.core.annotation.PathParam;
+import com.azure.core.annotation.Post;
+import com.azure.core.annotation.Put;
+import com.azure.core.annotation.QueryParam;
+import com.azure.core.annotation.ReturnType;
+import com.azure.core.annotation.ServiceInterface;
+import com.azure.core.annotation.ServiceMethod;
+import com.azure.core.annotation.UnexpectedResponseExceptionType;
+import com.azure.core.http.rest.PagedFlux;
+import com.azure.core.http.rest.PagedIterable;
+import com.azure.core.http.rest.PagedResponse;
+import com.azure.core.http.rest.PagedResponseBase;
+import com.azure.core.http.rest.Response;
+import com.azure.core.http.rest.RestProxy;
+import com.azure.core.management.exception.ManagementException;
+import com.azure.core.management.polling.PollResult;
+import com.azure.core.util.Context;
+import com.azure.core.util.FluxUtil;
+import com.azure.core.util.polling.PollerFlux;
+import com.azure.core.util.polling.SyncPoller;
+import com.azure.resourcemanager.containerinstance.fluent.AiAgentsGroupsClient;
+import com.azure.resourcemanager.containerinstance.fluent.models.AiAgentsGroupAccessTokenInner;
+import com.azure.resourcemanager.containerinstance.fluent.models.AiAgentsGroupInner;
+import com.azure.resourcemanager.containerinstance.implementation.models.AiAgentsGroupListResult;
+import com.azure.resourcemanager.containerinstance.models.AiAgentsGroupTagsUpdate;
+import com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsDelete;
+import com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsGet;
+import com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsListing;
+import java.nio.ByteBuffer;
+import reactor.core.publisher.Flux;
+import reactor.core.publisher.Mono;
+
+/**
+ * An instance of this class provides access to all the operations defined in AiAgentsGroupsClient.
+ */
+public final class AiAgentsGroupsClientImpl implements InnerSupportsGet,
+ InnerSupportsListing, InnerSupportsDelete, AiAgentsGroupsClient {
+ /**
+ * The proxy service used to perform REST calls.
+ */
+ private final AiAgentsGroupsService service;
+
+ /**
+ * The service client containing this operation class.
+ */
+ private final ContainerInstanceManagementClientImpl client;
+
+ /**
+ * Initializes an instance of AiAgentsGroupsClientImpl.
+ *
+ * @param client the instance of the service client containing this operation class.
+ */
+ AiAgentsGroupsClientImpl(ContainerInstanceManagementClientImpl client) {
+ this.service
+ = RestProxy.create(AiAgentsGroupsService.class, client.getHttpPipeline(), client.getSerializerAdapter());
+ this.client = client;
+ }
+
+ /**
+ * The interface defining all the services for ContainerInstanceManagementClientAiAgentsGroups to be used by the
+ * proxy service to perform REST calls.
+ */
+ @Host("{endpoint}")
+ @ServiceInterface(name = "ContainerInstanceManagementClientAiAgentsGroups")
+ public interface AiAgentsGroupsService {
+ @Headers({ "Content-Type: application/json" })
+ @Get("/subscriptions/{subscriptionId}/providers/Microsoft.ContainerInstance/aiAgentsGroups")
+ @ExpectedResponses({ 200 })
+ @UnexpectedResponseExceptionType(ManagementException.class)
+ Mono> list(@HostParam("endpoint") String endpoint,
+ @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId,
+ @HeaderParam("Accept") String accept, Context context);
+
+ @Headers({ "Content-Type: application/json" })
+ @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerInstance/aiAgentsGroups")
+ @ExpectedResponses({ 200 })
+ @UnexpectedResponseExceptionType(ManagementException.class)
+ Mono> listByResourceGroup(@HostParam("endpoint") String endpoint,
+ @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId,
+ @PathParam("resourceGroupName") String resourceGroupName, @HeaderParam("Accept") String accept,
+ Context context);
+
+ @Headers({ "Content-Type: application/json" })
+ @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerInstance/aiAgentsGroups/{aiAgentsGroupName}")
+ @ExpectedResponses({ 200 })
+ @UnexpectedResponseExceptionType(ManagementException.class)
+ Mono> getByResourceGroup(@HostParam("endpoint") String endpoint,
+ @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId,
+ @PathParam("resourceGroupName") String resourceGroupName,
+ @PathParam("aiAgentsGroupName") String aiAgentsGroupName, @HeaderParam("Accept") String accept,
+ Context context);
+
+ @Put("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerInstance/aiAgentsGroups/{aiAgentsGroupName}")
+ @ExpectedResponses({ 200, 201 })
+ @UnexpectedResponseExceptionType(ManagementException.class)
+ Mono>> createOrUpdate(@HostParam("endpoint") String endpoint,
+ @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId,
+ @PathParam("resourceGroupName") String resourceGroupName,
+ @PathParam("aiAgentsGroupName") String aiAgentsGroupName, @HeaderParam("Content-Type") String contentType,
+ @HeaderParam("Accept") String accept, @BodyParam("application/json") AiAgentsGroupInner resource,
+ Context context);
+
+ @Patch("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerInstance/aiAgentsGroups/{aiAgentsGroupName}")
+ @ExpectedResponses({ 200, 202 })
+ @UnexpectedResponseExceptionType(ManagementException.class)
+ Mono>> update(@HostParam("endpoint") String endpoint,
+ @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId,
+ @PathParam("resourceGroupName") String resourceGroupName,
+ @PathParam("aiAgentsGroupName") String aiAgentsGroupName, @HeaderParam("Content-Type") String contentType,
+ @HeaderParam("Accept") String accept, @BodyParam("application/json") AiAgentsGroupTagsUpdate properties,
+ Context context);
+
+ @Headers({ "Accept: application/json;q=0.9", "Content-Type: application/json" })
+ @Delete("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerInstance/aiAgentsGroups/{aiAgentsGroupName}")
+ @ExpectedResponses({ 202, 204 })
+ @UnexpectedResponseExceptionType(ManagementException.class)
+ Mono>> delete(@HostParam("endpoint") String endpoint,
+ @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId,
+ @PathParam("resourceGroupName") String resourceGroupName,
+ @PathParam("aiAgentsGroupName") String aiAgentsGroupName, Context context);
+
+ @Headers({ "Content-Type: application/json" })
+ @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerInstance/aiAgentsGroups/{aiAgentsGroupName}/connect")
+ @ExpectedResponses({ 200 })
+ @UnexpectedResponseExceptionType(ManagementException.class)
+ Mono> connect(@HostParam("endpoint") String endpoint,
+ @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId,
+ @PathParam("resourceGroupName") String resourceGroupName,
+ @PathParam("aiAgentsGroupName") String aiAgentsGroupName, @HeaderParam("Accept") String accept,
+ Context context);
+
+ @Headers({ "Content-Type: application/json" })
+ @Get("{nextLink}")
+ @ExpectedResponses({ 200 })
+ @UnexpectedResponseExceptionType(ManagementException.class)
+ Mono> listBySubscriptionNext(
+ @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("endpoint") String endpoint,
+ @HeaderParam("Accept") String accept, Context context);
+
+ @Headers({ "Content-Type: application/json" })
+ @Get("{nextLink}")
+ @ExpectedResponses({ 200 })
+ @UnexpectedResponseExceptionType(ManagementException.class)
+ Mono> listByResourceGroupNext(
+ @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("endpoint") String endpoint,
+ @HeaderParam("Accept") String accept, Context context);
+ }
+
+ /**
+ * List AiAgentsGroup resources by subscription ID.
+ *
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response of a AiAgentsGroup list operation along with {@link PagedResponse} on successful completion
+ * of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Mono> listSinglePageAsync() {
+ 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.list(this.client.getEndpoint(), this.client.getApiVersion(),
+ this.client.getSubscriptionId(), 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()));
+ }
+
+ /**
+ * List AiAgentsGroup resources by subscription ID.
+ *
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response of a AiAgentsGroup list operation along with {@link PagedResponse} on successful completion
+ * of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Mono> listSinglePageAsync(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
+ .list(this.client.getEndpoint(), this.client.getApiVersion(), this.client.getSubscriptionId(), accept,
+ context)
+ .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(),
+ res.getValue().value(), res.getValue().nextLink(), null));
+ }
+
+ /**
+ * List AiAgentsGroup resources by subscription ID.
+ *
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response of a AiAgentsGroup list operation as paginated response with {@link PagedFlux}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ public PagedFlux listAsync() {
+ return new PagedFlux<>(() -> listSinglePageAsync(),
+ nextLink -> listBySubscriptionNextSinglePageAsync(nextLink));
+ }
+
+ /**
+ * List AiAgentsGroup resources by subscription ID.
+ *
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response of a AiAgentsGroup list operation as paginated response with {@link PagedFlux}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ private PagedFlux listAsync(Context context) {
+ return new PagedFlux<>(() -> listSinglePageAsync(context),
+ nextLink -> listBySubscriptionNextSinglePageAsync(nextLink, context));
+ }
+
+ /**
+ * List AiAgentsGroup resources by subscription ID.
+ *
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response of a AiAgentsGroup list operation as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ public PagedIterable list() {
+ return new PagedIterable<>(listAsync());
+ }
+
+ /**
+ * List AiAgentsGroup resources by subscription ID.
+ *
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response of a AiAgentsGroup list operation as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ public PagedIterable list(Context context) {
+ return new PagedIterable<>(listAsync(context));
+ }
+
+ /**
+ * List AiAgentsGroup resources by resource group.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response of a AiAgentsGroup list operation along with {@link PagedResponse} on successful completion
+ * of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Mono> listByResourceGroupSinglePageAsync(String resourceGroupName) {
+ 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."));
+ }
+ final String accept = "application/json";
+ return FluxUtil
+ .withContext(context -> service.listByResourceGroup(this.client.getEndpoint(), this.client.getApiVersion(),
+ this.client.getSubscriptionId(), resourceGroupName, 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()));
+ }
+
+ /**
+ * List AiAgentsGroup resources by resource group.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response of a AiAgentsGroup list operation along with {@link PagedResponse} on successful completion
+ * of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Mono> listByResourceGroupSinglePageAsync(String resourceGroupName,
+ 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."));
+ }
+ final String accept = "application/json";
+ context = this.client.mergeContext(context);
+ return service
+ .listByResourceGroup(this.client.getEndpoint(), this.client.getApiVersion(),
+ this.client.getSubscriptionId(), resourceGroupName, accept, context)
+ .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(),
+ res.getValue().value(), res.getValue().nextLink(), null));
+ }
+
+ /**
+ * List AiAgentsGroup resources by resource group.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response of a AiAgentsGroup list operation as paginated response with {@link PagedFlux}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ public PagedFlux listByResourceGroupAsync(String resourceGroupName) {
+ return new PagedFlux<>(() -> listByResourceGroupSinglePageAsync(resourceGroupName),
+ nextLink -> listByResourceGroupNextSinglePageAsync(nextLink));
+ }
+
+ /**
+ * List AiAgentsGroup resources by resource group.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response of a AiAgentsGroup list operation as paginated response with {@link PagedFlux}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ private PagedFlux listByResourceGroupAsync(String resourceGroupName, Context context) {
+ return new PagedFlux<>(() -> listByResourceGroupSinglePageAsync(resourceGroupName, context),
+ nextLink -> listByResourceGroupNextSinglePageAsync(nextLink, context));
+ }
+
+ /**
+ * List AiAgentsGroup resources by resource group.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response of a AiAgentsGroup list operation as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ public PagedIterable listByResourceGroup(String resourceGroupName) {
+ return new PagedIterable<>(listByResourceGroupAsync(resourceGroupName));
+ }
+
+ /**
+ * List AiAgentsGroup resources by resource group.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response of a AiAgentsGroup list operation as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ public PagedIterable listByResourceGroup(String resourceGroupName, Context context) {
+ return new PagedIterable<>(listByResourceGroupAsync(resourceGroupName, context));
+ }
+
+ /**
+ * Get an AiAgentsGroup.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param aiAgentsGroupName The name of the AiAgentsGroup.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return an AiAgentsGroup along with {@link Response} on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ public Mono> getByResourceGroupWithResponseAsync(String resourceGroupName,
+ String aiAgentsGroupName) {
+ 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 (aiAgentsGroupName == null) {
+ return Mono
+ .error(new IllegalArgumentException("Parameter aiAgentsGroupName is required and cannot be null."));
+ }
+ final String accept = "application/json";
+ return FluxUtil
+ .withContext(context -> service.getByResourceGroup(this.client.getEndpoint(), this.client.getApiVersion(),
+ this.client.getSubscriptionId(), resourceGroupName, aiAgentsGroupName, accept, context))
+ .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly()));
+ }
+
+ /**
+ * Get an AiAgentsGroup.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param aiAgentsGroupName The name of the AiAgentsGroup.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return an AiAgentsGroup along with {@link Response} on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Mono> getByResourceGroupWithResponseAsync(String resourceGroupName,
+ String aiAgentsGroupName, 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 (aiAgentsGroupName == null) {
+ return Mono
+ .error(new IllegalArgumentException("Parameter aiAgentsGroupName is required and cannot be null."));
+ }
+ final String accept = "application/json";
+ context = this.client.mergeContext(context);
+ return service.getByResourceGroup(this.client.getEndpoint(), this.client.getApiVersion(),
+ this.client.getSubscriptionId(), resourceGroupName, aiAgentsGroupName, accept, context);
+ }
+
+ /**
+ * Get an AiAgentsGroup.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param aiAgentsGroupName The name of the AiAgentsGroup.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return an AiAgentsGroup on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ public Mono getByResourceGroupAsync(String resourceGroupName, String aiAgentsGroupName) {
+ return getByResourceGroupWithResponseAsync(resourceGroupName, aiAgentsGroupName)
+ .flatMap(res -> Mono.justOrEmpty(res.getValue()));
+ }
+
+ /**
+ * Get an AiAgentsGroup.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param aiAgentsGroupName The name of the AiAgentsGroup.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return an AiAgentsGroup along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ public Response getByResourceGroupWithResponse(String resourceGroupName,
+ String aiAgentsGroupName, Context context) {
+ return getByResourceGroupWithResponseAsync(resourceGroupName, aiAgentsGroupName, context).block();
+ }
+
+ /**
+ * Get an AiAgentsGroup.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param aiAgentsGroupName The name of the AiAgentsGroup.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return an AiAgentsGroup.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ public AiAgentsGroupInner getByResourceGroup(String resourceGroupName, String aiAgentsGroupName) {
+ return getByResourceGroupWithResponse(resourceGroupName, aiAgentsGroupName, Context.NONE).getValue();
+ }
+
+ /**
+ * Create an AiAgentsGroup.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param aiAgentsGroupName The name of the AiAgentsGroup.
+ * @param resource Resource create parameters.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return an AiAgentsGroup tracked resource along with {@link Response} on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ public Mono>> createOrUpdateWithResponseAsync(String resourceGroupName,
+ String aiAgentsGroupName, AiAgentsGroupInner resource) {
+ 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 (aiAgentsGroupName == null) {
+ return Mono
+ .error(new IllegalArgumentException("Parameter aiAgentsGroupName is required and cannot be null."));
+ }
+ if (resource == null) {
+ return Mono.error(new IllegalArgumentException("Parameter resource is required and cannot be null."));
+ } else {
+ resource.validate();
+ }
+ final String contentType = "application/json";
+ final String accept = "application/json";
+ return FluxUtil
+ .withContext(context -> service.createOrUpdate(this.client.getEndpoint(), this.client.getApiVersion(),
+ this.client.getSubscriptionId(), resourceGroupName, aiAgentsGroupName, contentType, accept, resource,
+ context))
+ .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly()));
+ }
+
+ /**
+ * Create an AiAgentsGroup.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param aiAgentsGroupName The name of the AiAgentsGroup.
+ * @param resource Resource create parameters.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return an AiAgentsGroup tracked resource along with {@link Response} on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Mono>> createOrUpdateWithResponseAsync(String resourceGroupName,
+ String aiAgentsGroupName, AiAgentsGroupInner resource, 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 (aiAgentsGroupName == null) {
+ return Mono
+ .error(new IllegalArgumentException("Parameter aiAgentsGroupName is required and cannot be null."));
+ }
+ if (resource == null) {
+ return Mono.error(new IllegalArgumentException("Parameter resource is required and cannot be null."));
+ } else {
+ resource.validate();
+ }
+ final String contentType = "application/json";
+ final String accept = "application/json";
+ context = this.client.mergeContext(context);
+ return service.createOrUpdate(this.client.getEndpoint(), this.client.getApiVersion(),
+ this.client.getSubscriptionId(), resourceGroupName, aiAgentsGroupName, contentType, accept, resource,
+ context);
+ }
+
+ /**
+ * Create an AiAgentsGroup.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param aiAgentsGroupName The name of the AiAgentsGroup.
+ * @param resource Resource create parameters.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link PollerFlux} for polling of an AiAgentsGroup tracked resource.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ public PollerFlux, AiAgentsGroupInner>
+ beginCreateOrUpdateAsync(String resourceGroupName, String aiAgentsGroupName, AiAgentsGroupInner resource) {
+ Mono>> mono
+ = createOrUpdateWithResponseAsync(resourceGroupName, aiAgentsGroupName, resource);
+ return this.client.getLroResult(mono, this.client.getHttpPipeline(),
+ AiAgentsGroupInner.class, AiAgentsGroupInner.class, this.client.getContext());
+ }
+
+ /**
+ * Create an AiAgentsGroup.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param aiAgentsGroupName The name of the AiAgentsGroup.
+ * @param resource Resource create parameters.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link PollerFlux} for polling of an AiAgentsGroup tracked resource.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ private PollerFlux, AiAgentsGroupInner> beginCreateOrUpdateAsync(
+ String resourceGroupName, String aiAgentsGroupName, AiAgentsGroupInner resource, Context context) {
+ context = this.client.mergeContext(context);
+ Mono>> mono
+ = createOrUpdateWithResponseAsync(resourceGroupName, aiAgentsGroupName, resource, context);
+ return this.client.getLroResult(mono, this.client.getHttpPipeline(),
+ AiAgentsGroupInner.class, AiAgentsGroupInner.class, context);
+ }
+
+ /**
+ * Create an AiAgentsGroup.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param aiAgentsGroupName The name of the AiAgentsGroup.
+ * @param resource Resource create parameters.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of an AiAgentsGroup tracked resource.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ public SyncPoller, AiAgentsGroupInner> beginCreateOrUpdate(String resourceGroupName,
+ String aiAgentsGroupName, AiAgentsGroupInner resource) {
+ return this.beginCreateOrUpdateAsync(resourceGroupName, aiAgentsGroupName, resource).getSyncPoller();
+ }
+
+ /**
+ * Create an AiAgentsGroup.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param aiAgentsGroupName The name of the AiAgentsGroup.
+ * @param resource Resource create parameters.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of an AiAgentsGroup tracked resource.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ public SyncPoller, AiAgentsGroupInner> beginCreateOrUpdate(String resourceGroupName,
+ String aiAgentsGroupName, AiAgentsGroupInner resource, Context context) {
+ return this.beginCreateOrUpdateAsync(resourceGroupName, aiAgentsGroupName, resource, context).getSyncPoller();
+ }
+
+ /**
+ * Create an AiAgentsGroup.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param aiAgentsGroupName The name of the AiAgentsGroup.
+ * @param resource Resource create parameters.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return an AiAgentsGroup tracked resource on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ public Mono createOrUpdateAsync(String resourceGroupName, String aiAgentsGroupName,
+ AiAgentsGroupInner resource) {
+ return beginCreateOrUpdateAsync(resourceGroupName, aiAgentsGroupName, resource).last()
+ .flatMap(this.client::getLroFinalResultOrError);
+ }
+
+ /**
+ * Create an AiAgentsGroup.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param aiAgentsGroupName The name of the AiAgentsGroup.
+ * @param resource Resource create parameters.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return an AiAgentsGroup tracked resource on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Mono createOrUpdateAsync(String resourceGroupName, String aiAgentsGroupName,
+ AiAgentsGroupInner resource, Context context) {
+ return beginCreateOrUpdateAsync(resourceGroupName, aiAgentsGroupName, resource, context).last()
+ .flatMap(this.client::getLroFinalResultOrError);
+ }
+
+ /**
+ * Create an AiAgentsGroup.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param aiAgentsGroupName The name of the AiAgentsGroup.
+ * @param resource Resource create parameters.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return an AiAgentsGroup tracked resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ public AiAgentsGroupInner createOrUpdate(String resourceGroupName, String aiAgentsGroupName,
+ AiAgentsGroupInner resource) {
+ return createOrUpdateAsync(resourceGroupName, aiAgentsGroupName, resource).block();
+ }
+
+ /**
+ * Create an AiAgentsGroup.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param aiAgentsGroupName The name of the AiAgentsGroup.
+ * @param resource Resource create parameters.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return an AiAgentsGroup tracked resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ public AiAgentsGroupInner createOrUpdate(String resourceGroupName, String aiAgentsGroupName,
+ AiAgentsGroupInner resource, Context context) {
+ return createOrUpdateAsync(resourceGroupName, aiAgentsGroupName, resource, context).block();
+ }
+
+ /**
+ * Update an AiAgentsGroup.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param aiAgentsGroupName The name of the AiAgentsGroup.
+ * @param properties The resource properties to be updated.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return an AiAgentsGroup tracked resource along with {@link Response} on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ public Mono>> updateWithResponseAsync(String resourceGroupName, String aiAgentsGroupName,
+ AiAgentsGroupTagsUpdate properties) {
+ 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 (aiAgentsGroupName == null) {
+ return Mono
+ .error(new IllegalArgumentException("Parameter aiAgentsGroupName is required and cannot be null."));
+ }
+ if (properties == null) {
+ return Mono.error(new IllegalArgumentException("Parameter properties is required and cannot be null."));
+ } else {
+ properties.validate();
+ }
+ final String contentType = "application/json";
+ final String accept = "application/json";
+ return FluxUtil
+ .withContext(context -> service.update(this.client.getEndpoint(), this.client.getApiVersion(),
+ this.client.getSubscriptionId(), resourceGroupName, aiAgentsGroupName, contentType, accept, properties,
+ context))
+ .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly()));
+ }
+
+ /**
+ * Update an AiAgentsGroup.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param aiAgentsGroupName The name of the AiAgentsGroup.
+ * @param properties The resource properties to be updated.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return an AiAgentsGroup tracked resource along with {@link Response} on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Mono>> updateWithResponseAsync(String resourceGroupName, String aiAgentsGroupName,
+ AiAgentsGroupTagsUpdate properties, 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 (aiAgentsGroupName == null) {
+ return Mono
+ .error(new IllegalArgumentException("Parameter aiAgentsGroupName is required and cannot be null."));
+ }
+ if (properties == null) {
+ return Mono.error(new IllegalArgumentException("Parameter properties is required and cannot be null."));
+ } else {
+ properties.validate();
+ }
+ final String contentType = "application/json";
+ final String accept = "application/json";
+ context = this.client.mergeContext(context);
+ return service.update(this.client.getEndpoint(), this.client.getApiVersion(), this.client.getSubscriptionId(),
+ resourceGroupName, aiAgentsGroupName, contentType, accept, properties, context);
+ }
+
+ /**
+ * Update an AiAgentsGroup.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param aiAgentsGroupName The name of the AiAgentsGroup.
+ * @param properties The resource properties to be updated.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link PollerFlux} for polling of an AiAgentsGroup tracked resource.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ public PollerFlux, AiAgentsGroupInner> beginUpdateAsync(String resourceGroupName,
+ String aiAgentsGroupName, AiAgentsGroupTagsUpdate properties) {
+ Mono>> mono
+ = updateWithResponseAsync(resourceGroupName, aiAgentsGroupName, properties);
+ return this.client.getLroResult(mono, this.client.getHttpPipeline(),
+ AiAgentsGroupInner.class, AiAgentsGroupInner.class, this.client.getContext());
+ }
+
+ /**
+ * Update an AiAgentsGroup.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param aiAgentsGroupName The name of the AiAgentsGroup.
+ * @param properties The resource properties to be updated.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link PollerFlux} for polling of an AiAgentsGroup tracked resource.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ private PollerFlux, AiAgentsGroupInner> beginUpdateAsync(String resourceGroupName,
+ String aiAgentsGroupName, AiAgentsGroupTagsUpdate properties, Context context) {
+ context = this.client.mergeContext(context);
+ Mono>> mono
+ = updateWithResponseAsync(resourceGroupName, aiAgentsGroupName, properties, context);
+ return this.client.getLroResult(mono, this.client.getHttpPipeline(),
+ AiAgentsGroupInner.class, AiAgentsGroupInner.class, context);
+ }
+
+ /**
+ * Update an AiAgentsGroup.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param aiAgentsGroupName The name of the AiAgentsGroup.
+ * @param properties The resource properties to be updated.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of an AiAgentsGroup tracked resource.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ public SyncPoller, AiAgentsGroupInner> beginUpdate(String resourceGroupName,
+ String aiAgentsGroupName, AiAgentsGroupTagsUpdate properties) {
+ return this.beginUpdateAsync(resourceGroupName, aiAgentsGroupName, properties).getSyncPoller();
+ }
+
+ /**
+ * Update an AiAgentsGroup.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param aiAgentsGroupName The name of the AiAgentsGroup.
+ * @param properties The resource properties to be updated.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of an AiAgentsGroup tracked resource.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ public SyncPoller, AiAgentsGroupInner> beginUpdate(String resourceGroupName,
+ String aiAgentsGroupName, AiAgentsGroupTagsUpdate properties, Context context) {
+ return this.beginUpdateAsync(resourceGroupName, aiAgentsGroupName, properties, context).getSyncPoller();
+ }
+
+ /**
+ * Update an AiAgentsGroup.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param aiAgentsGroupName The name of the AiAgentsGroup.
+ * @param properties The resource properties to be updated.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return an AiAgentsGroup tracked resource on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ public Mono updateAsync(String resourceGroupName, String aiAgentsGroupName,
+ AiAgentsGroupTagsUpdate properties) {
+ return beginUpdateAsync(resourceGroupName, aiAgentsGroupName, properties).last()
+ .flatMap(this.client::getLroFinalResultOrError);
+ }
+
+ /**
+ * Update an AiAgentsGroup.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param aiAgentsGroupName The name of the AiAgentsGroup.
+ * @param properties The resource properties to be updated.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return an AiAgentsGroup tracked resource on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Mono updateAsync(String resourceGroupName, String aiAgentsGroupName,
+ AiAgentsGroupTagsUpdate properties, Context context) {
+ return beginUpdateAsync(resourceGroupName, aiAgentsGroupName, properties, context).last()
+ .flatMap(this.client::getLroFinalResultOrError);
+ }
+
+ /**
+ * Update an AiAgentsGroup.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param aiAgentsGroupName The name of the AiAgentsGroup.
+ * @param properties The resource properties to be updated.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return an AiAgentsGroup tracked resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ public AiAgentsGroupInner update(String resourceGroupName, String aiAgentsGroupName,
+ AiAgentsGroupTagsUpdate properties) {
+ return updateAsync(resourceGroupName, aiAgentsGroupName, properties).block();
+ }
+
+ /**
+ * Update an AiAgentsGroup.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param aiAgentsGroupName The name of the AiAgentsGroup.
+ * @param properties The resource properties to be updated.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return an AiAgentsGroup tracked resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ public AiAgentsGroupInner update(String resourceGroupName, String aiAgentsGroupName,
+ AiAgentsGroupTagsUpdate properties, Context context) {
+ return updateAsync(resourceGroupName, aiAgentsGroupName, properties, context).block();
+ }
+
+ /**
+ * Delete an AiAgentsGroup.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param aiAgentsGroupName The name of the AiAgentsGroup.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link Response} on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ public Mono>> deleteWithResponseAsync(String resourceGroupName,
+ String aiAgentsGroupName) {
+ 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 (aiAgentsGroupName == null) {
+ return Mono
+ .error(new IllegalArgumentException("Parameter aiAgentsGroupName is required and cannot be null."));
+ }
+ return FluxUtil
+ .withContext(context -> service.delete(this.client.getEndpoint(), this.client.getApiVersion(),
+ this.client.getSubscriptionId(), resourceGroupName, aiAgentsGroupName, context))
+ .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly()));
+ }
+
+ /**
+ * Delete an AiAgentsGroup.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param aiAgentsGroupName The name of the AiAgentsGroup.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link Response} on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Mono>> deleteWithResponseAsync(String resourceGroupName, String aiAgentsGroupName,
+ 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 (aiAgentsGroupName == null) {
+ return Mono
+ .error(new IllegalArgumentException("Parameter aiAgentsGroupName is required and cannot be null."));
+ }
+ context = this.client.mergeContext(context);
+ return service.delete(this.client.getEndpoint(), this.client.getApiVersion(), this.client.getSubscriptionId(),
+ resourceGroupName, aiAgentsGroupName, context);
+ }
+
+ /**
+ * Delete an AiAgentsGroup.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param aiAgentsGroupName The name of the AiAgentsGroup.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link PollerFlux} for polling of long-running operation.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ public PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String aiAgentsGroupName) {
+ Mono>> mono = deleteWithResponseAsync(resourceGroupName, aiAgentsGroupName);
+ return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class,
+ this.client.getContext());
+ }
+
+ /**
+ * Delete an AiAgentsGroup.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param aiAgentsGroupName The name of the AiAgentsGroup.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link PollerFlux} for polling of long-running operation.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ private PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String aiAgentsGroupName,
+ Context context) {
+ context = this.client.mergeContext(context);
+ Mono>> mono = deleteWithResponseAsync(resourceGroupName, aiAgentsGroupName, context);
+ return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class,
+ context);
+ }
+
+ /**
+ * Delete an AiAgentsGroup.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param aiAgentsGroupName The name of the AiAgentsGroup.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of long-running operation.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ public SyncPoller, Void> beginDelete(String resourceGroupName, String aiAgentsGroupName) {
+ return this.beginDeleteAsync(resourceGroupName, aiAgentsGroupName).getSyncPoller();
+ }
+
+ /**
+ * Delete an AiAgentsGroup.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param aiAgentsGroupName The name of the AiAgentsGroup.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of long-running operation.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ public SyncPoller, Void> beginDelete(String resourceGroupName, String aiAgentsGroupName,
+ Context context) {
+ return this.beginDeleteAsync(resourceGroupName, aiAgentsGroupName, context).getSyncPoller();
+ }
+
+ /**
+ * Delete an AiAgentsGroup.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param aiAgentsGroupName The name of the AiAgentsGroup.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return A {@link Mono} that completes when a successful response is received.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ public Mono deleteAsync(String resourceGroupName, String aiAgentsGroupName) {
+ return beginDeleteAsync(resourceGroupName, aiAgentsGroupName).last()
+ .flatMap(this.client::getLroFinalResultOrError);
+ }
+
+ /**
+ * Delete an AiAgentsGroup.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param aiAgentsGroupName The name of the AiAgentsGroup.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return A {@link Mono} that completes when a successful response is received.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Mono deleteAsync(String resourceGroupName, String aiAgentsGroupName, Context context) {
+ return beginDeleteAsync(resourceGroupName, aiAgentsGroupName, context).last()
+ .flatMap(this.client::getLroFinalResultOrError);
+ }
+
+ /**
+ * Delete an AiAgentsGroup.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param aiAgentsGroupName The name of the AiAgentsGroup.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ public void delete(String resourceGroupName, String aiAgentsGroupName) {
+ deleteAsync(resourceGroupName, aiAgentsGroupName).block();
+ }
+
+ /**
+ * Delete an AiAgentsGroup.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param aiAgentsGroupName The name of the AiAgentsGroup.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ public void delete(String resourceGroupName, String aiAgentsGroupName, Context context) {
+ deleteAsync(resourceGroupName, aiAgentsGroupName, context).block();
+ }
+
+ /**
+ * Get an access token and endpoint for connecting to the AiAgentsGroup.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param aiAgentsGroupName The name of the AiAgentsGroup.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return an access token and endpoint for connecting to the AiAgentsGroup along with {@link Response} on
+ * successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ public Mono> connectWithResponseAsync(String resourceGroupName,
+ String aiAgentsGroupName) {
+ 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 (aiAgentsGroupName == null) {
+ return Mono
+ .error(new IllegalArgumentException("Parameter aiAgentsGroupName is required and cannot be null."));
+ }
+ final String accept = "application/json";
+ return FluxUtil
+ .withContext(context -> service.connect(this.client.getEndpoint(), this.client.getApiVersion(),
+ this.client.getSubscriptionId(), resourceGroupName, aiAgentsGroupName, accept, context))
+ .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly()));
+ }
+
+ /**
+ * Get an access token and endpoint for connecting to the AiAgentsGroup.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param aiAgentsGroupName The name of the AiAgentsGroup.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return an access token and endpoint for connecting to the AiAgentsGroup along with {@link Response} on
+ * successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Mono> connectWithResponseAsync(String resourceGroupName,
+ String aiAgentsGroupName, 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 (aiAgentsGroupName == null) {
+ return Mono
+ .error(new IllegalArgumentException("Parameter aiAgentsGroupName is required and cannot be null."));
+ }
+ final String accept = "application/json";
+ context = this.client.mergeContext(context);
+ return service.connect(this.client.getEndpoint(), this.client.getApiVersion(), this.client.getSubscriptionId(),
+ resourceGroupName, aiAgentsGroupName, accept, context);
+ }
+
+ /**
+ * Get an access token and endpoint for connecting to the AiAgentsGroup.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param aiAgentsGroupName The name of the AiAgentsGroup.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return an access token and endpoint for connecting to the AiAgentsGroup on successful completion of
+ * {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ public Mono connectAsync(String resourceGroupName, String aiAgentsGroupName) {
+ return connectWithResponseAsync(resourceGroupName, aiAgentsGroupName)
+ .flatMap(res -> Mono.justOrEmpty(res.getValue()));
+ }
+
+ /**
+ * Get an access token and endpoint for connecting to the AiAgentsGroup.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param aiAgentsGroupName The name of the AiAgentsGroup.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return an access token and endpoint for connecting to the AiAgentsGroup along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ public Response connectWithResponse(String resourceGroupName,
+ String aiAgentsGroupName, Context context) {
+ return connectWithResponseAsync(resourceGroupName, aiAgentsGroupName, context).block();
+ }
+
+ /**
+ * Get an access token and endpoint for connecting to the AiAgentsGroup.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param aiAgentsGroupName The name of the AiAgentsGroup.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return an access token and endpoint for connecting to the AiAgentsGroup.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ public AiAgentsGroupAccessTokenInner connect(String resourceGroupName, String aiAgentsGroupName) {
+ return connectWithResponse(resourceGroupName, aiAgentsGroupName, Context.NONE).getValue();
+ }
+
+ /**
+ * List AiAgentsGroup resources by subscription ID
+ *
+ * Get the next page of items.
+ *
+ * @param nextLink The URL to get the next list of items.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response of a AiAgentsGroup list operation along with {@link PagedResponse} on successful completion
+ * of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Mono> listBySubscriptionNextSinglePageAsync(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.listBySubscriptionNext(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()));
+ }
+
+ /**
+ * List AiAgentsGroup resources by subscription ID
+ *
+ * Get the next page of items.
+ *
+ * @param nextLink The URL to get the next list of items.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response of a AiAgentsGroup list operation along with {@link PagedResponse} on successful completion
+ * of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Mono> listBySubscriptionNextSinglePageAsync(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.listBySubscriptionNext(nextLink, this.client.getEndpoint(), accept, context)
+ .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(),
+ res.getValue().value(), res.getValue().nextLink(), null));
+ }
+
+ /**
+ * List AiAgentsGroup resources by resource group
+ *
+ * Get the next page of items.
+ *
+ * @param nextLink The URL to get the next list of items.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response of a AiAgentsGroup list operation along with {@link PagedResponse} on successful completion
+ * of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Mono> listByResourceGroupNextSinglePageAsync(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.listByResourceGroupNext(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()));
+ }
+
+ /**
+ * List AiAgentsGroup resources by resource group
+ *
+ * Get the next page of items.
+ *
+ * @param nextLink The URL to get the next list of items.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response of a AiAgentsGroup list operation along with {@link PagedResponse} on successful completion
+ * of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Mono> listByResourceGroupNextSinglePageAsync(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.listByResourceGroupNext(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/containerinstance/azure-resourcemanager-containerinstance/src/main/java/com/azure/resourcemanager/containerinstance/implementation/ContainerInstanceManagementClientImpl.java b/sdk/containerinstance/azure-resourcemanager-containerinstance/src/main/java/com/azure/resourcemanager/containerinstance/implementation/ContainerInstanceManagementClientImpl.java
index ceb524cd09d2..5ce687fdabd7 100644
--- a/sdk/containerinstance/azure-resourcemanager-containerinstance/src/main/java/com/azure/resourcemanager/containerinstance/implementation/ContainerInstanceManagementClientImpl.java
+++ b/sdk/containerinstance/azure-resourcemanager-containerinstance/src/main/java/com/azure/resourcemanager/containerinstance/implementation/ContainerInstanceManagementClientImpl.java
@@ -8,6 +8,7 @@
import com.azure.core.http.HttpPipeline;
import com.azure.core.management.AzureEnvironment;
import com.azure.core.util.serializer.SerializerAdapter;
+import com.azure.resourcemanager.containerinstance.fluent.AiAgentsGroupsClient;
import com.azure.resourcemanager.containerinstance.fluent.CGProfilesClient;
import com.azure.resourcemanager.containerinstance.fluent.CGProfilesOperationsClient;
import com.azure.resourcemanager.containerinstance.fluent.ContainerGroupsClient;
@@ -166,6 +167,20 @@ public CGProfilesClient getCGProfiles() {
return this.cGProfiles;
}
+ /**
+ * The AiAgentsGroupsClient object to access its operations.
+ */
+ private final AiAgentsGroupsClient aiAgentsGroups;
+
+ /**
+ * Gets the AiAgentsGroupsClient object to access its operations.
+ *
+ * @return the AiAgentsGroupsClient object.
+ */
+ public AiAgentsGroupsClient getAiAgentsGroups() {
+ return this.aiAgentsGroups;
+ }
+
/**
* The ContainersClient object to access its operations.
*/
@@ -240,11 +255,12 @@ public SubnetServiceAssociationLinksClient getSubnetServiceAssociationLinks() {
this.defaultPollInterval = defaultPollInterval;
this.endpoint = endpoint;
this.subscriptionId = subscriptionId;
- this.apiVersion = "2025-09-01";
+ this.apiVersion = "2026-08-01-preview";
this.operations = new OperationsClientImpl(this);
this.containerGroups = new ContainerGroupsClientImpl(this);
this.nGroups = new NGroupsClientImpl(this);
this.cGProfiles = new CGProfilesClientImpl(this);
+ this.aiAgentsGroups = new AiAgentsGroupsClientImpl(this);
this.containers = new ContainersClientImpl(this);
this.cGProfilesOperations = new CGProfilesOperationsClientImpl(this);
this.locations = new LocationsClientImpl(this);
diff --git a/sdk/containerinstance/azure-resourcemanager-containerinstance/src/main/java/com/azure/resourcemanager/containerinstance/implementation/SubnetServiceAssociationLinksClientImpl.java b/sdk/containerinstance/azure-resourcemanager-containerinstance/src/main/java/com/azure/resourcemanager/containerinstance/implementation/SubnetServiceAssociationLinksClientImpl.java
index f26ec0149631..1c0485e11b31 100644
--- a/sdk/containerinstance/azure-resourcemanager-containerinstance/src/main/java/com/azure/resourcemanager/containerinstance/implementation/SubnetServiceAssociationLinksClientImpl.java
+++ b/sdk/containerinstance/azure-resourcemanager-containerinstance/src/main/java/com/azure/resourcemanager/containerinstance/implementation/SubnetServiceAssociationLinksClientImpl.java
@@ -61,7 +61,7 @@ public final class SubnetServiceAssociationLinksClientImpl implements SubnetServ
@ServiceInterface(name = "ContainerInstanceManagementClientSubnetServiceAssociationLinks")
public interface SubnetServiceAssociationLinksService {
@Headers({ "Accept: application/json;q=0.9", "Content-Type: application/json" })
- @Delete("/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}/providers/Microsoft.ContainerInstance/serviceAssociationLinks/default")
+ @Delete("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}/providers/Microsoft.ContainerInstance/serviceAssociationLinks/default")
@ExpectedResponses({ 200, 202, 204 })
@UnexpectedResponseExceptionType(ManagementException.class)
Mono>> delete(@HostParam("endpoint") String endpoint,
diff --git a/sdk/containerinstance/azure-resourcemanager-containerinstance/src/main/java/com/azure/resourcemanager/containerinstance/implementation/models/AiAgentsGroupListResult.java b/sdk/containerinstance/azure-resourcemanager-containerinstance/src/main/java/com/azure/resourcemanager/containerinstance/implementation/models/AiAgentsGroupListResult.java
new file mode 100644
index 000000000000..318e827b410c
--- /dev/null
+++ b/sdk/containerinstance/azure-resourcemanager-containerinstance/src/main/java/com/azure/resourcemanager/containerinstance/implementation/models/AiAgentsGroupListResult.java
@@ -0,0 +1,112 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.containerinstance.implementation.models;
+
+import com.azure.core.annotation.Immutable;
+import com.azure.core.util.logging.ClientLogger;
+import com.azure.json.JsonReader;
+import com.azure.json.JsonSerializable;
+import com.azure.json.JsonToken;
+import com.azure.json.JsonWriter;
+import com.azure.resourcemanager.containerinstance.fluent.models.AiAgentsGroupInner;
+import java.io.IOException;
+import java.util.List;
+
+/**
+ * The response of a AiAgentsGroup list operation.
+ */
+@Immutable
+public final class AiAgentsGroupListResult implements JsonSerializable {
+ /*
+ * The AiAgentsGroup items on this page
+ */
+ private List value;
+
+ /*
+ * The link to the next page of items
+ */
+ private String nextLink;
+
+ /**
+ * Creates an instance of AiAgentsGroupListResult class.
+ */
+ private AiAgentsGroupListResult() {
+ }
+
+ /**
+ * Get the value property: The AiAgentsGroup items on this page.
+ *
+ * @return the value value.
+ */
+ public List value() {
+ return this.value;
+ }
+
+ /**
+ * Get the nextLink property: The link to the next page of items.
+ *
+ * @return the nextLink value.
+ */
+ public String nextLink() {
+ return this.nextLink;
+ }
+
+ /**
+ * Validates the instance.
+ *
+ * @throws IllegalArgumentException thrown if the instance is not valid.
+ */
+ public void validate() {
+ if (value() == null) {
+ throw LOGGER.atError()
+ .log(new IllegalArgumentException("Missing required property value in model AiAgentsGroupListResult"));
+ } else {
+ value().forEach(e -> e.validate());
+ }
+ }
+
+ private static final ClientLogger LOGGER = new ClientLogger(AiAgentsGroupListResult.class);
+
+ /**
+ * {@inheritDoc}
+ */
+ @Override
+ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException {
+ jsonWriter.writeStartObject();
+ jsonWriter.writeArrayField("value", this.value, (writer, element) -> writer.writeJson(element));
+ jsonWriter.writeStringField("nextLink", this.nextLink);
+ return jsonWriter.writeEndObject();
+ }
+
+ /**
+ * Reads an instance of AiAgentsGroupListResult from the JsonReader.
+ *
+ * @param jsonReader The JsonReader being read.
+ * @return An instance of AiAgentsGroupListResult if the JsonReader was pointing to an instance of it, or null if it
+ * was pointing to JSON null.
+ * @throws IllegalStateException If the deserialized JSON object was missing any required properties.
+ * @throws IOException If an error occurs while reading the AiAgentsGroupListResult.
+ */
+ public static AiAgentsGroupListResult fromJson(JsonReader jsonReader) throws IOException {
+ return jsonReader.readObject(reader -> {
+ AiAgentsGroupListResult deserializedAiAgentsGroupListResult = new AiAgentsGroupListResult();
+ while (reader.nextToken() != JsonToken.END_OBJECT) {
+ String fieldName = reader.getFieldName();
+ reader.nextToken();
+
+ if ("value".equals(fieldName)) {
+ List value = reader.readArray(reader1 -> AiAgentsGroupInner.fromJson(reader1));
+ deserializedAiAgentsGroupListResult.value = value;
+ } else if ("nextLink".equals(fieldName)) {
+ deserializedAiAgentsGroupListResult.nextLink = reader.getString();
+ } else {
+ reader.skipChildren();
+ }
+ }
+
+ return deserializedAiAgentsGroupListResult;
+ });
+ }
+}
diff --git a/sdk/containerinstance/azure-resourcemanager-containerinstance/src/main/java/com/azure/resourcemanager/containerinstance/models/AiAgentsGroupNetworkProfile.java b/sdk/containerinstance/azure-resourcemanager-containerinstance/src/main/java/com/azure/resourcemanager/containerinstance/models/AiAgentsGroupNetworkProfile.java
new file mode 100644
index 000000000000..95053dd18233
--- /dev/null
+++ b/sdk/containerinstance/azure-resourcemanager-containerinstance/src/main/java/com/azure/resourcemanager/containerinstance/models/AiAgentsGroupNetworkProfile.java
@@ -0,0 +1,98 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.containerinstance.models;
+
+import com.azure.core.annotation.Fluent;
+import com.azure.json.JsonReader;
+import com.azure.json.JsonSerializable;
+import com.azure.json.JsonToken;
+import com.azure.json.JsonWriter;
+import java.io.IOException;
+import java.util.List;
+
+/**
+ * The network profile for an AiAgentsGroup.
+ */
+@Fluent
+public final class AiAgentsGroupNetworkProfile implements JsonSerializable {
+ /*
+ * The list of subnets associated with the AiAgentsGroup.
+ */
+ private List subnets;
+
+ /**
+ * Creates an instance of AiAgentsGroupNetworkProfile class.
+ */
+ public AiAgentsGroupNetworkProfile() {
+ }
+
+ /**
+ * Get the subnets property: The list of subnets associated with the AiAgentsGroup.
+ *
+ * @return the subnets value.
+ */
+ public List subnets() {
+ return this.subnets;
+ }
+
+ /**
+ * Set the subnets property: The list of subnets associated with the AiAgentsGroup.
+ *
+ * @param subnets the subnets value to set.
+ * @return the AiAgentsGroupNetworkProfile object itself.
+ */
+ public AiAgentsGroupNetworkProfile withSubnets(List subnets) {
+ this.subnets = subnets;
+ return this;
+ }
+
+ /**
+ * Validates the instance.
+ *
+ * @throws IllegalArgumentException thrown if the instance is not valid.
+ */
+ public void validate() {
+ if (subnets() != null) {
+ subnets().forEach(e -> e.validate());
+ }
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ @Override
+ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException {
+ jsonWriter.writeStartObject();
+ jsonWriter.writeArrayField("subnets", this.subnets, (writer, element) -> writer.writeJson(element));
+ return jsonWriter.writeEndObject();
+ }
+
+ /**
+ * Reads an instance of AiAgentsGroupNetworkProfile from the JsonReader.
+ *
+ * @param jsonReader The JsonReader being read.
+ * @return An instance of AiAgentsGroupNetworkProfile if the JsonReader was pointing to an instance of it, or null
+ * if it was pointing to JSON null.
+ * @throws IOException If an error occurs while reading the AiAgentsGroupNetworkProfile.
+ */
+ public static AiAgentsGroupNetworkProfile fromJson(JsonReader jsonReader) throws IOException {
+ return jsonReader.readObject(reader -> {
+ AiAgentsGroupNetworkProfile deserializedAiAgentsGroupNetworkProfile = new AiAgentsGroupNetworkProfile();
+ while (reader.nextToken() != JsonToken.END_OBJECT) {
+ String fieldName = reader.getFieldName();
+ reader.nextToken();
+
+ if ("subnets".equals(fieldName)) {
+ List subnets = reader.readArray(reader1 -> SubnetReference.fromJson(reader1));
+ deserializedAiAgentsGroupNetworkProfile.subnets = subnets;
+ } else {
+ reader.skipChildren();
+ }
+ }
+
+ return deserializedAiAgentsGroupNetworkProfile;
+ });
+ }
+}
diff --git a/sdk/containerinstance/azure-resourcemanager-containerinstance/src/main/java/com/azure/resourcemanager/containerinstance/models/AiAgentsGroupProperties.java b/sdk/containerinstance/azure-resourcemanager-containerinstance/src/main/java/com/azure/resourcemanager/containerinstance/models/AiAgentsGroupProperties.java
new file mode 100644
index 000000000000..7e21a1cd62f3
--- /dev/null
+++ b/sdk/containerinstance/azure-resourcemanager-containerinstance/src/main/java/com/azure/resourcemanager/containerinstance/models/AiAgentsGroupProperties.java
@@ -0,0 +1,130 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.containerinstance.models;
+
+import com.azure.core.annotation.Fluent;
+import com.azure.json.JsonReader;
+import com.azure.json.JsonSerializable;
+import com.azure.json.JsonToken;
+import com.azure.json.JsonWriter;
+import java.io.IOException;
+
+/**
+ * Properties of an AiAgentsGroup.
+ */
+@Fluent
+public final class AiAgentsGroupProperties implements JsonSerializable {
+ /*
+ * The status of the last operation.
+ */
+ private AiAgentsGroupProvisioningState provisioningState;
+
+ /*
+ * The network profile of the AiAgentsGroup.
+ */
+ private AiAgentsGroupNetworkProfile networkProfile;
+
+ /*
+ * The ARM resource ID of the management resource group associated with this AiAgentsGroup.
+ */
+ private String managementResourceGroupId;
+
+ /**
+ * Creates an instance of AiAgentsGroupProperties class.
+ */
+ public AiAgentsGroupProperties() {
+ }
+
+ /**
+ * Get the provisioningState property: The status of the last operation.
+ *
+ * @return the provisioningState value.
+ */
+ public AiAgentsGroupProvisioningState provisioningState() {
+ return this.provisioningState;
+ }
+
+ /**
+ * Get the networkProfile property: The network profile of the AiAgentsGroup.
+ *
+ * @return the networkProfile value.
+ */
+ public AiAgentsGroupNetworkProfile networkProfile() {
+ return this.networkProfile;
+ }
+
+ /**
+ * Set the networkProfile property: The network profile of the AiAgentsGroup.
+ *
+ * @param networkProfile the networkProfile value to set.
+ * @return the AiAgentsGroupProperties object itself.
+ */
+ public AiAgentsGroupProperties withNetworkProfile(AiAgentsGroupNetworkProfile networkProfile) {
+ this.networkProfile = networkProfile;
+ return this;
+ }
+
+ /**
+ * Get the managementResourceGroupId property: The ARM resource ID of the management resource group associated with
+ * this AiAgentsGroup.
+ *
+ * @return the managementResourceGroupId value.
+ */
+ public String managementResourceGroupId() {
+ return this.managementResourceGroupId;
+ }
+
+ /**
+ * Validates the instance.
+ *
+ * @throws IllegalArgumentException thrown if the instance is not valid.
+ */
+ public void validate() {
+ if (networkProfile() != null) {
+ networkProfile().validate();
+ }
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ @Override
+ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException {
+ jsonWriter.writeStartObject();
+ jsonWriter.writeJsonField("networkProfile", this.networkProfile);
+ return jsonWriter.writeEndObject();
+ }
+
+ /**
+ * Reads an instance of AiAgentsGroupProperties from the JsonReader.
+ *
+ * @param jsonReader The JsonReader being read.
+ * @return An instance of AiAgentsGroupProperties if the JsonReader was pointing to an instance of it, or null if it
+ * was pointing to JSON null.
+ * @throws IOException If an error occurs while reading the AiAgentsGroupProperties.
+ */
+ public static AiAgentsGroupProperties fromJson(JsonReader jsonReader) throws IOException {
+ return jsonReader.readObject(reader -> {
+ AiAgentsGroupProperties deserializedAiAgentsGroupProperties = new AiAgentsGroupProperties();
+ while (reader.nextToken() != JsonToken.END_OBJECT) {
+ String fieldName = reader.getFieldName();
+ reader.nextToken();
+
+ if ("provisioningState".equals(fieldName)) {
+ deserializedAiAgentsGroupProperties.provisioningState
+ = AiAgentsGroupProvisioningState.fromString(reader.getString());
+ } else if ("networkProfile".equals(fieldName)) {
+ deserializedAiAgentsGroupProperties.networkProfile = AiAgentsGroupNetworkProfile.fromJson(reader);
+ } else if ("managementResourceGroupId".equals(fieldName)) {
+ deserializedAiAgentsGroupProperties.managementResourceGroupId = reader.getString();
+ } else {
+ reader.skipChildren();
+ }
+ }
+
+ return deserializedAiAgentsGroupProperties;
+ });
+ }
+}
diff --git a/sdk/containerinstance/azure-resourcemanager-containerinstance/src/main/java/com/azure/resourcemanager/containerinstance/models/AiAgentsGroupProvisioningState.java b/sdk/containerinstance/azure-resourcemanager-containerinstance/src/main/java/com/azure/resourcemanager/containerinstance/models/AiAgentsGroupProvisioningState.java
new file mode 100644
index 000000000000..b751d094379e
--- /dev/null
+++ b/sdk/containerinstance/azure-resourcemanager-containerinstance/src/main/java/com/azure/resourcemanager/containerinstance/models/AiAgentsGroupProvisioningState.java
@@ -0,0 +1,71 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.containerinstance.models;
+
+import com.azure.core.util.ExpandableStringEnum;
+import java.util.Collection;
+
+/**
+ * The provisioning state of an AiAgentsGroup resource.
+ */
+public final class AiAgentsGroupProvisioningState extends ExpandableStringEnum {
+ /**
+ * Resource has been created.
+ */
+ public static final AiAgentsGroupProvisioningState SUCCEEDED = fromString("Succeeded");
+
+ /**
+ * Resource creation failed.
+ */
+ public static final AiAgentsGroupProvisioningState FAILED = fromString("Failed");
+
+ /**
+ * Resource creation was canceled.
+ */
+ public static final AiAgentsGroupProvisioningState CANCELED = fromString("Canceled");
+
+ /**
+ * The resource is being updated.
+ */
+ public static final AiAgentsGroupProvisioningState UPDATING = fromString("Updating");
+
+ /**
+ * The resource is being deleted.
+ */
+ public static final AiAgentsGroupProvisioningState DELETING = fromString("Deleting");
+
+ /**
+ * The resource provisioning request was accepted but not yet started.
+ */
+ public static final AiAgentsGroupProvisioningState ACCEPTED = fromString("Accepted");
+
+ /**
+ * Creates a new instance of AiAgentsGroupProvisioningState value.
+ *
+ * @deprecated Use the {@link #fromString(String)} factory method.
+ */
+ @Deprecated
+ public AiAgentsGroupProvisioningState() {
+ }
+
+ /**
+ * Creates or finds a AiAgentsGroupProvisioningState from its string representation.
+ *
+ * @param name a name to look for.
+ * @return the corresponding AiAgentsGroupProvisioningState.
+ */
+ public static AiAgentsGroupProvisioningState fromString(String name) {
+ return fromString(name, AiAgentsGroupProvisioningState.class);
+ }
+
+ /**
+ * Gets known AiAgentsGroupProvisioningState values.
+ *
+ * @return known AiAgentsGroupProvisioningState values.
+ */
+ public static Collection values() {
+ return values(AiAgentsGroupProvisioningState.class);
+ }
+}
diff --git a/sdk/containerinstance/azure-resourcemanager-containerinstance/src/main/java/com/azure/resourcemanager/containerinstance/models/AiAgentsGroupTagsUpdate.java b/sdk/containerinstance/azure-resourcemanager-containerinstance/src/main/java/com/azure/resourcemanager/containerinstance/models/AiAgentsGroupTagsUpdate.java
new file mode 100644
index 000000000000..d65e7df82f91
--- /dev/null
+++ b/sdk/containerinstance/azure-resourcemanager-containerinstance/src/main/java/com/azure/resourcemanager/containerinstance/models/AiAgentsGroupTagsUpdate.java
@@ -0,0 +1,126 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.containerinstance.models;
+
+import com.azure.core.annotation.Fluent;
+import com.azure.json.JsonReader;
+import com.azure.json.JsonSerializable;
+import com.azure.json.JsonToken;
+import com.azure.json.JsonWriter;
+import java.io.IOException;
+import java.util.Map;
+
+/**
+ * The type used for updating an AiAgentsGroup resource.
+ */
+@Fluent
+public final class AiAgentsGroupTagsUpdate implements JsonSerializable {
+ /*
+ * Resource tags.
+ */
+ private Map tags;
+
+ /*
+ * The managed service identities assigned to this resource.
+ */
+ private ManagedServiceIdentity identity;
+
+ /**
+ * Creates an instance of AiAgentsGroupTagsUpdate class.
+ */
+ public AiAgentsGroupTagsUpdate() {
+ }
+
+ /**
+ * Get the tags property: Resource tags.
+ *
+ * @return the tags value.
+ */
+ public Map tags() {
+ return this.tags;
+ }
+
+ /**
+ * Set the tags property: Resource tags.
+ *
+ * @param tags the tags value to set.
+ * @return the AiAgentsGroupTagsUpdate object itself.
+ */
+ public AiAgentsGroupTagsUpdate withTags(Map tags) {
+ this.tags = tags;
+ return this;
+ }
+
+ /**
+ * Get the identity property: The managed service identities assigned to this resource.
+ *
+ * @return the identity value.
+ */
+ public ManagedServiceIdentity identity() {
+ return this.identity;
+ }
+
+ /**
+ * Set the identity property: The managed service identities assigned to this resource.
+ *
+ * @param identity the identity value to set.
+ * @return the AiAgentsGroupTagsUpdate object itself.
+ */
+ public AiAgentsGroupTagsUpdate withIdentity(ManagedServiceIdentity identity) {
+ this.identity = identity;
+ return this;
+ }
+
+ /**
+ * Validates the instance.
+ *
+ * @throws IllegalArgumentException thrown if the instance is not valid.
+ */
+ public void validate() {
+ if (identity() != null) {
+ identity().validate();
+ }
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ @Override
+ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException {
+ jsonWriter.writeStartObject();
+ jsonWriter.writeMapField("tags", this.tags, (writer, element) -> writer.writeString(element));
+ jsonWriter.writeJsonField("identity", this.identity);
+ return jsonWriter.writeEndObject();
+ }
+
+ /**
+ * Reads an instance of AiAgentsGroupTagsUpdate from the JsonReader.
+ *
+ * @param jsonReader The JsonReader being read.
+ * @return An instance of AiAgentsGroupTagsUpdate if the JsonReader was pointing to an instance of it, or null if it
+ * was pointing to JSON null.
+ * @throws IOException If an error occurs while reading the AiAgentsGroupTagsUpdate.
+ */
+ public static AiAgentsGroupTagsUpdate fromJson(JsonReader jsonReader) throws IOException {
+ return jsonReader.readObject(reader -> {
+ AiAgentsGroupTagsUpdate deserializedAiAgentsGroupTagsUpdate = new AiAgentsGroupTagsUpdate();
+ while (reader.nextToken() != JsonToken.END_OBJECT) {
+ String fieldName = reader.getFieldName();
+ reader.nextToken();
+
+ if ("tags".equals(fieldName)) {
+ Map tags = reader.readMap(reader1 -> reader1.getString());
+ deserializedAiAgentsGroupTagsUpdate.tags = tags;
+ } else if ("identity".equals(fieldName)) {
+ deserializedAiAgentsGroupTagsUpdate.identity = ManagedServiceIdentity.fromJson(reader);
+ } else {
+ reader.skipChildren();
+ }
+ }
+
+ return deserializedAiAgentsGroupTagsUpdate;
+ });
+ }
+}
diff --git a/sdk/containerinstance/azure-resourcemanager-containerinstance/src/main/java/com/azure/resourcemanager/containerinstance/models/AzureFileVolume.java b/sdk/containerinstance/azure-resourcemanager-containerinstance/src/main/java/com/azure/resourcemanager/containerinstance/models/AzureFileVolume.java
index a49561f4ba40..f833cc3fc85e 100644
--- a/sdk/containerinstance/azure-resourcemanager-containerinstance/src/main/java/com/azure/resourcemanager/containerinstance/models/AzureFileVolume.java
+++ b/sdk/containerinstance/azure-resourcemanager-containerinstance/src/main/java/com/azure/resourcemanager/containerinstance/models/AzureFileVolume.java
@@ -42,6 +42,11 @@ public final class AzureFileVolume implements JsonSerializable
*/
private String storageAccountKeyReference;
+ /*
+ * The client id of the user-assigned managed identity that has access to the Azure File share.
+ */
+ private String userAssignedIdentityClientId;
+
/**
* Creates an instance of AzureFileVolume class.
*/
@@ -150,6 +155,28 @@ public AzureFileVolume withStorageAccountKeyReference(String storageAccountKeyRe
return this;
}
+ /**
+ * Get the userAssignedIdentityClientId property: The client id of the user-assigned managed identity that has
+ * access to the Azure File share.
+ *
+ * @return the userAssignedIdentityClientId value.
+ */
+ public String userAssignedIdentityClientId() {
+ return this.userAssignedIdentityClientId;
+ }
+
+ /**
+ * Set the userAssignedIdentityClientId property: The client id of the user-assigned managed identity that has
+ * access to the Azure File share.
+ *
+ * @param userAssignedIdentityClientId the userAssignedIdentityClientId value to set.
+ * @return the AzureFileVolume object itself.
+ */
+ public AzureFileVolume withUserAssignedIdentityClientId(String userAssignedIdentityClientId) {
+ this.userAssignedIdentityClientId = userAssignedIdentityClientId;
+ return this;
+ }
+
/**
* Validates the instance.
*
@@ -180,6 +207,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException {
jsonWriter.writeBooleanField("readOnly", this.readOnly);
jsonWriter.writeStringField("storageAccountKey", this.storageAccountKey);
jsonWriter.writeStringField("storageAccountKeyReference", this.storageAccountKeyReference);
+ jsonWriter.writeStringField("userAssignedIdentityClientId", this.userAssignedIdentityClientId);
return jsonWriter.writeEndObject();
}
@@ -209,6 +237,8 @@ public static AzureFileVolume fromJson(JsonReader jsonReader) throws IOException
deserializedAzureFileVolume.storageAccountKey = reader.getString();
} else if ("storageAccountKeyReference".equals(fieldName)) {
deserializedAzureFileVolume.storageAccountKeyReference = reader.getString();
+ } else if ("userAssignedIdentityClientId".equals(fieldName)) {
+ deserializedAzureFileVolume.userAssignedIdentityClientId = reader.getString();
} else {
reader.skipChildren();
}
diff --git a/sdk/containerinstance/azure-resourcemanager-containerinstance/src/main/java/com/azure/resourcemanager/containerinstance/models/ManagedServiceIdentity.java b/sdk/containerinstance/azure-resourcemanager-containerinstance/src/main/java/com/azure/resourcemanager/containerinstance/models/ManagedServiceIdentity.java
new file mode 100644
index 000000000000..605b27ada641
--- /dev/null
+++ b/sdk/containerinstance/azure-resourcemanager-containerinstance/src/main/java/com/azure/resourcemanager/containerinstance/models/ManagedServiceIdentity.java
@@ -0,0 +1,176 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.containerinstance.models;
+
+import com.azure.core.annotation.Fluent;
+import com.azure.core.util.logging.ClientLogger;
+import com.azure.json.JsonReader;
+import com.azure.json.JsonSerializable;
+import com.azure.json.JsonToken;
+import com.azure.json.JsonWriter;
+import java.io.IOException;
+import java.util.Map;
+
+/**
+ * Managed service identity (system assigned and/or user assigned identities).
+ */
+@Fluent
+public final class ManagedServiceIdentity implements JsonSerializable {
+ /*
+ * The service principal ID of the system assigned identity. This property will only be provided for a system
+ * assigned identity.
+ */
+ private String principalId;
+
+ /*
+ * The tenant ID of the system assigned identity. This property will only be provided for a system assigned
+ * identity.
+ */
+ private String tenantId;
+
+ /*
+ * The type of managed identity assigned to this resource.
+ */
+ private ManagedServiceIdentityType type;
+
+ /*
+ * The identities assigned to this resource by the user.
+ */
+ private Map userAssignedIdentities;
+
+ /**
+ * Creates an instance of ManagedServiceIdentity class.
+ */
+ public ManagedServiceIdentity() {
+ }
+
+ /**
+ * Get the principalId property: The service principal ID of the system assigned identity. This property will only
+ * be provided for a system assigned identity.
+ *
+ * @return the principalId value.
+ */
+ public String principalId() {
+ return this.principalId;
+ }
+
+ /**
+ * Get the tenantId property: The tenant ID of the system assigned identity. This property will only be provided for
+ * a system assigned identity.
+ *
+ * @return the tenantId value.
+ */
+ public String tenantId() {
+ return this.tenantId;
+ }
+
+ /**
+ * Get the type property: The type of managed identity assigned to this resource.
+ *
+ * @return the type value.
+ */
+ public ManagedServiceIdentityType type() {
+ return this.type;
+ }
+
+ /**
+ * Set the type property: The type of managed identity assigned to this resource.
+ *
+ * @param type the type value to set.
+ * @return the ManagedServiceIdentity object itself.
+ */
+ public ManagedServiceIdentity withType(ManagedServiceIdentityType type) {
+ this.type = type;
+ return this;
+ }
+
+ /**
+ * Get the userAssignedIdentities property: The identities assigned to this resource by the user.
+ *
+ * @return the userAssignedIdentities value.
+ */
+ public Map userAssignedIdentities() {
+ return this.userAssignedIdentities;
+ }
+
+ /**
+ * Set the userAssignedIdentities property: The identities assigned to this resource by the user.
+ *
+ * @param userAssignedIdentities the userAssignedIdentities value to set.
+ * @return the ManagedServiceIdentity object itself.
+ */
+ public ManagedServiceIdentity withUserAssignedIdentities(Map userAssignedIdentities) {
+ this.userAssignedIdentities = userAssignedIdentities;
+ return this;
+ }
+
+ /**
+ * Validates the instance.
+ *
+ * @throws IllegalArgumentException thrown if the instance is not valid.
+ */
+ public void validate() {
+ if (type() == null) {
+ throw LOGGER.atError()
+ .log(new IllegalArgumentException("Missing required property type in model ManagedServiceIdentity"));
+ }
+ if (userAssignedIdentities() != null) {
+ userAssignedIdentities().values().forEach(e -> {
+ if (e != null) {
+ e.validate();
+ }
+ });
+ }
+ }
+
+ private static final ClientLogger LOGGER = new ClientLogger(ManagedServiceIdentity.class);
+
+ /**
+ * {@inheritDoc}
+ */
+ @Override
+ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException {
+ jsonWriter.writeStartObject();
+ jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString());
+ jsonWriter.writeMapField("userAssignedIdentities", this.userAssignedIdentities,
+ (writer, element) -> writer.writeJson(element));
+ return jsonWriter.writeEndObject();
+ }
+
+ /**
+ * Reads an instance of ManagedServiceIdentity from the JsonReader.
+ *
+ * @param jsonReader The JsonReader being read.
+ * @return An instance of ManagedServiceIdentity if the JsonReader was pointing to an instance of it, or null if it
+ * was pointing to JSON null.
+ * @throws IllegalStateException If the deserialized JSON object was missing any required properties.
+ * @throws IOException If an error occurs while reading the ManagedServiceIdentity.
+ */
+ public static ManagedServiceIdentity fromJson(JsonReader jsonReader) throws IOException {
+ return jsonReader.readObject(reader -> {
+ ManagedServiceIdentity deserializedManagedServiceIdentity = new ManagedServiceIdentity();
+ while (reader.nextToken() != JsonToken.END_OBJECT) {
+ String fieldName = reader.getFieldName();
+ reader.nextToken();
+
+ if ("type".equals(fieldName)) {
+ deserializedManagedServiceIdentity.type = ManagedServiceIdentityType.fromString(reader.getString());
+ } else if ("principalId".equals(fieldName)) {
+ deserializedManagedServiceIdentity.principalId = reader.getString();
+ } else if ("tenantId".equals(fieldName)) {
+ deserializedManagedServiceIdentity.tenantId = reader.getString();
+ } else if ("userAssignedIdentities".equals(fieldName)) {
+ Map userAssignedIdentities
+ = reader.readMap(reader1 -> UserAssignedIdentity.fromJson(reader1));
+ deserializedManagedServiceIdentity.userAssignedIdentities = userAssignedIdentities;
+ } else {
+ reader.skipChildren();
+ }
+ }
+
+ return deserializedManagedServiceIdentity;
+ });
+ }
+}
diff --git a/sdk/containerinstance/azure-resourcemanager-containerinstance/src/main/java/com/azure/resourcemanager/containerinstance/models/ManagedServiceIdentityType.java b/sdk/containerinstance/azure-resourcemanager-containerinstance/src/main/java/com/azure/resourcemanager/containerinstance/models/ManagedServiceIdentityType.java
new file mode 100644
index 000000000000..9f763185eb8c
--- /dev/null
+++ b/sdk/containerinstance/azure-resourcemanager-containerinstance/src/main/java/com/azure/resourcemanager/containerinstance/models/ManagedServiceIdentityType.java
@@ -0,0 +1,62 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.containerinstance.models;
+
+import com.azure.core.util.ExpandableStringEnum;
+import java.util.Collection;
+
+/**
+ * Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
+ */
+public final class ManagedServiceIdentityType extends ExpandableStringEnum {
+ /**
+ * No managed identity.
+ */
+ public static final ManagedServiceIdentityType NONE = fromString("None");
+
+ /**
+ * System assigned managed identity.
+ */
+ public static final ManagedServiceIdentityType SYSTEM_ASSIGNED = fromString("SystemAssigned");
+
+ /**
+ * User assigned managed identity.
+ */
+ public static final ManagedServiceIdentityType USER_ASSIGNED = fromString("UserAssigned");
+
+ /**
+ * System and user assigned managed identity.
+ */
+ public static final ManagedServiceIdentityType SYSTEM_ASSIGNED_USER_ASSIGNED
+ = fromString("SystemAssigned,UserAssigned");
+
+ /**
+ * Creates a new instance of ManagedServiceIdentityType value.
+ *
+ * @deprecated Use the {@link #fromString(String)} factory method.
+ */
+ @Deprecated
+ public ManagedServiceIdentityType() {
+ }
+
+ /**
+ * Creates or finds a ManagedServiceIdentityType from its string representation.
+ *
+ * @param name a name to look for.
+ * @return the corresponding ManagedServiceIdentityType.
+ */
+ public static ManagedServiceIdentityType fromString(String name) {
+ return fromString(name, ManagedServiceIdentityType.class);
+ }
+
+ /**
+ * Gets known ManagedServiceIdentityType values.
+ *
+ * @return known ManagedServiceIdentityType values.
+ */
+ public static Collection values() {
+ return values(ManagedServiceIdentityType.class);
+ }
+}
diff --git a/sdk/containerinstance/azure-resourcemanager-containerinstance/src/main/java/com/azure/resourcemanager/containerinstance/models/SubnetReference.java b/sdk/containerinstance/azure-resourcemanager-containerinstance/src/main/java/com/azure/resourcemanager/containerinstance/models/SubnetReference.java
new file mode 100644
index 000000000000..887e11b934c3
--- /dev/null
+++ b/sdk/containerinstance/azure-resourcemanager-containerinstance/src/main/java/com/azure/resourcemanager/containerinstance/models/SubnetReference.java
@@ -0,0 +1,106 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.containerinstance.models;
+
+import com.azure.core.annotation.Fluent;
+import com.azure.core.util.logging.ClientLogger;
+import com.azure.json.JsonReader;
+import com.azure.json.JsonSerializable;
+import com.azure.json.JsonToken;
+import com.azure.json.JsonWriter;
+import java.io.IOException;
+
+/**
+ * A reference to a subnet resource.
+ */
+@Fluent
+public final class SubnetReference implements JsonSerializable {
+ /*
+ * The ARM resource ID of the subnet. The caller must have `Microsoft.Network/virtualNetworks/subnets/join/action`
+ * permission on this subnet (enforced via a linked access check at create/update time).
+ */
+ private String id;
+
+ /**
+ * Creates an instance of SubnetReference class.
+ */
+ public SubnetReference() {
+ }
+
+ /**
+ * Get the id property: The ARM resource ID of the subnet. The caller must have
+ * `Microsoft.Network/virtualNetworks/subnets/join/action` permission on this subnet (enforced via a linked access
+ * check at create/update time).
+ *
+ * @return the id value.
+ */
+ public String id() {
+ return this.id;
+ }
+
+ /**
+ * Set the id property: The ARM resource ID of the subnet. The caller must have
+ * `Microsoft.Network/virtualNetworks/subnets/join/action` permission on this subnet (enforced via a linked access
+ * check at create/update time).
+ *
+ * @param id the id value to set.
+ * @return the SubnetReference object itself.
+ */
+ public SubnetReference withId(String id) {
+ this.id = id;
+ return this;
+ }
+
+ /**
+ * Validates the instance.
+ *
+ * @throws IllegalArgumentException thrown if the instance is not valid.
+ */
+ public void validate() {
+ if (id() == null) {
+ throw LOGGER.atError()
+ .log(new IllegalArgumentException("Missing required property id in model SubnetReference"));
+ }
+ }
+
+ private static final ClientLogger LOGGER = new ClientLogger(SubnetReference.class);
+
+ /**
+ * {@inheritDoc}
+ */
+ @Override
+ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException {
+ jsonWriter.writeStartObject();
+ jsonWriter.writeStringField("id", this.id);
+ return jsonWriter.writeEndObject();
+ }
+
+ /**
+ * Reads an instance of SubnetReference from the JsonReader.
+ *
+ * @param jsonReader The JsonReader being read.
+ * @return An instance of SubnetReference if the JsonReader was pointing to an instance of it, or null if it was
+ * pointing to JSON null.
+ * @throws IllegalStateException If the deserialized JSON object was missing any required properties.
+ * @throws IOException If an error occurs while reading the SubnetReference.
+ */
+ public static SubnetReference fromJson(JsonReader jsonReader) throws IOException {
+ return jsonReader.readObject(reader -> {
+ SubnetReference deserializedSubnetReference = new SubnetReference();
+ while (reader.nextToken() != JsonToken.END_OBJECT) {
+ String fieldName = reader.getFieldName();
+ reader.nextToken();
+
+ if ("id".equals(fieldName)) {
+ deserializedSubnetReference.id = reader.getString();
+ } else {
+ reader.skipChildren();
+ }
+ }
+
+ return deserializedSubnetReference;
+ });
+ }
+}
diff --git a/sdk/containerinstance/azure-resourcemanager-containerinstance/src/main/java/com/azure/resourcemanager/containerinstance/models/UserAssignedIdentity.java b/sdk/containerinstance/azure-resourcemanager-containerinstance/src/main/java/com/azure/resourcemanager/containerinstance/models/UserAssignedIdentity.java
new file mode 100644
index 000000000000..bf88bb8a0484
--- /dev/null
+++ b/sdk/containerinstance/azure-resourcemanager-containerinstance/src/main/java/com/azure/resourcemanager/containerinstance/models/UserAssignedIdentity.java
@@ -0,0 +1,97 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.containerinstance.models;
+
+import com.azure.core.annotation.Immutable;
+import com.azure.json.JsonReader;
+import com.azure.json.JsonSerializable;
+import com.azure.json.JsonToken;
+import com.azure.json.JsonWriter;
+import java.io.IOException;
+
+/**
+ * User assigned identity properties.
+ */
+@Immutable
+public final class UserAssignedIdentity implements JsonSerializable {
+ /*
+ * The principal ID of the assigned identity.
+ */
+ private String principalId;
+
+ /*
+ * The client ID of the assigned identity.
+ */
+ private String clientId;
+
+ /**
+ * Creates an instance of UserAssignedIdentity class.
+ */
+ public UserAssignedIdentity() {
+ }
+
+ /**
+ * Get the principalId property: The principal ID of the assigned identity.
+ *
+ * @return the principalId value.
+ */
+ public String principalId() {
+ return this.principalId;
+ }
+
+ /**
+ * Get the clientId property: The client ID of the assigned identity.
+ *
+ * @return the clientId value.
+ */
+ public String clientId() {
+ return this.clientId;
+ }
+
+ /**
+ * Validates the instance.
+ *
+ * @throws IllegalArgumentException thrown if the instance is not valid.
+ */
+ public void validate() {
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ @Override
+ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException {
+ jsonWriter.writeStartObject();
+ return jsonWriter.writeEndObject();
+ }
+
+ /**
+ * Reads an instance of UserAssignedIdentity from the JsonReader.
+ *
+ * @param jsonReader The JsonReader being read.
+ * @return An instance of UserAssignedIdentity if the JsonReader was pointing to an instance of it, or null if it
+ * was pointing to JSON null.
+ * @throws IOException If an error occurs while reading the UserAssignedIdentity.
+ */
+ public static UserAssignedIdentity fromJson(JsonReader jsonReader) throws IOException {
+ return jsonReader.readObject(reader -> {
+ UserAssignedIdentity deserializedUserAssignedIdentity = new UserAssignedIdentity();
+ while (reader.nextToken() != JsonToken.END_OBJECT) {
+ String fieldName = reader.getFieldName();
+ reader.nextToken();
+
+ if ("principalId".equals(fieldName)) {
+ deserializedUserAssignedIdentity.principalId = reader.getString();
+ } else if ("clientId".equals(fieldName)) {
+ deserializedUserAssignedIdentity.clientId = reader.getString();
+ } else {
+ reader.skipChildren();
+ }
+ }
+
+ return deserializedUserAssignedIdentity;
+ });
+ }
+}
diff --git a/sdk/containerinstance/azure-resourcemanager-containerinstance/src/main/resources/META-INF/azure-resourcemanager-containerinstance_metadata.json b/sdk/containerinstance/azure-resourcemanager-containerinstance/src/main/resources/META-INF/azure-resourcemanager-containerinstance_metadata.json
index 345d81226685..b2c6fd58875c 100644
--- a/sdk/containerinstance/azure-resourcemanager-containerinstance/src/main/resources/META-INF/azure-resourcemanager-containerinstance_metadata.json
+++ b/sdk/containerinstance/azure-resourcemanager-containerinstance/src/main/resources/META-INF/azure-resourcemanager-containerinstance_metadata.json
@@ -1 +1 @@
-{"flavor":"azure","apiVersions":{"Microsoft.ContainerInstance":"2025-09-01"},"generatedFiles":["src/main/java/com/azure/resourcemanager/containerinstance/fluent/CGProfilesClient.java","src/main/java/com/azure/resourcemanager/containerinstance/fluent/CGProfilesOperationsClient.java","src/main/java/com/azure/resourcemanager/containerinstance/fluent/ContainerGroupsClient.java","src/main/java/com/azure/resourcemanager/containerinstance/fluent/ContainerInstanceManagementClient.java","src/main/java/com/azure/resourcemanager/containerinstance/fluent/ContainersClient.java","src/main/java/com/azure/resourcemanager/containerinstance/fluent/LocationsClient.java","src/main/java/com/azure/resourcemanager/containerinstance/fluent/NGroupsClient.java","src/main/java/com/azure/resourcemanager/containerinstance/fluent/OperationsClient.java","src/main/java/com/azure/resourcemanager/containerinstance/fluent/SubnetServiceAssociationLinksClient.java","src/main/java/com/azure/resourcemanager/containerinstance/fluent/models/ContainerAttachResponseInner.java","src/main/java/com/azure/resourcemanager/containerinstance/fluent/models/ContainerExecResponseInner.java","src/main/java/com/azure/resourcemanager/containerinstance/fluent/models/ContainerGroupInner.java","src/main/java/com/azure/resourcemanager/containerinstance/fluent/models/ContainerGroupProfileInner.java","src/main/java/com/azure/resourcemanager/containerinstance/fluent/models/ContainerGroupProfileProperties.java","src/main/java/com/azure/resourcemanager/containerinstance/fluent/models/ContainerGroupProperties.java","src/main/java/com/azure/resourcemanager/containerinstance/fluent/models/ContainerProperties.java","src/main/java/com/azure/resourcemanager/containerinstance/fluent/models/DeploymentExtensionSpecProperties.java","src/main/java/com/azure/resourcemanager/containerinstance/fluent/models/InitContainerPropertiesDefinition.java","src/main/java/com/azure/resourcemanager/containerinstance/fluent/models/LogsInner.java","src/main/java/com/azure/resourcemanager/containerinstance/fluent/models/NGroupInner.java","src/main/java/com/azure/resourcemanager/containerinstance/fluent/models/NGroupProperties.java","src/main/java/com/azure/resourcemanager/containerinstance/fluent/models/UsageInner.java","src/main/java/com/azure/resourcemanager/containerinstance/fluent/models/package-info.java","src/main/java/com/azure/resourcemanager/containerinstance/fluent/package-info.java","src/main/java/com/azure/resourcemanager/containerinstance/implementation/CGProfilesClientImpl.java","src/main/java/com/azure/resourcemanager/containerinstance/implementation/CGProfilesOperationsClientImpl.java","src/main/java/com/azure/resourcemanager/containerinstance/implementation/ContainerGroupsClientImpl.java","src/main/java/com/azure/resourcemanager/containerinstance/implementation/ContainerInstanceManagementClientBuilder.java","src/main/java/com/azure/resourcemanager/containerinstance/implementation/ContainerInstanceManagementClientImpl.java","src/main/java/com/azure/resourcemanager/containerinstance/implementation/ContainersClientImpl.java","src/main/java/com/azure/resourcemanager/containerinstance/implementation/LocationsClientImpl.java","src/main/java/com/azure/resourcemanager/containerinstance/implementation/NGroupsClientImpl.java","src/main/java/com/azure/resourcemanager/containerinstance/implementation/OperationsClientImpl.java","src/main/java/com/azure/resourcemanager/containerinstance/implementation/SubnetServiceAssociationLinksClientImpl.java","src/main/java/com/azure/resourcemanager/containerinstance/implementation/models/CachedImagesListResult.java","src/main/java/com/azure/resourcemanager/containerinstance/implementation/models/CapabilitiesListResult.java","src/main/java/com/azure/resourcemanager/containerinstance/implementation/models/ContainerGroupListResult.java","src/main/java/com/azure/resourcemanager/containerinstance/implementation/models/ContainerGroupProfileListResult.java","src/main/java/com/azure/resourcemanager/containerinstance/implementation/models/NGroupsListResult.java","src/main/java/com/azure/resourcemanager/containerinstance/implementation/models/OperationListResult.java","src/main/java/com/azure/resourcemanager/containerinstance/implementation/models/UsageListResult.java","src/main/java/com/azure/resourcemanager/containerinstance/models/ApiEntityReference.java","src/main/java/com/azure/resourcemanager/containerinstance/models/ApplicationGateway.java","src/main/java/com/azure/resourcemanager/containerinstance/models/ApplicationGatewayBackendAddressPool.java","src/main/java/com/azure/resourcemanager/containerinstance/models/AzureFileShareAccessTier.java","src/main/java/com/azure/resourcemanager/containerinstance/models/AzureFileShareAccessType.java","src/main/java/com/azure/resourcemanager/containerinstance/models/AzureFileVolume.java","src/main/java/com/azure/resourcemanager/containerinstance/models/CGProfilesCreateOrUpdateHeaders.java","src/main/java/com/azure/resourcemanager/containerinstance/models/CGProfilesCreateOrUpdateResponse.java","src/main/java/com/azure/resourcemanager/containerinstance/models/CGProfilesUpdateHeaders.java","src/main/java/com/azure/resourcemanager/containerinstance/models/CGProfilesUpdateResponse.java","src/main/java/com/azure/resourcemanager/containerinstance/models/CachedImages.java","src/main/java/com/azure/resourcemanager/containerinstance/models/Capabilities.java","src/main/java/com/azure/resourcemanager/containerinstance/models/CapabilitiesCapabilities.java","src/main/java/com/azure/resourcemanager/containerinstance/models/ConfidentialComputeProperties.java","src/main/java/com/azure/resourcemanager/containerinstance/models/ConfigMap.java","src/main/java/com/azure/resourcemanager/containerinstance/models/Container.java","src/main/java/com/azure/resourcemanager/containerinstance/models/ContainerExec.java","src/main/java/com/azure/resourcemanager/containerinstance/models/ContainerExecRequest.java","src/main/java/com/azure/resourcemanager/containerinstance/models/ContainerExecRequestTerminalSize.java","src/main/java/com/azure/resourcemanager/containerinstance/models/ContainerGroupDiagnostics.java","src/main/java/com/azure/resourcemanager/containerinstance/models/ContainerGroupIdentity.java","src/main/java/com/azure/resourcemanager/containerinstance/models/ContainerGroupIdentityUserAssignedIdentities.java","src/main/java/com/azure/resourcemanager/containerinstance/models/ContainerGroupIpAddressType.java","src/main/java/com/azure/resourcemanager/containerinstance/models/ContainerGroupNetworkProtocol.java","src/main/java/com/azure/resourcemanager/containerinstance/models/ContainerGroupPriority.java","src/main/java/com/azure/resourcemanager/containerinstance/models/ContainerGroupProfilePatch.java","src/main/java/com/azure/resourcemanager/containerinstance/models/ContainerGroupProfileReferenceDefinition.java","src/main/java/com/azure/resourcemanager/containerinstance/models/ContainerGroupProfileStub.java","src/main/java/com/azure/resourcemanager/containerinstance/models/ContainerGroupPropertiesInstanceView.java","src/main/java/com/azure/resourcemanager/containerinstance/models/ContainerGroupRestartPolicy.java","src/main/java/com/azure/resourcemanager/containerinstance/models/ContainerGroupSku.java","src/main/java/com/azure/resourcemanager/containerinstance/models/ContainerGroupSubnetId.java","src/main/java/com/azure/resourcemanager/containerinstance/models/ContainerHttpGet.java","src/main/java/com/azure/resourcemanager/containerinstance/models/ContainerInstanceOperationsOrigin.java","src/main/java/com/azure/resourcemanager/containerinstance/models/ContainerNetworkProtocol.java","src/main/java/com/azure/resourcemanager/containerinstance/models/ContainerPort.java","src/main/java/com/azure/resourcemanager/containerinstance/models/ContainerProbe.java","src/main/java/com/azure/resourcemanager/containerinstance/models/ContainerPropertiesInstanceView.java","src/main/java/com/azure/resourcemanager/containerinstance/models/ContainerState.java","src/main/java/com/azure/resourcemanager/containerinstance/models/DeploymentExtensionSpec.java","src/main/java/com/azure/resourcemanager/containerinstance/models/DnsConfiguration.java","src/main/java/com/azure/resourcemanager/containerinstance/models/DnsNameLabelReusePolicy.java","src/main/java/com/azure/resourcemanager/containerinstance/models/ElasticProfile.java","src/main/java/com/azure/resourcemanager/containerinstance/models/ElasticProfileContainerGroupNamingPolicy.java","src/main/java/com/azure/resourcemanager/containerinstance/models/ElasticProfileContainerGroupNamingPolicyGuidNamingPolicy.java","src/main/java/com/azure/resourcemanager/containerinstance/models/EncryptionProperties.java","src/main/java/com/azure/resourcemanager/containerinstance/models/EnvironmentVariable.java","src/main/java/com/azure/resourcemanager/containerinstance/models/Event.java","src/main/java/com/azure/resourcemanager/containerinstance/models/FileShare.java","src/main/java/com/azure/resourcemanager/containerinstance/models/FileShareProperties.java","src/main/java/com/azure/resourcemanager/containerinstance/models/GitRepoVolume.java","src/main/java/com/azure/resourcemanager/containerinstance/models/GpuResource.java","src/main/java/com/azure/resourcemanager/containerinstance/models/GpuSku.java","src/main/java/com/azure/resourcemanager/containerinstance/models/HttpHeader.java","src/main/java/com/azure/resourcemanager/containerinstance/models/IdentityAccessControl.java","src/main/java/com/azure/resourcemanager/containerinstance/models/IdentityAccessLevel.java","src/main/java/com/azure/resourcemanager/containerinstance/models/IdentityAcls.java","src/main/java/com/azure/resourcemanager/containerinstance/models/ImageRegistryCredential.java","src/main/java/com/azure/resourcemanager/containerinstance/models/InitContainerDefinition.java","src/main/java/com/azure/resourcemanager/containerinstance/models/InitContainerPropertiesDefinitionInstanceView.java","src/main/java/com/azure/resourcemanager/containerinstance/models/IpAddress.java","src/main/java/com/azure/resourcemanager/containerinstance/models/LoadBalancer.java","src/main/java/com/azure/resourcemanager/containerinstance/models/LoadBalancerBackendAddressPool.java","src/main/java/com/azure/resourcemanager/containerinstance/models/LogAnalytics.java","src/main/java/com/azure/resourcemanager/containerinstance/models/LogAnalyticsLogType.java","src/main/java/com/azure/resourcemanager/containerinstance/models/NGroupCGPropertyContainer.java","src/main/java/com/azure/resourcemanager/containerinstance/models/NGroupCGPropertyContainerProperties.java","src/main/java/com/azure/resourcemanager/containerinstance/models/NGroupCGPropertyVolume.java","src/main/java/com/azure/resourcemanager/containerinstance/models/NGroupContainerGroupProperties.java","src/main/java/com/azure/resourcemanager/containerinstance/models/NGroupIdentity.java","src/main/java/com/azure/resourcemanager/containerinstance/models/NGroupPatch.java","src/main/java/com/azure/resourcemanager/containerinstance/models/NGroupProvisioningState.java","src/main/java/com/azure/resourcemanager/containerinstance/models/NGroupUpdateMode.java","src/main/java/com/azure/resourcemanager/containerinstance/models/NetworkProfile.java","src/main/java/com/azure/resourcemanager/containerinstance/models/OperatingSystemTypes.java","src/main/java/com/azure/resourcemanager/containerinstance/models/Operation.java","src/main/java/com/azure/resourcemanager/containerinstance/models/OperationDisplay.java","src/main/java/com/azure/resourcemanager/containerinstance/models/PlacementProfile.java","src/main/java/com/azure/resourcemanager/containerinstance/models/Port.java","src/main/java/com/azure/resourcemanager/containerinstance/models/ResourceIdentityType.java","src/main/java/com/azure/resourcemanager/containerinstance/models/ResourceLimits.java","src/main/java/com/azure/resourcemanager/containerinstance/models/ResourceRequests.java","src/main/java/com/azure/resourcemanager/containerinstance/models/ResourceRequirements.java","src/main/java/com/azure/resourcemanager/containerinstance/models/Scheme.java","src/main/java/com/azure/resourcemanager/containerinstance/models/SecretReference.java","src/main/java/com/azure/resourcemanager/containerinstance/models/SecurityContextCapabilitiesDefinition.java","src/main/java/com/azure/resourcemanager/containerinstance/models/SecurityContextDefinition.java","src/main/java/com/azure/resourcemanager/containerinstance/models/StandbyPoolProfileDefinition.java","src/main/java/com/azure/resourcemanager/containerinstance/models/StorageProfile.java","src/main/java/com/azure/resourcemanager/containerinstance/models/UpdateProfile.java","src/main/java/com/azure/resourcemanager/containerinstance/models/UpdateProfileRollingUpdateProfile.java","src/main/java/com/azure/resourcemanager/containerinstance/models/UsageName.java","src/main/java/com/azure/resourcemanager/containerinstance/models/Volume.java","src/main/java/com/azure/resourcemanager/containerinstance/models/VolumeMount.java","src/main/java/com/azure/resourcemanager/containerinstance/models/package-info.java","src/main/java/com/azure/resourcemanager/containerinstance/package-info.java"]}
\ No newline at end of file
+{"flavor":"azure","apiVersions":{"Microsoft.ContainerInstance":"2026-08-01-preview"},"crossLanguagePackageId":"Microsoft.ContainerInstance","crossLanguageVersion":"07d5bdb3c6aa","generatedFiles":["src/main/java/com/azure/resourcemanager/containerinstance/fluent/AiAgentsGroupsClient.java","src/main/java/com/azure/resourcemanager/containerinstance/fluent/CGProfilesClient.java","src/main/java/com/azure/resourcemanager/containerinstance/fluent/CGProfilesOperationsClient.java","src/main/java/com/azure/resourcemanager/containerinstance/fluent/ContainerGroupsClient.java","src/main/java/com/azure/resourcemanager/containerinstance/fluent/ContainerInstanceManagementClient.java","src/main/java/com/azure/resourcemanager/containerinstance/fluent/ContainersClient.java","src/main/java/com/azure/resourcemanager/containerinstance/fluent/LocationsClient.java","src/main/java/com/azure/resourcemanager/containerinstance/fluent/NGroupsClient.java","src/main/java/com/azure/resourcemanager/containerinstance/fluent/OperationsClient.java","src/main/java/com/azure/resourcemanager/containerinstance/fluent/SubnetServiceAssociationLinksClient.java","src/main/java/com/azure/resourcemanager/containerinstance/fluent/models/AiAgentsGroupAccessTokenInner.java","src/main/java/com/azure/resourcemanager/containerinstance/fluent/models/AiAgentsGroupInner.java","src/main/java/com/azure/resourcemanager/containerinstance/fluent/models/ContainerAttachResponseInner.java","src/main/java/com/azure/resourcemanager/containerinstance/fluent/models/ContainerExecResponseInner.java","src/main/java/com/azure/resourcemanager/containerinstance/fluent/models/ContainerGroupInner.java","src/main/java/com/azure/resourcemanager/containerinstance/fluent/models/ContainerGroupProfileInner.java","src/main/java/com/azure/resourcemanager/containerinstance/fluent/models/ContainerGroupProfileProperties.java","src/main/java/com/azure/resourcemanager/containerinstance/fluent/models/ContainerGroupProperties.java","src/main/java/com/azure/resourcemanager/containerinstance/fluent/models/ContainerProperties.java","src/main/java/com/azure/resourcemanager/containerinstance/fluent/models/DeploymentExtensionSpecProperties.java","src/main/java/com/azure/resourcemanager/containerinstance/fluent/models/InitContainerPropertiesDefinition.java","src/main/java/com/azure/resourcemanager/containerinstance/fluent/models/LogsInner.java","src/main/java/com/azure/resourcemanager/containerinstance/fluent/models/NGroupInner.java","src/main/java/com/azure/resourcemanager/containerinstance/fluent/models/NGroupProperties.java","src/main/java/com/azure/resourcemanager/containerinstance/fluent/models/UsageInner.java","src/main/java/com/azure/resourcemanager/containerinstance/fluent/models/package-info.java","src/main/java/com/azure/resourcemanager/containerinstance/fluent/package-info.java","src/main/java/com/azure/resourcemanager/containerinstance/implementation/AiAgentsGroupsClientImpl.java","src/main/java/com/azure/resourcemanager/containerinstance/implementation/CGProfilesClientImpl.java","src/main/java/com/azure/resourcemanager/containerinstance/implementation/CGProfilesOperationsClientImpl.java","src/main/java/com/azure/resourcemanager/containerinstance/implementation/ContainerGroupsClientImpl.java","src/main/java/com/azure/resourcemanager/containerinstance/implementation/ContainerInstanceManagementClientBuilder.java","src/main/java/com/azure/resourcemanager/containerinstance/implementation/ContainerInstanceManagementClientImpl.java","src/main/java/com/azure/resourcemanager/containerinstance/implementation/ContainersClientImpl.java","src/main/java/com/azure/resourcemanager/containerinstance/implementation/LocationsClientImpl.java","src/main/java/com/azure/resourcemanager/containerinstance/implementation/NGroupsClientImpl.java","src/main/java/com/azure/resourcemanager/containerinstance/implementation/OperationsClientImpl.java","src/main/java/com/azure/resourcemanager/containerinstance/implementation/SubnetServiceAssociationLinksClientImpl.java","src/main/java/com/azure/resourcemanager/containerinstance/implementation/models/AiAgentsGroupListResult.java","src/main/java/com/azure/resourcemanager/containerinstance/implementation/models/CachedImagesListResult.java","src/main/java/com/azure/resourcemanager/containerinstance/implementation/models/CapabilitiesListResult.java","src/main/java/com/azure/resourcemanager/containerinstance/implementation/models/ContainerGroupListResult.java","src/main/java/com/azure/resourcemanager/containerinstance/implementation/models/ContainerGroupProfileListResult.java","src/main/java/com/azure/resourcemanager/containerinstance/implementation/models/NGroupsListResult.java","src/main/java/com/azure/resourcemanager/containerinstance/implementation/models/OperationListResult.java","src/main/java/com/azure/resourcemanager/containerinstance/implementation/models/UsageListResult.java","src/main/java/com/azure/resourcemanager/containerinstance/models/AiAgentsGroupNetworkProfile.java","src/main/java/com/azure/resourcemanager/containerinstance/models/AiAgentsGroupProperties.java","src/main/java/com/azure/resourcemanager/containerinstance/models/AiAgentsGroupProvisioningState.java","src/main/java/com/azure/resourcemanager/containerinstance/models/AiAgentsGroupTagsUpdate.java","src/main/java/com/azure/resourcemanager/containerinstance/models/ApiEntityReference.java","src/main/java/com/azure/resourcemanager/containerinstance/models/ApplicationGateway.java","src/main/java/com/azure/resourcemanager/containerinstance/models/ApplicationGatewayBackendAddressPool.java","src/main/java/com/azure/resourcemanager/containerinstance/models/AzureFileShareAccessTier.java","src/main/java/com/azure/resourcemanager/containerinstance/models/AzureFileShareAccessType.java","src/main/java/com/azure/resourcemanager/containerinstance/models/AzureFileVolume.java","src/main/java/com/azure/resourcemanager/containerinstance/models/CGProfilesCreateOrUpdateHeaders.java","src/main/java/com/azure/resourcemanager/containerinstance/models/CGProfilesCreateOrUpdateResponse.java","src/main/java/com/azure/resourcemanager/containerinstance/models/CGProfilesUpdateHeaders.java","src/main/java/com/azure/resourcemanager/containerinstance/models/CGProfilesUpdateResponse.java","src/main/java/com/azure/resourcemanager/containerinstance/models/CachedImages.java","src/main/java/com/azure/resourcemanager/containerinstance/models/Capabilities.java","src/main/java/com/azure/resourcemanager/containerinstance/models/CapabilitiesCapabilities.java","src/main/java/com/azure/resourcemanager/containerinstance/models/ConfidentialComputeProperties.java","src/main/java/com/azure/resourcemanager/containerinstance/models/ConfigMap.java","src/main/java/com/azure/resourcemanager/containerinstance/models/Container.java","src/main/java/com/azure/resourcemanager/containerinstance/models/ContainerExec.java","src/main/java/com/azure/resourcemanager/containerinstance/models/ContainerExecRequest.java","src/main/java/com/azure/resourcemanager/containerinstance/models/ContainerExecRequestTerminalSize.java","src/main/java/com/azure/resourcemanager/containerinstance/models/ContainerGroupDiagnostics.java","src/main/java/com/azure/resourcemanager/containerinstance/models/ContainerGroupIdentity.java","src/main/java/com/azure/resourcemanager/containerinstance/models/ContainerGroupIdentityUserAssignedIdentities.java","src/main/java/com/azure/resourcemanager/containerinstance/models/ContainerGroupIpAddressType.java","src/main/java/com/azure/resourcemanager/containerinstance/models/ContainerGroupNetworkProtocol.java","src/main/java/com/azure/resourcemanager/containerinstance/models/ContainerGroupPriority.java","src/main/java/com/azure/resourcemanager/containerinstance/models/ContainerGroupProfilePatch.java","src/main/java/com/azure/resourcemanager/containerinstance/models/ContainerGroupProfileReferenceDefinition.java","src/main/java/com/azure/resourcemanager/containerinstance/models/ContainerGroupProfileStub.java","src/main/java/com/azure/resourcemanager/containerinstance/models/ContainerGroupPropertiesInstanceView.java","src/main/java/com/azure/resourcemanager/containerinstance/models/ContainerGroupRestartPolicy.java","src/main/java/com/azure/resourcemanager/containerinstance/models/ContainerGroupSku.java","src/main/java/com/azure/resourcemanager/containerinstance/models/ContainerGroupSubnetId.java","src/main/java/com/azure/resourcemanager/containerinstance/models/ContainerHttpGet.java","src/main/java/com/azure/resourcemanager/containerinstance/models/ContainerInstanceOperationsOrigin.java","src/main/java/com/azure/resourcemanager/containerinstance/models/ContainerNetworkProtocol.java","src/main/java/com/azure/resourcemanager/containerinstance/models/ContainerPort.java","src/main/java/com/azure/resourcemanager/containerinstance/models/ContainerProbe.java","src/main/java/com/azure/resourcemanager/containerinstance/models/ContainerPropertiesInstanceView.java","src/main/java/com/azure/resourcemanager/containerinstance/models/ContainerState.java","src/main/java/com/azure/resourcemanager/containerinstance/models/DeploymentExtensionSpec.java","src/main/java/com/azure/resourcemanager/containerinstance/models/DnsConfiguration.java","src/main/java/com/azure/resourcemanager/containerinstance/models/DnsNameLabelReusePolicy.java","src/main/java/com/azure/resourcemanager/containerinstance/models/ElasticProfile.java","src/main/java/com/azure/resourcemanager/containerinstance/models/ElasticProfileContainerGroupNamingPolicy.java","src/main/java/com/azure/resourcemanager/containerinstance/models/ElasticProfileContainerGroupNamingPolicyGuidNamingPolicy.java","src/main/java/com/azure/resourcemanager/containerinstance/models/EncryptionProperties.java","src/main/java/com/azure/resourcemanager/containerinstance/models/EnvironmentVariable.java","src/main/java/com/azure/resourcemanager/containerinstance/models/Event.java","src/main/java/com/azure/resourcemanager/containerinstance/models/FileShare.java","src/main/java/com/azure/resourcemanager/containerinstance/models/FileShareProperties.java","src/main/java/com/azure/resourcemanager/containerinstance/models/GitRepoVolume.java","src/main/java/com/azure/resourcemanager/containerinstance/models/GpuResource.java","src/main/java/com/azure/resourcemanager/containerinstance/models/GpuSku.java","src/main/java/com/azure/resourcemanager/containerinstance/models/HttpHeader.java","src/main/java/com/azure/resourcemanager/containerinstance/models/IdentityAccessControl.java","src/main/java/com/azure/resourcemanager/containerinstance/models/IdentityAccessLevel.java","src/main/java/com/azure/resourcemanager/containerinstance/models/IdentityAcls.java","src/main/java/com/azure/resourcemanager/containerinstance/models/ImageRegistryCredential.java","src/main/java/com/azure/resourcemanager/containerinstance/models/InitContainerDefinition.java","src/main/java/com/azure/resourcemanager/containerinstance/models/InitContainerPropertiesDefinitionInstanceView.java","src/main/java/com/azure/resourcemanager/containerinstance/models/IpAddress.java","src/main/java/com/azure/resourcemanager/containerinstance/models/LoadBalancer.java","src/main/java/com/azure/resourcemanager/containerinstance/models/LoadBalancerBackendAddressPool.java","src/main/java/com/azure/resourcemanager/containerinstance/models/LogAnalytics.java","src/main/java/com/azure/resourcemanager/containerinstance/models/LogAnalyticsLogType.java","src/main/java/com/azure/resourcemanager/containerinstance/models/ManagedServiceIdentity.java","src/main/java/com/azure/resourcemanager/containerinstance/models/ManagedServiceIdentityType.java","src/main/java/com/azure/resourcemanager/containerinstance/models/NGroupCGPropertyContainer.java","src/main/java/com/azure/resourcemanager/containerinstance/models/NGroupCGPropertyContainerProperties.java","src/main/java/com/azure/resourcemanager/containerinstance/models/NGroupCGPropertyVolume.java","src/main/java/com/azure/resourcemanager/containerinstance/models/NGroupContainerGroupProperties.java","src/main/java/com/azure/resourcemanager/containerinstance/models/NGroupIdentity.java","src/main/java/com/azure/resourcemanager/containerinstance/models/NGroupPatch.java","src/main/java/com/azure/resourcemanager/containerinstance/models/NGroupProvisioningState.java","src/main/java/com/azure/resourcemanager/containerinstance/models/NGroupUpdateMode.java","src/main/java/com/azure/resourcemanager/containerinstance/models/NetworkProfile.java","src/main/java/com/azure/resourcemanager/containerinstance/models/OperatingSystemTypes.java","src/main/java/com/azure/resourcemanager/containerinstance/models/Operation.java","src/main/java/com/azure/resourcemanager/containerinstance/models/OperationDisplay.java","src/main/java/com/azure/resourcemanager/containerinstance/models/PlacementProfile.java","src/main/java/com/azure/resourcemanager/containerinstance/models/Port.java","src/main/java/com/azure/resourcemanager/containerinstance/models/ResourceIdentityType.java","src/main/java/com/azure/resourcemanager/containerinstance/models/ResourceLimits.java","src/main/java/com/azure/resourcemanager/containerinstance/models/ResourceRequests.java","src/main/java/com/azure/resourcemanager/containerinstance/models/ResourceRequirements.java","src/main/java/com/azure/resourcemanager/containerinstance/models/Scheme.java","src/main/java/com/azure/resourcemanager/containerinstance/models/SecretReference.java","src/main/java/com/azure/resourcemanager/containerinstance/models/SecurityContextCapabilitiesDefinition.java","src/main/java/com/azure/resourcemanager/containerinstance/models/SecurityContextDefinition.java","src/main/java/com/azure/resourcemanager/containerinstance/models/StandbyPoolProfileDefinition.java","src/main/java/com/azure/resourcemanager/containerinstance/models/StorageProfile.java","src/main/java/com/azure/resourcemanager/containerinstance/models/SubnetReference.java","src/main/java/com/azure/resourcemanager/containerinstance/models/UpdateProfile.java","src/main/java/com/azure/resourcemanager/containerinstance/models/UpdateProfileRollingUpdateProfile.java","src/main/java/com/azure/resourcemanager/containerinstance/models/UsageName.java","src/main/java/com/azure/resourcemanager/containerinstance/models/UserAssignedIdentity.java","src/main/java/com/azure/resourcemanager/containerinstance/models/Volume.java","src/main/java/com/azure/resourcemanager/containerinstance/models/VolumeMount.java","src/main/java/com/azure/resourcemanager/containerinstance/models/package-info.java","src/main/java/com/azure/resourcemanager/containerinstance/package-info.java"]}
\ No newline at end of file
diff --git a/sdk/containerinstance/azure-resourcemanager-containerinstance/src/main/resources/META-INF/native-image/com.azure.resourcemanager/azure-resourcemanager-containerinstance/proxy-config.json b/sdk/containerinstance/azure-resourcemanager-containerinstance/src/main/resources/META-INF/native-image/com.azure.resourcemanager/azure-resourcemanager-containerinstance/proxy-config.json
index 026789a5584a..7388ac5ddbd1 100644
--- a/sdk/containerinstance/azure-resourcemanager-containerinstance/src/main/resources/META-INF/native-image/com.azure.resourcemanager/azure-resourcemanager-containerinstance/proxy-config.json
+++ b/sdk/containerinstance/azure-resourcemanager-containerinstance/src/main/resources/META-INF/native-image/com.azure.resourcemanager/azure-resourcemanager-containerinstance/proxy-config.json
@@ -1 +1 @@
-[["com.azure.resourcemanager.containerinstance.implementation.CGProfilesClientImpl$CGProfilesService"],["com.azure.resourcemanager.containerinstance.implementation.CGProfilesOperationsClientImpl$CGProfilesOperationsService"],["com.azure.resourcemanager.containerinstance.implementation.ContainerGroupsClientImpl$ContainerGroupsService"],["com.azure.resourcemanager.containerinstance.implementation.ContainersClientImpl$ContainersService"],["com.azure.resourcemanager.containerinstance.implementation.LocationsClientImpl$LocationsService"],["com.azure.resourcemanager.containerinstance.implementation.NGroupsClientImpl$NGroupsService"],["com.azure.resourcemanager.containerinstance.implementation.OperationsClientImpl$OperationsService"],["com.azure.resourcemanager.containerinstance.implementation.SubnetServiceAssociationLinksClientImpl$SubnetServiceAssociationLinksService"]]
\ No newline at end of file
+[["com.azure.resourcemanager.containerinstance.implementation.AiAgentsGroupsClientImpl$AiAgentsGroupsService"],["com.azure.resourcemanager.containerinstance.implementation.CGProfilesClientImpl$CGProfilesService"],["com.azure.resourcemanager.containerinstance.implementation.CGProfilesOperationsClientImpl$CGProfilesOperationsService"],["com.azure.resourcemanager.containerinstance.implementation.ContainerGroupsClientImpl$ContainerGroupsService"],["com.azure.resourcemanager.containerinstance.implementation.ContainersClientImpl$ContainersService"],["com.azure.resourcemanager.containerinstance.implementation.LocationsClientImpl$LocationsService"],["com.azure.resourcemanager.containerinstance.implementation.NGroupsClientImpl$NGroupsService"],["com.azure.resourcemanager.containerinstance.implementation.OperationsClientImpl$OperationsService"],["com.azure.resourcemanager.containerinstance.implementation.SubnetServiceAssociationLinksClientImpl$SubnetServiceAssociationLinksService"]]
\ No newline at end of file
diff --git a/sdk/containerinstance/azure-resourcemanager-containerinstance/src/samples/java/com/azure/resourcemanager/containerinstance/generated/AiAgentsGroupsConnectSamples.java b/sdk/containerinstance/azure-resourcemanager-containerinstance/src/samples/java/com/azure/resourcemanager/containerinstance/generated/AiAgentsGroupsConnectSamples.java
new file mode 100644
index 000000000000..cc454a30a3a2
--- /dev/null
+++ b/sdk/containerinstance/azure-resourcemanager-containerinstance/src/samples/java/com/azure/resourcemanager/containerinstance/generated/AiAgentsGroupsConnectSamples.java
@@ -0,0 +1,25 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.containerinstance.generated;
+
+/**
+ * Samples for AiAgentsGroups Connect.
+ */
+public final class AiAgentsGroupsConnectSamples {
+ /*
+ * x-ms-original-file: 2026-08-01-preview/AiAgentsGroupsConnect.json
+ */
+ /**
+ * Sample code: Connect to a AiAgentsGroup.
+ *
+ * @param manager Entry point to ContainerInstanceManager.
+ */
+ public static void
+ connectToAAiAgentsGroup(com.azure.resourcemanager.containerinstance.ContainerInstanceManager manager) {
+ manager.serviceClient()
+ .getAiAgentsGroups()
+ .connectWithResponse("myResourceGroup", "myAiAgentsGroup", com.azure.core.util.Context.NONE);
+ }
+}
diff --git a/sdk/containerinstance/azure-resourcemanager-containerinstance/src/samples/java/com/azure/resourcemanager/containerinstance/generated/AiAgentsGroupsCreateOrUpdateSamples.java b/sdk/containerinstance/azure-resourcemanager-containerinstance/src/samples/java/com/azure/resourcemanager/containerinstance/generated/AiAgentsGroupsCreateOrUpdateSamples.java
new file mode 100644
index 000000000000..2fe363ab882e
--- /dev/null
+++ b/sdk/containerinstance/azure-resourcemanager-containerinstance/src/samples/java/com/azure/resourcemanager/containerinstance/generated/AiAgentsGroupsCreateOrUpdateSamples.java
@@ -0,0 +1,50 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.containerinstance.generated;
+
+import com.azure.resourcemanager.containerinstance.fluent.models.AiAgentsGroupInner;
+import com.azure.resourcemanager.containerinstance.models.AiAgentsGroupNetworkProfile;
+import com.azure.resourcemanager.containerinstance.models.AiAgentsGroupProperties;
+import com.azure.resourcemanager.containerinstance.models.SubnetReference;
+import java.util.Arrays;
+import java.util.HashMap;
+import java.util.Map;
+
+/**
+ * Samples for AiAgentsGroups CreateOrUpdate.
+ */
+public final class AiAgentsGroupsCreateOrUpdateSamples {
+ /*
+ * x-ms-original-file: 2026-08-01-preview/AiAgentsGroupsCreateOrUpdate.json
+ */
+ /**
+ * Sample code: Create or update a AiAgentsGroup.
+ *
+ * @param manager Entry point to ContainerInstanceManager.
+ */
+ public static void
+ createOrUpdateAAiAgentsGroup(com.azure.resourcemanager.containerinstance.ContainerInstanceManager manager) {
+ manager.serviceClient()
+ .getAiAgentsGroups()
+ .createOrUpdate("myResourceGroup", "myAiAgentsGroup", new AiAgentsGroupInner().withLocation("eastus")
+ .withTags(mapOf("environment", "test"))
+ .withProperties(new AiAgentsGroupProperties().withNetworkProfile(
+ new AiAgentsGroupNetworkProfile().withSubnets(Arrays.asList(new SubnetReference().withId(
+ "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myVNet/subnets/mySubnet"))))),
+ com.azure.core.util.Context.NONE);
+ }
+
+ // Use "Map.of" if available
+ @SuppressWarnings("unchecked")
+ private static Map mapOf(Object... inputs) {
+ Map map = new HashMap<>();
+ for (int i = 0; i < inputs.length; i += 2) {
+ String key = (String) inputs[i];
+ T value = (T) inputs[i + 1];
+ map.put(key, value);
+ }
+ return map;
+ }
+}
diff --git a/sdk/containerinstance/azure-resourcemanager-containerinstance/src/samples/java/com/azure/resourcemanager/containerinstance/generated/AiAgentsGroupsDeleteSamples.java b/sdk/containerinstance/azure-resourcemanager-containerinstance/src/samples/java/com/azure/resourcemanager/containerinstance/generated/AiAgentsGroupsDeleteSamples.java
new file mode 100644
index 000000000000..dfc98a98449e
--- /dev/null
+++ b/sdk/containerinstance/azure-resourcemanager-containerinstance/src/samples/java/com/azure/resourcemanager/containerinstance/generated/AiAgentsGroupsDeleteSamples.java
@@ -0,0 +1,25 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.containerinstance.generated;
+
+/**
+ * Samples for AiAgentsGroups Delete.
+ */
+public final class AiAgentsGroupsDeleteSamples {
+ /*
+ * x-ms-original-file: 2026-08-01-preview/AiAgentsGroupsDelete.json
+ */
+ /**
+ * Sample code: Delete a AiAgentsGroup.
+ *
+ * @param manager Entry point to ContainerInstanceManager.
+ */
+ public static void
+ deleteAAiAgentsGroup(com.azure.resourcemanager.containerinstance.ContainerInstanceManager manager) {
+ manager.serviceClient()
+ .getAiAgentsGroups()
+ .delete("myResourceGroup", "myAiAgentsGroup", com.azure.core.util.Context.NONE);
+ }
+}
diff --git a/sdk/containerinstance/azure-resourcemanager-containerinstance/src/samples/java/com/azure/resourcemanager/containerinstance/generated/AiAgentsGroupsGetByResourceGroupSamples.java b/sdk/containerinstance/azure-resourcemanager-containerinstance/src/samples/java/com/azure/resourcemanager/containerinstance/generated/AiAgentsGroupsGetByResourceGroupSamples.java
new file mode 100644
index 000000000000..edd42404d4b9
--- /dev/null
+++ b/sdk/containerinstance/azure-resourcemanager-containerinstance/src/samples/java/com/azure/resourcemanager/containerinstance/generated/AiAgentsGroupsGetByResourceGroupSamples.java
@@ -0,0 +1,24 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.containerinstance.generated;
+
+/**
+ * Samples for AiAgentsGroups GetByResourceGroup.
+ */
+public final class AiAgentsGroupsGetByResourceGroupSamples {
+ /*
+ * x-ms-original-file: 2026-08-01-preview/AiAgentsGroupsGet.json
+ */
+ /**
+ * Sample code: Get a AiAgentsGroup.
+ *
+ * @param manager Entry point to ContainerInstanceManager.
+ */
+ public static void getAAiAgentsGroup(com.azure.resourcemanager.containerinstance.ContainerInstanceManager manager) {
+ manager.serviceClient()
+ .getAiAgentsGroups()
+ .getByResourceGroupWithResponse("myResourceGroup", "myAiAgentsGroup", com.azure.core.util.Context.NONE);
+ }
+}
diff --git a/sdk/containerinstance/azure-resourcemanager-containerinstance/src/samples/java/com/azure/resourcemanager/containerinstance/generated/AiAgentsGroupsListByResourceGroupSamples.java b/sdk/containerinstance/azure-resourcemanager-containerinstance/src/samples/java/com/azure/resourcemanager/containerinstance/generated/AiAgentsGroupsListByResourceGroupSamples.java
new file mode 100644
index 000000000000..9f233f078793
--- /dev/null
+++ b/sdk/containerinstance/azure-resourcemanager-containerinstance/src/samples/java/com/azure/resourcemanager/containerinstance/generated/AiAgentsGroupsListByResourceGroupSamples.java
@@ -0,0 +1,25 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.containerinstance.generated;
+
+/**
+ * Samples for AiAgentsGroups ListByResourceGroup.
+ */
+public final class AiAgentsGroupsListByResourceGroupSamples {
+ /*
+ * x-ms-original-file: 2026-08-01-preview/AiAgentsGroupsListByResourceGroup.json
+ */
+ /**
+ * Sample code: List AiAgentsGroups by resource group.
+ *
+ * @param manager Entry point to ContainerInstanceManager.
+ */
+ public static void listAiAgentsGroupsByResourceGroup(
+ com.azure.resourcemanager.containerinstance.ContainerInstanceManager manager) {
+ manager.serviceClient()
+ .getAiAgentsGroups()
+ .listByResourceGroup("myResourceGroup", com.azure.core.util.Context.NONE);
+ }
+}
diff --git a/sdk/containerinstance/azure-resourcemanager-containerinstance/src/samples/java/com/azure/resourcemanager/containerinstance/generated/AiAgentsGroupsListSamples.java b/sdk/containerinstance/azure-resourcemanager-containerinstance/src/samples/java/com/azure/resourcemanager/containerinstance/generated/AiAgentsGroupsListSamples.java
new file mode 100644
index 000000000000..c2ab23909534
--- /dev/null
+++ b/sdk/containerinstance/azure-resourcemanager-containerinstance/src/samples/java/com/azure/resourcemanager/containerinstance/generated/AiAgentsGroupsListSamples.java
@@ -0,0 +1,23 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.containerinstance.generated;
+
+/**
+ * Samples for AiAgentsGroups List.
+ */
+public final class AiAgentsGroupsListSamples {
+ /*
+ * x-ms-original-file: 2026-08-01-preview/AiAgentsGroupsListBySubscription.json
+ */
+ /**
+ * Sample code: List AiAgentsGroups by subscription.
+ *
+ * @param manager Entry point to ContainerInstanceManager.
+ */
+ public static void
+ listAiAgentsGroupsBySubscription(com.azure.resourcemanager.containerinstance.ContainerInstanceManager manager) {
+ manager.serviceClient().getAiAgentsGroups().list(com.azure.core.util.Context.NONE);
+ }
+}
diff --git a/sdk/containerinstance/azure-resourcemanager-containerinstance/src/samples/java/com/azure/resourcemanager/containerinstance/generated/AiAgentsGroupsUpdateSamples.java b/sdk/containerinstance/azure-resourcemanager-containerinstance/src/samples/java/com/azure/resourcemanager/containerinstance/generated/AiAgentsGroupsUpdateSamples.java
new file mode 100644
index 000000000000..87dfc7d9d467
--- /dev/null
+++ b/sdk/containerinstance/azure-resourcemanager-containerinstance/src/samples/java/com/azure/resourcemanager/containerinstance/generated/AiAgentsGroupsUpdateSamples.java
@@ -0,0 +1,43 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.containerinstance.generated;
+
+import com.azure.resourcemanager.containerinstance.models.AiAgentsGroupTagsUpdate;
+import java.util.HashMap;
+import java.util.Map;
+
+/**
+ * Samples for AiAgentsGroups Update.
+ */
+public final class AiAgentsGroupsUpdateSamples {
+ /*
+ * x-ms-original-file: 2026-08-01-preview/AiAgentsGroupsUpdate.json
+ */
+ /**
+ * Sample code: Update a AiAgentsGroup.
+ *
+ * @param manager Entry point to ContainerInstanceManager.
+ */
+ public static void
+ updateAAiAgentsGroup(com.azure.resourcemanager.containerinstance.ContainerInstanceManager manager) {
+ manager.serviceClient()
+ .getAiAgentsGroups()
+ .update("myResourceGroup", "myAiAgentsGroup",
+ new AiAgentsGroupTagsUpdate().withTags(mapOf("environment", "production")),
+ com.azure.core.util.Context.NONE);
+ }
+
+ // Use "Map.of" if available
+ @SuppressWarnings("unchecked")
+ private static Map mapOf(Object... inputs) {
+ Map map = new HashMap<>();
+ for (int i = 0; i < inputs.length; i += 2) {
+ String key = (String) inputs[i];
+ T value = (T) inputs[i + 1];
+ map.put(key, value);
+ }
+ return map;
+ }
+}
diff --git a/sdk/containerinstance/azure-resourcemanager-containerinstance/src/samples/java/com/azure/resourcemanager/containerinstance/generated/CGProfileCreateOrUpdateSamples.java b/sdk/containerinstance/azure-resourcemanager-containerinstance/src/samples/java/com/azure/resourcemanager/containerinstance/generated/CGProfileCreateOrUpdateSamples.java
index 9c3503e33ece..e6349bbdf624 100644
--- a/sdk/containerinstance/azure-resourcemanager-containerinstance/src/samples/java/com/azure/resourcemanager/containerinstance/generated/CGProfileCreateOrUpdateSamples.java
+++ b/sdk/containerinstance/azure-resourcemanager-containerinstance/src/samples/java/com/azure/resourcemanager/containerinstance/generated/CGProfileCreateOrUpdateSamples.java
@@ -40,7 +40,7 @@
*/
public final class CGProfileCreateOrUpdateSamples {
/*
- * x-ms-original-file: 2025-09-01/ContainerGroupProfileCreateOrUpdate_CreateConfidential.json
+ * x-ms-original-file: 2026-08-01-preview/ContainerGroupProfileCreateOrUpdate_CreateConfidential.json
*/
/**
* Sample code: ConfidentialContainerGroupProfile.
@@ -78,7 +78,7 @@ public static void confidentialContainerGroupProfile(
}
/*
- * x-ms-original-file: 2025-09-01/ContainerGroupProfileCreateOrUpdate_EncryptionProperties.json
+ * x-ms-original-file: 2026-08-01-preview/ContainerGroupProfileCreateOrUpdate_EncryptionProperties.json
*/
/**
* Sample code: ContainerGroupProfileWithEncryptionProperties.
@@ -112,7 +112,7 @@ public static void containerGroupProfileWithEncryptionProperties(
}
/*
- * x-ms-original-file: 2025-09-01/ContainerGroupProfileCreateOrUpdate_Extensions.json
+ * x-ms-original-file: 2026-08-01-preview/ContainerGroupProfileCreateOrUpdate_Extensions.json
*/
/**
* Sample code: ContainerGroupProfileCreateWithExtensions.
@@ -153,7 +153,7 @@ public static void containerGroupProfileCreateWithExtensions(
}
/*
- * x-ms-original-file: 2025-09-01/ContainerGroupProfilesCreateOrUpdate.json
+ * x-ms-original-file: 2026-08-01-preview/ContainerGroupProfilesCreateOrUpdate.json
*/
/**
* Sample code: ContainerGroupProfilesCreateOrUpdate.
diff --git a/sdk/containerinstance/azure-resourcemanager-containerinstance/src/samples/java/com/azure/resourcemanager/containerinstance/generated/CGProfileDeleteSamples.java b/sdk/containerinstance/azure-resourcemanager-containerinstance/src/samples/java/com/azure/resourcemanager/containerinstance/generated/CGProfileDeleteSamples.java
index c0925bda3dfe..a28128acca98 100644
--- a/sdk/containerinstance/azure-resourcemanager-containerinstance/src/samples/java/com/azure/resourcemanager/containerinstance/generated/CGProfileDeleteSamples.java
+++ b/sdk/containerinstance/azure-resourcemanager-containerinstance/src/samples/java/com/azure/resourcemanager/containerinstance/generated/CGProfileDeleteSamples.java
@@ -9,7 +9,7 @@
*/
public final class CGProfileDeleteSamples {
/*
- * x-ms-original-file: 2025-09-01/ContainerGroupProfilesDelete.json
+ * x-ms-original-file: 2026-08-01-preview/ContainerGroupProfilesDelete.json
*/
/**
* Sample code: ContainerGroupProfilesDelete.
diff --git a/sdk/containerinstance/azure-resourcemanager-containerinstance/src/samples/java/com/azure/resourcemanager/containerinstance/generated/CGProfileGetByResourceGroupSamples.java b/sdk/containerinstance/azure-resourcemanager-containerinstance/src/samples/java/com/azure/resourcemanager/containerinstance/generated/CGProfileGetByResourceGroupSamples.java
index ba45dc698e9b..40c7b1efd041 100644
--- a/sdk/containerinstance/azure-resourcemanager-containerinstance/src/samples/java/com/azure/resourcemanager/containerinstance/generated/CGProfileGetByResourceGroupSamples.java
+++ b/sdk/containerinstance/azure-resourcemanager-containerinstance/src/samples/java/com/azure/resourcemanager/containerinstance/generated/CGProfileGetByResourceGroupSamples.java
@@ -9,7 +9,7 @@
*/
public final class CGProfileGetByResourceGroupSamples {
/*
- * x-ms-original-file: 2025-09-01/ContainerGroupProfilesGet.json
+ * x-ms-original-file: 2026-08-01-preview/ContainerGroupProfilesGet.json
*/
/**
* Sample code: ContainerGroupProfilesGet_Succeeded.
@@ -24,7 +24,7 @@ public static void containerGroupProfilesGetSucceeded(
}
/*
- * x-ms-original-file: 2025-09-01/ContainerGroupProfilesGetPriority.json
+ * x-ms-original-file: 2026-08-01-preview/ContainerGroupProfilesGetPriority.json
*/
/**
* Sample code: ContainerGroupProfilesGetWithPriority.
diff --git a/sdk/containerinstance/azure-resourcemanager-containerinstance/src/samples/java/com/azure/resourcemanager/containerinstance/generated/CGProfileGetByRevisionNumberSamples.java b/sdk/containerinstance/azure-resourcemanager-containerinstance/src/samples/java/com/azure/resourcemanager/containerinstance/generated/CGProfileGetByRevisionNumberSamples.java
index b4854fbf6105..0a3c371c35b7 100644
--- a/sdk/containerinstance/azure-resourcemanager-containerinstance/src/samples/java/com/azure/resourcemanager/containerinstance/generated/CGProfileGetByRevisionNumberSamples.java
+++ b/sdk/containerinstance/azure-resourcemanager-containerinstance/src/samples/java/com/azure/resourcemanager/containerinstance/generated/CGProfileGetByRevisionNumberSamples.java
@@ -9,7 +9,7 @@
*/
public final class CGProfileGetByRevisionNumberSamples {
/*
- * x-ms-original-file: 2025-09-01/ContainerGroupProfileGetByRevisionNumber.json
+ * x-ms-original-file: 2026-08-01-preview/ContainerGroupProfileGetByRevisionNumber.json
*/
/**
* Sample code: ContainerGroupProfileGetByRevisionNumber.
diff --git a/sdk/containerinstance/azure-resourcemanager-containerinstance/src/samples/java/com/azure/resourcemanager/containerinstance/generated/CGProfileListAllRevisionsSamples.java b/sdk/containerinstance/azure-resourcemanager-containerinstance/src/samples/java/com/azure/resourcemanager/containerinstance/generated/CGProfileListAllRevisionsSamples.java
index b6ef60538a98..6090d7098ec3 100644
--- a/sdk/containerinstance/azure-resourcemanager-containerinstance/src/samples/java/com/azure/resourcemanager/containerinstance/generated/CGProfileListAllRevisionsSamples.java
+++ b/sdk/containerinstance/azure-resourcemanager-containerinstance/src/samples/java/com/azure/resourcemanager/containerinstance/generated/CGProfileListAllRevisionsSamples.java
@@ -9,7 +9,7 @@
*/
public final class CGProfileListAllRevisionsSamples {
/*
- * x-ms-original-file: 2025-09-01/ContainerGroupProfileListAllRevisions.json
+ * x-ms-original-file: 2026-08-01-preview/ContainerGroupProfileListAllRevisions.json
*/
/**
* Sample code: ContainerGroupProfileListAllRevisions.
diff --git a/sdk/containerinstance/azure-resourcemanager-containerinstance/src/samples/java/com/azure/resourcemanager/containerinstance/generated/CGProfileUpdateSamples.java b/sdk/containerinstance/azure-resourcemanager-containerinstance/src/samples/java/com/azure/resourcemanager/containerinstance/generated/CGProfileUpdateSamples.java
index a9a5b1ffaa30..05d7db461236 100644
--- a/sdk/containerinstance/azure-resourcemanager-containerinstance/src/samples/java/com/azure/resourcemanager/containerinstance/generated/CGProfileUpdateSamples.java
+++ b/sdk/containerinstance/azure-resourcemanager-containerinstance/src/samples/java/com/azure/resourcemanager/containerinstance/generated/CGProfileUpdateSamples.java
@@ -13,7 +13,7 @@
*/
public final class CGProfileUpdateSamples {
/*
- * x-ms-original-file: 2025-09-01/ContainerGroupProfilesPatch.json
+ * x-ms-original-file: 2026-08-01-preview/ContainerGroupProfilesPatch.json
*/
/**
* Sample code: ContainerGroupProfilesPatch.
diff --git a/sdk/containerinstance/azure-resourcemanager-containerinstance/src/samples/java/com/azure/resourcemanager/containerinstance/generated/CGProfilesOperationListByResourceGroupSamples.java b/sdk/containerinstance/azure-resourcemanager-containerinstance/src/samples/java/com/azure/resourcemanager/containerinstance/generated/CGProfilesOperationListByResourceGroupSamples.java
index e608651f33e6..d70f137335b3 100644
--- a/sdk/containerinstance/azure-resourcemanager-containerinstance/src/samples/java/com/azure/resourcemanager/containerinstance/generated/CGProfilesOperationListByResourceGroupSamples.java
+++ b/sdk/containerinstance/azure-resourcemanager-containerinstance/src/samples/java/com/azure/resourcemanager/containerinstance/generated/CGProfilesOperationListByResourceGroupSamples.java
@@ -9,7 +9,7 @@
*/
public final class CGProfilesOperationListByResourceGroupSamples {
/*
- * x-ms-original-file: 2025-09-01/ContainerGroupProfilesListByResourceGroup.json
+ * x-ms-original-file: 2026-08-01-preview/ContainerGroupProfilesListByResourceGroup.json
*/
/**
* Sample code: ContainerGroupProfilesListByResourceGroup.
diff --git a/sdk/containerinstance/azure-resourcemanager-containerinstance/src/samples/java/com/azure/resourcemanager/containerinstance/generated/CGProfilesOperationListSamples.java b/sdk/containerinstance/azure-resourcemanager-containerinstance/src/samples/java/com/azure/resourcemanager/containerinstance/generated/CGProfilesOperationListSamples.java
index 3e5a1d23b27e..3211d57d1932 100644
--- a/sdk/containerinstance/azure-resourcemanager-containerinstance/src/samples/java/com/azure/resourcemanager/containerinstance/generated/CGProfilesOperationListSamples.java
+++ b/sdk/containerinstance/azure-resourcemanager-containerinstance/src/samples/java/com/azure/resourcemanager/containerinstance/generated/CGProfilesOperationListSamples.java
@@ -9,7 +9,7 @@
*/
public final class CGProfilesOperationListSamples {
/*
- * x-ms-original-file: 2025-09-01/ContainerGroupProfilesList.json
+ * x-ms-original-file: 2026-08-01-preview/ContainerGroupProfilesList.json
*/
/**
* Sample code: ContainerGroupProfilesList.
diff --git a/sdk/containerinstance/azure-resourcemanager-containerinstance/src/samples/java/com/azure/resourcemanager/containerinstance/generated/ContainerGroupsCreateOrUpdateSamples.java b/sdk/containerinstance/azure-resourcemanager-containerinstance/src/samples/java/com/azure/resourcemanager/containerinstance/generated/ContainerGroupsCreateOrUpdateSamples.java
index 369e4e436e19..ec766094d51a 100644
--- a/sdk/containerinstance/azure-resourcemanager-containerinstance/src/samples/java/com/azure/resourcemanager/containerinstance/generated/ContainerGroupsCreateOrUpdateSamples.java
+++ b/sdk/containerinstance/azure-resourcemanager-containerinstance/src/samples/java/com/azure/resourcemanager/containerinstance/generated/ContainerGroupsCreateOrUpdateSamples.java
@@ -54,7 +54,7 @@
*/
public final class ContainerGroupsCreateOrUpdateSamples {
/*
- * x-ms-original-file: 2025-09-01/ContainerGroupCreateOrUpdateStandbyPool.json
+ * x-ms-original-file: 2026-08-01-preview/ContainerGroupCreateOrUpdateStandbyPool.json
*/
/**
* Sample code: ContainerGroupCreateOrUpdateWithStandbyPool.
@@ -77,7 +77,7 @@ public static void containerGroupCreateOrUpdateWithStandbyPool(
}
/*
- * x-ms-original-file: 2025-09-01/ContainerGroupExtensions.json
+ * x-ms-original-file: 2026-08-01-preview/ContainerGroupExtensions.json
*/
/**
* Sample code: ContainerGroupCreateWithExtensions.
@@ -120,7 +120,68 @@ public static void containerGroupCreateWithExtensions(
}
/*
- * x-ms-original-file: 2025-09-01/ContainerGroupEncryptionProperties.json
+ * x-ms-original-file: 2026-08-01-preview/ContainerGroupsCreateOrUpdateManagedIdentityAzureFileshare.json
+ */
+ /**
+ * Sample code: ContainerGroupsCreateOrUpdateManagedIdentityAzureFileshare.
+ *
+ * @param manager Entry point to ContainerInstanceManager.
+ */
+ public static void containerGroupsCreateOrUpdateManagedIdentityAzureFileshare(
+ com.azure.resourcemanager.containerinstance.ContainerInstanceManager manager) throws IOException {
+ manager.serviceClient()
+ .getContainerGroups()
+ .createOrUpdate("demo", "demo1", new ContainerGroupInner().withLocation("west us")
+ .withIdentity(new ContainerGroupIdentity().withType(ResourceIdentityType.SYSTEM_ASSIGNED_USER_ASSIGNED)
+ .withUserAssignedIdentities(mapOf(
+ "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity-name",
+ new ContainerGroupIdentityUserAssignedIdentities())))
+ .withContainers(Arrays.asList(new Container().withName("demo1")
+ .withImage("nginx")
+ .withCommand(Arrays.asList())
+ .withPorts(Arrays.asList(new ContainerPort().withPort(80)))
+ .withEnvironmentVariables(Arrays.asList())
+ .withResources(new ResourceRequirements().withRequests(new ResourceRequests().withMemoryInGB(1.5)
+ .withCpu(1.0)
+ .withGpu(new GpuResource().withCount(1).withSku(GpuSku.K80))))
+ .withVolumeMounts(Arrays.asList(
+ new VolumeMount().withName("volume1").withMountPath("/mnt/volume1").withReadOnly(false),
+ new VolumeMount().withName("volume2").withMountPath("/mnt/volume2").withReadOnly(false),
+ new VolumeMount().withName("volume3").withMountPath("/mnt/volume3").withReadOnly(true)))))
+ .withImageRegistryCredentials(Arrays.asList())
+ .withIpAddress(new IpAddress()
+ .withPorts(Arrays.asList(new Port().withProtocol(ContainerGroupNetworkProtocol.TCP).withPort(80)))
+ .withType(ContainerGroupIpAddressType.PUBLIC)
+ .withDnsNameLabel("dnsnamelabel1")
+ .withAutoGeneratedDomainNameLabelScope(DnsNameLabelReusePolicy.UNSECURE))
+ .withOsType(OperatingSystemTypes.LINUX)
+ .withVolumes(Arrays.asList(
+ new Volume().withName("volume1")
+ .withAzureFile(new AzureFileVolume().withShareName("shareName")
+ .withStorageAccountName("accountName")
+ .withUserAssignedIdentityClientId("00000000-0000-0000-0000-000000000000")),
+ new Volume().withName("volume2")
+ .withEmptyDir(SerializerFactory.createDefaultManagementSerializerAdapter()
+ .deserialize("{}", Object.class, SerializerEncoding.JSON)),
+ new Volume().withName("volume3")
+ .withSecret(mapOf("secretKey1", "fakeTokenPlaceholder", "secretKey2", "fakeTokenPlaceholder"))))
+ .withDiagnostics(new ContainerGroupDiagnostics().withLogAnalytics(new LogAnalytics()
+ .withWorkspaceId("workspaceid")
+ .withWorkspaceKey("fakeTokenPlaceholder")
+ .withLogType(LogAnalyticsLogType.CONTAINER_INSIGHTS)
+ .withMetadata(mapOf("test-key", "fakeTokenPlaceholder"))
+ .withWorkspaceResourceId(
+ "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg/providers/microsoft.operationalinsights/workspaces/workspace")))
+ .withSubnetIds(Arrays.asList(new ContainerGroupSubnetId().withId(
+ "[resourceId('Microsoft.Network/virtualNetworks/subnets', parameters('vnetName'), parameters('subnetName'))]")))
+ .withDnsConfig(new DnsConfiguration().withNameServers(Arrays.asList("1.1.1.1"))
+ .withSearchDomains("cluster.local svc.cluster.local")
+ .withOptions("ndots:2")),
+ com.azure.core.util.Context.NONE);
+ }
+
+ /*
+ * x-ms-original-file: 2026-08-01-preview/ContainerGroupEncryptionProperties.json
*/
/**
* Sample code: ContainerGroupWithEncryptionProperties.
@@ -158,7 +219,7 @@ public static void containerGroupWithEncryptionProperties(
}
/*
- * x-ms-original-file: 2025-09-01/ContainerGroupsCreateOrUpdateSecretReference.json
+ * x-ms-original-file: 2026-08-01-preview/ContainerGroupsCreateOrUpdateSecretReference.json
*/
/**
* Sample code: ContainerGroupsCreateOrUpdateSecretReference.
@@ -240,7 +301,7 @@ public static void containerGroupsCreateOrUpdateSecretReference(
}
/*
- * x-ms-original-file: 2025-09-01/ContainerGroupCreateConfidential.json
+ * x-ms-original-file: 2026-08-01-preview/ContainerGroupCreateConfidential.json
*/
/**
* Sample code: ConfidentialContainerGroup.
@@ -277,7 +338,7 @@ public static void containerGroupsCreateOrUpdateSecretReference(
}
/*
- * x-ms-original-file: 2025-09-01/ContainerGroupsCreateOrUpdate.json
+ * x-ms-original-file: 2026-08-01-preview/ContainerGroupsCreateOrUpdate.json
*/
/**
* Sample code: ContainerGroupsCreateOrUpdate.
@@ -338,7 +399,7 @@ public static void containerGroupsCreateOrUpdate(
}
/*
- * x-ms-original-file: 2025-09-01/ContainerGroupsCreatePriority.json
+ * x-ms-original-file: 2026-08-01-preview/ContainerGroupsCreatePriority.json
*/
/**
* Sample code: ContainerGroupsCreateWithPriority.
diff --git a/sdk/containerinstance/azure-resourcemanager-containerinstance/src/samples/java/com/azure/resourcemanager/containerinstance/generated/ContainerGroupsDeleteSamples.java b/sdk/containerinstance/azure-resourcemanager-containerinstance/src/samples/java/com/azure/resourcemanager/containerinstance/generated/ContainerGroupsDeleteSamples.java
index f5466abac09b..ca3ecdd988cc 100644
--- a/sdk/containerinstance/azure-resourcemanager-containerinstance/src/samples/java/com/azure/resourcemanager/containerinstance/generated/ContainerGroupsDeleteSamples.java
+++ b/sdk/containerinstance/azure-resourcemanager-containerinstance/src/samples/java/com/azure/resourcemanager/containerinstance/generated/ContainerGroupsDeleteSamples.java
@@ -9,7 +9,7 @@
*/
public final class ContainerGroupsDeleteSamples {
/*
- * x-ms-original-file: 2025-09-01/ContainerGroupsDelete.json
+ * x-ms-original-file: 2026-08-01-preview/ContainerGroupsDelete.json
*/
/**
* Sample code: ContainerGroupsDelete.
diff --git a/sdk/containerinstance/azure-resourcemanager-containerinstance/src/samples/java/com/azure/resourcemanager/containerinstance/generated/ContainerGroupsGetByResourceGroupSamples.java b/sdk/containerinstance/azure-resourcemanager-containerinstance/src/samples/java/com/azure/resourcemanager/containerinstance/generated/ContainerGroupsGetByResourceGroupSamples.java
index 4e601653037f..9dd85bccc419 100644
--- a/sdk/containerinstance/azure-resourcemanager-containerinstance/src/samples/java/com/azure/resourcemanager/containerinstance/generated/ContainerGroupsGetByResourceGroupSamples.java
+++ b/sdk/containerinstance/azure-resourcemanager-containerinstance/src/samples/java/com/azure/resourcemanager/containerinstance/generated/ContainerGroupsGetByResourceGroupSamples.java
@@ -9,7 +9,7 @@
*/
public final class ContainerGroupsGetByResourceGroupSamples {
/*
- * x-ms-original-file: 2025-09-01/ContainerGroupsGetPriority.json
+ * x-ms-original-file: 2026-08-01-preview/ContainerGroupsGetPriority.json
*/
/**
* Sample code: ContainerGroupsGetWithPriority.
@@ -24,7 +24,7 @@ public final class ContainerGroupsGetByResourceGroupSamples {
}
/*
- * x-ms-original-file: 2025-09-01/ContainerGroupsGet_Succeeded.json
+ * x-ms-original-file: 2026-08-01-preview/ContainerGroupsGet_Succeeded.json
*/
/**
* Sample code: ContainerGroupsGet_Succeeded.
@@ -39,7 +39,7 @@ public final class ContainerGroupsGetByResourceGroupSamples {
}
/*
- * x-ms-original-file: 2025-09-01/ContainerGroupsGet_Failed.json
+ * x-ms-original-file: 2026-08-01-preview/ContainerGroupsGet_Failed.json
*/
/**
* Sample code: ContainerGroupsGet_Failed.
diff --git a/sdk/containerinstance/azure-resourcemanager-containerinstance/src/samples/java/com/azure/resourcemanager/containerinstance/generated/ContainerGroupsGetOutboundNetworkDependenciesEndpointsSamples.java b/sdk/containerinstance/azure-resourcemanager-containerinstance/src/samples/java/com/azure/resourcemanager/containerinstance/generated/ContainerGroupsGetOutboundNetworkDependenciesEndpointsSamples.java
new file mode 100644
index 000000000000..754e2a7bff1d
--- /dev/null
+++ b/sdk/containerinstance/azure-resourcemanager-containerinstance/src/samples/java/com/azure/resourcemanager/containerinstance/generated/ContainerGroupsGetOutboundNetworkDependenciesEndpointsSamples.java
@@ -0,0 +1,25 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.containerinstance.generated;
+
+/**
+ * Samples for ContainerGroups GetOutboundNetworkDependenciesEndpoints.
+ */
+public final class ContainerGroupsGetOutboundNetworkDependenciesEndpointsSamples {
+ /*
+ * x-ms-original-file: 2026-08-01-preview/ContainerGroupsGetOutboundNetworkDependenciesEndpoints.json
+ */
+ /**
+ * Sample code: ContainerGroupsGetOutboundNetworkDependenciesEndpoints.
+ *
+ * @param manager Entry point to ContainerInstanceManager.
+ */
+ public static void containerGroupsGetOutboundNetworkDependenciesEndpoints(
+ com.azure.resourcemanager.containerinstance.ContainerInstanceManager manager) {
+ manager.serviceClient()
+ .getContainerGroups()
+ .getOutboundNetworkDependenciesEndpointsWithResponse("demo", "demo-cg", com.azure.core.util.Context.NONE);
+ }
+}
diff --git a/sdk/containerinstance/azure-resourcemanager-containerinstance/src/samples/java/com/azure/resourcemanager/containerinstance/generated/ContainerGroupsListByResourceGroupSamples.java b/sdk/containerinstance/azure-resourcemanager-containerinstance/src/samples/java/com/azure/resourcemanager/containerinstance/generated/ContainerGroupsListByResourceGroupSamples.java
index 7243b97d674a..bef16f0811e9 100644
--- a/sdk/containerinstance/azure-resourcemanager-containerinstance/src/samples/java/com/azure/resourcemanager/containerinstance/generated/ContainerGroupsListByResourceGroupSamples.java
+++ b/sdk/containerinstance/azure-resourcemanager-containerinstance/src/samples/java/com/azure/resourcemanager/containerinstance/generated/ContainerGroupsListByResourceGroupSamples.java
@@ -9,7 +9,7 @@
*/
public final class ContainerGroupsListByResourceGroupSamples {
/*
- * x-ms-original-file: 2025-09-01/ContainerGroupsListByResourceGroup.json
+ * x-ms-original-file: 2026-08-01-preview/ContainerGroupsListByResourceGroup.json
*/
/**
* Sample code: ContainerGroupsListByResourceGroup.
diff --git a/sdk/containerinstance/azure-resourcemanager-containerinstance/src/samples/java/com/azure/resourcemanager/containerinstance/generated/ContainerGroupsListSamples.java b/sdk/containerinstance/azure-resourcemanager-containerinstance/src/samples/java/com/azure/resourcemanager/containerinstance/generated/ContainerGroupsListSamples.java
index 79faf8e92433..82adb28a51c5 100644
--- a/sdk/containerinstance/azure-resourcemanager-containerinstance/src/samples/java/com/azure/resourcemanager/containerinstance/generated/ContainerGroupsListSamples.java
+++ b/sdk/containerinstance/azure-resourcemanager-containerinstance/src/samples/java/com/azure/resourcemanager/containerinstance/generated/ContainerGroupsListSamples.java
@@ -9,7 +9,7 @@
*/
public final class ContainerGroupsListSamples {
/*
- * x-ms-original-file: 2025-09-01/ContainerGroupsList.json
+ * x-ms-original-file: 2026-08-01-preview/ContainerGroupsList.json
*/
/**
* Sample code: ContainerGroupsList.
diff --git a/sdk/containerinstance/azure-resourcemanager-containerinstance/src/samples/java/com/azure/resourcemanager/containerinstance/generated/ContainerGroupsRestartSamples.java b/sdk/containerinstance/azure-resourcemanager-containerinstance/src/samples/java/com/azure/resourcemanager/containerinstance/generated/ContainerGroupsRestartSamples.java
index a49b689fefc3..4d322e250d4a 100644
--- a/sdk/containerinstance/azure-resourcemanager-containerinstance/src/samples/java/com/azure/resourcemanager/containerinstance/generated/ContainerGroupsRestartSamples.java
+++ b/sdk/containerinstance/azure-resourcemanager-containerinstance/src/samples/java/com/azure/resourcemanager/containerinstance/generated/ContainerGroupsRestartSamples.java
@@ -9,7 +9,7 @@
*/
public final class ContainerGroupsRestartSamples {
/*
- * x-ms-original-file: 2025-09-01/ContainerGroupsRestart.json
+ * x-ms-original-file: 2026-08-01-preview/ContainerGroupsRestart.json
*/
/**
* Sample code: ContainerRestart.
diff --git a/sdk/containerinstance/azure-resourcemanager-containerinstance/src/samples/java/com/azure/resourcemanager/containerinstance/generated/ContainerGroupsStartSamples.java b/sdk/containerinstance/azure-resourcemanager-containerinstance/src/samples/java/com/azure/resourcemanager/containerinstance/generated/ContainerGroupsStartSamples.java
index bb04e8929ad1..3fbcece586a9 100644
--- a/sdk/containerinstance/azure-resourcemanager-containerinstance/src/samples/java/com/azure/resourcemanager/containerinstance/generated/ContainerGroupsStartSamples.java
+++ b/sdk/containerinstance/azure-resourcemanager-containerinstance/src/samples/java/com/azure/resourcemanager/containerinstance/generated/ContainerGroupsStartSamples.java
@@ -9,7 +9,7 @@
*/
public final class ContainerGroupsStartSamples {
/*
- * x-ms-original-file: 2025-09-01/ContainerGroupsStart.json
+ * x-ms-original-file: 2026-08-01-preview/ContainerGroupsStart.json
*/
/**
* Sample code: ContainerStart.
diff --git a/sdk/containerinstance/azure-resourcemanager-containerinstance/src/samples/java/com/azure/resourcemanager/containerinstance/generated/ContainerGroupsStopSamples.java b/sdk/containerinstance/azure-resourcemanager-containerinstance/src/samples/java/com/azure/resourcemanager/containerinstance/generated/ContainerGroupsStopSamples.java
index 75fc97189d0f..f48c95ba47af 100644
--- a/sdk/containerinstance/azure-resourcemanager-containerinstance/src/samples/java/com/azure/resourcemanager/containerinstance/generated/ContainerGroupsStopSamples.java
+++ b/sdk/containerinstance/azure-resourcemanager-containerinstance/src/samples/java/com/azure/resourcemanager/containerinstance/generated/ContainerGroupsStopSamples.java
@@ -9,7 +9,7 @@
*/
public final class ContainerGroupsStopSamples {
/*
- * x-ms-original-file: 2025-09-01/ContainerGroupsStop.json
+ * x-ms-original-file: 2026-08-01-preview/ContainerGroupsStop.json
*/
/**
* Sample code: ContainerStop.
diff --git a/sdk/containerinstance/azure-resourcemanager-containerinstance/src/samples/java/com/azure/resourcemanager/containerinstance/generated/ContainerGroupsUpdateSamples.java b/sdk/containerinstance/azure-resourcemanager-containerinstance/src/samples/java/com/azure/resourcemanager/containerinstance/generated/ContainerGroupsUpdateSamples.java
index b60aa87ed8e4..6de2d5c1e08c 100644
--- a/sdk/containerinstance/azure-resourcemanager-containerinstance/src/samples/java/com/azure/resourcemanager/containerinstance/generated/ContainerGroupsUpdateSamples.java
+++ b/sdk/containerinstance/azure-resourcemanager-containerinstance/src/samples/java/com/azure/resourcemanager/containerinstance/generated/ContainerGroupsUpdateSamples.java
@@ -13,7 +13,7 @@
*/
public final class ContainerGroupsUpdateSamples {
/*
- * x-ms-original-file: 2025-09-01/ContainerGroupsUpdate.json
+ * x-ms-original-file: 2026-08-01-preview/ContainerGroupsUpdate.json
*/
/**
* Sample code: ContainerGroupsUpdate.
diff --git a/sdk/containerinstance/azure-resourcemanager-containerinstance/src/samples/java/com/azure/resourcemanager/containerinstance/generated/ContainersAttachSamples.java b/sdk/containerinstance/azure-resourcemanager-containerinstance/src/samples/java/com/azure/resourcemanager/containerinstance/generated/ContainersAttachSamples.java
index 5108743ee795..c267961043de 100644
--- a/sdk/containerinstance/azure-resourcemanager-containerinstance/src/samples/java/com/azure/resourcemanager/containerinstance/generated/ContainersAttachSamples.java
+++ b/sdk/containerinstance/azure-resourcemanager-containerinstance/src/samples/java/com/azure/resourcemanager/containerinstance/generated/ContainersAttachSamples.java
@@ -9,7 +9,7 @@
*/
public final class ContainersAttachSamples {
/*
- * x-ms-original-file: 2025-09-01/ContainerAttach.json
+ * x-ms-original-file: 2026-08-01-preview/ContainerAttach.json
*/
/**
* Sample code: ContainerAttach.
diff --git a/sdk/containerinstance/azure-resourcemanager-containerinstance/src/samples/java/com/azure/resourcemanager/containerinstance/generated/ContainersExecuteCommandSamples.java b/sdk/containerinstance/azure-resourcemanager-containerinstance/src/samples/java/com/azure/resourcemanager/containerinstance/generated/ContainersExecuteCommandSamples.java
index b785622eacd9..f33ab79be735 100644
--- a/sdk/containerinstance/azure-resourcemanager-containerinstance/src/samples/java/com/azure/resourcemanager/containerinstance/generated/ContainersExecuteCommandSamples.java
+++ b/sdk/containerinstance/azure-resourcemanager-containerinstance/src/samples/java/com/azure/resourcemanager/containerinstance/generated/ContainersExecuteCommandSamples.java
@@ -12,7 +12,7 @@
*/
public final class ContainersExecuteCommandSamples {
/*
- * x-ms-original-file: 2025-09-01/ContainerExec.json
+ * x-ms-original-file: 2026-08-01-preview/ContainerExec.json
*/
/**
* Sample code: ContainerExec.
diff --git a/sdk/containerinstance/azure-resourcemanager-containerinstance/src/samples/java/com/azure/resourcemanager/containerinstance/generated/ContainersListLogsSamples.java b/sdk/containerinstance/azure-resourcemanager-containerinstance/src/samples/java/com/azure/resourcemanager/containerinstance/generated/ContainersListLogsSamples.java
index 01e58842f113..d5991a74ae09 100644
--- a/sdk/containerinstance/azure-resourcemanager-containerinstance/src/samples/java/com/azure/resourcemanager/containerinstance/generated/ContainersListLogsSamples.java
+++ b/sdk/containerinstance/azure-resourcemanager-containerinstance/src/samples/java/com/azure/resourcemanager/containerinstance/generated/ContainersListLogsSamples.java
@@ -9,7 +9,7 @@
*/
public final class ContainersListLogsSamples {
/*
- * x-ms-original-file: 2025-09-01/ContainerListLogs.json
+ * x-ms-original-file: 2026-08-01-preview/ContainerListLogs.json
*/
/**
* Sample code: ContainerListLogs.
diff --git a/sdk/containerinstance/azure-resourcemanager-containerinstance/src/samples/java/com/azure/resourcemanager/containerinstance/generated/LocationListCachedImagesSamples.java b/sdk/containerinstance/azure-resourcemanager-containerinstance/src/samples/java/com/azure/resourcemanager/containerinstance/generated/LocationListCachedImagesSamples.java
index 3a9cd172a1a0..25e4f67d6bbb 100644
--- a/sdk/containerinstance/azure-resourcemanager-containerinstance/src/samples/java/com/azure/resourcemanager/containerinstance/generated/LocationListCachedImagesSamples.java
+++ b/sdk/containerinstance/azure-resourcemanager-containerinstance/src/samples/java/com/azure/resourcemanager/containerinstance/generated/LocationListCachedImagesSamples.java
@@ -9,7 +9,7 @@
*/
public final class LocationListCachedImagesSamples {
/*
- * x-ms-original-file: 2025-09-01/CachedImagesList.json
+ * x-ms-original-file: 2026-08-01-preview/CachedImagesList.json
*/
/**
* Sample code: CachedImages.
diff --git a/sdk/containerinstance/azure-resourcemanager-containerinstance/src/samples/java/com/azure/resourcemanager/containerinstance/generated/LocationListCapabilitiesSamples.java b/sdk/containerinstance/azure-resourcemanager-containerinstance/src/samples/java/com/azure/resourcemanager/containerinstance/generated/LocationListCapabilitiesSamples.java
index 3d15606e18b2..31021ca36300 100644
--- a/sdk/containerinstance/azure-resourcemanager-containerinstance/src/samples/java/com/azure/resourcemanager/containerinstance/generated/LocationListCapabilitiesSamples.java
+++ b/sdk/containerinstance/azure-resourcemanager-containerinstance/src/samples/java/com/azure/resourcemanager/containerinstance/generated/LocationListCapabilitiesSamples.java
@@ -9,7 +9,7 @@
*/
public final class LocationListCapabilitiesSamples {
/*
- * x-ms-original-file: 2025-09-01/CapabilitiesList.json
+ * x-ms-original-file: 2026-08-01-preview/CapabilitiesList.json
*/
/**
* Sample code: GetCapabilities.
diff --git a/sdk/containerinstance/azure-resourcemanager-containerinstance/src/samples/java/com/azure/resourcemanager/containerinstance/generated/LocationListUsageSamples.java b/sdk/containerinstance/azure-resourcemanager-containerinstance/src/samples/java/com/azure/resourcemanager/containerinstance/generated/LocationListUsageSamples.java
index 6f9994a3729a..3970b64e80dd 100644
--- a/sdk/containerinstance/azure-resourcemanager-containerinstance/src/samples/java/com/azure/resourcemanager/containerinstance/generated/LocationListUsageSamples.java
+++ b/sdk/containerinstance/azure-resourcemanager-containerinstance/src/samples/java/com/azure/resourcemanager/containerinstance/generated/LocationListUsageSamples.java
@@ -9,7 +9,7 @@
*/
public final class LocationListUsageSamples {
/*
- * x-ms-original-file: 2025-09-01/ContainerGroupUsage.json
+ * x-ms-original-file: 2026-08-01-preview/ContainerGroupUsage.json
*/
/**
* Sample code: ContainerUsage.
diff --git a/sdk/containerinstance/azure-resourcemanager-containerinstance/src/samples/java/com/azure/resourcemanager/containerinstance/generated/NGroupsCreateOrUpdateSamples.java b/sdk/containerinstance/azure-resourcemanager-containerinstance/src/samples/java/com/azure/resourcemanager/containerinstance/generated/NGroupsCreateOrUpdateSamples.java
new file mode 100644
index 000000000000..bb6929f1b20c
--- /dev/null
+++ b/sdk/containerinstance/azure-resourcemanager-containerinstance/src/samples/java/com/azure/resourcemanager/containerinstance/generated/NGroupsCreateOrUpdateSamples.java
@@ -0,0 +1,36 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.containerinstance.generated;
+
+import com.azure.resourcemanager.containerinstance.fluent.models.NGroupInner;
+import com.azure.resourcemanager.containerinstance.models.ElasticProfile;
+import com.azure.resourcemanager.containerinstance.models.NGroupUpdateMode;
+import com.azure.resourcemanager.containerinstance.models.UpdateProfile;
+import java.util.Arrays;
+
+/**
+ * Samples for NGroups CreateOrUpdate.
+ */
+public final class NGroupsCreateOrUpdateSamples {
+ /*
+ * x-ms-original-file: 2026-08-01-preview/NGroupsCreateOrUpdate.json
+ */
+ /**
+ * Sample code: NGroupsCreateOrUpdate.
+ *
+ * @param manager Entry point to ContainerInstanceManager.
+ */
+ public static void
+ nGroupsCreateOrUpdate(com.azure.resourcemanager.containerinstance.ContainerInstanceManager manager) {
+ manager.serviceClient()
+ .getNGroups()
+ .createOrUpdate("demo", "demo-ngroup",
+ new NGroupInner().withLocation("eastus")
+ .withElasticProfile(new ElasticProfile().withDesiredCount(1).withMaintainDesiredCount(true))
+ .withContainerGroupProfiles(Arrays.asList())
+ .withUpdateProfile(new UpdateProfile().withUpdateMode(NGroupUpdateMode.MANUAL)),
+ com.azure.core.util.Context.NONE);
+ }
+}
diff --git a/sdk/containerinstance/azure-resourcemanager-containerinstance/src/samples/java/com/azure/resourcemanager/containerinstance/generated/NGroupsDeleteSamples.java b/sdk/containerinstance/azure-resourcemanager-containerinstance/src/samples/java/com/azure/resourcemanager/containerinstance/generated/NGroupsDeleteSamples.java
new file mode 100644
index 000000000000..ff5fd18ec5b0
--- /dev/null
+++ b/sdk/containerinstance/azure-resourcemanager-containerinstance/src/samples/java/com/azure/resourcemanager/containerinstance/generated/NGroupsDeleteSamples.java
@@ -0,0 +1,22 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.containerinstance.generated;
+
+/**
+ * Samples for NGroups Delete.
+ */
+public final class NGroupsDeleteSamples {
+ /*
+ * x-ms-original-file: 2026-08-01-preview/NGroupsDelete.json
+ */
+ /**
+ * Sample code: NGroupsDelete.
+ *
+ * @param manager Entry point to ContainerInstanceManager.
+ */
+ public static void nGroupsDelete(com.azure.resourcemanager.containerinstance.ContainerInstanceManager manager) {
+ manager.serviceClient().getNGroups().delete("demo", "demo-ngroup", com.azure.core.util.Context.NONE);
+ }
+}
diff --git a/sdk/containerinstance/azure-resourcemanager-containerinstance/src/samples/java/com/azure/resourcemanager/containerinstance/generated/NGroupsGetByResourceGroupSamples.java b/sdk/containerinstance/azure-resourcemanager-containerinstance/src/samples/java/com/azure/resourcemanager/containerinstance/generated/NGroupsGetByResourceGroupSamples.java
new file mode 100644
index 000000000000..52d9fdd33964
--- /dev/null
+++ b/sdk/containerinstance/azure-resourcemanager-containerinstance/src/samples/java/com/azure/resourcemanager/containerinstance/generated/NGroupsGetByResourceGroupSamples.java
@@ -0,0 +1,24 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.containerinstance.generated;
+
+/**
+ * Samples for NGroups GetByResourceGroup.
+ */
+public final class NGroupsGetByResourceGroupSamples {
+ /*
+ * x-ms-original-file: 2026-08-01-preview/NGroupsGet.json
+ */
+ /**
+ * Sample code: NGroupsGet.
+ *
+ * @param manager Entry point to ContainerInstanceManager.
+ */
+ public static void nGroupsGet(com.azure.resourcemanager.containerinstance.ContainerInstanceManager manager) {
+ manager.serviceClient()
+ .getNGroups()
+ .getByResourceGroupWithResponse("demo", "demo-ngroup", com.azure.core.util.Context.NONE);
+ }
+}
diff --git a/sdk/containerinstance/azure-resourcemanager-containerinstance/src/samples/java/com/azure/resourcemanager/containerinstance/generated/NGroupsListByResourceGroupSamples.java b/sdk/containerinstance/azure-resourcemanager-containerinstance/src/samples/java/com/azure/resourcemanager/containerinstance/generated/NGroupsListByResourceGroupSamples.java
new file mode 100644
index 000000000000..4bb4e5d99967
--- /dev/null
+++ b/sdk/containerinstance/azure-resourcemanager-containerinstance/src/samples/java/com/azure/resourcemanager/containerinstance/generated/NGroupsListByResourceGroupSamples.java
@@ -0,0 +1,23 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.containerinstance.generated;
+
+/**
+ * Samples for NGroups ListByResourceGroup.
+ */
+public final class NGroupsListByResourceGroupSamples {
+ /*
+ * x-ms-original-file: 2026-08-01-preview/NGroupsListByResourceGroup.json
+ */
+ /**
+ * Sample code: NGroupsListByResourceGroup.
+ *
+ * @param manager Entry point to ContainerInstanceManager.
+ */
+ public static void
+ nGroupsListByResourceGroup(com.azure.resourcemanager.containerinstance.ContainerInstanceManager manager) {
+ manager.serviceClient().getNGroups().listByResourceGroup("demo", com.azure.core.util.Context.NONE);
+ }
+}
diff --git a/sdk/containerinstance/azure-resourcemanager-containerinstance/src/samples/java/com/azure/resourcemanager/containerinstance/generated/NGroupsListSamples.java b/sdk/containerinstance/azure-resourcemanager-containerinstance/src/samples/java/com/azure/resourcemanager/containerinstance/generated/NGroupsListSamples.java
new file mode 100644
index 000000000000..c04fb3265f9d
--- /dev/null
+++ b/sdk/containerinstance/azure-resourcemanager-containerinstance/src/samples/java/com/azure/resourcemanager/containerinstance/generated/NGroupsListSamples.java
@@ -0,0 +1,22 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.containerinstance.generated;
+
+/**
+ * Samples for NGroups List.
+ */
+public final class NGroupsListSamples {
+ /*
+ * x-ms-original-file: 2026-08-01-preview/NGroupsList.json
+ */
+ /**
+ * Sample code: NGroupsList.
+ *
+ * @param manager Entry point to ContainerInstanceManager.
+ */
+ public static void nGroupsList(com.azure.resourcemanager.containerinstance.ContainerInstanceManager manager) {
+ manager.serviceClient().getNGroups().list(com.azure.core.util.Context.NONE);
+ }
+}
diff --git a/sdk/containerinstance/azure-resourcemanager-containerinstance/src/samples/java/com/azure/resourcemanager/containerinstance/generated/NGroupsRestartSamples.java b/sdk/containerinstance/azure-resourcemanager-containerinstance/src/samples/java/com/azure/resourcemanager/containerinstance/generated/NGroupsRestartSamples.java
new file mode 100644
index 000000000000..99d41dbd5646
--- /dev/null
+++ b/sdk/containerinstance/azure-resourcemanager-containerinstance/src/samples/java/com/azure/resourcemanager/containerinstance/generated/NGroupsRestartSamples.java
@@ -0,0 +1,22 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.containerinstance.generated;
+
+/**
+ * Samples for NGroups Restart.
+ */
+public final class NGroupsRestartSamples {
+ /*
+ * x-ms-original-file: 2026-08-01-preview/NGroupsRestart.json
+ */
+ /**
+ * Sample code: NGroupsRestart.
+ *
+ * @param manager Entry point to ContainerInstanceManager.
+ */
+ public static void nGroupsRestart(com.azure.resourcemanager.containerinstance.ContainerInstanceManager manager) {
+ manager.serviceClient().getNGroups().restart("demo", "demo-ngroup", com.azure.core.util.Context.NONE);
+ }
+}
diff --git a/sdk/containerinstance/azure-resourcemanager-containerinstance/src/samples/java/com/azure/resourcemanager/containerinstance/generated/NGroupsStartSamples.java b/sdk/containerinstance/azure-resourcemanager-containerinstance/src/samples/java/com/azure/resourcemanager/containerinstance/generated/NGroupsStartSamples.java
new file mode 100644
index 000000000000..5dd3196c72e3
--- /dev/null
+++ b/sdk/containerinstance/azure-resourcemanager-containerinstance/src/samples/java/com/azure/resourcemanager/containerinstance/generated/NGroupsStartSamples.java
@@ -0,0 +1,22 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.containerinstance.generated;
+
+/**
+ * Samples for NGroups Start.
+ */
+public final class NGroupsStartSamples {
+ /*
+ * x-ms-original-file: 2026-08-01-preview/NGroupsStart.json
+ */
+ /**
+ * Sample code: NGroupsStart.
+ *
+ * @param manager Entry point to ContainerInstanceManager.
+ */
+ public static void nGroupsStart(com.azure.resourcemanager.containerinstance.ContainerInstanceManager manager) {
+ manager.serviceClient().getNGroups().start("demo", "demo-ngroup", com.azure.core.util.Context.NONE);
+ }
+}
diff --git a/sdk/containerinstance/azure-resourcemanager-containerinstance/src/samples/java/com/azure/resourcemanager/containerinstance/generated/NGroupsStopSamples.java b/sdk/containerinstance/azure-resourcemanager-containerinstance/src/samples/java/com/azure/resourcemanager/containerinstance/generated/NGroupsStopSamples.java
new file mode 100644
index 000000000000..e3b78c113ad9
--- /dev/null
+++ b/sdk/containerinstance/azure-resourcemanager-containerinstance/src/samples/java/com/azure/resourcemanager/containerinstance/generated/NGroupsStopSamples.java
@@ -0,0 +1,22 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.containerinstance.generated;
+
+/**
+ * Samples for NGroups Stop.
+ */
+public final class NGroupsStopSamples {
+ /*
+ * x-ms-original-file: 2026-08-01-preview/NGroupsStop.json
+ */
+ /**
+ * Sample code: NGroupsStop.
+ *
+ * @param manager Entry point to ContainerInstanceManager.
+ */
+ public static void nGroupsStop(com.azure.resourcemanager.containerinstance.ContainerInstanceManager manager) {
+ manager.serviceClient().getNGroups().stopWithResponse("demo", "demo-ngroup", com.azure.core.util.Context.NONE);
+ }
+}
diff --git a/sdk/containerinstance/azure-resourcemanager-containerinstance/src/samples/java/com/azure/resourcemanager/containerinstance/generated/NGroupsUpdateSamples.java b/sdk/containerinstance/azure-resourcemanager-containerinstance/src/samples/java/com/azure/resourcemanager/containerinstance/generated/NGroupsUpdateSamples.java
new file mode 100644
index 000000000000..79e67008f1aa
--- /dev/null
+++ b/sdk/containerinstance/azure-resourcemanager-containerinstance/src/samples/java/com/azure/resourcemanager/containerinstance/generated/NGroupsUpdateSamples.java
@@ -0,0 +1,41 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.containerinstance.generated;
+
+import com.azure.resourcemanager.containerinstance.models.NGroupPatch;
+import java.util.HashMap;
+import java.util.Map;
+
+/**
+ * Samples for NGroups Update.
+ */
+public final class NGroupsUpdateSamples {
+ /*
+ * x-ms-original-file: 2026-08-01-preview/NGroupsUpdate.json
+ */
+ /**
+ * Sample code: NGroupsUpdate.
+ *
+ * @param manager Entry point to ContainerInstanceManager.
+ */
+ public static void nGroupsUpdate(com.azure.resourcemanager.containerinstance.ContainerInstanceManager manager) {
+ manager.serviceClient()
+ .getNGroups()
+ .update("demo", "demo-ngroup", new NGroupPatch().withTags(mapOf("env", "test")),
+ com.azure.core.util.Context.NONE);
+ }
+
+ // Use "Map.of" if available
+ @SuppressWarnings("unchecked")
+ private static Map mapOf(Object... inputs) {
+ Map map = new HashMap<>();
+ for (int i = 0; i < inputs.length; i += 2) {
+ String key = (String) inputs[i];
+ T value = (T) inputs[i + 1];
+ map.put(key, value);
+ }
+ return map;
+ }
+}
diff --git a/sdk/containerinstance/azure-resourcemanager-containerinstance/src/samples/java/com/azure/resourcemanager/containerinstance/generated/OperationsListSamples.java b/sdk/containerinstance/azure-resourcemanager-containerinstance/src/samples/java/com/azure/resourcemanager/containerinstance/generated/OperationsListSamples.java
index 2850740b16d7..e5e9b07bc73e 100644
--- a/sdk/containerinstance/azure-resourcemanager-containerinstance/src/samples/java/com/azure/resourcemanager/containerinstance/generated/OperationsListSamples.java
+++ b/sdk/containerinstance/azure-resourcemanager-containerinstance/src/samples/java/com/azure/resourcemanager/containerinstance/generated/OperationsListSamples.java
@@ -9,7 +9,7 @@
*/
public final class OperationsListSamples {
/*
- * x-ms-original-file: 2025-09-01/OperationsList.json
+ * x-ms-original-file: 2026-08-01-preview/OperationsList.json
*/
/**
* Sample code: OperationsList.
diff --git a/sdk/containerinstance/azure-resourcemanager-containerinstance/src/samples/java/com/azure/resourcemanager/containerinstance/generated/SubnetServiceAssociationLinkDeleteSamples.java b/sdk/containerinstance/azure-resourcemanager-containerinstance/src/samples/java/com/azure/resourcemanager/containerinstance/generated/SubnetServiceAssociationLinkDeleteSamples.java
index 249443e48d22..aa612e6708bf 100644
--- a/sdk/containerinstance/azure-resourcemanager-containerinstance/src/samples/java/com/azure/resourcemanager/containerinstance/generated/SubnetServiceAssociationLinkDeleteSamples.java
+++ b/sdk/containerinstance/azure-resourcemanager-containerinstance/src/samples/java/com/azure/resourcemanager/containerinstance/generated/SubnetServiceAssociationLinkDeleteSamples.java
@@ -9,7 +9,7 @@
*/
public final class SubnetServiceAssociationLinkDeleteSamples {
/*
- * x-ms-original-file: 2025-09-01/SubnetServiceAssociationLinkDelete.json
+ * x-ms-original-file: 2026-08-01-preview/SubnetServiceAssociationLinkDelete.json
*/
/**
* Sample code: SubnetServiceAssociationLinkDelete.
diff --git a/sdk/containerinstance/azure-resourcemanager-containerinstance/tsp-location.yaml b/sdk/containerinstance/azure-resourcemanager-containerinstance/tsp-location.yaml
index f9defe2a97a5..9a2aa2dd5fbd 100644
--- a/sdk/containerinstance/azure-resourcemanager-containerinstance/tsp-location.yaml
+++ b/sdk/containerinstance/azure-resourcemanager-containerinstance/tsp-location.yaml
@@ -1,4 +1,4 @@
directory: specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance
-commit: c20c198ed29fb0b4b8f5022ef8a07cca22905656
+commit: 8c66db435b08db558d154f98c998f3d9672dab58
repo: Azure/azure-rest-api-specs
additionalDirectories: