diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS
index 9ea66a8abf38..4921f83b5d35 100644
--- a/.github/CODEOWNERS
+++ b/.github/CODEOWNERS
@@ -158,9 +158,6 @@
# ServiceLabel: %Batch
# ServiceOwners: @mksuni @bgklein @mscurrell @cRui861 @paterasMSFT @gingi @dpwatrous
-# ServiceLabel: %BatchAI
-# ServiceOwners: @matthchr
-
# ServiceLabel: %Billing
# ServiceOwners: @cabbpt
diff --git a/eng/versioning/external_dependencies.txt b/eng/versioning/external_dependencies.txt
index a8fe028ca1af..03f82283d9b4 100644
--- a/eng/versioning/external_dependencies.txt
+++ b/eng/versioning/external_dependencies.txt
@@ -33,7 +33,6 @@ com.microsoft.azure:azure-client-runtime;1.7.14
com.microsoft.azure:azure-core;0.9.8
com.microsoft.azure:azure-keyvault-cryptography;1.2.2
com.microsoft.azure:qpid-proton-j-extensions;1.2.5
-com.microsoft.azure.sdk.iot:iot-service-client;1.30.0
com.microsoft.sqlserver:mssql-jdbc;10.2.3.jre8
com.microsoft.azure:azure-functions-maven-plugin;1.30.0
com.microsoft.azure.functions:azure-functions-java-library;2.2.0
diff --git a/eng/versioning/version_client.txt b/eng/versioning/version_client.txt
index c1184dbef8b2..1f2c7da4fb44 100644
--- a/eng/versioning/version_client.txt
+++ b/eng/versioning/version_client.txt
@@ -148,7 +148,6 @@ com.azure:azure-maps-geolocation;1.0.0-beta.3;1.0.0-beta.4
com.azure:azure-maps-render;2.0.0-beta.2;2.0.0-beta.3
com.azure:azure-maps-route;1.0.0-beta.3;1.0.0-beta.4
com.azure:azure-maps-search;2.0.0-beta.2;2.0.0-beta.3
-com.azure:azure-media-videoanalyzer-edge;1.0.0-beta.6;1.0.0-beta.7
com.azure:azure-messaging-eventgrid;4.27.0;4.28.0-beta.1
com.azure:azure-messaging-eventgrid-namespaces;1.1.1;1.2.0-beta.1
com.azure:azure-messaging-eventgrid-cloudnative-cloudevents;1.0.0-beta.1;1.0.0-beta.2
@@ -334,7 +333,6 @@ com.azure.resourcemanager:azure-resourcemanager-avs;1.2.0;1.3.0-beta.1
com.azure.resourcemanager:azure-resourcemanager-consumption;1.0.0;1.1.0-beta.1
com.azure.resourcemanager:azure-resourcemanager-commerce;1.0.0-beta.2;1.0.0-beta.3
com.azure.resourcemanager:azure-resourcemanager-billing;1.0.0;1.1.0-beta.1
-com.azure.resourcemanager:azure-resourcemanager-batchai;1.0.0-beta.1;1.0.0-beta.2
com.azure.resourcemanager:azure-resourcemanager-signalr;1.0.0;1.1.0-beta.1
com.azure.resourcemanager:azure-resourcemanager-cognitiveservices;1.1.0;1.2.0-beta.1
com.azure.resourcemanager:azure-resourcemanager-customerinsights;1.0.0-beta.3;1.0.0-beta.4
@@ -347,7 +345,6 @@ com.azure.resourcemanager:azure-resourcemanager-healthcareapis;1.2.0;1.3.0-beta.
com.azure.resourcemanager:azure-resourcemanager-hybridcompute;1.0.0;1.1.0-beta.2
com.azure.resourcemanager:azure-resourcemanager-logic;1.0.0;1.1.0-beta.1
com.azure.resourcemanager:azure-resourcemanager-maintenance;1.0.0;1.1.0-beta.3
-com.azure.resourcemanager:azure-resourcemanager-machinelearningservices;1.0.0-beta.1;1.0.0-beta.2
com.azure.resourcemanager:azure-resourcemanager-mariadb;1.0.0;1.1.0-beta.1
com.azure.resourcemanager:azure-resourcemanager-servicefabric;1.0.0;1.1.0-beta.1
com.azure.resourcemanager:azure-resourcemanager-peering;1.0.0;1.1.0-beta.1
@@ -355,7 +352,6 @@ com.azure.resourcemanager:azure-resourcemanager-policyinsights;1.0.0;1.1.0-beta.
com.azure.resourcemanager:azure-resourcemanager-support;1.1.0;1.2.0-beta.1
com.azure.resourcemanager:azure-resourcemanager-subscription;1.0.0;1.1.0-beta.1
com.azure.resourcemanager:azure-resourcemanager-powerbidedicated;1.0.0;1.1.0-beta.1
-com.azure.resourcemanager:azure-resourcemanager-storageimportexport;1.0.0-beta.3;1.0.0-beta.4
com.azure.resourcemanager:azure-resourcemanager-applicationinsights;1.1.0;1.2.0-beta.1
com.azure.resourcemanager:azure-resourcemanager-deploymentmanager;1.0.0-beta.2;1.0.0-beta.3
com.azure.resourcemanager:azure-resourcemanager-notificationhubs;1.0.0;1.1.0-beta.1
@@ -370,7 +366,6 @@ com.azure.resourcemanager:azure-resourcemanager-iotcentral;1.0.0;1.1.0-beta.3
com.azure.resourcemanager:azure-resourcemanager-labservices;1.0.0;1.1.0-beta.1
com.azure.resourcemanager:azure-resourcemanager-vmwarecloudsimple;1.0.0-beta.3;1.0.0-beta.4
com.azure.resourcemanager:azure-resourcemanager-managedapplications;1.0.0;1.1.0-beta.1
-com.azure.resourcemanager:azure-resourcemanager-videoanalyzer;1.0.0-beta.5;1.0.0-beta.6
com.azure.resourcemanager:azure-resourcemanager-imagebuilder;1.2.0;1.3.0-beta.1
com.azure.resourcemanager:azure-resourcemanager-maps;1.1.0;1.2.0-beta.1
com.azure.resourcemanager:azure-resourcemanager-botservice;1.0.0;1.1.0-beta.1
diff --git a/pom.xml b/pom.xml
index 6d0fed5556e4..dc168bbfdc6a 100644
--- a/pom.xml
+++ b/pom.xml
@@ -34,7 +34,6 @@
sdk/azurestackhcisdk/baremetalinfrastructuresdk/batch
- sdk/batchaisdk/billingsdk/billingbenefitssdk/boms
@@ -131,7 +130,6 @@
sdk/logicsdk/logzsdk/machinelearning
- sdk/machinelearningservicessdk/maintenancesdk/managedapplicationssdk/managednetworkfabric
@@ -213,7 +211,6 @@
sdk/storagesdk/storageactionssdk/storagecache
- sdk/storageimportexportsdk/storagemoversdk/storagepoolsdk/streamanalytics
@@ -228,7 +225,6 @@
sdk/toolssdk/translationsdk/trustedsigning
- sdk/videoanalyzersdk/visionsdk/vmwarecloudsimplesdk/voiceservices
diff --git a/sdk/batchai/azure-resourcemanager-batchai/CHANGELOG.md b/sdk/batchai/azure-resourcemanager-batchai/CHANGELOG.md
deleted file mode 100644
index eb7a02deeff7..000000000000
--- a/sdk/batchai/azure-resourcemanager-batchai/CHANGELOG.md
+++ /dev/null
@@ -1,8 +0,0 @@
-# Release History
-
-## 1.0.0-beta.2 (Unreleased)
-
-
-## 1.0.0-beta.1 (2021-04-14)
-
-- Azure Resource Manager BatchAI client library for Java. This package contains Microsoft Azure SDK for BatchAI Management SDK. The Azure BatchAI Management API. Package tag package-2018-05. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt).
diff --git a/sdk/batchai/azure-resourcemanager-batchai/README.md b/sdk/batchai/azure-resourcemanager-batchai/README.md
deleted file mode 100644
index 16884167d43a..000000000000
--- a/sdk/batchai/azure-resourcemanager-batchai/README.md
+++ /dev/null
@@ -1,99 +0,0 @@
-# Azure Resource Manager BatchAI client library for Java
-
-Azure Resource Manager BatchAI client library for Java.
-
-This package contains Microsoft Azure SDK for BatchAI Management SDK. The Azure BatchAI Management API. Package tag package-2018-05. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt).
-
-## We'd love to hear your feedback
-
-We're always working on improving our products and the way we communicate with our users. So we'd love to learn what's working and how we can do better.
-
-If you haven't already, please take a few minutes to [complete this short survey][survey] we have put together.
-
-Thank you in advance for your collaboration. We really appreciate your time!
-
-## Documentation
-
-Various documentation is available to help you get started
-
-- [API reference documentation][docs]
-
-## Getting started
-
-### Prerequisites
-
-- [Java Development Kit (JDK)][jdk] with version 8 or above
-- [Azure Subscription][azure_subscription]
-
-### Adding the package to your product
-
-[//]: # ({x-version-update-start;com.azure.resourcemanager:azure-resourcemanager-batchai;current})
-```xml
-
- com.azure.resourcemanager
- azure-resourcemanager-batchai
- 1.0.0-beta.1
-
-```
-[//]: # ({x-version-update-end})
-
-### Include the recommended packages
-
-Azure Management Libraries require a `TokenCredential` implementation for authentication and an `HttpClient` implementation for HTTP client.
-
-[Azure Identity][azure_identity] package and [Azure Core Netty HTTP][azure_core_http_netty] package provide the default implementation.
-
-### Authentication
-
-By default, Azure Active Directory token authentication depends on correct configure of following environment variables.
-
-- `AZURE_CLIENT_ID` for Azure client ID.
-- `AZURE_TENANT_ID` for Azure tenant ID.
-- `AZURE_CLIENT_SECRET` or `AZURE_CLIENT_CERTIFICATE_PATH` for client secret or client certificate.
-
-In addition, Azure subscription ID can be configured via environment variable `AZURE_SUBSCRIPTION_ID`.
-
-With above configuration, `azure` client can be authenticated by following code:
-
-```java
-AzureProfile profile = new AzureProfile(AzureEnvironment.AZURE);
-TokenCredential credential = new DefaultAzureCredentialBuilder()
- .authorityHost(profile.getEnvironment().getActiveDirectoryEndpoint())
- .build();
-BatchAIManager manager = BatchAIManager
- .authenticate(credential, profile);
-```
-
-The sample code assumes global Azure. Please change `AzureEnvironment.AZURE` variable if otherwise.
-
-See [Authentication][authenticate] for more options.
-
-## Key concepts
-
-See [API design][design] for general introduction on design and key concepts on Azure Management Libraries.
-
-## Examples
-
-## Troubleshooting
-
-## Next steps
-
-## Contributing
-
-For details on contributing to this repository, see the [contributing guide](https://github.com/Azure/azure-sdk-for-java/blob/main/CONTRIBUTING.md).
-
-1. Fork it
-1. Create your feature branch (`git checkout -b my-new-feature`)
-1. Commit your changes (`git commit -am 'Add some feature'`)
-1. Push to the branch (`git push origin my-new-feature`)
-1. Create new Pull Request
-
-
-[survey]: https://microsoft.qualtrics.com/jfe/form/SV_ehN0lIk2FKEBkwd?Q_CHL=DOCS
-[docs]: https://azure.github.io/azure-sdk-for-java/
-[jdk]: https://learn.microsoft.com/java/azure/jdk/
-[azure_subscription]: https://azure.microsoft.com/free/
-[azure_identity]: https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/identity/azure-identity
-[azure_core_http_netty]: https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/core/azure-core-http-netty
-[authenticate]: https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/resourcemanager/docs/AUTH.md
-[design]: https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/resourcemanager/docs/DESIGN.md
diff --git a/sdk/batchai/azure-resourcemanager-batchai/pom.xml b/sdk/batchai/azure-resourcemanager-batchai/pom.xml
deleted file mode 100644
index 0941c520b7eb..000000000000
--- a/sdk/batchai/azure-resourcemanager-batchai/pom.xml
+++ /dev/null
@@ -1,57 +0,0 @@
-
- 4.0.0
-
- com.azure
- azure-client-sdk-parent
- 1.7.0
- ../../parents/azure-client-sdk-parent
-
-
- com.azure.resourcemanager
- azure-resourcemanager-batchai
- 1.0.0-beta.2
- jar
-
- Microsoft Azure SDK for BatchAI Management
- This package contains Microsoft Azure SDK for BatchAI Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. The Azure BatchAI Management API. Package tag package-2018-05.
-
- https://github.com/Azure/azure-sdk-for-java
-
-
-
- The MIT License (MIT)
- http://opensource.org/licenses/MIT
- repo
-
-
-
-
- https://github.com/Azure/azure-sdk-for-java
- scm:git:git@github.com:Azure/azure-sdk-for-java.git
- scm:git:git@github.com:Azure/azure-sdk-for-java.git
- HEAD
-
-
-
- microsoft
- Microsoft
-
-
-
- UTF-8
- true
- -
-
-
-
- com.azure
- azure-core
- 1.54.1
-
-
- com.azure
- azure-core-management
- 1.15.6
-
-
-
diff --git a/sdk/batchai/azure-resourcemanager-batchai/src/main/java/com/azure/resourcemanager/batchai/BatchAIManager.java b/sdk/batchai/azure-resourcemanager-batchai/src/main/java/com/azure/resourcemanager/batchai/BatchAIManager.java
deleted file mode 100644
index a93ebc951a5c..000000000000
--- a/sdk/batchai/azure-resourcemanager-batchai/src/main/java/com/azure/resourcemanager/batchai/BatchAIManager.java
+++ /dev/null
@@ -1,279 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.batchai;
-
-import com.azure.core.credential.TokenCredential;
-import com.azure.core.http.HttpClient;
-import com.azure.core.http.HttpPipeline;
-import com.azure.core.http.HttpPipelineBuilder;
-import com.azure.core.http.policy.AddDatePolicy;
-import com.azure.core.http.policy.BearerTokenAuthenticationPolicy;
-import com.azure.core.http.policy.HttpLogOptions;
-import com.azure.core.http.policy.HttpLoggingPolicy;
-import com.azure.core.http.policy.HttpPipelinePolicy;
-import com.azure.core.http.policy.HttpPolicyProviders;
-import com.azure.core.http.policy.RequestIdPolicy;
-import com.azure.core.http.policy.RetryPolicy;
-import com.azure.core.http.policy.UserAgentPolicy;
-import com.azure.core.management.profile.AzureProfile;
-import com.azure.core.util.Configuration;
-import com.azure.core.util.logging.ClientLogger;
-import com.azure.resourcemanager.batchai.fluent.BatchAI;
-import com.azure.resourcemanager.batchai.implementation.BatchAIBuilder;
-import com.azure.resourcemanager.batchai.implementation.ClustersImpl;
-import com.azure.resourcemanager.batchai.implementation.ExperimentsImpl;
-import com.azure.resourcemanager.batchai.implementation.FileServersImpl;
-import com.azure.resourcemanager.batchai.implementation.JobsImpl;
-import com.azure.resourcemanager.batchai.implementation.OperationsImpl;
-import com.azure.resourcemanager.batchai.implementation.UsagesImpl;
-import com.azure.resourcemanager.batchai.implementation.WorkspacesImpl;
-import com.azure.resourcemanager.batchai.models.Clusters;
-import com.azure.resourcemanager.batchai.models.Experiments;
-import com.azure.resourcemanager.batchai.models.FileServers;
-import com.azure.resourcemanager.batchai.models.Jobs;
-import com.azure.resourcemanager.batchai.models.Operations;
-import com.azure.resourcemanager.batchai.models.Usages;
-import com.azure.resourcemanager.batchai.models.Workspaces;
-import java.time.Duration;
-import java.time.temporal.ChronoUnit;
-import java.util.ArrayList;
-import java.util.List;
-import java.util.Objects;
-
-/** Entry point to BatchAIManager. The Azure BatchAI Management API. */
-public final class BatchAIManager {
- private Operations operations;
-
- private Usages usages;
-
- private Workspaces workspaces;
-
- private Experiments experiments;
-
- private Jobs jobs;
-
- private FileServers fileServers;
-
- private Clusters clusters;
-
- private final BatchAI clientObject;
-
- private BatchAIManager(HttpPipeline httpPipeline, AzureProfile profile, Duration defaultPollInterval) {
- Objects.requireNonNull(httpPipeline, "'httpPipeline' cannot be null.");
- Objects.requireNonNull(profile, "'profile' cannot be null.");
- this.clientObject = new BatchAIBuilder().pipeline(httpPipeline)
- .endpoint(profile.getEnvironment().getResourceManagerEndpoint())
- .subscriptionId(profile.getSubscriptionId())
- .defaultPollInterval(defaultPollInterval)
- .buildClient();
- }
-
- /**
- * Creates an instance of BatchAI service API entry point.
- *
- * @param credential the credential to use.
- * @param profile the Azure profile for client.
- * @return the BatchAI service API instance.
- */
- public static BatchAIManager authenticate(TokenCredential credential, AzureProfile profile) {
- Objects.requireNonNull(credential, "'credential' cannot be null.");
- Objects.requireNonNull(profile, "'profile' cannot be null.");
- return configure().authenticate(credential, profile);
- }
-
- /**
- * Gets a Configurable instance that can be used to create BatchAIManager with optional configuration.
- *
- * @return the Configurable instance allowing configurations.
- */
- public static Configurable configure() {
- return new BatchAIManager.Configurable();
- }
-
- /** The Configurable allowing configurations to be set. */
- public static final class Configurable {
- private final ClientLogger logger = new ClientLogger(Configurable.class);
-
- private HttpClient httpClient;
- private HttpLogOptions httpLogOptions;
- private final List policies = new ArrayList<>();
- private RetryPolicy retryPolicy;
- private Duration defaultPollInterval;
-
- private Configurable() {
- }
-
- /**
- * Sets the http client.
- *
- * @param httpClient the HTTP client.
- * @return the configurable object itself.
- */
- public Configurable withHttpClient(HttpClient httpClient) {
- this.httpClient = Objects.requireNonNull(httpClient, "'httpClient' cannot be null.");
- return this;
- }
-
- /**
- * Sets the logging options to the HTTP pipeline.
- *
- * @param httpLogOptions the HTTP log options.
- * @return the configurable object itself.
- */
- public Configurable withLogOptions(HttpLogOptions httpLogOptions) {
- this.httpLogOptions = Objects.requireNonNull(httpLogOptions, "'httpLogOptions' cannot be null.");
- return this;
- }
-
- /**
- * Adds the pipeline policy to the HTTP pipeline.
- *
- * @param policy the HTTP pipeline policy.
- * @return the configurable object itself.
- */
- public Configurable withPolicy(HttpPipelinePolicy policy) {
- this.policies.add(Objects.requireNonNull(policy, "'policy' cannot be null."));
- return this;
- }
-
- /**
- * Sets the retry policy to the HTTP pipeline.
- *
- * @param retryPolicy the HTTP pipeline retry policy.
- * @return the configurable object itself.
- */
- public Configurable withRetryPolicy(RetryPolicy retryPolicy) {
- this.retryPolicy = Objects.requireNonNull(retryPolicy, "'retryPolicy' cannot be null.");
- return this;
- }
-
- /**
- * Sets the default poll interval, used when service does not provide "Retry-After" header.
- *
- * @param defaultPollInterval the default poll interval.
- * @return the configurable object itself.
- */
- public Configurable withDefaultPollInterval(Duration defaultPollInterval) {
- this.defaultPollInterval = Objects.requireNonNull(defaultPollInterval, "'retryPolicy' cannot be null.");
- if (this.defaultPollInterval.isNegative()) {
- throw logger.logExceptionAsError(new IllegalArgumentException("'httpPipeline' cannot be negative"));
- }
- return this;
- }
-
- /**
- * Creates an instance of BatchAI service API entry point.
- *
- * @param credential the credential to use.
- * @param profile the Azure profile for client.
- * @return the BatchAI service API instance.
- */
- public BatchAIManager authenticate(TokenCredential credential, AzureProfile profile) {
- Objects.requireNonNull(credential, "'credential' cannot be null.");
- Objects.requireNonNull(profile, "'profile' cannot be null.");
-
- StringBuilder userAgentBuilder = new StringBuilder();
- userAgentBuilder.append("azsdk-java")
- .append("-")
- .append("com.azure.resourcemanager.batchai")
- .append("/")
- .append("1.0.0-beta.1");
- if (!Configuration.getGlobalConfiguration().get("AZURE_TELEMETRY_DISABLED", false)) {
- userAgentBuilder.append(" (")
- .append(Configuration.getGlobalConfiguration().get("java.version"))
- .append("; ")
- .append(Configuration.getGlobalConfiguration().get("os.name"))
- .append("; ")
- .append(Configuration.getGlobalConfiguration().get("os.version"))
- .append("; auto-generated)");
- } else {
- userAgentBuilder.append(" (auto-generated)");
- }
-
- if (retryPolicy == null) {
- retryPolicy = new RetryPolicy("Retry-After", ChronoUnit.SECONDS);
- }
- List policies = new ArrayList<>();
- policies.add(new UserAgentPolicy(userAgentBuilder.toString()));
- policies.add(new RequestIdPolicy());
- HttpPolicyProviders.addBeforeRetryPolicies(policies);
- policies.add(retryPolicy);
- policies.add(new AddDatePolicy());
- policies.add(new BearerTokenAuthenticationPolicy(credential,
- profile.getEnvironment().getManagementEndpoint() + "/.default"));
- policies.addAll(this.policies);
- HttpPolicyProviders.addAfterRetryPolicies(policies);
- policies.add(new HttpLoggingPolicy(httpLogOptions));
- HttpPipeline httpPipeline = new HttpPipelineBuilder().httpClient(httpClient)
- .policies(policies.toArray(new HttpPipelinePolicy[0]))
- .build();
- return new BatchAIManager(httpPipeline, profile, defaultPollInterval);
- }
- }
-
- /** @return Resource collection API of Operations. */
- public Operations operations() {
- if (this.operations == null) {
- this.operations = new OperationsImpl(clientObject.getOperations(), this);
- }
- return operations;
- }
-
- /** @return Resource collection API of Usages. */
- public Usages usages() {
- if (this.usages == null) {
- this.usages = new UsagesImpl(clientObject.getUsages(), this);
- }
- return usages;
- }
-
- /** @return Resource collection API of Workspaces. */
- public Workspaces workspaces() {
- if (this.workspaces == null) {
- this.workspaces = new WorkspacesImpl(clientObject.getWorkspaces(), this);
- }
- return workspaces;
- }
-
- /** @return Resource collection API of Experiments. */
- public Experiments experiments() {
- if (this.experiments == null) {
- this.experiments = new ExperimentsImpl(clientObject.getExperiments(), this);
- }
- return experiments;
- }
-
- /** @return Resource collection API of Jobs. */
- public Jobs jobs() {
- if (this.jobs == null) {
- this.jobs = new JobsImpl(clientObject.getJobs(), this);
- }
- return jobs;
- }
-
- /** @return Resource collection API of FileServers. */
- public FileServers fileServers() {
- if (this.fileServers == null) {
- this.fileServers = new FileServersImpl(clientObject.getFileServers(), this);
- }
- return fileServers;
- }
-
- /** @return Resource collection API of Clusters. */
- public Clusters clusters() {
- if (this.clusters == null) {
- this.clusters = new ClustersImpl(clientObject.getClusters(), this);
- }
- return clusters;
- }
-
- /**
- * @return Wrapped service client BatchAI providing direct access to the underlying auto-generated API
- * implementation, based on Azure REST API.
- */
- public BatchAI serviceClient() {
- return this.clientObject;
- }
-}
diff --git a/sdk/batchai/azure-resourcemanager-batchai/src/main/java/com/azure/resourcemanager/batchai/fluent/BatchAI.java b/sdk/batchai/azure-resourcemanager-batchai/src/main/java/com/azure/resourcemanager/batchai/fluent/BatchAI.java
deleted file mode 100644
index 94b94d1556b6..000000000000
--- a/sdk/batchai/azure-resourcemanager-batchai/src/main/java/com/azure/resourcemanager/batchai/fluent/BatchAI.java
+++ /dev/null
@@ -1,95 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.batchai.fluent;
-
-import com.azure.core.http.HttpPipeline;
-import java.time.Duration;
-
-/** The interface for BatchAI class. */
-public interface BatchAI {
- /**
- * Gets The subscriptionID for the Azure user.
- *
- * @return the subscriptionId value.
- */
- String getSubscriptionId();
-
- /**
- * Gets server parameter.
- *
- * @return the endpoint value.
- */
- String getEndpoint();
-
- /**
- * Gets Api Version.
- *
- * @return the apiVersion value.
- */
- String getApiVersion();
-
- /**
- * Gets The HTTP pipeline to send requests through.
- *
- * @return the httpPipeline value.
- */
- HttpPipeline getHttpPipeline();
-
- /**
- * Gets The default poll interval for long-running operation.
- *
- * @return the defaultPollInterval value.
- */
- Duration getDefaultPollInterval();
-
- /**
- * Gets the OperationsClient object to access its operations.
- *
- * @return the OperationsClient object.
- */
- OperationsClient getOperations();
-
- /**
- * Gets the UsagesClient object to access its operations.
- *
- * @return the UsagesClient object.
- */
- UsagesClient getUsages();
-
- /**
- * Gets the WorkspacesClient object to access its operations.
- *
- * @return the WorkspacesClient object.
- */
- WorkspacesClient getWorkspaces();
-
- /**
- * Gets the ExperimentsClient object to access its operations.
- *
- * @return the ExperimentsClient object.
- */
- ExperimentsClient getExperiments();
-
- /**
- * Gets the JobsClient object to access its operations.
- *
- * @return the JobsClient object.
- */
- JobsClient getJobs();
-
- /**
- * Gets the FileServersClient object to access its operations.
- *
- * @return the FileServersClient object.
- */
- FileServersClient getFileServers();
-
- /**
- * Gets the ClustersClient object to access its operations.
- *
- * @return the ClustersClient object.
- */
- ClustersClient getClusters();
-}
diff --git a/sdk/batchai/azure-resourcemanager-batchai/src/main/java/com/azure/resourcemanager/batchai/fluent/ClustersClient.java b/sdk/batchai/azure-resourcemanager-batchai/src/main/java/com/azure/resourcemanager/batchai/fluent/ClustersClient.java
deleted file mode 100644
index 247cfbb903d0..000000000000
--- a/sdk/batchai/azure-resourcemanager-batchai/src/main/java/com/azure/resourcemanager/batchai/fluent/ClustersClient.java
+++ /dev/null
@@ -1,310 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.batchai.fluent;
-
-import com.azure.core.annotation.ReturnType;
-import com.azure.core.annotation.ServiceMethod;
-import com.azure.core.http.rest.PagedIterable;
-import com.azure.core.http.rest.Response;
-import com.azure.core.management.polling.PollResult;
-import com.azure.core.util.Context;
-import com.azure.core.util.polling.SyncPoller;
-import com.azure.resourcemanager.batchai.fluent.models.ClusterInner;
-import com.azure.resourcemanager.batchai.fluent.models.RemoteLoginInformationInner;
-import com.azure.resourcemanager.batchai.models.ClusterCreateParameters;
-import com.azure.resourcemanager.batchai.models.ClusterUpdateParameters;
-
-/** An instance of this class provides access to all the operations defined in ClustersClient. */
-public interface ClustersClient {
- /**
- * Creates a Cluster in the given Workspace.
- *
- * @param resourceGroupName Name of the resource group to which the resource belongs.
- * @param workspaceName The name of the workspace. Workspace names can only contain a combination of alphanumeric
- * characters along with dash (-) and underscore (_). The name must be from 1 through 64 characters long.
- * @param clusterName The name of the cluster within the specified resource group. Cluster names can only contain a
- * combination of alphanumeric characters along with dash (-) and underscore (_). The name must be from 1
- * through 64 characters long.
- * @param parameters The parameters to provide for the Cluster creation.
- * @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 information about a Cluster.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- SyncPoller, ClusterInner> beginCreate(String resourceGroupName, String workspaceName,
- String clusterName, ClusterCreateParameters parameters);
-
- /**
- * Creates a Cluster in the given Workspace.
- *
- * @param resourceGroupName Name of the resource group to which the resource belongs.
- * @param workspaceName The name of the workspace. Workspace names can only contain a combination of alphanumeric
- * characters along with dash (-) and underscore (_). The name must be from 1 through 64 characters long.
- * @param clusterName The name of the cluster within the specified resource group. Cluster names can only contain a
- * combination of alphanumeric characters along with dash (-) and underscore (_). The name must be from 1
- * through 64 characters long.
- * @param parameters The parameters to provide for the Cluster creation.
- * @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 information about a Cluster.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- SyncPoller, ClusterInner> beginCreate(String resourceGroupName, String workspaceName,
- String clusterName, ClusterCreateParameters parameters, Context context);
-
- /**
- * Creates a Cluster in the given Workspace.
- *
- * @param resourceGroupName Name of the resource group to which the resource belongs.
- * @param workspaceName The name of the workspace. Workspace names can only contain a combination of alphanumeric
- * characters along with dash (-) and underscore (_). The name must be from 1 through 64 characters long.
- * @param clusterName The name of the cluster within the specified resource group. Cluster names can only contain a
- * combination of alphanumeric characters along with dash (-) and underscore (_). The name must be from 1
- * through 64 characters long.
- * @param parameters The parameters to provide for the Cluster creation.
- * @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 information about a Cluster.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- ClusterInner create(String resourceGroupName, String workspaceName, String clusterName,
- ClusterCreateParameters parameters);
-
- /**
- * Creates a Cluster in the given Workspace.
- *
- * @param resourceGroupName Name of the resource group to which the resource belongs.
- * @param workspaceName The name of the workspace. Workspace names can only contain a combination of alphanumeric
- * characters along with dash (-) and underscore (_). The name must be from 1 through 64 characters long.
- * @param clusterName The name of the cluster within the specified resource group. Cluster names can only contain a
- * combination of alphanumeric characters along with dash (-) and underscore (_). The name must be from 1
- * through 64 characters long.
- * @param parameters The parameters to provide for the Cluster creation.
- * @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 information about a Cluster.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- ClusterInner create(String resourceGroupName, String workspaceName, String clusterName,
- ClusterCreateParameters parameters, Context context);
-
- /**
- * Updates properties of a Cluster.
- *
- * @param resourceGroupName Name of the resource group to which the resource belongs.
- * @param workspaceName The name of the workspace. Workspace names can only contain a combination of alphanumeric
- * characters along with dash (-) and underscore (_). The name must be from 1 through 64 characters long.
- * @param clusterName The name of the cluster within the specified resource group. Cluster names can only contain a
- * combination of alphanumeric characters along with dash (-) and underscore (_). The name must be from 1
- * through 64 characters long.
- * @param parameters Additional parameters for cluster update.
- * @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 information about a Cluster.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- ClusterInner update(String resourceGroupName, String workspaceName, String clusterName,
- ClusterUpdateParameters parameters);
-
- /**
- * Updates properties of a Cluster.
- *
- * @param resourceGroupName Name of the resource group to which the resource belongs.
- * @param workspaceName The name of the workspace. Workspace names can only contain a combination of alphanumeric
- * characters along with dash (-) and underscore (_). The name must be from 1 through 64 characters long.
- * @param clusterName The name of the cluster within the specified resource group. Cluster names can only contain a
- * combination of alphanumeric characters along with dash (-) and underscore (_). The name must be from 1
- * through 64 characters long.
- * @param parameters Additional parameters for cluster update.
- * @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 information about a Cluster.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response updateWithResponse(String resourceGroupName, String workspaceName, String clusterName,
- ClusterUpdateParameters parameters, Context context);
-
- /**
- * Deletes a Cluster.
- *
- * @param resourceGroupName Name of the resource group to which the resource belongs.
- * @param workspaceName The name of the workspace. Workspace names can only contain a combination of alphanumeric
- * characters along with dash (-) and underscore (_). The name must be from 1 through 64 characters long.
- * @param clusterName The name of the cluster within the specified resource group. Cluster names can only contain a
- * combination of alphanumeric characters along with dash (-) and underscore (_). The name must be from 1
- * through 64 characters long.
- * @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 completion.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- SyncPoller, Void> beginDelete(String resourceGroupName, String workspaceName, String clusterName);
-
- /**
- * Deletes a Cluster.
- *
- * @param resourceGroupName Name of the resource group to which the resource belongs.
- * @param workspaceName The name of the workspace. Workspace names can only contain a combination of alphanumeric
- * characters along with dash (-) and underscore (_). The name must be from 1 through 64 characters long.
- * @param clusterName The name of the cluster within the specified resource group. Cluster names can only contain a
- * combination of alphanumeric characters along with dash (-) and underscore (_). The name must be from 1
- * through 64 characters long.
- * @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 completion.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- SyncPoller, Void> beginDelete(String resourceGroupName, String workspaceName, String clusterName,
- Context context);
-
- /**
- * Deletes a Cluster.
- *
- * @param resourceGroupName Name of the resource group to which the resource belongs.
- * @param workspaceName The name of the workspace. Workspace names can only contain a combination of alphanumeric
- * characters along with dash (-) and underscore (_). The name must be from 1 through 64 characters long.
- * @param clusterName The name of the cluster within the specified resource group. Cluster names can only contain a
- * combination of alphanumeric characters along with dash (-) and underscore (_). The name must be from 1
- * through 64 characters long.
- * @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 workspaceName, String clusterName);
-
- /**
- * Deletes a Cluster.
- *
- * @param resourceGroupName Name of the resource group to which the resource belongs.
- * @param workspaceName The name of the workspace. Workspace names can only contain a combination of alphanumeric
- * characters along with dash (-) and underscore (_). The name must be from 1 through 64 characters long.
- * @param clusterName The name of the cluster within the specified resource group. Cluster names can only contain a
- * combination of alphanumeric characters along with dash (-) and underscore (_). The name must be from 1
- * through 64 characters long.
- * @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 workspaceName, String clusterName, Context context);
-
- /**
- * Gets information about a Cluster.
- *
- * @param resourceGroupName Name of the resource group to which the resource belongs.
- * @param workspaceName The name of the workspace. Workspace names can only contain a combination of alphanumeric
- * characters along with dash (-) and underscore (_). The name must be from 1 through 64 characters long.
- * @param clusterName The name of the cluster within the specified resource group. Cluster names can only contain a
- * combination of alphanumeric characters along with dash (-) and underscore (_). The name must be from 1
- * through 64 characters long.
- * @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 information about a Cluster.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- ClusterInner get(String resourceGroupName, String workspaceName, String clusterName);
-
- /**
- * Gets information about a Cluster.
- *
- * @param resourceGroupName Name of the resource group to which the resource belongs.
- * @param workspaceName The name of the workspace. Workspace names can only contain a combination of alphanumeric
- * characters along with dash (-) and underscore (_). The name must be from 1 through 64 characters long.
- * @param clusterName The name of the cluster within the specified resource group. Cluster names can only contain a
- * combination of alphanumeric characters along with dash (-) and underscore (_). The name must be from 1
- * through 64 characters long.
- * @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 information about a Cluster.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response getWithResponse(String resourceGroupName, String workspaceName, String clusterName,
- Context context);
-
- /**
- * Get the IP address, port of all the compute nodes in the Cluster.
- *
- * @param resourceGroupName Name of the resource group to which the resource belongs.
- * @param workspaceName The name of the workspace. Workspace names can only contain a combination of alphanumeric
- * characters along with dash (-) and underscore (_). The name must be from 1 through 64 characters long.
- * @param clusterName The name of the cluster within the specified resource group. Cluster names can only contain a
- * combination of alphanumeric characters along with dash (-) and underscore (_). The name must be from 1
- * through 64 characters long.
- * @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 IP address, port of all the compute nodes in the Cluster.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable listRemoteLoginInformation(String resourceGroupName,
- String workspaceName, String clusterName);
-
- /**
- * Get the IP address, port of all the compute nodes in the Cluster.
- *
- * @param resourceGroupName Name of the resource group to which the resource belongs.
- * @param workspaceName The name of the workspace. Workspace names can only contain a combination of alphanumeric
- * characters along with dash (-) and underscore (_). The name must be from 1 through 64 characters long.
- * @param clusterName The name of the cluster within the specified resource group. Cluster names can only contain a
- * combination of alphanumeric characters along with dash (-) and underscore (_). The name must be from 1
- * through 64 characters long.
- * @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 IP address, port of all the compute nodes in the Cluster.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable listRemoteLoginInformation(String resourceGroupName,
- String workspaceName, String clusterName, Context context);
-
- /**
- * Gets information about Clusters associated with the given Workspace.
- *
- * @param resourceGroupName Name of the resource group to which the resource belongs.
- * @param workspaceName The name of the workspace. Workspace names can only contain a combination of alphanumeric
- * characters along with dash (-) and underscore (_). The name must be from 1 through 64 characters long.
- * @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 information about Clusters associated with the given Workspace.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable listByWorkspace(String resourceGroupName, String workspaceName);
-
- /**
- * Gets information about Clusters associated with the given Workspace.
- *
- * @param resourceGroupName Name of the resource group to which the resource belongs.
- * @param workspaceName The name of the workspace. Workspace names can only contain a combination of alphanumeric
- * characters along with dash (-) and underscore (_). The name must be from 1 through 64 characters long.
- * @param maxResults The maximum number of items to return in the response. A maximum of 1000 files can be returned.
- * @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 information about Clusters associated with the given Workspace.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable listByWorkspace(String resourceGroupName, String workspaceName, Integer maxResults,
- Context context);
-}
diff --git a/sdk/batchai/azure-resourcemanager-batchai/src/main/java/com/azure/resourcemanager/batchai/fluent/ExperimentsClient.java b/sdk/batchai/azure-resourcemanager-batchai/src/main/java/com/azure/resourcemanager/batchai/fluent/ExperimentsClient.java
deleted file mode 100644
index 611104ce182e..000000000000
--- a/sdk/batchai/azure-resourcemanager-batchai/src/main/java/com/azure/resourcemanager/batchai/fluent/ExperimentsClient.java
+++ /dev/null
@@ -1,216 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.batchai.fluent;
-
-import com.azure.core.annotation.ReturnType;
-import com.azure.core.annotation.ServiceMethod;
-import com.azure.core.http.rest.PagedIterable;
-import com.azure.core.http.rest.Response;
-import com.azure.core.management.polling.PollResult;
-import com.azure.core.util.Context;
-import com.azure.core.util.polling.SyncPoller;
-import com.azure.resourcemanager.batchai.fluent.models.ExperimentInner;
-
-/** An instance of this class provides access to all the operations defined in ExperimentsClient. */
-public interface ExperimentsClient {
- /**
- * Gets a list of Experiments within the specified Workspace.
- *
- * @param resourceGroupName Name of the resource group to which the resource belongs.
- * @param workspaceName The name of the workspace. Workspace names can only contain a combination of alphanumeric
- * characters along with dash (-) and underscore (_). The name must be from 1 through 64 characters long.
- * @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 list of Experiments within the specified Workspace.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable listByWorkspace(String resourceGroupName, String workspaceName);
-
- /**
- * Gets a list of Experiments within the specified Workspace.
- *
- * @param resourceGroupName Name of the resource group to which the resource belongs.
- * @param workspaceName The name of the workspace. Workspace names can only contain a combination of alphanumeric
- * characters along with dash (-) and underscore (_). The name must be from 1 through 64 characters long.
- * @param maxResults The maximum number of items to return in the response. A maximum of 1000 files can be returned.
- * @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 a list of Experiments within the specified Workspace.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable listByWorkspace(String resourceGroupName, String workspaceName, Integer maxResults,
- Context context);
-
- /**
- * Creates an Experiment.
- *
- * @param resourceGroupName Name of the resource group to which the resource belongs.
- * @param workspaceName The name of the workspace. Workspace names can only contain a combination of alphanumeric
- * characters along with dash (-) and underscore (_). The name must be from 1 through 64 characters long.
- * @param experimentName The name of the experiment. Experiment names can only contain a combination of alphanumeric
- * characters along with dash (-) and underscore (_). The name must be from 1 through 64 characters long.
- * @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 experiment information.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- SyncPoller, ExperimentInner> beginCreate(String resourceGroupName, String workspaceName,
- String experimentName);
-
- /**
- * Creates an Experiment.
- *
- * @param resourceGroupName Name of the resource group to which the resource belongs.
- * @param workspaceName The name of the workspace. Workspace names can only contain a combination of alphanumeric
- * characters along with dash (-) and underscore (_). The name must be from 1 through 64 characters long.
- * @param experimentName The name of the experiment. Experiment names can only contain a combination of alphanumeric
- * characters along with dash (-) and underscore (_). The name must be from 1 through 64 characters long.
- * @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 experiment information.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- SyncPoller, ExperimentInner> beginCreate(String resourceGroupName, String workspaceName,
- String experimentName, Context context);
-
- /**
- * Creates an Experiment.
- *
- * @param resourceGroupName Name of the resource group to which the resource belongs.
- * @param workspaceName The name of the workspace. Workspace names can only contain a combination of alphanumeric
- * characters along with dash (-) and underscore (_). The name must be from 1 through 64 characters long.
- * @param experimentName The name of the experiment. Experiment names can only contain a combination of alphanumeric
- * characters along with dash (-) and underscore (_). The name must be from 1 through 64 characters long.
- * @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 experiment information.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- ExperimentInner create(String resourceGroupName, String workspaceName, String experimentName);
-
- /**
- * Creates an Experiment.
- *
- * @param resourceGroupName Name of the resource group to which the resource belongs.
- * @param workspaceName The name of the workspace. Workspace names can only contain a combination of alphanumeric
- * characters along with dash (-) and underscore (_). The name must be from 1 through 64 characters long.
- * @param experimentName The name of the experiment. Experiment names can only contain a combination of alphanumeric
- * characters along with dash (-) and underscore (_). The name must be from 1 through 64 characters long.
- * @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 experiment information.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- ExperimentInner create(String resourceGroupName, String workspaceName, String experimentName, Context context);
-
- /**
- * Deletes an Experiment.
- *
- * @param resourceGroupName Name of the resource group to which the resource belongs.
- * @param workspaceName The name of the workspace. Workspace names can only contain a combination of alphanumeric
- * characters along with dash (-) and underscore (_). The name must be from 1 through 64 characters long.
- * @param experimentName The name of the experiment. Experiment names can only contain a combination of alphanumeric
- * characters along with dash (-) and underscore (_). The name must be from 1 through 64 characters long.
- * @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 completion.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- SyncPoller, Void> beginDelete(String resourceGroupName, String workspaceName,
- String experimentName);
-
- /**
- * Deletes an Experiment.
- *
- * @param resourceGroupName Name of the resource group to which the resource belongs.
- * @param workspaceName The name of the workspace. Workspace names can only contain a combination of alphanumeric
- * characters along with dash (-) and underscore (_). The name must be from 1 through 64 characters long.
- * @param experimentName The name of the experiment. Experiment names can only contain a combination of alphanumeric
- * characters along with dash (-) and underscore (_). The name must be from 1 through 64 characters long.
- * @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 completion.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- SyncPoller, Void> beginDelete(String resourceGroupName, String workspaceName,
- String experimentName, Context context);
-
- /**
- * Deletes an Experiment.
- *
- * @param resourceGroupName Name of the resource group to which the resource belongs.
- * @param workspaceName The name of the workspace. Workspace names can only contain a combination of alphanumeric
- * characters along with dash (-) and underscore (_). The name must be from 1 through 64 characters long.
- * @param experimentName The name of the experiment. Experiment names can only contain a combination of alphanumeric
- * characters along with dash (-) and underscore (_). The name must be from 1 through 64 characters long.
- * @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 workspaceName, String experimentName);
-
- /**
- * Deletes an Experiment.
- *
- * @param resourceGroupName Name of the resource group to which the resource belongs.
- * @param workspaceName The name of the workspace. Workspace names can only contain a combination of alphanumeric
- * characters along with dash (-) and underscore (_). The name must be from 1 through 64 characters long.
- * @param experimentName The name of the experiment. Experiment names can only contain a combination of alphanumeric
- * characters along with dash (-) and underscore (_). The name must be from 1 through 64 characters long.
- * @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 workspaceName, String experimentName, Context context);
-
- /**
- * Gets information about an Experiment.
- *
- * @param resourceGroupName Name of the resource group to which the resource belongs.
- * @param workspaceName The name of the workspace. Workspace names can only contain a combination of alphanumeric
- * characters along with dash (-) and underscore (_). The name must be from 1 through 64 characters long.
- * @param experimentName The name of the experiment. Experiment names can only contain a combination of alphanumeric
- * characters along with dash (-) and underscore (_). The name must be from 1 through 64 characters long.
- * @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 information about an Experiment.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- ExperimentInner get(String resourceGroupName, String workspaceName, String experimentName);
-
- /**
- * Gets information about an Experiment.
- *
- * @param resourceGroupName Name of the resource group to which the resource belongs.
- * @param workspaceName The name of the workspace. Workspace names can only contain a combination of alphanumeric
- * characters along with dash (-) and underscore (_). The name must be from 1 through 64 characters long.
- * @param experimentName The name of the experiment. Experiment names can only contain a combination of alphanumeric
- * characters along with dash (-) and underscore (_). The name must be from 1 through 64 characters long.
- * @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 information about an Experiment.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response getWithResponse(String resourceGroupName, String workspaceName, String experimentName,
- Context context);
-}
diff --git a/sdk/batchai/azure-resourcemanager-batchai/src/main/java/com/azure/resourcemanager/batchai/fluent/FileServersClient.java b/sdk/batchai/azure-resourcemanager-batchai/src/main/java/com/azure/resourcemanager/batchai/fluent/FileServersClient.java
deleted file mode 100644
index 709fd144dd4a..000000000000
--- a/sdk/batchai/azure-resourcemanager-batchai/src/main/java/com/azure/resourcemanager/batchai/fluent/FileServersClient.java
+++ /dev/null
@@ -1,233 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.batchai.fluent;
-
-import com.azure.core.annotation.ReturnType;
-import com.azure.core.annotation.ServiceMethod;
-import com.azure.core.http.rest.PagedIterable;
-import com.azure.core.http.rest.Response;
-import com.azure.core.management.polling.PollResult;
-import com.azure.core.util.Context;
-import com.azure.core.util.polling.SyncPoller;
-import com.azure.resourcemanager.batchai.fluent.models.FileServerInner;
-import com.azure.resourcemanager.batchai.models.FileServerCreateParameters;
-
-/** An instance of this class provides access to all the operations defined in FileServersClient. */
-public interface FileServersClient {
- /**
- * Creates a File Server in the given workspace.
- *
- * @param resourceGroupName Name of the resource group to which the resource belongs.
- * @param workspaceName The name of the workspace. Workspace names can only contain a combination of alphanumeric
- * characters along with dash (-) and underscore (_). The name must be from 1 through 64 characters long.
- * @param fileServerName The name of the file server within the specified resource group. File server names can only
- * contain a combination of alphanumeric characters along with dash (-) and underscore (_). The name must be
- * from 1 through 64 characters long.
- * @param parameters The parameters to provide for File Server creation.
- * @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 file Server information.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- SyncPoller, FileServerInner> beginCreate(String resourceGroupName, String workspaceName,
- String fileServerName, FileServerCreateParameters parameters);
-
- /**
- * Creates a File Server in the given workspace.
- *
- * @param resourceGroupName Name of the resource group to which the resource belongs.
- * @param workspaceName The name of the workspace. Workspace names can only contain a combination of alphanumeric
- * characters along with dash (-) and underscore (_). The name must be from 1 through 64 characters long.
- * @param fileServerName The name of the file server within the specified resource group. File server names can only
- * contain a combination of alphanumeric characters along with dash (-) and underscore (_). The name must be
- * from 1 through 64 characters long.
- * @param parameters The parameters to provide for File Server creation.
- * @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 file Server information.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- SyncPoller, FileServerInner> beginCreate(String resourceGroupName, String workspaceName,
- String fileServerName, FileServerCreateParameters parameters, Context context);
-
- /**
- * Creates a File Server in the given workspace.
- *
- * @param resourceGroupName Name of the resource group to which the resource belongs.
- * @param workspaceName The name of the workspace. Workspace names can only contain a combination of alphanumeric
- * characters along with dash (-) and underscore (_). The name must be from 1 through 64 characters long.
- * @param fileServerName The name of the file server within the specified resource group. File server names can only
- * contain a combination of alphanumeric characters along with dash (-) and underscore (_). The name must be
- * from 1 through 64 characters long.
- * @param parameters The parameters to provide for File Server creation.
- * @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 file Server information.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- FileServerInner create(String resourceGroupName, String workspaceName, String fileServerName,
- FileServerCreateParameters parameters);
-
- /**
- * Creates a File Server in the given workspace.
- *
- * @param resourceGroupName Name of the resource group to which the resource belongs.
- * @param workspaceName The name of the workspace. Workspace names can only contain a combination of alphanumeric
- * characters along with dash (-) and underscore (_). The name must be from 1 through 64 characters long.
- * @param fileServerName The name of the file server within the specified resource group. File server names can only
- * contain a combination of alphanumeric characters along with dash (-) and underscore (_). The name must be
- * from 1 through 64 characters long.
- * @param parameters The parameters to provide for File Server creation.
- * @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 file Server information.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- FileServerInner create(String resourceGroupName, String workspaceName, String fileServerName,
- FileServerCreateParameters parameters, Context context);
-
- /**
- * Deletes a File Server.
- *
- * @param resourceGroupName Name of the resource group to which the resource belongs.
- * @param workspaceName The name of the workspace. Workspace names can only contain a combination of alphanumeric
- * characters along with dash (-) and underscore (_). The name must be from 1 through 64 characters long.
- * @param fileServerName The name of the file server within the specified resource group. File server names can only
- * contain a combination of alphanumeric characters along with dash (-) and underscore (_). The name must be
- * from 1 through 64 characters long.
- * @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 completion.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- SyncPoller, Void> beginDelete(String resourceGroupName, String workspaceName,
- String fileServerName);
-
- /**
- * Deletes a File Server.
- *
- * @param resourceGroupName Name of the resource group to which the resource belongs.
- * @param workspaceName The name of the workspace. Workspace names can only contain a combination of alphanumeric
- * characters along with dash (-) and underscore (_). The name must be from 1 through 64 characters long.
- * @param fileServerName The name of the file server within the specified resource group. File server names can only
- * contain a combination of alphanumeric characters along with dash (-) and underscore (_). The name must be
- * from 1 through 64 characters long.
- * @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 completion.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- SyncPoller, Void> beginDelete(String resourceGroupName, String workspaceName,
- String fileServerName, Context context);
-
- /**
- * Deletes a File Server.
- *
- * @param resourceGroupName Name of the resource group to which the resource belongs.
- * @param workspaceName The name of the workspace. Workspace names can only contain a combination of alphanumeric
- * characters along with dash (-) and underscore (_). The name must be from 1 through 64 characters long.
- * @param fileServerName The name of the file server within the specified resource group. File server names can only
- * contain a combination of alphanumeric characters along with dash (-) and underscore (_). The name must be
- * from 1 through 64 characters long.
- * @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 workspaceName, String fileServerName);
-
- /**
- * Deletes a File Server.
- *
- * @param resourceGroupName Name of the resource group to which the resource belongs.
- * @param workspaceName The name of the workspace. Workspace names can only contain a combination of alphanumeric
- * characters along with dash (-) and underscore (_). The name must be from 1 through 64 characters long.
- * @param fileServerName The name of the file server within the specified resource group. File server names can only
- * contain a combination of alphanumeric characters along with dash (-) and underscore (_). The name must be
- * from 1 through 64 characters long.
- * @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 workspaceName, String fileServerName, Context context);
-
- /**
- * Gets information about a File Server.
- *
- * @param resourceGroupName Name of the resource group to which the resource belongs.
- * @param workspaceName The name of the workspace. Workspace names can only contain a combination of alphanumeric
- * characters along with dash (-) and underscore (_). The name must be from 1 through 64 characters long.
- * @param fileServerName The name of the file server within the specified resource group. File server names can only
- * contain a combination of alphanumeric characters along with dash (-) and underscore (_). The name must be
- * from 1 through 64 characters long.
- * @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 information about a File Server.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- FileServerInner get(String resourceGroupName, String workspaceName, String fileServerName);
-
- /**
- * Gets information about a File Server.
- *
- * @param resourceGroupName Name of the resource group to which the resource belongs.
- * @param workspaceName The name of the workspace. Workspace names can only contain a combination of alphanumeric
- * characters along with dash (-) and underscore (_). The name must be from 1 through 64 characters long.
- * @param fileServerName The name of the file server within the specified resource group. File server names can only
- * contain a combination of alphanumeric characters along with dash (-) and underscore (_). The name must be
- * from 1 through 64 characters long.
- * @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 information about a File Server.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response getWithResponse(String resourceGroupName, String workspaceName, String fileServerName,
- Context context);
-
- /**
- * Gets a list of File Servers associated with the specified workspace.
- *
- * @param resourceGroupName Name of the resource group to which the resource belongs.
- * @param workspaceName The name of the workspace. Workspace names can only contain a combination of alphanumeric
- * characters along with dash (-) and underscore (_). The name must be from 1 through 64 characters long.
- * @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 list of File Servers associated with the specified workspace.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable listByWorkspace(String resourceGroupName, String workspaceName);
-
- /**
- * Gets a list of File Servers associated with the specified workspace.
- *
- * @param resourceGroupName Name of the resource group to which the resource belongs.
- * @param workspaceName The name of the workspace. Workspace names can only contain a combination of alphanumeric
- * characters along with dash (-) and underscore (_). The name must be from 1 through 64 characters long.
- * @param maxResults The maximum number of items to return in the response. A maximum of 1000 files can be returned.
- * @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 a list of File Servers associated with the specified workspace.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable listByWorkspace(String resourceGroupName, String workspaceName, Integer maxResults,
- Context context);
-}
diff --git a/sdk/batchai/azure-resourcemanager-batchai/src/main/java/com/azure/resourcemanager/batchai/fluent/JobsClient.java b/sdk/batchai/azure-resourcemanager-batchai/src/main/java/com/azure/resourcemanager/batchai/fluent/JobsClient.java
deleted file mode 100644
index 43ddfeb26b1d..000000000000
--- a/sdk/batchai/azure-resourcemanager-batchai/src/main/java/com/azure/resourcemanager/batchai/fluent/JobsClient.java
+++ /dev/null
@@ -1,432 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.batchai.fluent;
-
-import com.azure.core.annotation.ReturnType;
-import com.azure.core.annotation.ServiceMethod;
-import com.azure.core.http.rest.PagedIterable;
-import com.azure.core.http.rest.Response;
-import com.azure.core.management.polling.PollResult;
-import com.azure.core.util.Context;
-import com.azure.core.util.polling.SyncPoller;
-import com.azure.resourcemanager.batchai.fluent.models.FileInner;
-import com.azure.resourcemanager.batchai.fluent.models.JobInner;
-import com.azure.resourcemanager.batchai.fluent.models.RemoteLoginInformationInner;
-import com.azure.resourcemanager.batchai.models.JobCreateParameters;
-
-/** An instance of this class provides access to all the operations defined in JobsClient. */
-public interface JobsClient {
- /**
- * Gets a list of Jobs within the specified Experiment.
- *
- * @param resourceGroupName Name of the resource group to which the resource belongs.
- * @param workspaceName The name of the workspace. Workspace names can only contain a combination of alphanumeric
- * characters along with dash (-) and underscore (_). The name must be from 1 through 64 characters long.
- * @param experimentName The name of the experiment. Experiment names can only contain a combination of alphanumeric
- * characters along with dash (-) and underscore (_). The name must be from 1 through 64 characters long.
- * @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 list of Jobs within the specified Experiment.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable listByExperiment(String resourceGroupName, String workspaceName, String experimentName);
-
- /**
- * Gets a list of Jobs within the specified Experiment.
- *
- * @param resourceGroupName Name of the resource group to which the resource belongs.
- * @param workspaceName The name of the workspace. Workspace names can only contain a combination of alphanumeric
- * characters along with dash (-) and underscore (_). The name must be from 1 through 64 characters long.
- * @param experimentName The name of the experiment. Experiment names can only contain a combination of alphanumeric
- * characters along with dash (-) and underscore (_). The name must be from 1 through 64 characters long.
- * @param maxResults The maximum number of items to return in the response. A maximum of 1000 files can be returned.
- * @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 a list of Jobs within the specified Experiment.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable listByExperiment(String resourceGroupName, String workspaceName, String experimentName,
- Integer maxResults, Context context);
-
- /**
- * Creates a Job in the given Experiment.
- *
- * @param resourceGroupName Name of the resource group to which the resource belongs.
- * @param workspaceName The name of the workspace. Workspace names can only contain a combination of alphanumeric
- * characters along with dash (-) and underscore (_). The name must be from 1 through 64 characters long.
- * @param experimentName The name of the experiment. Experiment names can only contain a combination of alphanumeric
- * characters along with dash (-) and underscore (_). The name must be from 1 through 64 characters long.
- * @param jobName The name of the job within the specified resource group. Job names can only contain a combination
- * of alphanumeric characters along with dash (-) and underscore (_). The name must be from 1 through 64
- * characters long.
- * @param parameters The parameters to provide for job creation.
- * @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 information about a Job.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- SyncPoller, JobInner> beginCreate(String resourceGroupName, String workspaceName,
- String experimentName, String jobName, JobCreateParameters parameters);
-
- /**
- * Creates a Job in the given Experiment.
- *
- * @param resourceGroupName Name of the resource group to which the resource belongs.
- * @param workspaceName The name of the workspace. Workspace names can only contain a combination of alphanumeric
- * characters along with dash (-) and underscore (_). The name must be from 1 through 64 characters long.
- * @param experimentName The name of the experiment. Experiment names can only contain a combination of alphanumeric
- * characters along with dash (-) and underscore (_). The name must be from 1 through 64 characters long.
- * @param jobName The name of the job within the specified resource group. Job names can only contain a combination
- * of alphanumeric characters along with dash (-) and underscore (_). The name must be from 1 through 64
- * characters long.
- * @param parameters The parameters to provide for job creation.
- * @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 information about a Job.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- SyncPoller, JobInner> beginCreate(String resourceGroupName, String workspaceName,
- String experimentName, String jobName, JobCreateParameters parameters, Context context);
-
- /**
- * Creates a Job in the given Experiment.
- *
- * @param resourceGroupName Name of the resource group to which the resource belongs.
- * @param workspaceName The name of the workspace. Workspace names can only contain a combination of alphanumeric
- * characters along with dash (-) and underscore (_). The name must be from 1 through 64 characters long.
- * @param experimentName The name of the experiment. Experiment names can only contain a combination of alphanumeric
- * characters along with dash (-) and underscore (_). The name must be from 1 through 64 characters long.
- * @param jobName The name of the job within the specified resource group. Job names can only contain a combination
- * of alphanumeric characters along with dash (-) and underscore (_). The name must be from 1 through 64
- * characters long.
- * @param parameters The parameters to provide for job creation.
- * @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 information about a Job.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- JobInner create(String resourceGroupName, String workspaceName, String experimentName, String jobName,
- JobCreateParameters parameters);
-
- /**
- * Creates a Job in the given Experiment.
- *
- * @param resourceGroupName Name of the resource group to which the resource belongs.
- * @param workspaceName The name of the workspace. Workspace names can only contain a combination of alphanumeric
- * characters along with dash (-) and underscore (_). The name must be from 1 through 64 characters long.
- * @param experimentName The name of the experiment. Experiment names can only contain a combination of alphanumeric
- * characters along with dash (-) and underscore (_). The name must be from 1 through 64 characters long.
- * @param jobName The name of the job within the specified resource group. Job names can only contain a combination
- * of alphanumeric characters along with dash (-) and underscore (_). The name must be from 1 through 64
- * characters long.
- * @param parameters The parameters to provide for job creation.
- * @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 information about a Job.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- JobInner create(String resourceGroupName, String workspaceName, String experimentName, String jobName,
- JobCreateParameters parameters, Context context);
-
- /**
- * Deletes a Job.
- *
- * @param resourceGroupName Name of the resource group to which the resource belongs.
- * @param workspaceName The name of the workspace. Workspace names can only contain a combination of alphanumeric
- * characters along with dash (-) and underscore (_). The name must be from 1 through 64 characters long.
- * @param experimentName The name of the experiment. Experiment names can only contain a combination of alphanumeric
- * characters along with dash (-) and underscore (_). The name must be from 1 through 64 characters long.
- * @param jobName The name of the job within the specified resource group. Job names can only contain a combination
- * of alphanumeric characters along with dash (-) and underscore (_). The name must be from 1 through 64
- * characters long.
- * @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 completion.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- SyncPoller, Void> beginDelete(String resourceGroupName, String workspaceName,
- String experimentName, String jobName);
-
- /**
- * Deletes a Job.
- *
- * @param resourceGroupName Name of the resource group to which the resource belongs.
- * @param workspaceName The name of the workspace. Workspace names can only contain a combination of alphanumeric
- * characters along with dash (-) and underscore (_). The name must be from 1 through 64 characters long.
- * @param experimentName The name of the experiment. Experiment names can only contain a combination of alphanumeric
- * characters along with dash (-) and underscore (_). The name must be from 1 through 64 characters long.
- * @param jobName The name of the job within the specified resource group. Job names can only contain a combination
- * of alphanumeric characters along with dash (-) and underscore (_). The name must be from 1 through 64
- * characters long.
- * @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 completion.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- SyncPoller, Void> beginDelete(String resourceGroupName, String workspaceName,
- String experimentName, String jobName, Context context);
-
- /**
- * Deletes a Job.
- *
- * @param resourceGroupName Name of the resource group to which the resource belongs.
- * @param workspaceName The name of the workspace. Workspace names can only contain a combination of alphanumeric
- * characters along with dash (-) and underscore (_). The name must be from 1 through 64 characters long.
- * @param experimentName The name of the experiment. Experiment names can only contain a combination of alphanumeric
- * characters along with dash (-) and underscore (_). The name must be from 1 through 64 characters long.
- * @param jobName The name of the job within the specified resource group. Job names can only contain a combination
- * of alphanumeric characters along with dash (-) and underscore (_). The name must be from 1 through 64
- * characters long.
- * @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 workspaceName, String experimentName, String jobName);
-
- /**
- * Deletes a Job.
- *
- * @param resourceGroupName Name of the resource group to which the resource belongs.
- * @param workspaceName The name of the workspace. Workspace names can only contain a combination of alphanumeric
- * characters along with dash (-) and underscore (_). The name must be from 1 through 64 characters long.
- * @param experimentName The name of the experiment. Experiment names can only contain a combination of alphanumeric
- * characters along with dash (-) and underscore (_). The name must be from 1 through 64 characters long.
- * @param jobName The name of the job within the specified resource group. Job names can only contain a combination
- * of alphanumeric characters along with dash (-) and underscore (_). The name must be from 1 through 64
- * characters long.
- * @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 workspaceName, String experimentName, String jobName, Context context);
-
- /**
- * Gets information about a Job.
- *
- * @param resourceGroupName Name of the resource group to which the resource belongs.
- * @param workspaceName The name of the workspace. Workspace names can only contain a combination of alphanumeric
- * characters along with dash (-) and underscore (_). The name must be from 1 through 64 characters long.
- * @param experimentName The name of the experiment. Experiment names can only contain a combination of alphanumeric
- * characters along with dash (-) and underscore (_). The name must be from 1 through 64 characters long.
- * @param jobName The name of the job within the specified resource group. Job names can only contain a combination
- * of alphanumeric characters along with dash (-) and underscore (_). The name must be from 1 through 64
- * characters long.
- * @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 information about a Job.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- JobInner get(String resourceGroupName, String workspaceName, String experimentName, String jobName);
-
- /**
- * Gets information about a Job.
- *
- * @param resourceGroupName Name of the resource group to which the resource belongs.
- * @param workspaceName The name of the workspace. Workspace names can only contain a combination of alphanumeric
- * characters along with dash (-) and underscore (_). The name must be from 1 through 64 characters long.
- * @param experimentName The name of the experiment. Experiment names can only contain a combination of alphanumeric
- * characters along with dash (-) and underscore (_). The name must be from 1 through 64 characters long.
- * @param jobName The name of the job within the specified resource group. Job names can only contain a combination
- * of alphanumeric characters along with dash (-) and underscore (_). The name must be from 1 through 64
- * characters long.
- * @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 information about a Job.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response getWithResponse(String resourceGroupName, String workspaceName, String experimentName,
- String jobName, Context context);
-
- /**
- * List all directories and files inside the given directory of the Job's output directory (if the output directory
- * is on Azure File Share or Azure Storage Container).
- *
- * @param resourceGroupName Name of the resource group to which the resource belongs.
- * @param workspaceName The name of the workspace. Workspace names can only contain a combination of alphanumeric
- * characters along with dash (-) and underscore (_). The name must be from 1 through 64 characters long.
- * @param experimentName The name of the experiment. Experiment names can only contain a combination of alphanumeric
- * characters along with dash (-) and underscore (_). The name must be from 1 through 64 characters long.
- * @param jobName The name of the job within the specified resource group. Job names can only contain a combination
- * of alphanumeric characters along with dash (-) and underscore (_). The name must be from 1 through 64
- * characters long.
- * @param outputdirectoryid Id of the job output directory. This is the OutputDirectory-->id parameter that is
- * given by the user during Create Job.
- * @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 values returned by the List operation.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable listOutputFiles(String resourceGroupName, String workspaceName, String experimentName,
- String jobName, String outputdirectoryid);
-
- /**
- * List all directories and files inside the given directory of the Job's output directory (if the output directory
- * is on Azure File Share or Azure Storage Container).
- *
- * @param resourceGroupName Name of the resource group to which the resource belongs.
- * @param workspaceName The name of the workspace. Workspace names can only contain a combination of alphanumeric
- * characters along with dash (-) and underscore (_). The name must be from 1 through 64 characters long.
- * @param experimentName The name of the experiment. Experiment names can only contain a combination of alphanumeric
- * characters along with dash (-) and underscore (_). The name must be from 1 through 64 characters long.
- * @param jobName The name of the job within the specified resource group. Job names can only contain a combination
- * of alphanumeric characters along with dash (-) and underscore (_). The name must be from 1 through 64
- * characters long.
- * @param outputdirectoryid Id of the job output directory. This is the OutputDirectory-->id parameter that is
- * given by the user during Create Job.
- * @param directory The path to the directory.
- * @param linkexpiryinminutes The number of minutes after which the download link will expire.
- * @param maxResults The maximum number of items to return in the response. A maximum of 1000 files can be returned.
- * @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 values returned by the List operation.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable listOutputFiles(String resourceGroupName, String workspaceName, String experimentName,
- String jobName, String outputdirectoryid, String directory, Integer linkexpiryinminutes, Integer maxResults,
- Context context);
-
- /**
- * Gets a list of currently existing nodes which were used for the Job execution. The returned information contains
- * the node ID, its public IP and SSH port.
- *
- * @param resourceGroupName Name of the resource group to which the resource belongs.
- * @param workspaceName The name of the workspace. Workspace names can only contain a combination of alphanumeric
- * characters along with dash (-) and underscore (_). The name must be from 1 through 64 characters long.
- * @param experimentName The name of the experiment. Experiment names can only contain a combination of alphanumeric
- * characters along with dash (-) and underscore (_). The name must be from 1 through 64 characters long.
- * @param jobName The name of the job within the specified resource group. Job names can only contain a combination
- * of alphanumeric characters along with dash (-) and underscore (_). The name must be from 1 through 64
- * characters long.
- * @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 list of currently existing nodes which were used for the Job execution.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable listRemoteLoginInformation(String resourceGroupName,
- String workspaceName, String experimentName, String jobName);
-
- /**
- * Gets a list of currently existing nodes which were used for the Job execution. The returned information contains
- * the node ID, its public IP and SSH port.
- *
- * @param resourceGroupName Name of the resource group to which the resource belongs.
- * @param workspaceName The name of the workspace. Workspace names can only contain a combination of alphanumeric
- * characters along with dash (-) and underscore (_). The name must be from 1 through 64 characters long.
- * @param experimentName The name of the experiment. Experiment names can only contain a combination of alphanumeric
- * characters along with dash (-) and underscore (_). The name must be from 1 through 64 characters long.
- * @param jobName The name of the job within the specified resource group. Job names can only contain a combination
- * of alphanumeric characters along with dash (-) and underscore (_). The name must be from 1 through 64
- * characters long.
- * @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 a list of currently existing nodes which were used for the Job execution.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable listRemoteLoginInformation(String resourceGroupName,
- String workspaceName, String experimentName, String jobName, Context context);
-
- /**
- * Terminates a job.
- *
- * @param resourceGroupName Name of the resource group to which the resource belongs.
- * @param workspaceName The name of the workspace. Workspace names can only contain a combination of alphanumeric
- * characters along with dash (-) and underscore (_). The name must be from 1 through 64 characters long.
- * @param experimentName The name of the experiment. Experiment names can only contain a combination of alphanumeric
- * characters along with dash (-) and underscore (_). The name must be from 1 through 64 characters long.
- * @param jobName The name of the job within the specified resource group. Job names can only contain a combination
- * of alphanumeric characters along with dash (-) and underscore (_). The name must be from 1 through 64
- * characters long.
- * @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 completion.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- SyncPoller, Void> beginTerminate(String resourceGroupName, String workspaceName,
- String experimentName, String jobName);
-
- /**
- * Terminates a job.
- *
- * @param resourceGroupName Name of the resource group to which the resource belongs.
- * @param workspaceName The name of the workspace. Workspace names can only contain a combination of alphanumeric
- * characters along with dash (-) and underscore (_). The name must be from 1 through 64 characters long.
- * @param experimentName The name of the experiment. Experiment names can only contain a combination of alphanumeric
- * characters along with dash (-) and underscore (_). The name must be from 1 through 64 characters long.
- * @param jobName The name of the job within the specified resource group. Job names can only contain a combination
- * of alphanumeric characters along with dash (-) and underscore (_). The name must be from 1 through 64
- * characters long.
- * @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 completion.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- SyncPoller, Void> beginTerminate(String resourceGroupName, String workspaceName,
- String experimentName, String jobName, Context context);
-
- /**
- * Terminates a job.
- *
- * @param resourceGroupName Name of the resource group to which the resource belongs.
- * @param workspaceName The name of the workspace. Workspace names can only contain a combination of alphanumeric
- * characters along with dash (-) and underscore (_). The name must be from 1 through 64 characters long.
- * @param experimentName The name of the experiment. Experiment names can only contain a combination of alphanumeric
- * characters along with dash (-) and underscore (_). The name must be from 1 through 64 characters long.
- * @param jobName The name of the job within the specified resource group. Job names can only contain a combination
- * of alphanumeric characters along with dash (-) and underscore (_). The name must be from 1 through 64
- * characters long.
- * @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 terminate(String resourceGroupName, String workspaceName, String experimentName, String jobName);
-
- /**
- * Terminates a job.
- *
- * @param resourceGroupName Name of the resource group to which the resource belongs.
- * @param workspaceName The name of the workspace. Workspace names can only contain a combination of alphanumeric
- * characters along with dash (-) and underscore (_). The name must be from 1 through 64 characters long.
- * @param experimentName The name of the experiment. Experiment names can only contain a combination of alphanumeric
- * characters along with dash (-) and underscore (_). The name must be from 1 through 64 characters long.
- * @param jobName The name of the job within the specified resource group. Job names can only contain a combination
- * of alphanumeric characters along with dash (-) and underscore (_). The name must be from 1 through 64
- * characters long.
- * @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 terminate(String resourceGroupName, String workspaceName, String experimentName, String jobName,
- Context context);
-}
diff --git a/sdk/batchai/azure-resourcemanager-batchai/src/main/java/com/azure/resourcemanager/batchai/fluent/OperationsClient.java b/sdk/batchai/azure-resourcemanager-batchai/src/main/java/com/azure/resourcemanager/batchai/fluent/OperationsClient.java
deleted file mode 100644
index 9db1904fce77..000000000000
--- a/sdk/batchai/azure-resourcemanager-batchai/src/main/java/com/azure/resourcemanager/batchai/fluent/OperationsClient.java
+++ /dev/null
@@ -1,36 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.batchai.fluent;
-
-import com.azure.core.annotation.ReturnType;
-import com.azure.core.annotation.ServiceMethod;
-import com.azure.core.http.rest.PagedIterable;
-import com.azure.core.util.Context;
-import com.azure.resourcemanager.batchai.fluent.models.OperationInner;
-
-/** An instance of this class provides access to all the operations defined in OperationsClient. */
-public interface OperationsClient {
- /**
- * Lists available operations for the Microsoft.BatchAI provider.
- *
- * @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 contains the list of all operations supported by BatchAI resource provider.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list();
-
- /**
- * Lists available operations for the Microsoft.BatchAI provider.
- *
- * @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 contains the list of all operations supported by BatchAI resource provider.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list(Context context);
-}
diff --git a/sdk/batchai/azure-resourcemanager-batchai/src/main/java/com/azure/resourcemanager/batchai/fluent/UsagesClient.java b/sdk/batchai/azure-resourcemanager-batchai/src/main/java/com/azure/resourcemanager/batchai/fluent/UsagesClient.java
deleted file mode 100644
index 636acc0e52bf..000000000000
--- a/sdk/batchai/azure-resourcemanager-batchai/src/main/java/com/azure/resourcemanager/batchai/fluent/UsagesClient.java
+++ /dev/null
@@ -1,39 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.batchai.fluent;
-
-import com.azure.core.annotation.ReturnType;
-import com.azure.core.annotation.ServiceMethod;
-import com.azure.core.http.rest.PagedIterable;
-import com.azure.core.util.Context;
-import com.azure.resourcemanager.batchai.fluent.models.UsageInner;
-
-/** An instance of this class provides access to all the operations defined in UsagesClient. */
-public interface UsagesClient {
- /**
- * Gets the current usage information as well as limits for Batch AI resources for given subscription.
- *
- * @param location The location for which resource usage is queried.
- * @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 current usage information as well as limits for Batch AI resources for given subscription.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list(String location);
-
- /**
- * Gets the current usage information as well as limits for Batch AI resources for given subscription.
- *
- * @param location The location for which resource usage is queried.
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.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 current usage information as well as limits for Batch AI resources for given subscription.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list(String location, Context context);
-}
diff --git a/sdk/batchai/azure-resourcemanager-batchai/src/main/java/com/azure/resourcemanager/batchai/fluent/WorkspacesClient.java b/sdk/batchai/azure-resourcemanager-batchai/src/main/java/com/azure/resourcemanager/batchai/fluent/WorkspacesClient.java
deleted file mode 100644
index 7eb364d4ef50..000000000000
--- a/sdk/batchai/azure-resourcemanager-batchai/src/main/java/com/azure/resourcemanager/batchai/fluent/WorkspacesClient.java
+++ /dev/null
@@ -1,251 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.batchai.fluent;
-
-import com.azure.core.annotation.ReturnType;
-import com.azure.core.annotation.ServiceMethod;
-import com.azure.core.http.rest.PagedIterable;
-import com.azure.core.http.rest.Response;
-import com.azure.core.management.polling.PollResult;
-import com.azure.core.util.Context;
-import com.azure.core.util.polling.SyncPoller;
-import com.azure.resourcemanager.batchai.fluent.models.WorkspaceInner;
-import com.azure.resourcemanager.batchai.models.WorkspaceCreateParameters;
-import com.azure.resourcemanager.batchai.models.WorkspaceUpdateParameters;
-
-/** An instance of this class provides access to all the operations defined in WorkspacesClient. */
-public interface WorkspacesClient {
- /**
- * Gets a list of Workspaces associated with the given subscription.
- *
- * @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 list of Workspaces associated with the given subscription.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list();
-
- /**
- * Gets a list of Workspaces associated with the given subscription.
- *
- * @param maxResults The maximum number of items to return in the response. A maximum of 1000 files can be returned.
- * @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 a list of Workspaces associated with the given subscription.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list(Integer maxResults, Context context);
-
- /**
- * Gets a list of Workspaces within the specified resource group.
- *
- * @param resourceGroupName Name of the resource group to which the resource belongs.
- * @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 list of Workspaces within the specified resource group.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable listByResourceGroup(String resourceGroupName);
-
- /**
- * Gets a list of Workspaces within the specified resource group.
- *
- * @param resourceGroupName Name of the resource group to which the resource belongs.
- * @param maxResults The maximum number of items to return in the response. A maximum of 1000 files can be returned.
- * @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 a list of Workspaces within the specified resource group.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable listByResourceGroup(String resourceGroupName, Integer maxResults, Context context);
-
- /**
- * Creates a Workspace.
- *
- * @param resourceGroupName Name of the resource group to which the resource belongs.
- * @param workspaceName The name of the workspace. Workspace names can only contain a combination of alphanumeric
- * characters along with dash (-) and underscore (_). The name must be from 1 through 64 characters long.
- * @param parameters Workspace creation 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 batch AI Workspace information.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- SyncPoller, WorkspaceInner> beginCreate(String resourceGroupName, String workspaceName,
- WorkspaceCreateParameters parameters);
-
- /**
- * Creates a Workspace.
- *
- * @param resourceGroupName Name of the resource group to which the resource belongs.
- * @param workspaceName The name of the workspace. Workspace names can only contain a combination of alphanumeric
- * characters along with dash (-) and underscore (_). The name must be from 1 through 64 characters long.
- * @param parameters Workspace creation 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 batch AI Workspace information.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- SyncPoller, WorkspaceInner> beginCreate(String resourceGroupName, String workspaceName,
- WorkspaceCreateParameters parameters, Context context);
-
- /**
- * Creates a Workspace.
- *
- * @param resourceGroupName Name of the resource group to which the resource belongs.
- * @param workspaceName The name of the workspace. Workspace names can only contain a combination of alphanumeric
- * characters along with dash (-) and underscore (_). The name must be from 1 through 64 characters long.
- * @param parameters Workspace creation 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 batch AI Workspace information.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- WorkspaceInner create(String resourceGroupName, String workspaceName, WorkspaceCreateParameters parameters);
-
- /**
- * Creates a Workspace.
- *
- * @param resourceGroupName Name of the resource group to which the resource belongs.
- * @param workspaceName The name of the workspace. Workspace names can only contain a combination of alphanumeric
- * characters along with dash (-) and underscore (_). The name must be from 1 through 64 characters long.
- * @param parameters Workspace creation 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 batch AI Workspace information.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- WorkspaceInner create(String resourceGroupName, String workspaceName, WorkspaceCreateParameters parameters,
- Context context);
-
- /**
- * Updates properties of a Workspace.
- *
- * @param resourceGroupName Name of the resource group to which the resource belongs.
- * @param workspaceName The name of the workspace. Workspace names can only contain a combination of alphanumeric
- * characters along with dash (-) and underscore (_). The name must be from 1 through 64 characters long.
- * @param parameters Additional parameters for workspace update.
- * @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 batch AI Workspace information.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- WorkspaceInner update(String resourceGroupName, String workspaceName, WorkspaceUpdateParameters parameters);
-
- /**
- * Updates properties of a Workspace.
- *
- * @param resourceGroupName Name of the resource group to which the resource belongs.
- * @param workspaceName The name of the workspace. Workspace names can only contain a combination of alphanumeric
- * characters along with dash (-) and underscore (_). The name must be from 1 through 64 characters long.
- * @param parameters Additional parameters for workspace update.
- * @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 batch AI Workspace information.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response updateWithResponse(String resourceGroupName, String workspaceName,
- WorkspaceUpdateParameters parameters, Context context);
-
- /**
- * Deletes a Workspace.
- *
- * @param resourceGroupName Name of the resource group to which the resource belongs.
- * @param workspaceName The name of the workspace. Workspace names can only contain a combination of alphanumeric
- * characters along with dash (-) and underscore (_). The name must be from 1 through 64 characters long.
- * @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 completion.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- SyncPoller, Void> beginDelete(String resourceGroupName, String workspaceName);
-
- /**
- * Deletes a Workspace.
- *
- * @param resourceGroupName Name of the resource group to which the resource belongs.
- * @param workspaceName The name of the workspace. Workspace names can only contain a combination of alphanumeric
- * characters along with dash (-) and underscore (_). The name must be from 1 through 64 characters long.
- * @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 completion.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- SyncPoller, Void> beginDelete(String resourceGroupName, String workspaceName, Context context);
-
- /**
- * Deletes a Workspace.
- *
- * @param resourceGroupName Name of the resource group to which the resource belongs.
- * @param workspaceName The name of the workspace. Workspace names can only contain a combination of alphanumeric
- * characters along with dash (-) and underscore (_). The name must be from 1 through 64 characters long.
- * @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 workspaceName);
-
- /**
- * Deletes a Workspace.
- *
- * @param resourceGroupName Name of the resource group to which the resource belongs.
- * @param workspaceName The name of the workspace. Workspace names can only contain a combination of alphanumeric
- * characters along with dash (-) and underscore (_). The name must be from 1 through 64 characters long.
- * @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 workspaceName, Context context);
-
- /**
- * Gets information about a Workspace.
- *
- * @param resourceGroupName Name of the resource group to which the resource belongs.
- * @param workspaceName The name of the workspace. Workspace names can only contain a combination of alphanumeric
- * characters along with dash (-) and underscore (_). The name must be from 1 through 64 characters long.
- * @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 information about a Workspace.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- WorkspaceInner getByResourceGroup(String resourceGroupName, String workspaceName);
-
- /**
- * Gets information about a Workspace.
- *
- * @param resourceGroupName Name of the resource group to which the resource belongs.
- * @param workspaceName The name of the workspace. Workspace names can only contain a combination of alphanumeric
- * characters along with dash (-) and underscore (_). The name must be from 1 through 64 characters long.
- * @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 information about a Workspace.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response getByResourceGroupWithResponse(String resourceGroupName, String workspaceName,
- Context context);
-}
diff --git a/sdk/batchai/azure-resourcemanager-batchai/src/main/java/com/azure/resourcemanager/batchai/fluent/models/ClusterInner.java b/sdk/batchai/azure-resourcemanager-batchai/src/main/java/com/azure/resourcemanager/batchai/fluent/models/ClusterInner.java
deleted file mode 100644
index 76fcfe5ef654..000000000000
--- a/sdk/batchai/azure-resourcemanager-batchai/src/main/java/com/azure/resourcemanager/batchai/fluent/models/ClusterInner.java
+++ /dev/null
@@ -1,393 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.batchai.fluent.models;
-
-import com.azure.core.annotation.Fluent;
-import com.azure.core.annotation.JsonFlatten;
-import com.azure.core.management.ProxyResource;
-import com.azure.core.util.logging.ClientLogger;
-import com.azure.resourcemanager.batchai.models.AllocationState;
-import com.azure.resourcemanager.batchai.models.BatchAIError;
-import com.azure.resourcemanager.batchai.models.NodeSetup;
-import com.azure.resourcemanager.batchai.models.NodeStateCounts;
-import com.azure.resourcemanager.batchai.models.ProvisioningState;
-import com.azure.resourcemanager.batchai.models.ResourceId;
-import com.azure.resourcemanager.batchai.models.ScaleSettings;
-import com.azure.resourcemanager.batchai.models.UserAccountSettings;
-import com.azure.resourcemanager.batchai.models.VirtualMachineConfiguration;
-import com.azure.resourcemanager.batchai.models.VmPriority;
-import com.fasterxml.jackson.annotation.JsonIgnore;
-import com.fasterxml.jackson.annotation.JsonProperty;
-import java.time.OffsetDateTime;
-import java.util.List;
-
-/** Information about a Cluster. */
-@JsonFlatten
-@Fluent
-public class ClusterInner extends ProxyResource {
- @JsonIgnore
- private final ClientLogger logger = new ClientLogger(ClusterInner.class);
-
- /*
- * The size of the virtual machines in the cluster. All nodes in a cluster
- * have the same VM size.
- */
- @JsonProperty(value = "properties.vmSize")
- private String vmSize;
-
- /*
- * VM priority of cluster nodes.
- */
- @JsonProperty(value = "properties.vmPriority")
- private VmPriority vmPriority;
-
- /*
- * Scale settings of the cluster.
- */
- @JsonProperty(value = "properties.scaleSettings")
- private ScaleSettings scaleSettings;
-
- /*
- * Virtual machine configuration (OS image) of the compute nodes. All nodes
- * in a cluster have the same OS image configuration.
- */
- @JsonProperty(value = "properties.virtualMachineConfiguration")
- private VirtualMachineConfiguration virtualMachineConfiguration;
-
- /*
- * Setup (mount file systems, performance counters settings and custom
- * setup task) to be performed on each compute node in the cluster.
- */
- @JsonProperty(value = "properties.nodeSetup")
- private NodeSetup nodeSetup;
-
- /*
- * Administrator user account settings which can be used to SSH to compute
- * nodes.
- */
- @JsonProperty(value = "properties.userAccountSettings")
- private UserAccountSettings userAccountSettings;
-
- /*
- * Virtual network subnet resource ID the cluster nodes belong to.
- */
- @JsonProperty(value = "properties.subnet")
- private ResourceId subnet;
-
- /*
- * The time when the cluster was created.
- */
- @JsonProperty(value = "properties.creationTime", access = JsonProperty.Access.WRITE_ONLY)
- private OffsetDateTime creationTime;
-
- /*
- * Provisioning state of the cluster. Possible value are: creating -
- * Specifies that the cluster is being created. succeeded - Specifies that
- * the cluster has been created successfully. failed - Specifies that the
- * cluster creation has failed. deleting - Specifies that the cluster is
- * being deleted.
- */
- @JsonProperty(value = "properties.provisioningState", access = JsonProperty.Access.WRITE_ONLY)
- private ProvisioningState provisioningState;
-
- /*
- * Time when the provisioning state was changed.
- */
- @JsonProperty(value = "properties.provisioningStateTransitionTime", access = JsonProperty.Access.WRITE_ONLY)
- private OffsetDateTime provisioningStateTransitionTime;
-
- /*
- * Allocation state of the cluster. Possible values are: steady - Indicates
- * that the cluster is not resizing. There are no changes to the number of
- * compute nodes in the cluster in progress. A cluster enters this state
- * when it is created and when no operations are being performed on the
- * cluster to change the number of compute nodes. resizing - Indicates that
- * the cluster is resizing; that is, compute nodes are being added to or
- * removed from the cluster.
- */
- @JsonProperty(value = "properties.allocationState", access = JsonProperty.Access.WRITE_ONLY)
- private AllocationState allocationState;
-
- /*
- * The time at which the cluster entered its current allocation state.
- */
- @JsonProperty(value = "properties.allocationStateTransitionTime", access = JsonProperty.Access.WRITE_ONLY)
- private OffsetDateTime allocationStateTransitionTime;
-
- /*
- * Collection of errors encountered by various compute nodes during node
- * setup.
- */
- @JsonProperty(value = "properties.errors", access = JsonProperty.Access.WRITE_ONLY)
- private List errors;
-
- /*
- * The number of compute nodes currently assigned to the cluster.
- */
- @JsonProperty(value = "properties.currentNodeCount", access = JsonProperty.Access.WRITE_ONLY)
- private Integer currentNodeCount;
-
- /*
- * Counts of various node states on the cluster.
- */
- @JsonProperty(value = "properties.nodeStateCounts", access = JsonProperty.Access.WRITE_ONLY)
- private NodeStateCounts nodeStateCounts;
-
- /**
- * Get the vmSize property: The size of the virtual machines in the cluster. All nodes in a cluster have the same VM
- * size.
- *
- * @return the vmSize value.
- */
- public String vmSize() {
- return this.vmSize;
- }
-
- /**
- * Set the vmSize property: The size of the virtual machines in the cluster. All nodes in a cluster have the same VM
- * size.
- *
- * @param vmSize the vmSize value to set.
- * @return the ClusterInner object itself.
- */
- public ClusterInner withVmSize(String vmSize) {
- this.vmSize = vmSize;
- return this;
- }
-
- /**
- * Get the vmPriority property: VM priority of cluster nodes.
- *
- * @return the vmPriority value.
- */
- public VmPriority vmPriority() {
- return this.vmPriority;
- }
-
- /**
- * Set the vmPriority property: VM priority of cluster nodes.
- *
- * @param vmPriority the vmPriority value to set.
- * @return the ClusterInner object itself.
- */
- public ClusterInner withVmPriority(VmPriority vmPriority) {
- this.vmPriority = vmPriority;
- return this;
- }
-
- /**
- * Get the scaleSettings property: Scale settings of the cluster.
- *
- * @return the scaleSettings value.
- */
- public ScaleSettings scaleSettings() {
- return this.scaleSettings;
- }
-
- /**
- * Set the scaleSettings property: Scale settings of the cluster.
- *
- * @param scaleSettings the scaleSettings value to set.
- * @return the ClusterInner object itself.
- */
- public ClusterInner withScaleSettings(ScaleSettings scaleSettings) {
- this.scaleSettings = scaleSettings;
- return this;
- }
-
- /**
- * Get the virtualMachineConfiguration property: Virtual machine configuration (OS image) of the compute nodes. All
- * nodes in a cluster have the same OS image configuration.
- *
- * @return the virtualMachineConfiguration value.
- */
- public VirtualMachineConfiguration virtualMachineConfiguration() {
- return this.virtualMachineConfiguration;
- }
-
- /**
- * Set the virtualMachineConfiguration property: Virtual machine configuration (OS image) of the compute nodes. All
- * nodes in a cluster have the same OS image configuration.
- *
- * @param virtualMachineConfiguration the virtualMachineConfiguration value to set.
- * @return the ClusterInner object itself.
- */
- public ClusterInner withVirtualMachineConfiguration(VirtualMachineConfiguration virtualMachineConfiguration) {
- this.virtualMachineConfiguration = virtualMachineConfiguration;
- return this;
- }
-
- /**
- * Get the nodeSetup property: Setup (mount file systems, performance counters settings and custom setup task) to be
- * performed on each compute node in the cluster.
- *
- * @return the nodeSetup value.
- */
- public NodeSetup nodeSetup() {
- return this.nodeSetup;
- }
-
- /**
- * Set the nodeSetup property: Setup (mount file systems, performance counters settings and custom setup task) to be
- * performed on each compute node in the cluster.
- *
- * @param nodeSetup the nodeSetup value to set.
- * @return the ClusterInner object itself.
- */
- public ClusterInner withNodeSetup(NodeSetup nodeSetup) {
- this.nodeSetup = nodeSetup;
- return this;
- }
-
- /**
- * Get the userAccountSettings property: Administrator user account settings which can be used to SSH to compute
- * nodes.
- *
- * @return the userAccountSettings value.
- */
- public UserAccountSettings userAccountSettings() {
- return this.userAccountSettings;
- }
-
- /**
- * Set the userAccountSettings property: Administrator user account settings which can be used to SSH to compute
- * nodes.
- *
- * @param userAccountSettings the userAccountSettings value to set.
- * @return the ClusterInner object itself.
- */
- public ClusterInner withUserAccountSettings(UserAccountSettings userAccountSettings) {
- this.userAccountSettings = userAccountSettings;
- return this;
- }
-
- /**
- * Get the subnet property: Virtual network subnet resource ID the cluster nodes belong to.
- *
- * @return the subnet value.
- */
- public ResourceId subnet() {
- return this.subnet;
- }
-
- /**
- * Set the subnet property: Virtual network subnet resource ID the cluster nodes belong to.
- *
- * @param subnet the subnet value to set.
- * @return the ClusterInner object itself.
- */
- public ClusterInner withSubnet(ResourceId subnet) {
- this.subnet = subnet;
- return this;
- }
-
- /**
- * Get the creationTime property: The time when the cluster was created.
- *
- * @return the creationTime value.
- */
- public OffsetDateTime creationTime() {
- return this.creationTime;
- }
-
- /**
- * Get the provisioningState property: Provisioning state of the cluster. Possible value are: creating - Specifies
- * that the cluster is being created. succeeded - Specifies that the cluster has been created successfully. failed -
- * Specifies that the cluster creation has failed. deleting - Specifies that the cluster is being deleted.
- *
- * @return the provisioningState value.
- */
- public ProvisioningState provisioningState() {
- return this.provisioningState;
- }
-
- /**
- * Get the provisioningStateTransitionTime property: Time when the provisioning state was changed.
- *
- * @return the provisioningStateTransitionTime value.
- */
- public OffsetDateTime provisioningStateTransitionTime() {
- return this.provisioningStateTransitionTime;
- }
-
- /**
- * Get the allocationState property: Allocation state of the cluster. Possible values are: steady - Indicates that
- * the cluster is not resizing. There are no changes to the number of compute nodes in the cluster in progress. A
- * cluster enters this state when it is created and when no operations are being performed on the cluster to change
- * the number of compute nodes. resizing - Indicates that the cluster is resizing; that is, compute nodes are being
- * added to or removed from the cluster.
- *
- * @return the allocationState value.
- */
- public AllocationState allocationState() {
- return this.allocationState;
- }
-
- /**
- * Get the allocationStateTransitionTime property: The time at which the cluster entered its current allocation
- * state.
- *
- * @return the allocationStateTransitionTime value.
- */
- public OffsetDateTime allocationStateTransitionTime() {
- return this.allocationStateTransitionTime;
- }
-
- /**
- * Get the errors property: Collection of errors encountered by various compute nodes during node setup.
- *
- * @return the errors value.
- */
- public List errors() {
- return this.errors;
- }
-
- /**
- * Get the currentNodeCount property: The number of compute nodes currently assigned to the cluster.
- *
- * @return the currentNodeCount value.
- */
- public Integer currentNodeCount() {
- return this.currentNodeCount;
- }
-
- /**
- * Get the nodeStateCounts property: Counts of various node states on the cluster.
- *
- * @return the nodeStateCounts value.
- */
- public NodeStateCounts nodeStateCounts() {
- return this.nodeStateCounts;
- }
-
- /**
- * Validates the instance.
- *
- * @throws IllegalArgumentException thrown if the instance is not valid.
- */
- public void validate() {
- if (scaleSettings() != null) {
- scaleSettings().validate();
- }
- if (virtualMachineConfiguration() != null) {
- virtualMachineConfiguration().validate();
- }
- if (nodeSetup() != null) {
- nodeSetup().validate();
- }
- if (userAccountSettings() != null) {
- userAccountSettings().validate();
- }
- if (subnet() != null) {
- subnet().validate();
- }
- if (errors() != null) {
- errors().forEach(e -> e.validate());
- }
- if (nodeStateCounts() != null) {
- nodeStateCounts().validate();
- }
- }
-}
diff --git a/sdk/batchai/azure-resourcemanager-batchai/src/main/java/com/azure/resourcemanager/batchai/fluent/models/ExperimentInner.java b/sdk/batchai/azure-resourcemanager-batchai/src/main/java/com/azure/resourcemanager/batchai/fluent/models/ExperimentInner.java
deleted file mode 100644
index 13926eb05b8f..000000000000
--- a/sdk/batchai/azure-resourcemanager-batchai/src/main/java/com/azure/resourcemanager/batchai/fluent/models/ExperimentInner.java
+++ /dev/null
@@ -1,76 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.batchai.fluent.models;
-
-import com.azure.core.annotation.Immutable;
-import com.azure.core.annotation.JsonFlatten;
-import com.azure.core.management.ProxyResource;
-import com.azure.core.util.logging.ClientLogger;
-import com.azure.resourcemanager.batchai.models.ProvisioningState;
-import com.fasterxml.jackson.annotation.JsonIgnore;
-import com.fasterxml.jackson.annotation.JsonProperty;
-import java.time.OffsetDateTime;
-
-/** Experiment information. */
-@JsonFlatten
-@Immutable
-public class ExperimentInner extends ProxyResource {
- @JsonIgnore
- private final ClientLogger logger = new ClientLogger(ExperimentInner.class);
-
- /*
- * Time when the Experiment was created.
- */
- @JsonProperty(value = "properties.creationTime", access = JsonProperty.Access.WRITE_ONLY)
- private OffsetDateTime creationTime;
-
- /*
- * The provisioned state of the experiment
- */
- @JsonProperty(value = "properties.provisioningState", access = JsonProperty.Access.WRITE_ONLY)
- private ProvisioningState provisioningState;
-
- /*
- * The time at which the experiment entered its current provisioning state.
- */
- @JsonProperty(value = "properties.provisioningStateTransitionTime", access = JsonProperty.Access.WRITE_ONLY)
- private OffsetDateTime provisioningStateTransitionTime;
-
- /**
- * Get the creationTime property: Time when the Experiment was created.
- *
- * @return the creationTime value.
- */
- public OffsetDateTime creationTime() {
- return this.creationTime;
- }
-
- /**
- * Get the provisioningState property: The provisioned state of the experiment.
- *
- * @return the provisioningState value.
- */
- public ProvisioningState provisioningState() {
- return this.provisioningState;
- }
-
- /**
- * Get the provisioningStateTransitionTime property: The time at which the experiment entered its current
- * provisioning state.
- *
- * @return the provisioningStateTransitionTime value.
- */
- public OffsetDateTime provisioningStateTransitionTime() {
- return this.provisioningStateTransitionTime;
- }
-
- /**
- * Validates the instance.
- *
- * @throws IllegalArgumentException thrown if the instance is not valid.
- */
- public void validate() {
- }
-}
diff --git a/sdk/batchai/azure-resourcemanager-batchai/src/main/java/com/azure/resourcemanager/batchai/fluent/models/FileInner.java b/sdk/batchai/azure-resourcemanager-batchai/src/main/java/com/azure/resourcemanager/batchai/fluent/models/FileInner.java
deleted file mode 100644
index 2c53a79fc770..000000000000
--- a/sdk/batchai/azure-resourcemanager-batchai/src/main/java/com/azure/resourcemanager/batchai/fluent/models/FileInner.java
+++ /dev/null
@@ -1,106 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.batchai.fluent.models;
-
-import com.azure.core.annotation.Immutable;
-import com.azure.core.annotation.JsonFlatten;
-import com.azure.core.util.logging.ClientLogger;
-import com.azure.resourcemanager.batchai.models.FileType;
-import com.fasterxml.jackson.annotation.JsonIgnore;
-import com.fasterxml.jackson.annotation.JsonProperty;
-import java.time.OffsetDateTime;
-
-/** Properties of the file or directory. */
-@JsonFlatten
-@Immutable
-public class FileInner {
- @JsonIgnore
- private final ClientLogger logger = new ClientLogger(FileInner.class);
-
- /*
- * Name of the file.
- */
- @JsonProperty(value = "name", access = JsonProperty.Access.WRITE_ONLY)
- private String name;
-
- /*
- * Type of the file. Possible values are file and directory.
- */
- @JsonProperty(value = "fileType", access = JsonProperty.Access.WRITE_ONLY)
- private FileType fileType;
-
- /*
- * URL to download the corresponding file. The downloadUrl is not returned
- * for directories.
- */
- @JsonProperty(value = "downloadUrl", access = JsonProperty.Access.WRITE_ONLY)
- private String downloadUrl;
-
- /*
- * The time at which the file was last modified.
- */
- @JsonProperty(value = "properties.lastModified", access = JsonProperty.Access.WRITE_ONLY)
- private OffsetDateTime lastModified;
-
- /*
- * The file of the size.
- */
- @JsonProperty(value = "properties.contentLength", access = JsonProperty.Access.WRITE_ONLY)
- private Long contentLength;
-
- /**
- * Get the name property: Name of the file.
- *
- * @return the name value.
- */
- public String name() {
- return this.name;
- }
-
- /**
- * Get the fileType property: Type of the file. Possible values are file and directory.
- *
- * @return the fileType value.
- */
- public FileType fileType() {
- return this.fileType;
- }
-
- /**
- * Get the downloadUrl property: URL to download the corresponding file. The downloadUrl is not returned for
- * directories.
- *
- * @return the downloadUrl value.
- */
- public String downloadUrl() {
- return this.downloadUrl;
- }
-
- /**
- * Get the lastModified property: The time at which the file was last modified.
- *
- * @return the lastModified value.
- */
- public OffsetDateTime lastModified() {
- return this.lastModified;
- }
-
- /**
- * Get the contentLength property: The file of the size.
- *
- * @return the contentLength value.
- */
- public Long contentLength() {
- return this.contentLength;
- }
-
- /**
- * Validates the instance.
- *
- * @throws IllegalArgumentException thrown if the instance is not valid.
- */
- public void validate() {
- }
-}
diff --git a/sdk/batchai/azure-resourcemanager-batchai/src/main/java/com/azure/resourcemanager/batchai/fluent/models/FileServerInner.java b/sdk/batchai/azure-resourcemanager-batchai/src/main/java/com/azure/resourcemanager/batchai/fluent/models/FileServerInner.java
deleted file mode 100644
index e05bdfef6e9a..000000000000
--- a/sdk/batchai/azure-resourcemanager-batchai/src/main/java/com/azure/resourcemanager/batchai/fluent/models/FileServerInner.java
+++ /dev/null
@@ -1,220 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.batchai.fluent.models;
-
-import com.azure.core.annotation.Fluent;
-import com.azure.core.annotation.JsonFlatten;
-import com.azure.core.management.ProxyResource;
-import com.azure.core.util.logging.ClientLogger;
-import com.azure.resourcemanager.batchai.models.DataDisks;
-import com.azure.resourcemanager.batchai.models.FileServerProvisioningState;
-import com.azure.resourcemanager.batchai.models.MountSettings;
-import com.azure.resourcemanager.batchai.models.ResourceId;
-import com.azure.resourcemanager.batchai.models.SshConfiguration;
-import com.fasterxml.jackson.annotation.JsonIgnore;
-import com.fasterxml.jackson.annotation.JsonProperty;
-import java.time.OffsetDateTime;
-
-/** File Server information. */
-@JsonFlatten
-@Fluent
-public class FileServerInner extends ProxyResource {
- @JsonIgnore
- private final ClientLogger logger = new ClientLogger(FileServerInner.class);
-
- /*
- * VM size of the File Server.
- */
- @JsonProperty(value = "properties.vmSize")
- private String vmSize;
-
- /*
- * SSH configuration for accessing the File Server node.
- */
- @JsonProperty(value = "properties.sshConfiguration")
- private SshConfiguration sshConfiguration;
-
- /*
- * Information about disks attached to File Server VM.
- */
- @JsonProperty(value = "properties.dataDisks")
- private DataDisks dataDisks;
-
- /*
- * File Server virtual network subnet resource ID.
- */
- @JsonProperty(value = "properties.subnet")
- private ResourceId subnet;
-
- /*
- * File Server mount settings.
- */
- @JsonProperty(value = "properties.mountSettings", access = JsonProperty.Access.WRITE_ONLY)
- private MountSettings mountSettings;
-
- /*
- * Time when the provisioning state was changed.
- */
- @JsonProperty(value = "properties.provisioningStateTransitionTime", access = JsonProperty.Access.WRITE_ONLY)
- private OffsetDateTime provisioningStateTransitionTime;
-
- /*
- * Time when the FileServer was created.
- */
- @JsonProperty(value = "properties.creationTime", access = JsonProperty.Access.WRITE_ONLY)
- private OffsetDateTime creationTime;
-
- /*
- * Provisioning state of the File Server. Possible values: creating - The
- * File Server is getting created; updating - The File Server creation has
- * been accepted and it is getting updated; deleting - The user has
- * requested that the File Server be deleted, and it is in the process of
- * being deleted; failed - The File Server creation has failed with the
- * specified error code. Details about the error code are specified in the
- * message field; succeeded - The File Server creation has succeeded.
- */
- @JsonProperty(value = "properties.provisioningState", access = JsonProperty.Access.WRITE_ONLY)
- private FileServerProvisioningState provisioningState;
-
- /**
- * Get the vmSize property: VM size of the File Server.
- *
- * @return the vmSize value.
- */
- public String vmSize() {
- return this.vmSize;
- }
-
- /**
- * Set the vmSize property: VM size of the File Server.
- *
- * @param vmSize the vmSize value to set.
- * @return the FileServerInner object itself.
- */
- public FileServerInner withVmSize(String vmSize) {
- this.vmSize = vmSize;
- return this;
- }
-
- /**
- * Get the sshConfiguration property: SSH configuration for accessing the File Server node.
- *
- * @return the sshConfiguration value.
- */
- public SshConfiguration sshConfiguration() {
- return this.sshConfiguration;
- }
-
- /**
- * Set the sshConfiguration property: SSH configuration for accessing the File Server node.
- *
- * @param sshConfiguration the sshConfiguration value to set.
- * @return the FileServerInner object itself.
- */
- public FileServerInner withSshConfiguration(SshConfiguration sshConfiguration) {
- this.sshConfiguration = sshConfiguration;
- return this;
- }
-
- /**
- * Get the dataDisks property: Information about disks attached to File Server VM.
- *
- * @return the dataDisks value.
- */
- public DataDisks dataDisks() {
- return this.dataDisks;
- }
-
- /**
- * Set the dataDisks property: Information about disks attached to File Server VM.
- *
- * @param dataDisks the dataDisks value to set.
- * @return the FileServerInner object itself.
- */
- public FileServerInner withDataDisks(DataDisks dataDisks) {
- this.dataDisks = dataDisks;
- return this;
- }
-
- /**
- * Get the subnet property: File Server virtual network subnet resource ID.
- *
- * @return the subnet value.
- */
- public ResourceId subnet() {
- return this.subnet;
- }
-
- /**
- * Set the subnet property: File Server virtual network subnet resource ID.
- *
- * @param subnet the subnet value to set.
- * @return the FileServerInner object itself.
- */
- public FileServerInner withSubnet(ResourceId subnet) {
- this.subnet = subnet;
- return this;
- }
-
- /**
- * Get the mountSettings property: File Server mount settings.
- *
- * @return the mountSettings value.
- */
- public MountSettings mountSettings() {
- return this.mountSettings;
- }
-
- /**
- * Get the provisioningStateTransitionTime property: Time when the provisioning state was changed.
- *
- * @return the provisioningStateTransitionTime value.
- */
- public OffsetDateTime provisioningStateTransitionTime() {
- return this.provisioningStateTransitionTime;
- }
-
- /**
- * Get the creationTime property: Time when the FileServer was created.
- *
- * @return the creationTime value.
- */
- public OffsetDateTime creationTime() {
- return this.creationTime;
- }
-
- /**
- * Get the provisioningState property: Provisioning state of the File Server. Possible values: creating - The File
- * Server is getting created; updating - The File Server creation has been accepted and it is getting updated;
- * deleting - The user has requested that the File Server be deleted, and it is in the process of being deleted;
- * failed - The File Server creation has failed with the specified error code. Details about the error code are
- * specified in the message field; succeeded - The File Server creation has succeeded.
- *
- * @return the provisioningState value.
- */
- public FileServerProvisioningState provisioningState() {
- return this.provisioningState;
- }
-
- /**
- * Validates the instance.
- *
- * @throws IllegalArgumentException thrown if the instance is not valid.
- */
- public void validate() {
- if (sshConfiguration() != null) {
- sshConfiguration().validate();
- }
- if (dataDisks() != null) {
- dataDisks().validate();
- }
- if (subnet() != null) {
- subnet().validate();
- }
- if (mountSettings() != null) {
- mountSettings().validate();
- }
- }
-}
diff --git a/sdk/batchai/azure-resourcemanager-batchai/src/main/java/com/azure/resourcemanager/batchai/fluent/models/JobInner.java b/sdk/batchai/azure-resourcemanager-batchai/src/main/java/com/azure/resourcemanager/batchai/fluent/models/JobInner.java
deleted file mode 100644
index 9848382d3d7a..000000000000
--- a/sdk/batchai/azure-resourcemanager-batchai/src/main/java/com/azure/resourcemanager/batchai/fluent/models/JobInner.java
+++ /dev/null
@@ -1,848 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.batchai.fluent.models;
-
-import com.azure.core.annotation.Fluent;
-import com.azure.core.annotation.JsonFlatten;
-import com.azure.core.management.ProxyResource;
-import com.azure.core.util.logging.ClientLogger;
-import com.azure.resourcemanager.batchai.models.Caffe2Settings;
-import com.azure.resourcemanager.batchai.models.CaffeSettings;
-import com.azure.resourcemanager.batchai.models.ChainerSettings;
-import com.azure.resourcemanager.batchai.models.CntKsettings;
-import com.azure.resourcemanager.batchai.models.ContainerSettings;
-import com.azure.resourcemanager.batchai.models.CustomMpiSettings;
-import com.azure.resourcemanager.batchai.models.CustomToolkitSettings;
-import com.azure.resourcemanager.batchai.models.EnvironmentVariable;
-import com.azure.resourcemanager.batchai.models.EnvironmentVariableWithSecretValue;
-import com.azure.resourcemanager.batchai.models.ExecutionState;
-import com.azure.resourcemanager.batchai.models.HorovodSettings;
-import com.azure.resourcemanager.batchai.models.InputDirectory;
-import com.azure.resourcemanager.batchai.models.JobPreparation;
-import com.azure.resourcemanager.batchai.models.JobPriority;
-import com.azure.resourcemanager.batchai.models.JobPropertiesConstraints;
-import com.azure.resourcemanager.batchai.models.JobPropertiesExecutionInfo;
-import com.azure.resourcemanager.batchai.models.MountVolumes;
-import com.azure.resourcemanager.batchai.models.OutputDirectory;
-import com.azure.resourcemanager.batchai.models.ProvisioningState;
-import com.azure.resourcemanager.batchai.models.PyTorchSettings;
-import com.azure.resourcemanager.batchai.models.ResourceId;
-import com.azure.resourcemanager.batchai.models.TensorFlowSettings;
-import com.azure.resourcemanager.batchai.models.ToolType;
-import com.fasterxml.jackson.annotation.JsonIgnore;
-import com.fasterxml.jackson.annotation.JsonProperty;
-import java.time.OffsetDateTime;
-import java.util.List;
-
-/** Information about a Job. */
-@JsonFlatten
-@Fluent
-public class JobInner extends ProxyResource {
- @JsonIgnore
- private final ClientLogger logger = new ClientLogger(JobInner.class);
-
- /*
- * Scheduling priority associated with the job.
- */
- @JsonProperty(value = "properties.schedulingPriority")
- private JobPriority schedulingPriority;
-
- /*
- * Resource ID of the cluster associated with the job.
- */
- @JsonProperty(value = "properties.cluster")
- private ResourceId cluster;
-
- /*
- * Collection of mount volumes available to the job during execution. These
- * volumes are mounted before the job execution and unmounted after the job
- * completion. The volumes are mounted at location specified by
- * $AZ_BATCHAI_JOB_MOUNT_ROOT environment variable.
- */
- @JsonProperty(value = "properties.mountVolumes")
- private MountVolumes mountVolumes;
-
- /*
- * The job will be gang scheduled on that many compute nodes
- */
- @JsonProperty(value = "properties.nodeCount")
- private Integer nodeCount;
-
- /*
- * If the container was downloaded as part of cluster setup then the same
- * container image will be used. If not provided, the job will run on the
- * VM.
- */
- @JsonProperty(value = "properties.containerSettings")
- private ContainerSettings containerSettings;
-
- /*
- * Possible values are: cntk, tensorflow, caffe, caffe2, chainer, pytorch,
- * custom, custommpi, horovod.
- */
- @JsonProperty(value = "properties.toolType")
- private ToolType toolType;
-
- /*
- * CNTK (aka Microsoft Cognitive Toolkit) job settings.
- */
- @JsonProperty(value = "properties.cntkSettings")
- private CntKsettings cntkSettings;
-
- /*
- * pyTorch job settings.
- */
- @JsonProperty(value = "properties.pyTorchSettings")
- private PyTorchSettings pyTorchSettings;
-
- /*
- * TensorFlow job settings.
- */
- @JsonProperty(value = "properties.tensorFlowSettings")
- private TensorFlowSettings tensorFlowSettings;
-
- /*
- * Caffe job settings.
- */
- @JsonProperty(value = "properties.caffeSettings")
- private CaffeSettings caffeSettings;
-
- /*
- * Caffe2 job settings.
- */
- @JsonProperty(value = "properties.caffe2Settings")
- private Caffe2Settings caffe2Settings;
-
- /*
- * Chainer job settings.
- */
- @JsonProperty(value = "properties.chainerSettings")
- private ChainerSettings chainerSettings;
-
- /*
- * Custom tool kit job settings.
- */
- @JsonProperty(value = "properties.customToolkitSettings")
- private CustomToolkitSettings customToolkitSettings;
-
- /*
- * Custom MPI job settings.
- */
- @JsonProperty(value = "properties.customMpiSettings")
- private CustomMpiSettings customMpiSettings;
-
- /*
- * Specifies the settings for Horovod job.
- */
- @JsonProperty(value = "properties.horovodSettings")
- private HorovodSettings horovodSettings;
-
- /*
- * The specified actions will run on all the nodes that are part of the job
- */
- @JsonProperty(value = "properties.jobPreparation")
- private JobPreparation jobPreparation;
-
- /*
- * A segment of job's output directories path created by Batch AI. Batch AI
- * creates job's output directories under an unique path to avoid conflicts
- * between jobs. This value contains a path segment generated by Batch AI
- * to make the path unique and can be used to find the output directory on
- * the node or mounted filesystem.
- */
- @JsonProperty(value = "properties.jobOutputDirectoryPathSegment", access = JsonProperty.Access.WRITE_ONLY)
- private String jobOutputDirectoryPathSegment;
-
- /*
- * The path where the Batch AI service stores stdout, stderror and
- * execution log of the job.
- */
- @JsonProperty(value = "properties.stdOutErrPathPrefix")
- private String stdOutErrPathPrefix;
-
- /*
- * A list of input directories for the job.
- */
- @JsonProperty(value = "properties.inputDirectories")
- private List inputDirectories;
-
- /*
- * A list of output directories for the job.
- */
- @JsonProperty(value = "properties.outputDirectories")
- private List outputDirectories;
-
- /*
- * A collection of user defined environment variables to be setup for the
- * job.
- */
- @JsonProperty(value = "properties.environmentVariables")
- private List environmentVariables;
-
- /*
- * A collection of user defined environment variables with secret values to
- * be setup for the job. Server will never report values of these variables
- * back.
- */
- @JsonProperty(value = "properties.secrets")
- private List secrets;
-
- /*
- * Constraints associated with the Job.
- */
- @JsonProperty(value = "properties.constraints")
- private JobPropertiesConstraints constraints;
-
- /*
- * The creation time of the job.
- */
- @JsonProperty(value = "properties.creationTime", access = JsonProperty.Access.WRITE_ONLY)
- private OffsetDateTime creationTime;
-
- /*
- * The provisioned state of the Batch AI job
- */
- @JsonProperty(value = "properties.provisioningState", access = JsonProperty.Access.WRITE_ONLY)
- private ProvisioningState provisioningState;
-
- /*
- * The time at which the job entered its current provisioning state.
- */
- @JsonProperty(value = "properties.provisioningStateTransitionTime", access = JsonProperty.Access.WRITE_ONLY)
- private OffsetDateTime provisioningStateTransitionTime;
-
- /*
- * The current state of the job. Possible values are: queued - The job is
- * queued and able to run. A job enters this state when it is created, or
- * when it is awaiting a retry after a failed run. running - The job is
- * running on a compute cluster. This includes job-level preparation such
- * as downloading resource files or set up container specified on the job -
- * it does not necessarily mean that the job command line has started
- * executing. terminating - The job is terminated by the user, the
- * terminate operation is in progress. succeeded - The job has completed
- * running successfully and exited with exit code 0. failed - The job has
- * finished unsuccessfully (failed with a non-zero exit code) and has
- * exhausted its retry limit. A job is also marked as failed if an error
- * occurred launching the job.
- */
- @JsonProperty(value = "properties.executionState", access = JsonProperty.Access.WRITE_ONLY)
- private ExecutionState executionState;
-
- /*
- * The time at which the job entered its current execution state.
- */
- @JsonProperty(value = "properties.executionStateTransitionTime", access = JsonProperty.Access.WRITE_ONLY)
- private OffsetDateTime executionStateTransitionTime;
-
- /*
- * Information about the execution of a job.
- */
- @JsonProperty(value = "properties.executionInfo")
- private JobPropertiesExecutionInfo executionInfo;
-
- /**
- * Get the schedulingPriority property: Scheduling priority associated with the job.
- *
- * @return the schedulingPriority value.
- */
- public JobPriority schedulingPriority() {
- return this.schedulingPriority;
- }
-
- /**
- * Set the schedulingPriority property: Scheduling priority associated with the job.
- *
- * @param schedulingPriority the schedulingPriority value to set.
- * @return the JobInner object itself.
- */
- public JobInner withSchedulingPriority(JobPriority schedulingPriority) {
- this.schedulingPriority = schedulingPriority;
- return this;
- }
-
- /**
- * Get the cluster property: Resource ID of the cluster associated with the job.
- *
- * @return the cluster value.
- */
- public ResourceId cluster() {
- return this.cluster;
- }
-
- /**
- * Set the cluster property: Resource ID of the cluster associated with the job.
- *
- * @param cluster the cluster value to set.
- * @return the JobInner object itself.
- */
- public JobInner withCluster(ResourceId cluster) {
- this.cluster = cluster;
- return this;
- }
-
- /**
- * Get the mountVolumes property: Collection of mount volumes available to the job during execution. These volumes
- * are mounted before the job execution and unmounted after the job completion. The volumes are mounted at location
- * specified by $AZ_BATCHAI_JOB_MOUNT_ROOT environment variable.
- *
- * @return the mountVolumes value.
- */
- public MountVolumes mountVolumes() {
- return this.mountVolumes;
- }
-
- /**
- * Set the mountVolumes property: Collection of mount volumes available to the job during execution. These volumes
- * are mounted before the job execution and unmounted after the job completion. The volumes are mounted at location
- * specified by $AZ_BATCHAI_JOB_MOUNT_ROOT environment variable.
- *
- * @param mountVolumes the mountVolumes value to set.
- * @return the JobInner object itself.
- */
- public JobInner withMountVolumes(MountVolumes mountVolumes) {
- this.mountVolumes = mountVolumes;
- return this;
- }
-
- /**
- * Get the nodeCount property: The job will be gang scheduled on that many compute nodes.
- *
- * @return the nodeCount value.
- */
- public Integer nodeCount() {
- return this.nodeCount;
- }
-
- /**
- * Set the nodeCount property: The job will be gang scheduled on that many compute nodes.
- *
- * @param nodeCount the nodeCount value to set.
- * @return the JobInner object itself.
- */
- public JobInner withNodeCount(Integer nodeCount) {
- this.nodeCount = nodeCount;
- return this;
- }
-
- /**
- * Get the containerSettings property: If the container was downloaded as part of cluster setup then the same
- * container image will be used. If not provided, the job will run on the VM.
- *
- * @return the containerSettings value.
- */
- public ContainerSettings containerSettings() {
- return this.containerSettings;
- }
-
- /**
- * Set the containerSettings property: If the container was downloaded as part of cluster setup then the same
- * container image will be used. If not provided, the job will run on the VM.
- *
- * @param containerSettings the containerSettings value to set.
- * @return the JobInner object itself.
- */
- public JobInner withContainerSettings(ContainerSettings containerSettings) {
- this.containerSettings = containerSettings;
- return this;
- }
-
- /**
- * Get the toolType property: Possible values are: cntk, tensorflow, caffe, caffe2, chainer, pytorch, custom,
- * custommpi, horovod.
- *
- * @return the toolType value.
- */
- public ToolType toolType() {
- return this.toolType;
- }
-
- /**
- * Set the toolType property: Possible values are: cntk, tensorflow, caffe, caffe2, chainer, pytorch, custom,
- * custommpi, horovod.
- *
- * @param toolType the toolType value to set.
- * @return the JobInner object itself.
- */
- public JobInner withToolType(ToolType toolType) {
- this.toolType = toolType;
- return this;
- }
-
- /**
- * Get the cntkSettings property: CNTK (aka Microsoft Cognitive Toolkit) job settings.
- *
- * @return the cntkSettings value.
- */
- public CntKsettings cntkSettings() {
- return this.cntkSettings;
- }
-
- /**
- * Set the cntkSettings property: CNTK (aka Microsoft Cognitive Toolkit) job settings.
- *
- * @param cntkSettings the cntkSettings value to set.
- * @return the JobInner object itself.
- */
- public JobInner withCntkSettings(CntKsettings cntkSettings) {
- this.cntkSettings = cntkSettings;
- return this;
- }
-
- /**
- * Get the pyTorchSettings property: pyTorch job settings.
- *
- * @return the pyTorchSettings value.
- */
- public PyTorchSettings pyTorchSettings() {
- return this.pyTorchSettings;
- }
-
- /**
- * Set the pyTorchSettings property: pyTorch job settings.
- *
- * @param pyTorchSettings the pyTorchSettings value to set.
- * @return the JobInner object itself.
- */
- public JobInner withPyTorchSettings(PyTorchSettings pyTorchSettings) {
- this.pyTorchSettings = pyTorchSettings;
- return this;
- }
-
- /**
- * Get the tensorFlowSettings property: TensorFlow job settings.
- *
- * @return the tensorFlowSettings value.
- */
- public TensorFlowSettings tensorFlowSettings() {
- return this.tensorFlowSettings;
- }
-
- /**
- * Set the tensorFlowSettings property: TensorFlow job settings.
- *
- * @param tensorFlowSettings the tensorFlowSettings value to set.
- * @return the JobInner object itself.
- */
- public JobInner withTensorFlowSettings(TensorFlowSettings tensorFlowSettings) {
- this.tensorFlowSettings = tensorFlowSettings;
- return this;
- }
-
- /**
- * Get the caffeSettings property: Caffe job settings.
- *
- * @return the caffeSettings value.
- */
- public CaffeSettings caffeSettings() {
- return this.caffeSettings;
- }
-
- /**
- * Set the caffeSettings property: Caffe job settings.
- *
- * @param caffeSettings the caffeSettings value to set.
- * @return the JobInner object itself.
- */
- public JobInner withCaffeSettings(CaffeSettings caffeSettings) {
- this.caffeSettings = caffeSettings;
- return this;
- }
-
- /**
- * Get the caffe2Settings property: Caffe2 job settings.
- *
- * @return the caffe2Settings value.
- */
- public Caffe2Settings caffe2Settings() {
- return this.caffe2Settings;
- }
-
- /**
- * Set the caffe2Settings property: Caffe2 job settings.
- *
- * @param caffe2Settings the caffe2Settings value to set.
- * @return the JobInner object itself.
- */
- public JobInner withCaffe2Settings(Caffe2Settings caffe2Settings) {
- this.caffe2Settings = caffe2Settings;
- return this;
- }
-
- /**
- * Get the chainerSettings property: Chainer job settings.
- *
- * @return the chainerSettings value.
- */
- public ChainerSettings chainerSettings() {
- return this.chainerSettings;
- }
-
- /**
- * Set the chainerSettings property: Chainer job settings.
- *
- * @param chainerSettings the chainerSettings value to set.
- * @return the JobInner object itself.
- */
- public JobInner withChainerSettings(ChainerSettings chainerSettings) {
- this.chainerSettings = chainerSettings;
- return this;
- }
-
- /**
- * Get the customToolkitSettings property: Custom tool kit job settings.
- *
- * @return the customToolkitSettings value.
- */
- public CustomToolkitSettings customToolkitSettings() {
- return this.customToolkitSettings;
- }
-
- /**
- * Set the customToolkitSettings property: Custom tool kit job settings.
- *
- * @param customToolkitSettings the customToolkitSettings value to set.
- * @return the JobInner object itself.
- */
- public JobInner withCustomToolkitSettings(CustomToolkitSettings customToolkitSettings) {
- this.customToolkitSettings = customToolkitSettings;
- return this;
- }
-
- /**
- * Get the customMpiSettings property: Custom MPI job settings.
- *
- * @return the customMpiSettings value.
- */
- public CustomMpiSettings customMpiSettings() {
- return this.customMpiSettings;
- }
-
- /**
- * Set the customMpiSettings property: Custom MPI job settings.
- *
- * @param customMpiSettings the customMpiSettings value to set.
- * @return the JobInner object itself.
- */
- public JobInner withCustomMpiSettings(CustomMpiSettings customMpiSettings) {
- this.customMpiSettings = customMpiSettings;
- return this;
- }
-
- /**
- * Get the horovodSettings property: Specifies the settings for Horovod job.
- *
- * @return the horovodSettings value.
- */
- public HorovodSettings horovodSettings() {
- return this.horovodSettings;
- }
-
- /**
- * Set the horovodSettings property: Specifies the settings for Horovod job.
- *
- * @param horovodSettings the horovodSettings value to set.
- * @return the JobInner object itself.
- */
- public JobInner withHorovodSettings(HorovodSettings horovodSettings) {
- this.horovodSettings = horovodSettings;
- return this;
- }
-
- /**
- * Get the jobPreparation property: The specified actions will run on all the nodes that are part of the job.
- *
- * @return the jobPreparation value.
- */
- public JobPreparation jobPreparation() {
- return this.jobPreparation;
- }
-
- /**
- * Set the jobPreparation property: The specified actions will run on all the nodes that are part of the job.
- *
- * @param jobPreparation the jobPreparation value to set.
- * @return the JobInner object itself.
- */
- public JobInner withJobPreparation(JobPreparation jobPreparation) {
- this.jobPreparation = jobPreparation;
- return this;
- }
-
- /**
- * Get the jobOutputDirectoryPathSegment property: A segment of job's output directories path created by Batch AI.
- * Batch AI creates job's output directories under an unique path to avoid conflicts between jobs. This value
- * contains a path segment generated by Batch AI to make the path unique and can be used to find the output
- * directory on the node or mounted filesystem.
- *
- * @return the jobOutputDirectoryPathSegment value.
- */
- public String jobOutputDirectoryPathSegment() {
- return this.jobOutputDirectoryPathSegment;
- }
-
- /**
- * Get the stdOutErrPathPrefix property: The path where the Batch AI service stores stdout, stderror and execution
- * log of the job.
- *
- * @return the stdOutErrPathPrefix value.
- */
- public String stdOutErrPathPrefix() {
- return this.stdOutErrPathPrefix;
- }
-
- /**
- * Set the stdOutErrPathPrefix property: The path where the Batch AI service stores stdout, stderror and execution
- * log of the job.
- *
- * @param stdOutErrPathPrefix the stdOutErrPathPrefix value to set.
- * @return the JobInner object itself.
- */
- public JobInner withStdOutErrPathPrefix(String stdOutErrPathPrefix) {
- this.stdOutErrPathPrefix = stdOutErrPathPrefix;
- return this;
- }
-
- /**
- * Get the inputDirectories property: A list of input directories for the job.
- *
- * @return the inputDirectories value.
- */
- public List inputDirectories() {
- return this.inputDirectories;
- }
-
- /**
- * Set the inputDirectories property: A list of input directories for the job.
- *
- * @param inputDirectories the inputDirectories value to set.
- * @return the JobInner object itself.
- */
- public JobInner withInputDirectories(List inputDirectories) {
- this.inputDirectories = inputDirectories;
- return this;
- }
-
- /**
- * Get the outputDirectories property: A list of output directories for the job.
- *
- * @return the outputDirectories value.
- */
- public List outputDirectories() {
- return this.outputDirectories;
- }
-
- /**
- * Set the outputDirectories property: A list of output directories for the job.
- *
- * @param outputDirectories the outputDirectories value to set.
- * @return the JobInner object itself.
- */
- public JobInner withOutputDirectories(List outputDirectories) {
- this.outputDirectories = outputDirectories;
- return this;
- }
-
- /**
- * Get the environmentVariables property: A collection of user defined environment variables to be setup for the
- * job.
- *
- * @return the environmentVariables value.
- */
- public List environmentVariables() {
- return this.environmentVariables;
- }
-
- /**
- * Set the environmentVariables property: A collection of user defined environment variables to be setup for the
- * job.
- *
- * @param environmentVariables the environmentVariables value to set.
- * @return the JobInner object itself.
- */
- public JobInner withEnvironmentVariables(List environmentVariables) {
- this.environmentVariables = environmentVariables;
- return this;
- }
-
- /**
- * Get the secrets property: A collection of user defined environment variables with secret values to be setup for
- * the job. Server will never report values of these variables back.
- *
- * @return the secrets value.
- */
- public List secrets() {
- return this.secrets;
- }
-
- /**
- * Set the secrets property: A collection of user defined environment variables with secret values to be setup for
- * the job. Server will never report values of these variables back.
- *
- * @param secrets the secrets value to set.
- * @return the JobInner object itself.
- */
- public JobInner withSecrets(List secrets) {
- this.secrets = secrets;
- return this;
- }
-
- /**
- * Get the constraints property: Constraints associated with the Job.
- *
- * @return the constraints value.
- */
- public JobPropertiesConstraints constraints() {
- return this.constraints;
- }
-
- /**
- * Set the constraints property: Constraints associated with the Job.
- *
- * @param constraints the constraints value to set.
- * @return the JobInner object itself.
- */
- public JobInner withConstraints(JobPropertiesConstraints constraints) {
- this.constraints = constraints;
- return this;
- }
-
- /**
- * Get the creationTime property: The creation time of the job.
- *
- * @return the creationTime value.
- */
- public OffsetDateTime creationTime() {
- return this.creationTime;
- }
-
- /**
- * Get the provisioningState property: The provisioned state of the Batch AI job.
- *
- * @return the provisioningState value.
- */
- public ProvisioningState provisioningState() {
- return this.provisioningState;
- }
-
- /**
- * Get the provisioningStateTransitionTime property: The time at which the job entered its current provisioning
- * state.
- *
- * @return the provisioningStateTransitionTime value.
- */
- public OffsetDateTime provisioningStateTransitionTime() {
- return this.provisioningStateTransitionTime;
- }
-
- /**
- * Get the executionState property: The current state of the job. Possible values are: queued - The job is queued
- * and able to run. A job enters this state when it is created, or when it is awaiting a retry after a failed run.
- * running - The job is running on a compute cluster. This includes job-level preparation such as downloading
- * resource files or set up container specified on the job - it does not necessarily mean that the job command line
- * has started executing. terminating - The job is terminated by the user, the terminate operation is in progress.
- * succeeded - The job has completed running successfully and exited with exit code 0. failed - The job has finished
- * unsuccessfully (failed with a non-zero exit code) and has exhausted its retry limit. A job is also marked as
- * failed if an error occurred launching the job.
- *
- * @return the executionState value.
- */
- public ExecutionState executionState() {
- return this.executionState;
- }
-
- /**
- * Get the executionStateTransitionTime property: The time at which the job entered its current execution state.
- *
- * @return the executionStateTransitionTime value.
- */
- public OffsetDateTime executionStateTransitionTime() {
- return this.executionStateTransitionTime;
- }
-
- /**
- * Get the executionInfo property: Information about the execution of a job.
- *
- * @return the executionInfo value.
- */
- public JobPropertiesExecutionInfo executionInfo() {
- return this.executionInfo;
- }
-
- /**
- * Set the executionInfo property: Information about the execution of a job.
- *
- * @param executionInfo the executionInfo value to set.
- * @return the JobInner object itself.
- */
- public JobInner withExecutionInfo(JobPropertiesExecutionInfo executionInfo) {
- this.executionInfo = executionInfo;
- return this;
- }
-
- /**
- * Validates the instance.
- *
- * @throws IllegalArgumentException thrown if the instance is not valid.
- */
- public void validate() {
- if (cluster() != null) {
- cluster().validate();
- }
- if (mountVolumes() != null) {
- mountVolumes().validate();
- }
- if (containerSettings() != null) {
- containerSettings().validate();
- }
- if (cntkSettings() != null) {
- cntkSettings().validate();
- }
- if (pyTorchSettings() != null) {
- pyTorchSettings().validate();
- }
- if (tensorFlowSettings() != null) {
- tensorFlowSettings().validate();
- }
- if (caffeSettings() != null) {
- caffeSettings().validate();
- }
- if (caffe2Settings() != null) {
- caffe2Settings().validate();
- }
- if (chainerSettings() != null) {
- chainerSettings().validate();
- }
- if (customToolkitSettings() != null) {
- customToolkitSettings().validate();
- }
- if (customMpiSettings() != null) {
- customMpiSettings().validate();
- }
- if (horovodSettings() != null) {
- horovodSettings().validate();
- }
- if (jobPreparation() != null) {
- jobPreparation().validate();
- }
- if (inputDirectories() != null) {
- inputDirectories().forEach(e -> e.validate());
- }
- if (outputDirectories() != null) {
- outputDirectories().forEach(e -> e.validate());
- }
- if (environmentVariables() != null) {
- environmentVariables().forEach(e -> e.validate());
- }
- if (secrets() != null) {
- secrets().forEach(e -> e.validate());
- }
- if (constraints() != null) {
- constraints().validate();
- }
- if (executionInfo() != null) {
- executionInfo().validate();
- }
- }
-}
diff --git a/sdk/batchai/azure-resourcemanager-batchai/src/main/java/com/azure/resourcemanager/batchai/fluent/models/OperationInner.java b/sdk/batchai/azure-resourcemanager-batchai/src/main/java/com/azure/resourcemanager/batchai/fluent/models/OperationInner.java
deleted file mode 100644
index cce19d96c889..000000000000
--- a/sdk/batchai/azure-resourcemanager-batchai/src/main/java/com/azure/resourcemanager/batchai/fluent/models/OperationInner.java
+++ /dev/null
@@ -1,111 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.batchai.fluent.models;
-
-import com.azure.core.annotation.Fluent;
-import com.azure.core.util.logging.ClientLogger;
-import com.azure.resourcemanager.batchai.models.OperationDisplay;
-import com.fasterxml.jackson.annotation.JsonIgnore;
-import com.fasterxml.jackson.annotation.JsonProperty;
-
-/** Details of a REST API operation. */
-@Fluent
-public final class OperationInner {
- @JsonIgnore
- private final ClientLogger logger = new ClientLogger(OperationInner.class);
-
- /*
- * This is of the format {provider}/{resource}/{operation}
- */
- @JsonProperty(value = "name", access = JsonProperty.Access.WRITE_ONLY)
- private String name;
-
- /*
- * The object that describes the operation.
- */
- @JsonProperty(value = "display")
- private OperationDisplay display;
-
- /*
- * The intended executor of the operation.
- */
- @JsonProperty(value = "origin", access = JsonProperty.Access.WRITE_ONLY)
- private String origin;
-
- /*
- * Any object
- */
- @JsonProperty(value = "properties")
- private Object properties;
-
- /**
- * Get the name property: This is of the format {provider}/{resource}/{operation}.
- *
- * @return the name value.
- */
- public String name() {
- return this.name;
- }
-
- /**
- * Get the display property: The object that describes the operation.
- *
- * @return the display value.
- */
- public OperationDisplay display() {
- return this.display;
- }
-
- /**
- * Set the display property: The object that describes the operation.
- *
- * @param display the display value to set.
- * @return the OperationInner object itself.
- */
- public OperationInner withDisplay(OperationDisplay display) {
- this.display = display;
- return this;
- }
-
- /**
- * Get the origin property: The intended executor of the operation.
- *
- * @return the origin value.
- */
- public String origin() {
- return this.origin;
- }
-
- /**
- * Get the properties property: Any object.
- *
- * @return the properties value.
- */
- public Object properties() {
- return this.properties;
- }
-
- /**
- * Set the properties property: Any object.
- *
- * @param properties the properties value to set.
- * @return the OperationInner object itself.
- */
- public OperationInner withProperties(Object properties) {
- this.properties = properties;
- return this;
- }
-
- /**
- * Validates the instance.
- *
- * @throws IllegalArgumentException thrown if the instance is not valid.
- */
- public void validate() {
- if (display() != null) {
- display().validate();
- }
- }
-}
diff --git a/sdk/batchai/azure-resourcemanager-batchai/src/main/java/com/azure/resourcemanager/batchai/fluent/models/RemoteLoginInformationInner.java b/sdk/batchai/azure-resourcemanager-batchai/src/main/java/com/azure/resourcemanager/batchai/fluent/models/RemoteLoginInformationInner.java
deleted file mode 100644
index 643b9ca7a85f..000000000000
--- a/sdk/batchai/azure-resourcemanager-batchai/src/main/java/com/azure/resourcemanager/batchai/fluent/models/RemoteLoginInformationInner.java
+++ /dev/null
@@ -1,70 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.batchai.fluent.models;
-
-import com.azure.core.annotation.Immutable;
-import com.azure.core.util.logging.ClientLogger;
-import com.fasterxml.jackson.annotation.JsonIgnore;
-import com.fasterxml.jackson.annotation.JsonProperty;
-
-/** Login details to SSH to a compute node in cluster. */
-@Immutable
-public final class RemoteLoginInformationInner {
- @JsonIgnore
- private final ClientLogger logger = new ClientLogger(RemoteLoginInformationInner.class);
-
- /*
- * ID of the compute node.
- */
- @JsonProperty(value = "nodeId", access = JsonProperty.Access.WRITE_ONLY)
- private String nodeId;
-
- /*
- * Public IP address of the compute node.
- */
- @JsonProperty(value = "ipAddress", access = JsonProperty.Access.WRITE_ONLY)
- private String ipAddress;
-
- /*
- * SSH port number of the node.
- */
- @JsonProperty(value = "port", access = JsonProperty.Access.WRITE_ONLY)
- private Integer port;
-
- /**
- * Get the nodeId property: ID of the compute node.
- *
- * @return the nodeId value.
- */
- public String nodeId() {
- return this.nodeId;
- }
-
- /**
- * Get the ipAddress property: Public IP address of the compute node.
- *
- * @return the ipAddress value.
- */
- public String ipAddress() {
- return this.ipAddress;
- }
-
- /**
- * Get the port property: SSH port number of the node.
- *
- * @return the port value.
- */
- public Integer port() {
- return this.port;
- }
-
- /**
- * Validates the instance.
- *
- * @throws IllegalArgumentException thrown if the instance is not valid.
- */
- public void validate() {
- }
-}
diff --git a/sdk/batchai/azure-resourcemanager-batchai/src/main/java/com/azure/resourcemanager/batchai/fluent/models/UsageInner.java b/sdk/batchai/azure-resourcemanager-batchai/src/main/java/com/azure/resourcemanager/batchai/fluent/models/UsageInner.java
deleted file mode 100644
index c42f1d969b2c..000000000000
--- a/sdk/batchai/azure-resourcemanager-batchai/src/main/java/com/azure/resourcemanager/batchai/fluent/models/UsageInner.java
+++ /dev/null
@@ -1,90 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.batchai.fluent.models;
-
-import com.azure.core.annotation.Immutable;
-import com.azure.core.util.logging.ClientLogger;
-import com.azure.resourcemanager.batchai.models.UsageName;
-import com.azure.resourcemanager.batchai.models.UsageUnit;
-import com.fasterxml.jackson.annotation.JsonIgnore;
-import com.fasterxml.jackson.annotation.JsonProperty;
-
-/** Describes Batch AI Resource Usage. */
-@Immutable
-public final class UsageInner {
- @JsonIgnore
- private final ClientLogger logger = new ClientLogger(UsageInner.class);
-
- /*
- * An enum describing the unit of usage measurement.
- */
- @JsonProperty(value = "unit", access = JsonProperty.Access.WRITE_ONLY)
- private UsageUnit unit;
-
- /*
- * The current usage of the resource.
- */
- @JsonProperty(value = "currentValue", access = JsonProperty.Access.WRITE_ONLY)
- private Integer currentValue;
-
- /*
- * The maximum permitted usage of the resource.
- */
- @JsonProperty(value = "limit", access = JsonProperty.Access.WRITE_ONLY)
- private Long limit;
-
- /*
- * The name of the type of usage.
- */
- @JsonProperty(value = "name", access = JsonProperty.Access.WRITE_ONLY)
- private UsageName name;
-
- /**
- * Get the unit property: An enum describing the unit of usage measurement.
- *
- * @return the unit value.
- */
- public UsageUnit unit() {
- return this.unit;
- }
-
- /**
- * Get the currentValue property: The current usage of the resource.
- *
- * @return the currentValue value.
- */
- public Integer currentValue() {
- return this.currentValue;
- }
-
- /**
- * Get the limit property: The maximum permitted usage of the resource.
- *
- * @return the limit value.
- */
- public Long limit() {
- return this.limit;
- }
-
- /**
- * Get the name property: The name of the type of usage.
- *
- * @return the name value.
- */
- public UsageName name() {
- return this.name;
- }
-
- /**
- * Validates the instance.
- *
- * @throws IllegalArgumentException thrown if the instance is not valid.
- */
- public void validate() {
- if (name() != null) {
- name().validate();
- }
- }
-}
diff --git a/sdk/batchai/azure-resourcemanager-batchai/src/main/java/com/azure/resourcemanager/batchai/fluent/models/WorkspaceInner.java b/sdk/batchai/azure-resourcemanager-batchai/src/main/java/com/azure/resourcemanager/batchai/fluent/models/WorkspaceInner.java
deleted file mode 100644
index a78bec4e58b3..000000000000
--- a/sdk/batchai/azure-resourcemanager-batchai/src/main/java/com/azure/resourcemanager/batchai/fluent/models/WorkspaceInner.java
+++ /dev/null
@@ -1,91 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.batchai.fluent.models;
-
-import com.azure.core.annotation.Immutable;
-import com.azure.core.annotation.JsonFlatten;
-import com.azure.core.management.Resource;
-import com.azure.core.util.logging.ClientLogger;
-import com.azure.resourcemanager.batchai.models.ProvisioningState;
-import com.fasterxml.jackson.annotation.JsonIgnore;
-import com.fasterxml.jackson.annotation.JsonProperty;
-import java.time.OffsetDateTime;
-import java.util.Map;
-
-/** Batch AI Workspace information. */
-@JsonFlatten
-@Immutable
-public class WorkspaceInner extends Resource {
- @JsonIgnore
- private final ClientLogger logger = new ClientLogger(WorkspaceInner.class);
-
- /*
- * Time when the Workspace was created.
- */
- @JsonProperty(value = "properties.creationTime", access = JsonProperty.Access.WRITE_ONLY)
- private OffsetDateTime creationTime;
-
- /*
- * The provisioned state of the Workspace
- */
- @JsonProperty(value = "properties.provisioningState", access = JsonProperty.Access.WRITE_ONLY)
- private ProvisioningState provisioningState;
-
- /*
- * The time at which the workspace entered its current provisioning state.
- */
- @JsonProperty(value = "properties.provisioningStateTransitionTime", access = JsonProperty.Access.WRITE_ONLY)
- private OffsetDateTime provisioningStateTransitionTime;
-
- /**
- * Get the creationTime property: Time when the Workspace was created.
- *
- * @return the creationTime value.
- */
- public OffsetDateTime creationTime() {
- return this.creationTime;
- }
-
- /**
- * Get the provisioningState property: The provisioned state of the Workspace.
- *
- * @return the provisioningState value.
- */
- public ProvisioningState provisioningState() {
- return this.provisioningState;
- }
-
- /**
- * Get the provisioningStateTransitionTime property: The time at which the workspace entered its current
- * provisioning state.
- *
- * @return the provisioningStateTransitionTime value.
- */
- public OffsetDateTime provisioningStateTransitionTime() {
- return this.provisioningStateTransitionTime;
- }
-
- /** {@inheritDoc} */
- @Override
- public WorkspaceInner withLocation(String location) {
- super.withLocation(location);
- return this;
- }
-
- /** {@inheritDoc} */
- @Override
- public WorkspaceInner withTags(Map tags) {
- super.withTags(tags);
- return this;
- }
-
- /**
- * Validates the instance.
- *
- * @throws IllegalArgumentException thrown if the instance is not valid.
- */
- public void validate() {
- }
-}
diff --git a/sdk/batchai/azure-resourcemanager-batchai/src/main/java/com/azure/resourcemanager/batchai/fluent/models/package-info.java b/sdk/batchai/azure-resourcemanager-batchai/src/main/java/com/azure/resourcemanager/batchai/fluent/models/package-info.java
deleted file mode 100644
index aa14540f821c..000000000000
--- a/sdk/batchai/azure-resourcemanager-batchai/src/main/java/com/azure/resourcemanager/batchai/fluent/models/package-info.java
+++ /dev/null
@@ -1,6 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-/** Package containing the inner data models for BatchAI. The Azure BatchAI Management API. */
-package com.azure.resourcemanager.batchai.fluent.models;
diff --git a/sdk/batchai/azure-resourcemanager-batchai/src/main/java/com/azure/resourcemanager/batchai/fluent/package-info.java b/sdk/batchai/azure-resourcemanager-batchai/src/main/java/com/azure/resourcemanager/batchai/fluent/package-info.java
deleted file mode 100644
index 676b1fcec4dc..000000000000
--- a/sdk/batchai/azure-resourcemanager-batchai/src/main/java/com/azure/resourcemanager/batchai/fluent/package-info.java
+++ /dev/null
@@ -1,6 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-/** Package containing the service clients for BatchAI. The Azure BatchAI Management API. */
-package com.azure.resourcemanager.batchai.fluent;
diff --git a/sdk/batchai/azure-resourcemanager-batchai/src/main/java/com/azure/resourcemanager/batchai/implementation/BatchAIBuilder.java b/sdk/batchai/azure-resourcemanager-batchai/src/main/java/com/azure/resourcemanager/batchai/implementation/BatchAIBuilder.java
deleted file mode 100644
index 6ebc0343e8d3..000000000000
--- a/sdk/batchai/azure-resourcemanager-batchai/src/main/java/com/azure/resourcemanager/batchai/implementation/BatchAIBuilder.java
+++ /dev/null
@@ -1,144 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.batchai.implementation;
-
-import com.azure.core.annotation.ServiceClientBuilder;
-import com.azure.core.http.HttpPipeline;
-import com.azure.core.http.HttpPipelineBuilder;
-import com.azure.core.http.policy.CookiePolicy;
-import com.azure.core.http.policy.RetryPolicy;
-import com.azure.core.http.policy.UserAgentPolicy;
-import com.azure.core.management.AzureEnvironment;
-import com.azure.core.management.serializer.SerializerFactory;
-import com.azure.core.util.serializer.SerializerAdapter;
-import java.time.Duration;
-
-/** A builder for creating a new instance of the BatchAIImpl type. */
-@ServiceClientBuilder(serviceClients = { BatchAIImpl.class })
-public final class BatchAIBuilder {
- /*
- * The subscriptionID for the Azure user.
- */
- private String subscriptionId;
-
- /**
- * Sets The subscriptionID for the Azure user.
- *
- * @param subscriptionId the subscriptionId value.
- * @return the BatchAIBuilder.
- */
- public BatchAIBuilder subscriptionId(String subscriptionId) {
- this.subscriptionId = subscriptionId;
- return this;
- }
-
- /*
- * server parameter
- */
- private String endpoint;
-
- /**
- * Sets server parameter.
- *
- * @param endpoint the endpoint value.
- * @return the BatchAIBuilder.
- */
- public BatchAIBuilder endpoint(String endpoint) {
- this.endpoint = endpoint;
- return this;
- }
-
- /*
- * The environment to connect to
- */
- private AzureEnvironment environment;
-
- /**
- * Sets The environment to connect to.
- *
- * @param environment the environment value.
- * @return the BatchAIBuilder.
- */
- public BatchAIBuilder environment(AzureEnvironment environment) {
- this.environment = environment;
- return this;
- }
-
- /*
- * The default poll interval for long-running operation
- */
- private Duration defaultPollInterval;
-
- /**
- * Sets The default poll interval for long-running operation.
- *
- * @param defaultPollInterval the defaultPollInterval value.
- * @return the BatchAIBuilder.
- */
- public BatchAIBuilder defaultPollInterval(Duration defaultPollInterval) {
- this.defaultPollInterval = defaultPollInterval;
- return this;
- }
-
- /*
- * The HTTP pipeline to send requests through
- */
- private HttpPipeline pipeline;
-
- /**
- * Sets The HTTP pipeline to send requests through.
- *
- * @param pipeline the pipeline value.
- * @return the BatchAIBuilder.
- */
- public BatchAIBuilder pipeline(HttpPipeline pipeline) {
- this.pipeline = pipeline;
- return this;
- }
-
- /*
- * The serializer to serialize an object into a string
- */
- private SerializerAdapter serializerAdapter;
-
- /**
- * Sets The serializer to serialize an object into a string.
- *
- * @param serializerAdapter the serializerAdapter value.
- * @return the BatchAIBuilder.
- */
- public BatchAIBuilder serializerAdapter(SerializerAdapter serializerAdapter) {
- this.serializerAdapter = serializerAdapter;
- return this;
- }
-
- /**
- * Builds an instance of BatchAIImpl with the provided parameters.
- *
- * @return an instance of BatchAIImpl.
- */
- public BatchAIImpl buildClient() {
- if (endpoint == null) {
- this.endpoint = "https://management.azure.com";
- }
- if (environment == null) {
- this.environment = AzureEnvironment.AZURE;
- }
- if (defaultPollInterval == null) {
- this.defaultPollInterval = Duration.ofSeconds(30);
- }
- if (pipeline == null) {
- this.pipeline
- = new HttpPipelineBuilder().policies(new UserAgentPolicy(), new RetryPolicy(), new CookiePolicy())
- .build();
- }
- if (serializerAdapter == null) {
- this.serializerAdapter = SerializerFactory.createDefaultManagementSerializerAdapter();
- }
- BatchAIImpl client
- = new BatchAIImpl(pipeline, serializerAdapter, defaultPollInterval, environment, subscriptionId, endpoint);
- return client;
- }
-}
diff --git a/sdk/batchai/azure-resourcemanager-batchai/src/main/java/com/azure/resourcemanager/batchai/implementation/BatchAIImpl.java b/sdk/batchai/azure-resourcemanager-batchai/src/main/java/com/azure/resourcemanager/batchai/implementation/BatchAIImpl.java
deleted file mode 100644
index 0913e8e0dd76..000000000000
--- a/sdk/batchai/azure-resourcemanager-batchai/src/main/java/com/azure/resourcemanager/batchai/implementation/BatchAIImpl.java
+++ /dev/null
@@ -1,358 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.batchai.implementation;
-
-import com.azure.core.annotation.ServiceClient;
-import com.azure.core.http.HttpHeaders;
-import com.azure.core.http.HttpPipeline;
-import com.azure.core.http.HttpResponse;
-import com.azure.core.http.rest.Response;
-import com.azure.core.management.AzureEnvironment;
-import com.azure.core.management.exception.ManagementError;
-import com.azure.core.management.exception.ManagementException;
-import com.azure.core.management.polling.PollResult;
-import com.azure.core.management.polling.PollerFactory;
-import com.azure.core.util.Context;
-import com.azure.core.util.logging.ClientLogger;
-import com.azure.core.util.polling.AsyncPollResponse;
-import com.azure.core.util.polling.LongRunningOperationStatus;
-import com.azure.core.util.polling.PollerFlux;
-import com.azure.core.util.serializer.SerializerAdapter;
-import com.azure.core.util.serializer.SerializerEncoding;
-import com.azure.resourcemanager.batchai.fluent.BatchAI;
-import com.azure.resourcemanager.batchai.fluent.ClustersClient;
-import com.azure.resourcemanager.batchai.fluent.ExperimentsClient;
-import com.azure.resourcemanager.batchai.fluent.FileServersClient;
-import com.azure.resourcemanager.batchai.fluent.JobsClient;
-import com.azure.resourcemanager.batchai.fluent.OperationsClient;
-import com.azure.resourcemanager.batchai.fluent.UsagesClient;
-import com.azure.resourcemanager.batchai.fluent.WorkspacesClient;
-import java.io.IOException;
-import java.lang.reflect.Type;
-import java.nio.ByteBuffer;
-import java.nio.charset.Charset;
-import java.nio.charset.StandardCharsets;
-import java.time.Duration;
-import java.util.Map;
-import reactor.core.publisher.Flux;
-import reactor.core.publisher.Mono;
-
-/** Initializes a new instance of the BatchAIImpl type. */
-@ServiceClient(builder = BatchAIBuilder.class)
-public final class BatchAIImpl implements BatchAI {
- private final ClientLogger logger = new ClientLogger(BatchAIImpl.class);
-
- /** The subscriptionID for the Azure user. */
- private final String subscriptionId;
-
- /**
- * Gets The subscriptionID for the Azure user.
- *
- * @return the subscriptionId value.
- */
- public String getSubscriptionId() {
- return this.subscriptionId;
- }
-
- /** server parameter. */
- private final String endpoint;
-
- /**
- * Gets server parameter.
- *
- * @return the endpoint value.
- */
- public String getEndpoint() {
- return this.endpoint;
- }
-
- /** Api Version. */
- private final String apiVersion;
-
- /**
- * Gets Api Version.
- *
- * @return the apiVersion value.
- */
- public String getApiVersion() {
- return this.apiVersion;
- }
-
- /** The HTTP pipeline to send requests through. */
- private final HttpPipeline httpPipeline;
-
- /**
- * Gets The HTTP pipeline to send requests through.
- *
- * @return the httpPipeline value.
- */
- public HttpPipeline getHttpPipeline() {
- return this.httpPipeline;
- }
-
- /** The serializer to serialize an object into a string. */
- private final SerializerAdapter serializerAdapter;
-
- /**
- * Gets The serializer to serialize an object into a string.
- *
- * @return the serializerAdapter value.
- */
- SerializerAdapter getSerializerAdapter() {
- return this.serializerAdapter;
- }
-
- /** The default poll interval for long-running operation. */
- private final Duration defaultPollInterval;
-
- /**
- * Gets The default poll interval for long-running operation.
- *
- * @return the defaultPollInterval value.
- */
- public Duration getDefaultPollInterval() {
- return this.defaultPollInterval;
- }
-
- /** The OperationsClient object to access its operations. */
- private final OperationsClient operations;
-
- /**
- * Gets the OperationsClient object to access its operations.
- *
- * @return the OperationsClient object.
- */
- public OperationsClient getOperations() {
- return this.operations;
- }
-
- /** The UsagesClient object to access its operations. */
- private final UsagesClient usages;
-
- /**
- * Gets the UsagesClient object to access its operations.
- *
- * @return the UsagesClient object.
- */
- public UsagesClient getUsages() {
- return this.usages;
- }
-
- /** The WorkspacesClient object to access its operations. */
- private final WorkspacesClient workspaces;
-
- /**
- * Gets the WorkspacesClient object to access its operations.
- *
- * @return the WorkspacesClient object.
- */
- public WorkspacesClient getWorkspaces() {
- return this.workspaces;
- }
-
- /** The ExperimentsClient object to access its operations. */
- private final ExperimentsClient experiments;
-
- /**
- * Gets the ExperimentsClient object to access its operations.
- *
- * @return the ExperimentsClient object.
- */
- public ExperimentsClient getExperiments() {
- return this.experiments;
- }
-
- /** The JobsClient object to access its operations. */
- private final JobsClient jobs;
-
- /**
- * Gets the JobsClient object to access its operations.
- *
- * @return the JobsClient object.
- */
- public JobsClient getJobs() {
- return this.jobs;
- }
-
- /** The FileServersClient object to access its operations. */
- private final FileServersClient fileServers;
-
- /**
- * Gets the FileServersClient object to access its operations.
- *
- * @return the FileServersClient object.
- */
- public FileServersClient getFileServers() {
- return this.fileServers;
- }
-
- /** The ClustersClient object to access its operations. */
- private final ClustersClient clusters;
-
- /**
- * Gets the ClustersClient object to access its operations.
- *
- * @return the ClustersClient object.
- */
- public ClustersClient getClusters() {
- return this.clusters;
- }
-
- /**
- * Initializes an instance of BatchAI client.
- *
- * @param httpPipeline The HTTP pipeline to send requests through.
- * @param serializerAdapter The serializer to serialize an object into a string.
- * @param defaultPollInterval The default poll interval for long-running operation.
- * @param environment The Azure environment.
- * @param subscriptionId The subscriptionID for the Azure user.
- * @param endpoint server parameter.
- */
- BatchAIImpl(HttpPipeline httpPipeline, SerializerAdapter serializerAdapter, Duration defaultPollInterval,
- AzureEnvironment environment, String subscriptionId, String endpoint) {
- this.httpPipeline = httpPipeline;
- this.serializerAdapter = serializerAdapter;
- this.defaultPollInterval = defaultPollInterval;
- this.subscriptionId = subscriptionId;
- this.endpoint = endpoint;
- this.apiVersion = "2018-05-01";
- this.operations = new OperationsClientImpl(this);
- this.usages = new UsagesClientImpl(this);
- this.workspaces = new WorkspacesClientImpl(this);
- this.experiments = new ExperimentsClientImpl(this);
- this.jobs = new JobsClientImpl(this);
- this.fileServers = new FileServersClientImpl(this);
- this.clusters = new ClustersClientImpl(this);
- }
-
- /**
- * Gets default client context.
- *
- * @return the default client context.
- */
- public Context getContext() {
- return Context.NONE;
- }
-
- /**
- * Merges default client context with provided context.
- *
- * @param context the context to be merged with default client context.
- * @return the merged context.
- */
- public Context mergeContext(Context context) {
- for (Map.Entry