diff --git a/sdk/machinelearningservices/azure-resourcemanager-machinelearningservices/CHANGELOG.md b/sdk/machinelearningservices/azure-resourcemanager-machinelearningservices/CHANGELOG.md
index 41c62a9ca98f..ecaef53cecc3 100644
--- a/sdk/machinelearningservices/azure-resourcemanager-machinelearningservices/CHANGELOG.md
+++ b/sdk/machinelearningservices/azure-resourcemanager-machinelearningservices/CHANGELOG.md
@@ -1,7 +1,8 @@
# Release History
-## 1.0.0-beta.2 (Unreleased)
+## 1.0.0-beta.1 (2021-08-17)
+- Azure Resource Manager MachineLearningServices client library for Java. This package contains Microsoft Azure SDK for MachineLearningServices Management SDK. These APIs allow end users to operate on Azure Machine Learning Workspace resources. Package tag package-2021-03-01-preview. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt).
## 1.0.0-beta.1 (2021-04-16)
diff --git a/sdk/machinelearningservices/azure-resourcemanager-machinelearningservices/README.md b/sdk/machinelearningservices/azure-resourcemanager-machinelearningservices/README.md
index fd63ec9be8f7..074bac0c8987 100644
--- a/sdk/machinelearningservices/azure-resourcemanager-machinelearningservices/README.md
+++ b/sdk/machinelearningservices/azure-resourcemanager-machinelearningservices/README.md
@@ -2,7 +2,7 @@
Azure Resource Manager MachineLearningServices client library for Java.
-This package contains Microsoft Azure SDK for MachineLearningServices Management SDK. These APIs allow end users to operate on Azure Machine Learning Workspace resources. Package tag package-2021-04-01. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt).
+This package contains Microsoft Azure SDK for MachineLearningServices Management SDK. These APIs allow end users to operate on Azure Machine Learning Workspace resources. Package tag package-2021-03-01-preview. 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
@@ -32,7 +32,7 @@ Various documentation is available to help you get started
com.azure.resourcemanager
azure-resourcemanager-machinelearningservices
- 1.0.0-beta.1
+ 1.0.0-beta.2
```
[//]: # ({x-version-update-end})
@@ -74,6 +74,8 @@ See [API design][design] for general introduction on design and key concepts on
## Examples
+
+
## Troubleshooting
## Next steps
diff --git a/sdk/machinelearningservices/azure-resourcemanager-machinelearningservices/pom.xml b/sdk/machinelearningservices/azure-resourcemanager-machinelearningservices/pom.xml
index ff8afab05987..4d2008c725da 100644
--- a/sdk/machinelearningservices/azure-resourcemanager-machinelearningservices/pom.xml
+++ b/sdk/machinelearningservices/azure-resourcemanager-machinelearningservices/pom.xml
@@ -1,67 +1,86 @@
- 4.0.0
-
- com.azure
- azure-client-sdk-parent
- 1.7.0
- ../../parents/azure-client-sdk-parent
-
+ 4.0.0
+
+ com.azure
+ azure-client-sdk-parent
+ 1.7.0
+ ../../parents/azure-client-sdk-parent
+
- com.azure.resourcemanager
- azure-resourcemanager-machinelearningservices
- 1.0.0-beta.2
- jar
+ com.azure.resourcemanager
+ azure-resourcemanager-machinelearningservices
+ 1.0.0-beta.2
+ jar
- Microsoft Azure SDK for MachineLearningServices Management
- This package contains Microsoft Azure SDK for MachineLearningServices Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. These APIs allow end users to operate on Azure Machine Learning Workspace resources. Package tag package-2021-04-01.
- https://github.com/Azure/azure-sdk-for-java
+ Microsoft Azure SDK for MachineLearningServices Management
+ This package contains Microsoft Azure SDK for MachineLearningServices Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. These APIs allow end users to operate on Azure Machine Learning Workspace resources. Package tag package-2021-03-01-preview.
+ https://github.com/Azure/azure-sdk-for-java
-
-
- The MIT License (MIT)
- http://opensource.org/licenses/MIT
- repo
-
-
+
+
+ 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
-
-
-
-
- com.azure
- azure-core
- 1.19.0
-
-
- com.azure
- azure-core-management
- 1.4.0
-
-
-
-
-
- org.jacoco
- jacoco-maven-plugin
- 0.8.5
-
- true
-
-
-
-
+
+ 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
+
+
+
+
+ com.azure
+ azure-core
+ 1.19.0
+
+
+ com.azure
+ azure-core-management
+ 1.4.0
+
+
+
+
+
+ org.jacoco
+ jacoco-maven-plugin
+ 0.8.5
+
+ true
+
+
+
+ org.revapi
+ revapi-maven-plugin
+ 0.11.2
+
+
+
+ -
+
java.method.addedToInterface
+
+ -
+ true
+
.*
+ com\.azure\.resourcemanager(\.[^.]+)+\.fluent(\.[^.]+)*
+
+
+
+
+
+
+
diff --git a/sdk/machinelearningservices/azure-resourcemanager-machinelearningservices/src/main/java/com/azure/resourcemanager/machinelearningservices/MachineLearningServicesManager.java b/sdk/machinelearningservices/azure-resourcemanager-machinelearningservices/src/main/java/com/azure/resourcemanager/machinelearningservices/MachineLearningServicesManager.java
index 1c9aaf51e0be..5e1f2a16dc50 100644
--- a/sdk/machinelearningservices/azure-resourcemanager-machinelearningservices/src/main/java/com/azure/resourcemanager/machinelearningservices/MachineLearningServicesManager.java
+++ b/sdk/machinelearningservices/azure-resourcemanager-machinelearningservices/src/main/java/com/azure/resourcemanager/machinelearningservices/MachineLearningServicesManager.java
@@ -9,7 +9,6 @@
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;
@@ -17,38 +16,63 @@
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.http.policy.ArmChallengeAuthenticationPolicy;
import com.azure.core.management.profile.AzureProfile;
import com.azure.core.util.Configuration;
import com.azure.core.util.logging.ClientLogger;
import com.azure.resourcemanager.machinelearningservices.fluent.AzureMachineLearningWorkspaces;
import com.azure.resourcemanager.machinelearningservices.implementation.AzureMachineLearningWorkspacesBuilder;
-import com.azure.resourcemanager.machinelearningservices.implementation.MachineLearningComputesImpl;
-import com.azure.resourcemanager.machinelearningservices.implementation.MachineLearningServicesImpl;
-import com.azure.resourcemanager.machinelearningservices.implementation.NotebooksImpl;
+import com.azure.resourcemanager.machinelearningservices.implementation.BatchDeploymentsImpl;
+import com.azure.resourcemanager.machinelearningservices.implementation.BatchEndpointsImpl;
+import com.azure.resourcemanager.machinelearningservices.implementation.CodeContainersImpl;
+import com.azure.resourcemanager.machinelearningservices.implementation.CodeVersionsImpl;
+import com.azure.resourcemanager.machinelearningservices.implementation.ComputesImpl;
+import com.azure.resourcemanager.machinelearningservices.implementation.DataContainersImpl;
+import com.azure.resourcemanager.machinelearningservices.implementation.DataVersionsImpl;
+import com.azure.resourcemanager.machinelearningservices.implementation.DatastoresImpl;
+import com.azure.resourcemanager.machinelearningservices.implementation.EnvironmentContainersImpl;
+import com.azure.resourcemanager.machinelearningservices.implementation.EnvironmentSpecificationVersionsImpl;
+import com.azure.resourcemanager.machinelearningservices.implementation.JobsImpl;
+import com.azure.resourcemanager.machinelearningservices.implementation.LabelingJobsImpl;
+import com.azure.resourcemanager.machinelearningservices.implementation.ModelContainersImpl;
+import com.azure.resourcemanager.machinelearningservices.implementation.ModelVersionsImpl;
+import com.azure.resourcemanager.machinelearningservices.implementation.OnlineDeploymentsImpl;
+import com.azure.resourcemanager.machinelearningservices.implementation.OnlineEndpointsImpl;
import com.azure.resourcemanager.machinelearningservices.implementation.OperationsImpl;
import com.azure.resourcemanager.machinelearningservices.implementation.PrivateEndpointConnectionsImpl;
import com.azure.resourcemanager.machinelearningservices.implementation.PrivateLinkResourcesImpl;
import com.azure.resourcemanager.machinelearningservices.implementation.QuotasImpl;
-import com.azure.resourcemanager.machinelearningservices.implementation.StorageAccountsImpl;
import com.azure.resourcemanager.machinelearningservices.implementation.UsagesImpl;
import com.azure.resourcemanager.machinelearningservices.implementation.VirtualMachineSizesImpl;
import com.azure.resourcemanager.machinelearningservices.implementation.WorkspaceConnectionsImpl;
import com.azure.resourcemanager.machinelearningservices.implementation.WorkspaceFeaturesImpl;
-import com.azure.resourcemanager.machinelearningservices.implementation.WorkspaceOperationsImpl;
+import com.azure.resourcemanager.machinelearningservices.implementation.WorkspaceSkusImpl;
import com.azure.resourcemanager.machinelearningservices.implementation.WorkspacesImpl;
-import com.azure.resourcemanager.machinelearningservices.models.MachineLearningComputes;
-import com.azure.resourcemanager.machinelearningservices.models.MachineLearningServices;
-import com.azure.resourcemanager.machinelearningservices.models.Notebooks;
+import com.azure.resourcemanager.machinelearningservices.models.BatchDeployments;
+import com.azure.resourcemanager.machinelearningservices.models.BatchEndpoints;
+import com.azure.resourcemanager.machinelearningservices.models.CodeContainers;
+import com.azure.resourcemanager.machinelearningservices.models.CodeVersions;
+import com.azure.resourcemanager.machinelearningservices.models.Computes;
+import com.azure.resourcemanager.machinelearningservices.models.DataContainers;
+import com.azure.resourcemanager.machinelearningservices.models.DataVersions;
+import com.azure.resourcemanager.machinelearningservices.models.Datastores;
+import com.azure.resourcemanager.machinelearningservices.models.EnvironmentContainers;
+import com.azure.resourcemanager.machinelearningservices.models.EnvironmentSpecificationVersions;
+import com.azure.resourcemanager.machinelearningservices.models.Jobs;
+import com.azure.resourcemanager.machinelearningservices.models.LabelingJobs;
+import com.azure.resourcemanager.machinelearningservices.models.ModelContainers;
+import com.azure.resourcemanager.machinelearningservices.models.ModelVersions;
+import com.azure.resourcemanager.machinelearningservices.models.OnlineDeployments;
+import com.azure.resourcemanager.machinelearningservices.models.OnlineEndpoints;
import com.azure.resourcemanager.machinelearningservices.models.Operations;
import com.azure.resourcemanager.machinelearningservices.models.PrivateEndpointConnections;
import com.azure.resourcemanager.machinelearningservices.models.PrivateLinkResources;
import com.azure.resourcemanager.machinelearningservices.models.Quotas;
-import com.azure.resourcemanager.machinelearningservices.models.StorageAccounts;
import com.azure.resourcemanager.machinelearningservices.models.Usages;
import com.azure.resourcemanager.machinelearningservices.models.VirtualMachineSizes;
import com.azure.resourcemanager.machinelearningservices.models.WorkspaceConnections;
import com.azure.resourcemanager.machinelearningservices.models.WorkspaceFeatures;
-import com.azure.resourcemanager.machinelearningservices.models.WorkspaceOperations;
+import com.azure.resourcemanager.machinelearningservices.models.WorkspaceSkus;
import com.azure.resourcemanager.machinelearningservices.models.Workspaces;
import java.time.Duration;
import java.time.temporal.ChronoUnit;
@@ -65,29 +89,53 @@ public final class MachineLearningServicesManager {
private Workspaces workspaces;
- private WorkspaceFeatures workspaceFeatures;
-
private Usages usages;
private VirtualMachineSizes virtualMachineSizes;
private Quotas quotas;
- private MachineLearningComputes machineLearningComputes;
-
- private WorkspaceOperations workspaceOperations;
+ private Computes computes;
private PrivateEndpointConnections privateEndpointConnections;
private PrivateLinkResources privateLinkResources;
- private MachineLearningServices machineLearningServices;
+ private WorkspaceConnections workspaceConnections;
- private Notebooks notebooks;
+ private BatchEndpoints batchEndpoints;
- private StorageAccounts storageAccounts;
+ private BatchDeployments batchDeployments;
- private WorkspaceConnections workspaceConnections;
+ private CodeContainers codeContainers;
+
+ private CodeVersions codeVersions;
+
+ private DataContainers dataContainers;
+
+ private DataVersions dataVersions;
+
+ private Datastores datastores;
+
+ private EnvironmentContainers environmentContainers;
+
+ private EnvironmentSpecificationVersions environmentSpecificationVersions;
+
+ private Jobs jobs;
+
+ private LabelingJobs labelingJobs;
+
+ private ModelContainers modelContainers;
+
+ private ModelVersions modelVersions;
+
+ private OnlineEndpoints onlineEndpoints;
+
+ private OnlineDeployments onlineDeployments;
+
+ private WorkspaceFeatures workspaceFeatures;
+
+ private WorkspaceSkus workspaceSkus;
private final AzureMachineLearningWorkspaces clientObject;
@@ -134,6 +182,7 @@ public static final class Configurable {
private HttpClient httpClient;
private HttpLogOptions httpLogOptions;
private final List policies = new ArrayList<>();
+ private final List scopes = new ArrayList<>();
private RetryPolicy retryPolicy;
private Duration defaultPollInterval;
@@ -173,6 +222,17 @@ public Configurable withPolicy(HttpPipelinePolicy policy) {
return this;
}
+ /**
+ * Adds the scope to permission sets.
+ *
+ * @param scope the scope.
+ * @return the configurable object itself.
+ */
+ public Configurable withScope(String scope) {
+ this.scopes.add(Objects.requireNonNull(scope, "'scope' cannot be null."));
+ return this;
+ }
+
/**
* Sets the retry policy to the HTTP pipeline.
*
@@ -229,6 +289,9 @@ public MachineLearningServicesManager authenticate(TokenCredential credential, A
userAgentBuilder.append(" (auto-generated)");
}
+ if (scopes.isEmpty()) {
+ scopes.add(profile.getEnvironment().getManagementEndpoint() + "/.default");
+ }
if (retryPolicy == null) {
retryPolicy = new RetryPolicy("Retry-After", ChronoUnit.SECONDS);
}
@@ -238,10 +301,7 @@ public MachineLearningServicesManager authenticate(TokenCredential credential, A
HttpPolicyProviders.addBeforeRetryPolicies(policies);
policies.add(retryPolicy);
policies.add(new AddDatePolicy());
- policies
- .add(
- new BearerTokenAuthenticationPolicy(
- credential, profile.getEnvironment().getManagementEndpoint() + "/.default"));
+ policies.add(new ArmChallengeAuthenticationPolicy(credential, scopes.toArray(new String[0])));
policies.addAll(this.policies);
HttpPolicyProviders.addAfterRetryPolicies(policies);
policies.add(new HttpLoggingPolicy(httpLogOptions));
@@ -270,14 +330,6 @@ public Workspaces workspaces() {
return workspaces;
}
- /** @return Resource collection API of WorkspaceFeatures. */
- public WorkspaceFeatures workspaceFeatures() {
- if (this.workspaceFeatures == null) {
- this.workspaceFeatures = new WorkspaceFeaturesImpl(clientObject.getWorkspaceFeatures(), this);
- }
- return workspaceFeatures;
- }
-
/** @return Resource collection API of Usages. */
public Usages usages() {
if (this.usages == null) {
@@ -302,21 +354,12 @@ public Quotas quotas() {
return quotas;
}
- /** @return Resource collection API of MachineLearningComputes. */
- public MachineLearningComputes machineLearningComputes() {
- if (this.machineLearningComputes == null) {
- this.machineLearningComputes =
- new MachineLearningComputesImpl(clientObject.getMachineLearningComputes(), this);
+ /** @return Resource collection API of Computes. */
+ public Computes computes() {
+ if (this.computes == null) {
+ this.computes = new ComputesImpl(clientObject.getComputes(), this);
}
- return machineLearningComputes;
- }
-
- /** @return Resource collection API of WorkspaceOperations. */
- public WorkspaceOperations workspaceOperations() {
- if (this.workspaceOperations == null) {
- this.workspaceOperations = new WorkspaceOperationsImpl(clientObject.getWorkspaceOperations(), this);
- }
- return workspaceOperations;
+ return computes;
}
/** @return Resource collection API of PrivateEndpointConnections. */
@@ -336,37 +379,149 @@ public PrivateLinkResources privateLinkResources() {
return privateLinkResources;
}
- /** @return Resource collection API of MachineLearningServices. */
- public MachineLearningServices machineLearningServices() {
- if (this.machineLearningServices == null) {
- this.machineLearningServices =
- new MachineLearningServicesImpl(clientObject.getMachineLearningServices(), this);
+ /** @return Resource collection API of WorkspaceConnections. */
+ public WorkspaceConnections workspaceConnections() {
+ if (this.workspaceConnections == null) {
+ this.workspaceConnections = new WorkspaceConnectionsImpl(clientObject.getWorkspaceConnections(), this);
}
- return machineLearningServices;
+ return workspaceConnections;
}
- /** @return Resource collection API of Notebooks. */
- public Notebooks notebooks() {
- if (this.notebooks == null) {
- this.notebooks = new NotebooksImpl(clientObject.getNotebooks(), this);
+ /** @return Resource collection API of BatchEndpoints. */
+ public BatchEndpoints batchEndpoints() {
+ if (this.batchEndpoints == null) {
+ this.batchEndpoints = new BatchEndpointsImpl(clientObject.getBatchEndpoints(), this);
}
- return notebooks;
+ return batchEndpoints;
}
- /** @return Resource collection API of StorageAccounts. */
- public StorageAccounts storageAccounts() {
- if (this.storageAccounts == null) {
- this.storageAccounts = new StorageAccountsImpl(clientObject.getStorageAccounts(), this);
+ /** @return Resource collection API of BatchDeployments. */
+ public BatchDeployments batchDeployments() {
+ if (this.batchDeployments == null) {
+ this.batchDeployments = new BatchDeploymentsImpl(clientObject.getBatchDeployments(), this);
}
- return storageAccounts;
+ return batchDeployments;
}
- /** @return Resource collection API of WorkspaceConnections. */
- public WorkspaceConnections workspaceConnections() {
- if (this.workspaceConnections == null) {
- this.workspaceConnections = new WorkspaceConnectionsImpl(clientObject.getWorkspaceConnections(), this);
+ /** @return Resource collection API of CodeContainers. */
+ public CodeContainers codeContainers() {
+ if (this.codeContainers == null) {
+ this.codeContainers = new CodeContainersImpl(clientObject.getCodeContainers(), this);
}
- return workspaceConnections;
+ return codeContainers;
+ }
+
+ /** @return Resource collection API of CodeVersions. */
+ public CodeVersions codeVersions() {
+ if (this.codeVersions == null) {
+ this.codeVersions = new CodeVersionsImpl(clientObject.getCodeVersions(), this);
+ }
+ return codeVersions;
+ }
+
+ /** @return Resource collection API of DataContainers. */
+ public DataContainers dataContainers() {
+ if (this.dataContainers == null) {
+ this.dataContainers = new DataContainersImpl(clientObject.getDataContainers(), this);
+ }
+ return dataContainers;
+ }
+
+ /** @return Resource collection API of DataVersions. */
+ public DataVersions dataVersions() {
+ if (this.dataVersions == null) {
+ this.dataVersions = new DataVersionsImpl(clientObject.getDataVersions(), this);
+ }
+ return dataVersions;
+ }
+
+ /** @return Resource collection API of Datastores. */
+ public Datastores datastores() {
+ if (this.datastores == null) {
+ this.datastores = new DatastoresImpl(clientObject.getDatastores(), this);
+ }
+ return datastores;
+ }
+
+ /** @return Resource collection API of EnvironmentContainers. */
+ public EnvironmentContainers environmentContainers() {
+ if (this.environmentContainers == null) {
+ this.environmentContainers = new EnvironmentContainersImpl(clientObject.getEnvironmentContainers(), this);
+ }
+ return environmentContainers;
+ }
+
+ /** @return Resource collection API of EnvironmentSpecificationVersions. */
+ public EnvironmentSpecificationVersions environmentSpecificationVersions() {
+ if (this.environmentSpecificationVersions == null) {
+ this.environmentSpecificationVersions =
+ new EnvironmentSpecificationVersionsImpl(clientObject.getEnvironmentSpecificationVersions(), this);
+ }
+ return environmentSpecificationVersions;
+ }
+
+ /** @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 LabelingJobs. */
+ public LabelingJobs labelingJobs() {
+ if (this.labelingJobs == null) {
+ this.labelingJobs = new LabelingJobsImpl(clientObject.getLabelingJobs(), this);
+ }
+ return labelingJobs;
+ }
+
+ /** @return Resource collection API of ModelContainers. */
+ public ModelContainers modelContainers() {
+ if (this.modelContainers == null) {
+ this.modelContainers = new ModelContainersImpl(clientObject.getModelContainers(), this);
+ }
+ return modelContainers;
+ }
+
+ /** @return Resource collection API of ModelVersions. */
+ public ModelVersions modelVersions() {
+ if (this.modelVersions == null) {
+ this.modelVersions = new ModelVersionsImpl(clientObject.getModelVersions(), this);
+ }
+ return modelVersions;
+ }
+
+ /** @return Resource collection API of OnlineEndpoints. */
+ public OnlineEndpoints onlineEndpoints() {
+ if (this.onlineEndpoints == null) {
+ this.onlineEndpoints = new OnlineEndpointsImpl(clientObject.getOnlineEndpoints(), this);
+ }
+ return onlineEndpoints;
+ }
+
+ /** @return Resource collection API of OnlineDeployments. */
+ public OnlineDeployments onlineDeployments() {
+ if (this.onlineDeployments == null) {
+ this.onlineDeployments = new OnlineDeploymentsImpl(clientObject.getOnlineDeployments(), this);
+ }
+ return onlineDeployments;
+ }
+
+ /** @return Resource collection API of WorkspaceFeatures. */
+ public WorkspaceFeatures workspaceFeatures() {
+ if (this.workspaceFeatures == null) {
+ this.workspaceFeatures = new WorkspaceFeaturesImpl(clientObject.getWorkspaceFeatures(), this);
+ }
+ return workspaceFeatures;
+ }
+
+ /** @return Resource collection API of WorkspaceSkus. */
+ public WorkspaceSkus workspaceSkus() {
+ if (this.workspaceSkus == null) {
+ this.workspaceSkus = new WorkspaceSkusImpl(clientObject.getWorkspaceSkus(), this);
+ }
+ return workspaceSkus;
}
/**
diff --git a/sdk/machinelearningservices/azure-resourcemanager-machinelearningservices/src/main/java/com/azure/resourcemanager/machinelearningservices/fluent/AzureMachineLearningWorkspaces.java b/sdk/machinelearningservices/azure-resourcemanager-machinelearningservices/src/main/java/com/azure/resourcemanager/machinelearningservices/fluent/AzureMachineLearningWorkspaces.java
index af14f5759361..a6390e689d88 100644
--- a/sdk/machinelearningservices/azure-resourcemanager-machinelearningservices/src/main/java/com/azure/resourcemanager/machinelearningservices/fluent/AzureMachineLearningWorkspaces.java
+++ b/sdk/machinelearningservices/azure-resourcemanager-machinelearningservices/src/main/java/com/azure/resourcemanager/machinelearningservices/fluent/AzureMachineLearningWorkspaces.java
@@ -10,7 +10,7 @@
/** The interface for AzureMachineLearningWorkspaces class. */
public interface AzureMachineLearningWorkspaces {
/**
- * Gets Azure subscription identifier.
+ * Gets The ID of the target subscription.
*
* @return the subscriptionId value.
*/
@@ -58,13 +58,6 @@ public interface AzureMachineLearningWorkspaces {
*/
WorkspacesClient getWorkspaces();
- /**
- * Gets the WorkspaceFeaturesClient object to access its operations.
- *
- * @return the WorkspaceFeaturesClient object.
- */
- WorkspaceFeaturesClient getWorkspaceFeatures();
-
/**
* Gets the UsagesClient object to access its operations.
*
@@ -87,18 +80,11 @@ public interface AzureMachineLearningWorkspaces {
QuotasClient getQuotas();
/**
- * Gets the MachineLearningComputesClient object to access its operations.
+ * Gets the ComputesClient object to access its operations.
*
- * @return the MachineLearningComputesClient object.
+ * @return the ComputesClient object.
*/
- MachineLearningComputesClient getMachineLearningComputes();
-
- /**
- * Gets the WorkspaceOperationsClient object to access its operations.
- *
- * @return the WorkspaceOperationsClient object.
- */
- WorkspaceOperationsClient getWorkspaceOperations();
+ ComputesClient getComputes();
/**
* Gets the PrivateEndpointConnectionsClient object to access its operations.
@@ -115,30 +101,128 @@ public interface AzureMachineLearningWorkspaces {
PrivateLinkResourcesClient getPrivateLinkResources();
/**
- * Gets the MachineLearningServicesClient object to access its operations.
+ * Gets the WorkspaceConnectionsClient object to access its operations.
*
- * @return the MachineLearningServicesClient object.
+ * @return the WorkspaceConnectionsClient object.
*/
- MachineLearningServicesClient getMachineLearningServices();
+ WorkspaceConnectionsClient getWorkspaceConnections();
/**
- * Gets the NotebooksClient object to access its operations.
+ * Gets the BatchEndpointsClient object to access its operations.
*
- * @return the NotebooksClient object.
+ * @return the BatchEndpointsClient object.
*/
- NotebooksClient getNotebooks();
+ BatchEndpointsClient getBatchEndpoints();
/**
- * Gets the StorageAccountsClient object to access its operations.
+ * Gets the BatchDeploymentsClient object to access its operations.
*
- * @return the StorageAccountsClient object.
+ * @return the BatchDeploymentsClient object.
*/
- StorageAccountsClient getStorageAccounts();
+ BatchDeploymentsClient getBatchDeployments();
/**
- * Gets the WorkspaceConnectionsClient object to access its operations.
+ * Gets the CodeContainersClient object to access its operations.
*
- * @return the WorkspaceConnectionsClient object.
+ * @return the CodeContainersClient object.
*/
- WorkspaceConnectionsClient getWorkspaceConnections();
+ CodeContainersClient getCodeContainers();
+
+ /**
+ * Gets the CodeVersionsClient object to access its operations.
+ *
+ * @return the CodeVersionsClient object.
+ */
+ CodeVersionsClient getCodeVersions();
+
+ /**
+ * Gets the DataContainersClient object to access its operations.
+ *
+ * @return the DataContainersClient object.
+ */
+ DataContainersClient getDataContainers();
+
+ /**
+ * Gets the DataVersionsClient object to access its operations.
+ *
+ * @return the DataVersionsClient object.
+ */
+ DataVersionsClient getDataVersions();
+
+ /**
+ * Gets the DatastoresClient object to access its operations.
+ *
+ * @return the DatastoresClient object.
+ */
+ DatastoresClient getDatastores();
+
+ /**
+ * Gets the EnvironmentContainersClient object to access its operations.
+ *
+ * @return the EnvironmentContainersClient object.
+ */
+ EnvironmentContainersClient getEnvironmentContainers();
+
+ /**
+ * Gets the EnvironmentSpecificationVersionsClient object to access its operations.
+ *
+ * @return the EnvironmentSpecificationVersionsClient object.
+ */
+ EnvironmentSpecificationVersionsClient getEnvironmentSpecificationVersions();
+
+ /**
+ * Gets the JobsClient object to access its operations.
+ *
+ * @return the JobsClient object.
+ */
+ JobsClient getJobs();
+
+ /**
+ * Gets the LabelingJobsClient object to access its operations.
+ *
+ * @return the LabelingJobsClient object.
+ */
+ LabelingJobsClient getLabelingJobs();
+
+ /**
+ * Gets the ModelContainersClient object to access its operations.
+ *
+ * @return the ModelContainersClient object.
+ */
+ ModelContainersClient getModelContainers();
+
+ /**
+ * Gets the ModelVersionsClient object to access its operations.
+ *
+ * @return the ModelVersionsClient object.
+ */
+ ModelVersionsClient getModelVersions();
+
+ /**
+ * Gets the OnlineEndpointsClient object to access its operations.
+ *
+ * @return the OnlineEndpointsClient object.
+ */
+ OnlineEndpointsClient getOnlineEndpoints();
+
+ /**
+ * Gets the OnlineDeploymentsClient object to access its operations.
+ *
+ * @return the OnlineDeploymentsClient object.
+ */
+ OnlineDeploymentsClient getOnlineDeployments();
+
+ /**
+ * Gets the WorkspaceFeaturesClient object to access its operations.
+ *
+ * @return the WorkspaceFeaturesClient object.
+ */
+ WorkspaceFeaturesClient getWorkspaceFeatures();
+
+ /**
+ * Gets the WorkspaceSkusClient object to access its operations.
+ *
+ * @return the WorkspaceSkusClient object.
+ */
+ WorkspaceSkusClient getWorkspaceSkus();
}
diff --git a/sdk/machinelearningservices/azure-resourcemanager-machinelearningservices/src/main/java/com/azure/resourcemanager/machinelearningservices/fluent/BatchDeploymentsClient.java b/sdk/machinelearningservices/azure-resourcemanager-machinelearningservices/src/main/java/com/azure/resourcemanager/machinelearningservices/fluent/BatchDeploymentsClient.java
new file mode 100644
index 000000000000..a3b899804fab
--- /dev/null
+++ b/sdk/machinelearningservices/azure-resourcemanager-machinelearningservices/src/main/java/com/azure/resourcemanager/machinelearningservices/fluent/BatchDeploymentsClient.java
@@ -0,0 +1,208 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.machinelearningservices.fluent;
+
+import com.azure.core.annotation.ReturnType;
+import com.azure.core.annotation.ServiceMethod;
+import com.azure.core.http.rest.PagedIterable;
+import com.azure.core.http.rest.Response;
+import com.azure.core.util.Context;
+import com.azure.resourcemanager.machinelearningservices.fluent.models.BatchDeploymentTrackedResourceInner;
+import com.azure.resourcemanager.machinelearningservices.models.PartialBatchDeploymentPartialTrackedResource;
+
+/** An instance of this class provides access to all the operations defined in BatchDeploymentsClient. */
+public interface BatchDeploymentsClient {
+ /**
+ * Lists Batch inference deployments in the workspace.
+ *
+ * @param endpointName Endpoint name.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Name of Azure Machine Learning workspace.
+ * @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 paginated list of BatchDeployment entities.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(
+ String endpointName, String resourceGroupName, String workspaceName);
+
+ /**
+ * Lists Batch inference deployments in the workspace.
+ *
+ * @param endpointName Endpoint name.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Name of Azure Machine Learning workspace.
+ * @param orderBy Ordering of list.
+ * @param top Top of list.
+ * @param skip Continuation token for pagination.
+ * @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 paginated list of BatchDeployment entities.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(
+ String endpointName,
+ String resourceGroupName,
+ String workspaceName,
+ String orderBy,
+ Integer top,
+ String skip,
+ Context context);
+
+ /**
+ * Delete Batch Inference deployment.
+ *
+ * @param endpointName Endpoint name.
+ * @param deploymentName Inference deployment identifier.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Name of Azure Machine Learning workspace.
+ * @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 endpointName, String deploymentName, String resourceGroupName, String workspaceName);
+
+ /**
+ * Delete Batch Inference deployment.
+ *
+ * @param endpointName Endpoint name.
+ * @param deploymentName Inference deployment identifier.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Name of Azure Machine Learning workspace.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response deleteWithResponse(
+ String endpointName, String deploymentName, String resourceGroupName, String workspaceName, Context context);
+
+ /**
+ * Gets a batch inference deployment by id.
+ *
+ * @param endpointName Endpoint name.
+ * @param deploymentName The identifier for the Batch deployments.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Name of Azure Machine Learning workspace.
+ * @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 batch inference deployment by id.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ BatchDeploymentTrackedResourceInner get(
+ String endpointName, String deploymentName, String resourceGroupName, String workspaceName);
+
+ /**
+ * Gets a batch inference deployment by id.
+ *
+ * @param endpointName Endpoint name.
+ * @param deploymentName The identifier for the Batch deployments.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Name of Azure Machine Learning workspace.
+ * @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 batch inference deployment by id.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getWithResponse(
+ String endpointName, String deploymentName, String resourceGroupName, String workspaceName, Context context);
+
+ /**
+ * Update a batch inference deployment.
+ *
+ * @param endpointName Inference endpoint name.
+ * @param deploymentName The identifier for the Batch inference deployment.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Name of Azure Machine Learning workspace.
+ * @param body Batch inference deployment definition object.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ BatchDeploymentTrackedResourceInner update(
+ String endpointName,
+ String deploymentName,
+ String resourceGroupName,
+ String workspaceName,
+ PartialBatchDeploymentPartialTrackedResource body);
+
+ /**
+ * Update a batch inference deployment.
+ *
+ * @param endpointName Inference endpoint name.
+ * @param deploymentName The identifier for the Batch inference deployment.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Name of Azure Machine Learning workspace.
+ * @param body Batch inference deployment definition object.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response updateWithResponse(
+ String endpointName,
+ String deploymentName,
+ String resourceGroupName,
+ String workspaceName,
+ PartialBatchDeploymentPartialTrackedResource body,
+ Context context);
+
+ /**
+ * Creates/updates a batch inference deployment.
+ *
+ * @param endpointName Inference endpoint name.
+ * @param deploymentName The identifier for the Batch inference deployment.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Name of Azure Machine Learning workspace.
+ * @param body Batch inference deployment definition object.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ BatchDeploymentTrackedResourceInner createOrUpdate(
+ String endpointName,
+ String deploymentName,
+ String resourceGroupName,
+ String workspaceName,
+ BatchDeploymentTrackedResourceInner body);
+
+ /**
+ * Creates/updates a batch inference deployment.
+ *
+ * @param endpointName Inference endpoint name.
+ * @param deploymentName The identifier for the Batch inference deployment.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Name of Azure Machine Learning workspace.
+ * @param body Batch inference deployment definition object.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response createOrUpdateWithResponse(
+ String endpointName,
+ String deploymentName,
+ String resourceGroupName,
+ String workspaceName,
+ BatchDeploymentTrackedResourceInner body,
+ Context context);
+}
diff --git a/sdk/machinelearningservices/azure-resourcemanager-machinelearningservices/src/main/java/com/azure/resourcemanager/machinelearningservices/fluent/BatchEndpointsClient.java b/sdk/machinelearningservices/azure-resourcemanager-machinelearningservices/src/main/java/com/azure/resourcemanager/machinelearningservices/fluent/BatchEndpointsClient.java
new file mode 100644
index 000000000000..e53291c01994
--- /dev/null
+++ b/sdk/machinelearningservices/azure-resourcemanager-machinelearningservices/src/main/java/com/azure/resourcemanager/machinelearningservices/fluent/BatchEndpointsClient.java
@@ -0,0 +1,213 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.machinelearningservices.fluent;
+
+import com.azure.core.annotation.ReturnType;
+import com.azure.core.annotation.ServiceMethod;
+import com.azure.core.http.rest.PagedIterable;
+import com.azure.core.http.rest.Response;
+import com.azure.core.util.Context;
+import com.azure.resourcemanager.machinelearningservices.fluent.models.BatchEndpointTrackedResourceInner;
+import com.azure.resourcemanager.machinelearningservices.fluent.models.EndpointAuthKeysInner;
+import com.azure.resourcemanager.machinelearningservices.models.PartialBatchEndpointPartialTrackedResource;
+
+/** An instance of this class provides access to all the operations defined in BatchEndpointsClient. */
+public interface BatchEndpointsClient {
+ /**
+ * Lists Batch inference endpoint in the workspace.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Name of Azure Machine Learning workspace.
+ * @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 paginated list of BatchEndpoint entities.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(String resourceGroupName, String workspaceName);
+
+ /**
+ * Lists Batch inference endpoint in the workspace.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Name of Azure Machine Learning workspace.
+ * @param count Number of endpoints to be retrieved in a page of results.
+ * @param skip Continuation token for pagination.
+ * @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 paginated list of BatchEndpoint entities.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(
+ String resourceGroupName, String workspaceName, Integer count, String skip, Context context);
+
+ /**
+ * Delete Batch Inference Endpoint.
+ *
+ * @param endpointName Inference Endpoint name.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Name of Azure Machine Learning workspace.
+ * @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 endpointName, String resourceGroupName, String workspaceName);
+
+ /**
+ * Delete Batch Inference Endpoint.
+ *
+ * @param endpointName Inference Endpoint name.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Name of Azure Machine Learning workspace.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response deleteWithResponse(
+ String endpointName, String resourceGroupName, String workspaceName, Context context);
+
+ /**
+ * Gets a batch inference endpoint by name.
+ *
+ * @param endpointName Name for the Batch Endpoint.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Name of Azure Machine Learning workspace.
+ * @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 batch inference endpoint by name.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ BatchEndpointTrackedResourceInner get(String endpointName, String resourceGroupName, String workspaceName);
+
+ /**
+ * Gets a batch inference endpoint by name.
+ *
+ * @param endpointName Name for the Batch Endpoint.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Name of Azure Machine Learning workspace.
+ * @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 batch inference endpoint by name.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getWithResponse(
+ String endpointName, String resourceGroupName, String workspaceName, Context context);
+
+ /**
+ * Update a batch inference endpoint.
+ *
+ * @param endpointName Name for the Batch inference endpoint.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Name of Azure Machine Learning workspace.
+ * @param body Mutable batch inference endpoint definition object.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ BatchEndpointTrackedResourceInner update(
+ String endpointName,
+ String resourceGroupName,
+ String workspaceName,
+ PartialBatchEndpointPartialTrackedResource body);
+
+ /**
+ * Update a batch inference endpoint.
+ *
+ * @param endpointName Name for the Batch inference endpoint.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Name of Azure Machine Learning workspace.
+ * @param body Mutable batch inference endpoint definition object.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response updateWithResponse(
+ String endpointName,
+ String resourceGroupName,
+ String workspaceName,
+ PartialBatchEndpointPartialTrackedResource body,
+ Context context);
+
+ /**
+ * Creates a batch inference endpoint.
+ *
+ * @param endpointName Name for the Batch inference endpoint.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Name of Azure Machine Learning workspace.
+ * @param body Batch inference endpoint definition object.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ BatchEndpointTrackedResourceInner createOrUpdate(
+ String endpointName, String resourceGroupName, String workspaceName, BatchEndpointTrackedResourceInner body);
+
+ /**
+ * Creates a batch inference endpoint.
+ *
+ * @param endpointName Name for the Batch inference endpoint.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Name of Azure Machine Learning workspace.
+ * @param body Batch inference endpoint definition object.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response createOrUpdateWithResponse(
+ String endpointName,
+ String resourceGroupName,
+ String workspaceName,
+ BatchEndpointTrackedResourceInner body,
+ Context context);
+
+ /**
+ * Lists batch Inference Endpoint keys.
+ *
+ * @param endpointName Inference Endpoint name.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Name of Azure Machine Learning workspace.
+ * @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 keys for endpoint authentication.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ EndpointAuthKeysInner listKeys(String endpointName, String resourceGroupName, String workspaceName);
+
+ /**
+ * Lists batch Inference Endpoint keys.
+ *
+ * @param endpointName Inference Endpoint name.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Name of Azure Machine Learning workspace.
+ * @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 keys for endpoint authentication.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response listKeysWithResponse(
+ String endpointName, String resourceGroupName, String workspaceName, Context context);
+}
diff --git a/sdk/machinelearningservices/azure-resourcemanager-machinelearningservices/src/main/java/com/azure/resourcemanager/machinelearningservices/fluent/CodeContainersClient.java b/sdk/machinelearningservices/azure-resourcemanager-machinelearningservices/src/main/java/com/azure/resourcemanager/machinelearningservices/fluent/CodeContainersClient.java
new file mode 100644
index 000000000000..83f32aeffc6a
--- /dev/null
+++ b/sdk/machinelearningservices/azure-resourcemanager-machinelearningservices/src/main/java/com/azure/resourcemanager/machinelearningservices/fluent/CodeContainersClient.java
@@ -0,0 +1,135 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.machinelearningservices.fluent;
+
+import com.azure.core.annotation.ReturnType;
+import com.azure.core.annotation.ServiceMethod;
+import com.azure.core.http.rest.PagedIterable;
+import com.azure.core.http.rest.Response;
+import com.azure.core.util.Context;
+import com.azure.resourcemanager.machinelearningservices.fluent.models.CodeContainerResourceInner;
+
+/** An instance of this class provides access to all the operations defined in CodeContainersClient. */
+public interface CodeContainersClient {
+ /**
+ * List containers.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Name of Azure Machine Learning workspace.
+ * @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 paginated list of CodeContainer entities.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(String resourceGroupName, String workspaceName);
+
+ /**
+ * List containers.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Name of Azure Machine Learning workspace.
+ * @param skip Continuation token for pagination.
+ * @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 paginated list of CodeContainer entities.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(
+ String resourceGroupName, String workspaceName, String skip, Context context);
+
+ /**
+ * Delete container.
+ *
+ * @param name Container name.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Name of Azure Machine Learning workspace.
+ * @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 name, String resourceGroupName, String workspaceName);
+
+ /**
+ * Delete container.
+ *
+ * @param name Container name.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Name of Azure Machine Learning workspace.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response deleteWithResponse(String name, String resourceGroupName, String workspaceName, Context context);
+
+ /**
+ * Get container.
+ *
+ * @param name Container name.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Name of Azure Machine Learning workspace.
+ * @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 container.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ CodeContainerResourceInner get(String name, String resourceGroupName, String workspaceName);
+
+ /**
+ * Get container.
+ *
+ * @param name Container name.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Name of Azure Machine Learning workspace.
+ * @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 container.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getWithResponse(
+ String name, String resourceGroupName, String workspaceName, Context context);
+
+ /**
+ * Create or update container.
+ *
+ * @param name Container name.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Name of Azure Machine Learning workspace.
+ * @param body Container entity to create or 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 azure Resource Manager resource envelope.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ CodeContainerResourceInner createOrUpdate(
+ String name, String resourceGroupName, String workspaceName, CodeContainerResourceInner body);
+
+ /**
+ * Create or update container.
+ *
+ * @param name Container name.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Name of Azure Machine Learning workspace.
+ * @param body Container entity to create or 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 azure Resource Manager resource envelope.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response createOrUpdateWithResponse(
+ String name, String resourceGroupName, String workspaceName, CodeContainerResourceInner body, Context context);
+}
diff --git a/sdk/machinelearningservices/azure-resourcemanager-machinelearningservices/src/main/java/com/azure/resourcemanager/machinelearningservices/fluent/CodeVersionsClient.java b/sdk/machinelearningservices/azure-resourcemanager-machinelearningservices/src/main/java/com/azure/resourcemanager/machinelearningservices/fluent/CodeVersionsClient.java
new file mode 100644
index 000000000000..852ce3418515
--- /dev/null
+++ b/sdk/machinelearningservices/azure-resourcemanager-machinelearningservices/src/main/java/com/azure/resourcemanager/machinelearningservices/fluent/CodeVersionsClient.java
@@ -0,0 +1,157 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.machinelearningservices.fluent;
+
+import com.azure.core.annotation.ReturnType;
+import com.azure.core.annotation.ServiceMethod;
+import com.azure.core.http.rest.PagedIterable;
+import com.azure.core.http.rest.Response;
+import com.azure.core.util.Context;
+import com.azure.resourcemanager.machinelearningservices.fluent.models.CodeVersionResourceInner;
+
+/** An instance of this class provides access to all the operations defined in CodeVersionsClient. */
+public interface CodeVersionsClient {
+ /**
+ * List versions.
+ *
+ * @param name Container name.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Name of Azure Machine Learning workspace.
+ * @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 paginated list of CodeVersion entities.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(String name, String resourceGroupName, String workspaceName);
+
+ /**
+ * List versions.
+ *
+ * @param name Container name.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Name of Azure Machine Learning workspace.
+ * @param orderBy Ordering of list.
+ * @param top Maximum number of records to return.
+ * @param skip Continuation token for pagination.
+ * @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 paginated list of CodeVersion entities.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(
+ String name,
+ String resourceGroupName,
+ String workspaceName,
+ String orderBy,
+ Integer top,
+ String skip,
+ Context context);
+
+ /**
+ * Delete version.
+ *
+ * @param name Container name.
+ * @param version Version identifier.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Name of Azure Machine Learning workspace.
+ * @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 name, String version, String resourceGroupName, String workspaceName);
+
+ /**
+ * Delete version.
+ *
+ * @param name Container name.
+ * @param version Version identifier.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Name of Azure Machine Learning workspace.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response deleteWithResponse(
+ String name, String version, String resourceGroupName, String workspaceName, Context context);
+
+ /**
+ * Get version.
+ *
+ * @param name Container name.
+ * @param version Version identifier.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Name of Azure Machine Learning workspace.
+ * @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 version.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ CodeVersionResourceInner get(String name, String version, String resourceGroupName, String workspaceName);
+
+ /**
+ * Get version.
+ *
+ * @param name Container name.
+ * @param version Version identifier.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Name of Azure Machine Learning workspace.
+ * @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 version.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getWithResponse(
+ String name, String version, String resourceGroupName, String workspaceName, Context context);
+
+ /**
+ * Create or update version.
+ *
+ * @param name Container name.
+ * @param version Version identifier.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Name of Azure Machine Learning workspace.
+ * @param body Version entity to create or 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 azure Resource Manager resource envelope.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ CodeVersionResourceInner createOrUpdate(
+ String name, String version, String resourceGroupName, String workspaceName, CodeVersionResourceInner body);
+
+ /**
+ * Create or update version.
+ *
+ * @param name Container name.
+ * @param version Version identifier.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Name of Azure Machine Learning workspace.
+ * @param body Version entity to create or 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 azure Resource Manager resource envelope.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response createOrUpdateWithResponse(
+ String name,
+ String version,
+ String resourceGroupName,
+ String workspaceName,
+ CodeVersionResourceInner body,
+ Context context);
+}
diff --git a/sdk/machinelearningservices/azure-resourcemanager-machinelearningservices/src/main/java/com/azure/resourcemanager/machinelearningservices/fluent/MachineLearningComputesClient.java b/sdk/machinelearningservices/azure-resourcemanager-machinelearningservices/src/main/java/com/azure/resourcemanager/machinelearningservices/fluent/ComputesClient.java
similarity index 84%
rename from sdk/machinelearningservices/azure-resourcemanager-machinelearningservices/src/main/java/com/azure/resourcemanager/machinelearningservices/fluent/MachineLearningComputesClient.java
rename to sdk/machinelearningservices/azure-resourcemanager-machinelearningservices/src/main/java/com/azure/resourcemanager/machinelearningservices/fluent/ComputesClient.java
index b07cc7e45a95..0978e50aa66a 100644
--- a/sdk/machinelearningservices/azure-resourcemanager-machinelearningservices/src/main/java/com/azure/resourcemanager/machinelearningservices/fluent/MachineLearningComputesClient.java
+++ b/sdk/machinelearningservices/azure-resourcemanager-machinelearningservices/src/main/java/com/azure/resourcemanager/machinelearningservices/fluent/ComputesClient.java
@@ -15,14 +15,15 @@
import com.azure.resourcemanager.machinelearningservices.fluent.models.ComputeSecretsInner;
import com.azure.resourcemanager.machinelearningservices.models.AmlComputeNodeInformation;
import com.azure.resourcemanager.machinelearningservices.models.ClusterUpdateParameters;
+import com.azure.resourcemanager.machinelearningservices.models.ComputeSchedules;
import com.azure.resourcemanager.machinelearningservices.models.UnderlyingResourceAction;
-/** An instance of this class provides access to all the operations defined in MachineLearningComputesClient. */
-public interface MachineLearningComputesClient {
+/** An instance of this class provides access to all the operations defined in ComputesClient. */
+public interface ComputesClient {
/**
* Gets computes in specified workspace.
*
- * @param resourceGroupName Name of the resource group in which workspace is located.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName Name of Azure Machine Learning workspace.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -30,12 +31,12 @@ public interface MachineLearningComputesClient {
* @return computes in specified workspace.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable listByWorkspace(String resourceGroupName, String workspaceName);
+ PagedIterable list(String resourceGroupName, String workspaceName);
/**
* Gets computes in specified workspace.
*
- * @param resourceGroupName Name of the resource group in which workspace is located.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName Name of Azure Machine Learning workspace.
* @param skip Continuation token for pagination.
* @param context The context to associate with this operation.
@@ -45,14 +46,14 @@ public interface MachineLearningComputesClient {
* @return computes in specified workspace.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable listByWorkspace(
+ PagedIterable list(
String resourceGroupName, String workspaceName, String skip, Context context);
/**
* Gets compute definition by its name. Any secrets (storage keys, service credentials, etc) are not returned - use
* 'keys' nested resource to get them.
*
- * @param resourceGroupName Name of the resource group in which workspace is located.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName Name of Azure Machine Learning workspace.
* @param computeName Name of the Azure Machine Learning compute.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -67,7 +68,7 @@ PagedIterable listByWorkspace(
* Gets compute definition by its name. Any secrets (storage keys, service credentials, etc) are not returned - use
* 'keys' nested resource to get them.
*
- * @param resourceGroupName Name of the resource group in which workspace is located.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName Name of Azure Machine Learning workspace.
* @param computeName Name of the Azure Machine Learning compute.
* @param context The context to associate with this operation.
@@ -84,7 +85,7 @@ Response getWithResponse(
* Creates or updates compute. This call will overwrite a compute if it exists. This is a nonrecoverable operation.
* If your intent is to create a new compute, do a GET first to verify that it does not exist yet.
*
- * @param resourceGroupName Name of the resource group in which workspace is located.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName Name of Azure Machine Learning workspace.
* @param computeName Name of the Azure Machine Learning compute.
* @param parameters Payload with Machine Learning compute definition.
@@ -101,7 +102,7 @@ SyncPoller, ComputeResourceInner> beginCreateOr
* Creates or updates compute. This call will overwrite a compute if it exists. This is a nonrecoverable operation.
* If your intent is to create a new compute, do a GET first to verify that it does not exist yet.
*
- * @param resourceGroupName Name of the resource group in which workspace is located.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName Name of Azure Machine Learning workspace.
* @param computeName Name of the Azure Machine Learning compute.
* @param parameters Payload with Machine Learning compute definition.
@@ -123,7 +124,7 @@ SyncPoller, ComputeResourceInner> beginCreateOr
* Creates or updates compute. This call will overwrite a compute if it exists. This is a nonrecoverable operation.
* If your intent is to create a new compute, do a GET first to verify that it does not exist yet.
*
- * @param resourceGroupName Name of the resource group in which workspace is located.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName Name of Azure Machine Learning workspace.
* @param computeName Name of the Azure Machine Learning compute.
* @param parameters Payload with Machine Learning compute definition.
@@ -140,7 +141,7 @@ ComputeResourceInner createOrUpdate(
* Creates or updates compute. This call will overwrite a compute if it exists. This is a nonrecoverable operation.
* If your intent is to create a new compute, do a GET first to verify that it does not exist yet.
*
- * @param resourceGroupName Name of the resource group in which workspace is located.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName Name of Azure Machine Learning workspace.
* @param computeName Name of the Azure Machine Learning compute.
* @param parameters Payload with Machine Learning compute definition.
@@ -162,7 +163,7 @@ ComputeResourceInner createOrUpdate(
* Updates properties of a compute. This call will overwrite a compute if it exists. This is a nonrecoverable
* operation.
*
- * @param resourceGroupName Name of the resource group in which workspace is located.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName Name of Azure Machine Learning workspace.
* @param computeName Name of the Azure Machine Learning compute.
* @param parameters Additional parameters for cluster update.
@@ -179,7 +180,7 @@ SyncPoller, ComputeResourceInner> beginUpdate(
* Updates properties of a compute. This call will overwrite a compute if it exists. This is a nonrecoverable
* operation.
*
- * @param resourceGroupName Name of the resource group in which workspace is located.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName Name of Azure Machine Learning workspace.
* @param computeName Name of the Azure Machine Learning compute.
* @param parameters Additional parameters for cluster update.
@@ -201,7 +202,7 @@ SyncPoller, ComputeResourceInner> beginUpdate(
* Updates properties of a compute. This call will overwrite a compute if it exists. This is a nonrecoverable
* operation.
*
- * @param resourceGroupName Name of the resource group in which workspace is located.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName Name of Azure Machine Learning workspace.
* @param computeName Name of the Azure Machine Learning compute.
* @param parameters Additional parameters for cluster update.
@@ -218,7 +219,7 @@ ComputeResourceInner update(
* Updates properties of a compute. This call will overwrite a compute if it exists. This is a nonrecoverable
* operation.
*
- * @param resourceGroupName Name of the resource group in which workspace is located.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName Name of Azure Machine Learning workspace.
* @param computeName Name of the Azure Machine Learning compute.
* @param parameters Additional parameters for cluster update.
@@ -239,7 +240,7 @@ ComputeResourceInner update(
/**
* Deletes specified Machine Learning compute.
*
- * @param resourceGroupName Name of the resource group in which workspace is located.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName Name of Azure Machine Learning workspace.
* @param computeName Name of the Azure Machine Learning compute.
* @param underlyingResourceAction Delete the underlying compute if 'Delete', or detach the underlying compute from
@@ -259,7 +260,7 @@ SyncPoller, Void> beginDelete(
/**
* Deletes specified Machine Learning compute.
*
- * @param resourceGroupName Name of the resource group in which workspace is located.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName Name of Azure Machine Learning workspace.
* @param computeName Name of the Azure Machine Learning compute.
* @param underlyingResourceAction Delete the underlying compute if 'Delete', or detach the underlying compute from
@@ -281,7 +282,7 @@ SyncPoller, Void> beginDelete(
/**
* Deletes specified Machine Learning compute.
*
- * @param resourceGroupName Name of the resource group in which workspace is located.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName Name of Azure Machine Learning workspace.
* @param computeName Name of the Azure Machine Learning compute.
* @param underlyingResourceAction Delete the underlying compute if 'Delete', or detach the underlying compute from
@@ -300,7 +301,7 @@ void delete(
/**
* Deletes specified Machine Learning compute.
*
- * @param resourceGroupName Name of the resource group in which workspace is located.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName Name of Azure Machine Learning workspace.
* @param computeName Name of the Azure Machine Learning compute.
* @param underlyingResourceAction Delete the underlying compute if 'Delete', or detach the underlying compute from
@@ -321,13 +322,13 @@ void delete(
/**
* Get the details (e.g IP address, port etc) of all the compute nodes in the compute.
*
- * @param resourceGroupName Name of the resource group in which workspace is located.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName Name of Azure Machine Learning workspace.
* @param computeName Name of the Azure Machine Learning compute.
* @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 details (e.
+ * @return the details (e.g IP address, port etc) of all the compute nodes in the compute.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
PagedIterable listNodes(
@@ -336,14 +337,14 @@ PagedIterable listNodes(
/**
* Get the details (e.g IP address, port etc) of all the compute nodes in the compute.
*
- * @param resourceGroupName Name of the resource group in which workspace is located.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName Name of Azure Machine Learning workspace.
* @param computeName Name of the Azure Machine Learning compute.
* @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 details (e.
+ * @return the details (e.g IP address, port etc) of all the compute nodes in the compute.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
PagedIterable listNodes(
@@ -352,7 +353,7 @@ PagedIterable listNodes(
/**
* Gets secrets related to Machine Learning compute (storage keys, service credentials, etc).
*
- * @param resourceGroupName Name of the resource group in which workspace is located.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName Name of Azure Machine Learning workspace.
* @param computeName Name of the Azure Machine Learning compute.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -366,7 +367,7 @@ PagedIterable listNodes(
/**
* Gets secrets related to Machine Learning compute (storage keys, service credentials, etc).
*
- * @param resourceGroupName Name of the resource group in which workspace is located.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName Name of Azure Machine Learning workspace.
* @param computeName Name of the Azure Machine Learning compute.
* @param context The context to associate with this operation.
@@ -382,7 +383,7 @@ Response listKeysWithResponse(
/**
* Posts a start action to a compute instance.
*
- * @param resourceGroupName Name of the resource group in which workspace is located.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName Name of Azure Machine Learning workspace.
* @param computeName Name of the Azure Machine Learning compute.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -396,7 +397,7 @@ Response listKeysWithResponse(
/**
* Posts a start action to a compute instance.
*
- * @param resourceGroupName Name of the resource group in which workspace is located.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName Name of Azure Machine Learning workspace.
* @param computeName Name of the Azure Machine Learning compute.
* @param context The context to associate with this operation.
@@ -412,7 +413,7 @@ SyncPoller, Void> beginStart(
/**
* Posts a start action to a compute instance.
*
- * @param resourceGroupName Name of the resource group in which workspace is located.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName Name of Azure Machine Learning workspace.
* @param computeName Name of the Azure Machine Learning compute.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -425,7 +426,7 @@ SyncPoller, Void> beginStart(
/**
* Posts a start action to a compute instance.
*
- * @param resourceGroupName Name of the resource group in which workspace is located.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName Name of Azure Machine Learning workspace.
* @param computeName Name of the Azure Machine Learning compute.
* @param context The context to associate with this operation.
@@ -439,7 +440,7 @@ SyncPoller, Void> beginStart(
/**
* Posts a stop action to a compute instance.
*
- * @param resourceGroupName Name of the resource group in which workspace is located.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName Name of Azure Machine Learning workspace.
* @param computeName Name of the Azure Machine Learning compute.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -453,7 +454,7 @@ SyncPoller, Void> beginStart(
/**
* Posts a stop action to a compute instance.
*
- * @param resourceGroupName Name of the resource group in which workspace is located.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName Name of Azure Machine Learning workspace.
* @param computeName Name of the Azure Machine Learning compute.
* @param context The context to associate with this operation.
@@ -469,7 +470,7 @@ SyncPoller, Void> beginStop(
/**
* Posts a stop action to a compute instance.
*
- * @param resourceGroupName Name of the resource group in which workspace is located.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName Name of Azure Machine Learning workspace.
* @param computeName Name of the Azure Machine Learning compute.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -482,7 +483,7 @@ SyncPoller, Void> beginStop(
/**
* Posts a stop action to a compute instance.
*
- * @param resourceGroupName Name of the resource group in which workspace is located.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName Name of Azure Machine Learning workspace.
* @param computeName Name of the Azure Machine Learning compute.
* @param context The context to associate with this operation.
@@ -496,7 +497,7 @@ SyncPoller, Void> beginStop(
/**
* Posts a restart action to a compute instance.
*
- * @param resourceGroupName Name of the resource group in which workspace is located.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName Name of Azure Machine Learning workspace.
* @param computeName Name of the Azure Machine Learning compute.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -509,7 +510,7 @@ SyncPoller, Void> beginStop(
/**
* Posts a restart action to a compute instance.
*
- * @param resourceGroupName Name of the resource group in which workspace is located.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName Name of Azure Machine Learning workspace.
* @param computeName Name of the Azure Machine Learning compute.
* @param context The context to associate with this operation.
@@ -521,4 +522,38 @@ SyncPoller, Void> beginStop(
@ServiceMethod(returns = ReturnType.SINGLE)
Response restartWithResponse(
String resourceGroupName, String workspaceName, String computeName, Context context);
+
+ /**
+ * Updates schedules of a compute instance.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Name of Azure Machine Learning workspace.
+ * @param computeName Name of the Azure Machine Learning compute.
+ * @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 updateSchedules(String resourceGroupName, String workspaceName, String computeName);
+
+ /**
+ * Updates schedules of a compute instance.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Name of Azure Machine Learning workspace.
+ * @param computeName Name of the Azure Machine Learning compute.
+ * @param parameters The object for updating schedules of specified ComputeInstance.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response updateSchedulesWithResponse(
+ String resourceGroupName,
+ String workspaceName,
+ String computeName,
+ ComputeSchedules parameters,
+ Context context);
}
diff --git a/sdk/machinelearningservices/azure-resourcemanager-machinelearningservices/src/main/java/com/azure/resourcemanager/machinelearningservices/fluent/DataContainersClient.java b/sdk/machinelearningservices/azure-resourcemanager-machinelearningservices/src/main/java/com/azure/resourcemanager/machinelearningservices/fluent/DataContainersClient.java
new file mode 100644
index 000000000000..21c36db09582
--- /dev/null
+++ b/sdk/machinelearningservices/azure-resourcemanager-machinelearningservices/src/main/java/com/azure/resourcemanager/machinelearningservices/fluent/DataContainersClient.java
@@ -0,0 +1,135 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.machinelearningservices.fluent;
+
+import com.azure.core.annotation.ReturnType;
+import com.azure.core.annotation.ServiceMethod;
+import com.azure.core.http.rest.PagedIterable;
+import com.azure.core.http.rest.Response;
+import com.azure.core.util.Context;
+import com.azure.resourcemanager.machinelearningservices.fluent.models.DataContainerResourceInner;
+
+/** An instance of this class provides access to all the operations defined in DataContainersClient. */
+public interface DataContainersClient {
+ /**
+ * List containers.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Name of Azure Machine Learning workspace.
+ * @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 paginated list of DataContainer entities.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(String resourceGroupName, String workspaceName);
+
+ /**
+ * List containers.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Name of Azure Machine Learning workspace.
+ * @param skip Continuation token for pagination.
+ * @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 paginated list of DataContainer entities.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(
+ String resourceGroupName, String workspaceName, String skip, Context context);
+
+ /**
+ * Delete container.
+ *
+ * @param name Container name.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Name of Azure Machine Learning workspace.
+ * @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 name, String resourceGroupName, String workspaceName);
+
+ /**
+ * Delete container.
+ *
+ * @param name Container name.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Name of Azure Machine Learning workspace.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response deleteWithResponse(String name, String resourceGroupName, String workspaceName, Context context);
+
+ /**
+ * Get container.
+ *
+ * @param name Container name.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Name of Azure Machine Learning workspace.
+ * @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 container.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ DataContainerResourceInner get(String name, String resourceGroupName, String workspaceName);
+
+ /**
+ * Get container.
+ *
+ * @param name Container name.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Name of Azure Machine Learning workspace.
+ * @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 container.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getWithResponse(
+ String name, String resourceGroupName, String workspaceName, Context context);
+
+ /**
+ * Create or update container.
+ *
+ * @param name Container name.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Name of Azure Machine Learning workspace.
+ * @param body Container entity to create or 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 azure Resource Manager resource envelope.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ DataContainerResourceInner createOrUpdate(
+ String name, String resourceGroupName, String workspaceName, DataContainerResourceInner body);
+
+ /**
+ * Create or update container.
+ *
+ * @param name Container name.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Name of Azure Machine Learning workspace.
+ * @param body Container entity to create or 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 azure Resource Manager resource envelope.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response createOrUpdateWithResponse(
+ String name, String resourceGroupName, String workspaceName, DataContainerResourceInner body, Context context);
+}
diff --git a/sdk/machinelearningservices/azure-resourcemanager-machinelearningservices/src/main/java/com/azure/resourcemanager/machinelearningservices/fluent/DataVersionsClient.java b/sdk/machinelearningservices/azure-resourcemanager-machinelearningservices/src/main/java/com/azure/resourcemanager/machinelearningservices/fluent/DataVersionsClient.java
new file mode 100644
index 000000000000..4ceba7c13913
--- /dev/null
+++ b/sdk/machinelearningservices/azure-resourcemanager-machinelearningservices/src/main/java/com/azure/resourcemanager/machinelearningservices/fluent/DataVersionsClient.java
@@ -0,0 +1,159 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.machinelearningservices.fluent;
+
+import com.azure.core.annotation.ReturnType;
+import com.azure.core.annotation.ServiceMethod;
+import com.azure.core.http.rest.PagedIterable;
+import com.azure.core.http.rest.Response;
+import com.azure.core.util.Context;
+import com.azure.resourcemanager.machinelearningservices.fluent.models.DataVersionResourceInner;
+
+/** An instance of this class provides access to all the operations defined in DataVersionsClient. */
+public interface DataVersionsClient {
+ /**
+ * List data versions.
+ *
+ * @param name Data name.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Name of Azure Machine Learning workspace.
+ * @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 paginated list of DataVersion entities.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(String name, String resourceGroupName, String workspaceName);
+
+ /**
+ * List data versions.
+ *
+ * @param name Data name.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Name of Azure Machine Learning workspace.
+ * @param orderBy Ordering of list.
+ * @param top Maximum number of records to return.
+ * @param skip Continuation token for pagination.
+ * @param tags Comma-separated list of tag names (and optionally values). Example: tag1,tag2=value2.
+ * @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 paginated list of DataVersion entities.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(
+ String name,
+ String resourceGroupName,
+ String workspaceName,
+ String orderBy,
+ Integer top,
+ String skip,
+ String tags,
+ Context context);
+
+ /**
+ * Delete version.
+ *
+ * @param name Container name.
+ * @param version Version identifier.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Name of Azure Machine Learning workspace.
+ * @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 name, String version, String resourceGroupName, String workspaceName);
+
+ /**
+ * Delete version.
+ *
+ * @param name Container name.
+ * @param version Version identifier.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Name of Azure Machine Learning workspace.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response deleteWithResponse(
+ String name, String version, String resourceGroupName, String workspaceName, Context context);
+
+ /**
+ * Get version.
+ *
+ * @param name Container name.
+ * @param version Version identifier.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Name of Azure Machine Learning workspace.
+ * @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 version.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ DataVersionResourceInner get(String name, String version, String resourceGroupName, String workspaceName);
+
+ /**
+ * Get version.
+ *
+ * @param name Container name.
+ * @param version Version identifier.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Name of Azure Machine Learning workspace.
+ * @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 version.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getWithResponse(
+ String name, String version, String resourceGroupName, String workspaceName, Context context);
+
+ /**
+ * Create or update version.
+ *
+ * @param name Container name.
+ * @param version Version identifier.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Name of Azure Machine Learning workspace.
+ * @param body Version entity to create or 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 azure Resource Manager resource envelope.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ DataVersionResourceInner createOrUpdate(
+ String name, String version, String resourceGroupName, String workspaceName, DataVersionResourceInner body);
+
+ /**
+ * Create or update version.
+ *
+ * @param name Container name.
+ * @param version Version identifier.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Name of Azure Machine Learning workspace.
+ * @param body Version entity to create or 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 azure Resource Manager resource envelope.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response createOrUpdateWithResponse(
+ String name,
+ String version,
+ String resourceGroupName,
+ String workspaceName,
+ DataVersionResourceInner body,
+ Context context);
+}
diff --git a/sdk/machinelearningservices/azure-resourcemanager-machinelearningservices/src/main/java/com/azure/resourcemanager/machinelearningservices/fluent/DatastoresClient.java b/sdk/machinelearningservices/azure-resourcemanager-machinelearningservices/src/main/java/com/azure/resourcemanager/machinelearningservices/fluent/DatastoresClient.java
new file mode 100644
index 000000000000..071c5a3d0152
--- /dev/null
+++ b/sdk/machinelearningservices/azure-resourcemanager-machinelearningservices/src/main/java/com/azure/resourcemanager/machinelearningservices/fluent/DatastoresClient.java
@@ -0,0 +1,188 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.machinelearningservices.fluent;
+
+import com.azure.core.annotation.ReturnType;
+import com.azure.core.annotation.ServiceMethod;
+import com.azure.core.http.rest.PagedIterable;
+import com.azure.core.http.rest.Response;
+import com.azure.core.util.Context;
+import com.azure.resourcemanager.machinelearningservices.fluent.models.DatastorePropertiesResourceInner;
+import com.azure.resourcemanager.machinelearningservices.fluent.models.DatastoreSecretsInner;
+import java.util.List;
+
+/** An instance of this class provides access to all the operations defined in DatastoresClient. */
+public interface DatastoresClient {
+ /**
+ * List datastores.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Name of Azure Machine Learning workspace.
+ * @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 paginated list of DatastoreProperties entities.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(String resourceGroupName, String workspaceName);
+
+ /**
+ * List datastores.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Name of Azure Machine Learning workspace.
+ * @param skip Continuation token for pagination.
+ * @param count Maximum number of results to return.
+ * @param isDefault Filter down to the workspace default datastore.
+ * @param names Names of datastores to return.
+ * @param searchText Text to search for in the datastore names.
+ * @param orderBy Order by property (createdtime | modifiedtime | name).
+ * @param orderByAsc Order by property in ascending order.
+ * @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 paginated list of DatastoreProperties entities.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(
+ String resourceGroupName,
+ String workspaceName,
+ String skip,
+ Integer count,
+ Boolean isDefault,
+ List names,
+ String searchText,
+ String orderBy,
+ Boolean orderByAsc,
+ Context context);
+
+ /**
+ * Delete datastore.
+ *
+ * @param name Datastore name.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Name of Azure Machine Learning workspace.
+ * @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 name, String resourceGroupName, String workspaceName);
+
+ /**
+ * Delete datastore.
+ *
+ * @param name Datastore name.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Name of Azure Machine Learning workspace.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response deleteWithResponse(String name, String resourceGroupName, String workspaceName, Context context);
+
+ /**
+ * Get datastore.
+ *
+ * @param name Datastore name.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Name of Azure Machine Learning workspace.
+ * @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 datastore.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ DatastorePropertiesResourceInner get(String name, String resourceGroupName, String workspaceName);
+
+ /**
+ * Get datastore.
+ *
+ * @param name Datastore name.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Name of Azure Machine Learning workspace.
+ * @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 datastore.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getWithResponse(
+ String name, String resourceGroupName, String workspaceName, Context context);
+
+ /**
+ * Create or update datastore.
+ *
+ * @param name Datastore name.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Name of Azure Machine Learning workspace.
+ * @param body Datastore entity to create or 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 azure Resource Manager resource envelope.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ DatastorePropertiesResourceInner createOrUpdate(
+ String name, String resourceGroupName, String workspaceName, DatastorePropertiesResourceInner body);
+
+ /**
+ * Create or update datastore.
+ *
+ * @param name Datastore name.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Name of Azure Machine Learning workspace.
+ * @param body Datastore entity to create or update.
+ * @param skipValidation Flag to skip validation.
+ * @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 azure Resource Manager resource envelope.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response createOrUpdateWithResponse(
+ String name,
+ String resourceGroupName,
+ String workspaceName,
+ DatastorePropertiesResourceInner body,
+ Boolean skipValidation,
+ Context context);
+
+ /**
+ * Get datastore secrets.
+ *
+ * @param name Datastore name.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Name of Azure Machine Learning workspace.
+ * @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 datastore secrets.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ DatastoreSecretsInner listSecrets(String name, String resourceGroupName, String workspaceName);
+
+ /**
+ * Get datastore secrets.
+ *
+ * @param name Datastore name.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Name of Azure Machine Learning workspace.
+ * @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 datastore secrets.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response listSecretsWithResponse(
+ String name, String resourceGroupName, String workspaceName, Context context);
+}
diff --git a/sdk/machinelearningservices/azure-resourcemanager-machinelearningservices/src/main/java/com/azure/resourcemanager/machinelearningservices/fluent/EnvironmentContainersClient.java b/sdk/machinelearningservices/azure-resourcemanager-machinelearningservices/src/main/java/com/azure/resourcemanager/machinelearningservices/fluent/EnvironmentContainersClient.java
new file mode 100644
index 000000000000..dd90dd5c065f
--- /dev/null
+++ b/sdk/machinelearningservices/azure-resourcemanager-machinelearningservices/src/main/java/com/azure/resourcemanager/machinelearningservices/fluent/EnvironmentContainersClient.java
@@ -0,0 +1,139 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.machinelearningservices.fluent;
+
+import com.azure.core.annotation.ReturnType;
+import com.azure.core.annotation.ServiceMethod;
+import com.azure.core.http.rest.PagedIterable;
+import com.azure.core.http.rest.Response;
+import com.azure.core.util.Context;
+import com.azure.resourcemanager.machinelearningservices.fluent.models.EnvironmentContainerResourceInner;
+
+/** An instance of this class provides access to all the operations defined in EnvironmentContainersClient. */
+public interface EnvironmentContainersClient {
+ /**
+ * List containers.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Name of Azure Machine Learning workspace.
+ * @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 paginated list of EnvironmentContainer entities.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(String resourceGroupName, String workspaceName);
+
+ /**
+ * List containers.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Name of Azure Machine Learning workspace.
+ * @param skip Continuation token for pagination.
+ * @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 paginated list of EnvironmentContainer entities.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(
+ String resourceGroupName, String workspaceName, String skip, Context context);
+
+ /**
+ * Delete container.
+ *
+ * @param name Container name.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Name of Azure Machine Learning workspace.
+ * @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 name, String resourceGroupName, String workspaceName);
+
+ /**
+ * Delete container.
+ *
+ * @param name Container name.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Name of Azure Machine Learning workspace.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response deleteWithResponse(String name, String resourceGroupName, String workspaceName, Context context);
+
+ /**
+ * Get container.
+ *
+ * @param name Container name.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Name of Azure Machine Learning workspace.
+ * @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 container.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ EnvironmentContainerResourceInner get(String name, String resourceGroupName, String workspaceName);
+
+ /**
+ * Get container.
+ *
+ * @param name Container name.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Name of Azure Machine Learning workspace.
+ * @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 container.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getWithResponse(
+ String name, String resourceGroupName, String workspaceName, Context context);
+
+ /**
+ * Create or update container.
+ *
+ * @param name Container name.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Name of Azure Machine Learning workspace.
+ * @param body Container entity to create or 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 azure Resource Manager resource envelope.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ EnvironmentContainerResourceInner createOrUpdate(
+ String name, String resourceGroupName, String workspaceName, EnvironmentContainerResourceInner body);
+
+ /**
+ * Create or update container.
+ *
+ * @param name Container name.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Name of Azure Machine Learning workspace.
+ * @param body Container entity to create or 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 azure Resource Manager resource envelope.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response createOrUpdateWithResponse(
+ String name,
+ String resourceGroupName,
+ String workspaceName,
+ EnvironmentContainerResourceInner body,
+ Context context);
+}
diff --git a/sdk/machinelearningservices/azure-resourcemanager-machinelearningservices/src/main/java/com/azure/resourcemanager/machinelearningservices/fluent/EnvironmentSpecificationVersionsClient.java b/sdk/machinelearningservices/azure-resourcemanager-machinelearningservices/src/main/java/com/azure/resourcemanager/machinelearningservices/fluent/EnvironmentSpecificationVersionsClient.java
new file mode 100644
index 000000000000..95d530076836
--- /dev/null
+++ b/sdk/machinelearningservices/azure-resourcemanager-machinelearningservices/src/main/java/com/azure/resourcemanager/machinelearningservices/fluent/EnvironmentSpecificationVersionsClient.java
@@ -0,0 +1,165 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.machinelearningservices.fluent;
+
+import com.azure.core.annotation.ReturnType;
+import com.azure.core.annotation.ServiceMethod;
+import com.azure.core.http.rest.PagedIterable;
+import com.azure.core.http.rest.Response;
+import com.azure.core.util.Context;
+import com.azure.resourcemanager.machinelearningservices.fluent.models.EnvironmentSpecificationVersionResourceInner;
+
+/**
+ * An instance of this class provides access to all the operations defined in EnvironmentSpecificationVersionsClient.
+ */
+public interface EnvironmentSpecificationVersionsClient {
+ /**
+ * List versions.
+ *
+ * @param name Container name.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Name of Azure Machine Learning workspace.
+ * @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 paginated list of EnvironmentSpecificationVersion entities.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(
+ String name, String resourceGroupName, String workspaceName);
+
+ /**
+ * List versions.
+ *
+ * @param name Container name.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Name of Azure Machine Learning workspace.
+ * @param orderBy Ordering of list.
+ * @param top Maximum number of records to return.
+ * @param skip Continuation token for pagination.
+ * @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 paginated list of EnvironmentSpecificationVersion entities.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(
+ String name,
+ String resourceGroupName,
+ String workspaceName,
+ String orderBy,
+ Integer top,
+ String skip,
+ Context context);
+
+ /**
+ * Delete version.
+ *
+ * @param name Container name.
+ * @param version Version identifier.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Name of Azure Machine Learning workspace.
+ * @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 name, String version, String resourceGroupName, String workspaceName);
+
+ /**
+ * Delete version.
+ *
+ * @param name Container name.
+ * @param version Version identifier.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Name of Azure Machine Learning workspace.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response deleteWithResponse(
+ String name, String version, String resourceGroupName, String workspaceName, Context context);
+
+ /**
+ * Get version.
+ *
+ * @param name Container name.
+ * @param version Version identifier.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Name of Azure Machine Learning workspace.
+ * @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 version.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ EnvironmentSpecificationVersionResourceInner get(
+ String name, String version, String resourceGroupName, String workspaceName);
+
+ /**
+ * Get version.
+ *
+ * @param name Container name.
+ * @param version Version identifier.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Name of Azure Machine Learning workspace.
+ * @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 version.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getWithResponse(
+ String name, String version, String resourceGroupName, String workspaceName, Context context);
+
+ /**
+ * Creates or updates an EnvironmentSpecificationVersion.
+ *
+ * @param name Name of EnvironmentSpecificationVersion.
+ * @param version Version of EnvironmentSpecificationVersion.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Name of Azure Machine Learning workspace.
+ * @param body Definition of EnvironmentSpecificationVersion.
+ * @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 azure Resource Manager resource envelope.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ EnvironmentSpecificationVersionResourceInner createOrUpdate(
+ String name,
+ String version,
+ String resourceGroupName,
+ String workspaceName,
+ EnvironmentSpecificationVersionResourceInner body);
+
+ /**
+ * Creates or updates an EnvironmentSpecificationVersion.
+ *
+ * @param name Name of EnvironmentSpecificationVersion.
+ * @param version Version of EnvironmentSpecificationVersion.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Name of Azure Machine Learning workspace.
+ * @param body Definition of EnvironmentSpecificationVersion.
+ * @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 azure Resource Manager resource envelope.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response createOrUpdateWithResponse(
+ String name,
+ String version,
+ String resourceGroupName,
+ String workspaceName,
+ EnvironmentSpecificationVersionResourceInner body,
+ Context context);
+}
diff --git a/sdk/machinelearningservices/azure-resourcemanager-machinelearningservices/src/main/java/com/azure/resourcemanager/machinelearningservices/fluent/JobsClient.java b/sdk/machinelearningservices/azure-resourcemanager-machinelearningservices/src/main/java/com/azure/resourcemanager/machinelearningservices/fluent/JobsClient.java
new file mode 100644
index 000000000000..f637c6e1d68c
--- /dev/null
+++ b/sdk/machinelearningservices/azure-resourcemanager-machinelearningservices/src/main/java/com/azure/resourcemanager/machinelearningservices/fluent/JobsClient.java
@@ -0,0 +1,203 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.machinelearningservices.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.machinelearningservices.fluent.models.JobBaseResourceInner;
+
+/** An instance of this class provides access to all the operations defined in JobsClient. */
+public interface JobsClient {
+ /**
+ * Lists Jobs in the workspace.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Name of Azure Machine Learning workspace.
+ * @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 paginated list of JobBase entities.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(String resourceGroupName, String workspaceName);
+
+ /**
+ * Lists Jobs in the workspace.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Name of Azure Machine Learning workspace.
+ * @param skip Continuation token for pagination.
+ * @param jobType Type of job to be returned.
+ * @param tags Tags for job to be returned.
+ * @param tag Jobs returned will have this tag key.
+ * @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 paginated list of JobBase entities.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(
+ String resourceGroupName,
+ String workspaceName,
+ String skip,
+ String jobType,
+ String tags,
+ String tag,
+ Context context);
+
+ /**
+ * Deletes a Job (asynchronous).
+ *
+ * @param id The name and identifier for the Job.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Name of Azure Machine Learning workspace.
+ * @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 id, String resourceGroupName, String workspaceName);
+
+ /**
+ * Deletes a Job (asynchronous).
+ *
+ * @param id The name and identifier for the Job.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Name of Azure Machine Learning workspace.
+ * @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 id, String resourceGroupName, String workspaceName, Context context);
+
+ /**
+ * Deletes a Job (asynchronous).
+ *
+ * @param id The name and identifier for the Job.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Name of Azure Machine Learning workspace.
+ * @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 id, String resourceGroupName, String workspaceName);
+
+ /**
+ * Deletes a Job (asynchronous).
+ *
+ * @param id The name and identifier for the Job.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Name of Azure Machine Learning workspace.
+ * @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 id, String resourceGroupName, String workspaceName, Context context);
+
+ /**
+ * Gets a Job by name/id.
+ *
+ * @param id The name and identifier for the Job.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Name of Azure Machine Learning workspace.
+ * @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 Job by name/id.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ JobBaseResourceInner get(String id, String resourceGroupName, String workspaceName);
+
+ /**
+ * Gets a Job by name/id.
+ *
+ * @param id The name and identifier for the Job.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Name of Azure Machine Learning workspace.
+ * @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 Job by name/id.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getWithResponse(
+ String id, String resourceGroupName, String workspaceName, Context context);
+
+ /**
+ * Creates and executes a Job.
+ *
+ * @param id The name and identifier for the Job.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Name of Azure Machine Learning workspace.
+ * @param body Job definition object.
+ * @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 azure Resource Manager resource envelope.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ JobBaseResourceInner createOrUpdate(
+ String id, String resourceGroupName, String workspaceName, JobBaseResourceInner body);
+
+ /**
+ * Creates and executes a Job.
+ *
+ * @param id The name and identifier for the Job.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Name of Azure Machine Learning workspace.
+ * @param body Job definition object.
+ * @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 azure Resource Manager resource envelope.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response createOrUpdateWithResponse(
+ String id, String resourceGroupName, String workspaceName, JobBaseResourceInner body, Context context);
+
+ /**
+ * Cancels a Job.
+ *
+ * @param id The name and identifier for the Job.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Name of Azure Machine Learning workspace.
+ * @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 cancel(String id, String resourceGroupName, String workspaceName);
+
+ /**
+ * Cancels a Job.
+ *
+ * @param id The name and identifier for the Job.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Name of Azure Machine Learning workspace.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response cancelWithResponse(String id, String resourceGroupName, String workspaceName, Context context);
+}
diff --git a/sdk/machinelearningservices/azure-resourcemanager-machinelearningservices/src/main/java/com/azure/resourcemanager/machinelearningservices/fluent/LabelingJobsClient.java b/sdk/machinelearningservices/azure-resourcemanager-machinelearningservices/src/main/java/com/azure/resourcemanager/machinelearningservices/fluent/LabelingJobsClient.java
new file mode 100644
index 000000000000..faf37afb7ccf
--- /dev/null
+++ b/sdk/machinelearningservices/azure-resourcemanager-machinelearningservices/src/main/java/com/azure/resourcemanager/machinelearningservices/fluent/LabelingJobsClient.java
@@ -0,0 +1,329 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.machinelearningservices.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.machinelearningservices.fluent.models.ExportSummaryInner;
+import com.azure.resourcemanager.machinelearningservices.fluent.models.LabelingJobResourceInner;
+
+/** An instance of this class provides access to all the operations defined in LabelingJobsClient. */
+public interface LabelingJobsClient {
+ /**
+ * Lists labeling jobs in the workspace.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Name of Azure Machine Learning workspace.
+ * @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 paginated list of LabelingJob entities.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(String resourceGroupName, String workspaceName);
+
+ /**
+ * Lists labeling jobs in the workspace.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Name of Azure Machine Learning workspace.
+ * @param skip Continuation token for pagination.
+ * @param count Number of labeling jobs to return.
+ * @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 paginated list of LabelingJob entities.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(
+ String resourceGroupName, String workspaceName, String skip, Integer count, Context context);
+
+ /**
+ * Delete a labeling job.
+ *
+ * @param id The name and identifier for the LabelingJob.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Name of Azure Machine Learning workspace.
+ * @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 id, String resourceGroupName, String workspaceName);
+
+ /**
+ * Delete a labeling job.
+ *
+ * @param id The name and identifier for the LabelingJob.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Name of Azure Machine Learning workspace.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response deleteWithResponse(String id, String resourceGroupName, String workspaceName, Context context);
+
+ /**
+ * Gets a labeling job by name/id.
+ *
+ * @param id The name and identifier for the LabelingJob.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Name of Azure Machine Learning workspace.
+ * @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 labeling job by name/id.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ LabelingJobResourceInner get(String id, String resourceGroupName, String workspaceName);
+
+ /**
+ * Gets a labeling job by name/id.
+ *
+ * @param id The name and identifier for the LabelingJob.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Name of Azure Machine Learning workspace.
+ * @param includeJobInstructions Boolean value to indicate whether to include JobInstructions in response.
+ * @param includeLabelCategories Boolean value to indicate Whether to include LabelCategories in response.
+ * @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 labeling job by name/id.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getWithResponse(
+ String id,
+ String resourceGroupName,
+ String workspaceName,
+ Boolean includeJobInstructions,
+ Boolean includeLabelCategories,
+ Context context);
+
+ /**
+ * Creates or updates a labeling job (asynchronous).
+ *
+ * @param id The name and identifier for the LabelingJob.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Name of Azure Machine Learning workspace.
+ * @param body LabelingJob definition object.
+ * @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 azure Resource Manager resource envelope.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ SyncPoller, LabelingJobResourceInner> beginCreateOrUpdate(
+ String id, String resourceGroupName, String workspaceName, LabelingJobResourceInner body);
+
+ /**
+ * Creates or updates a labeling job (asynchronous).
+ *
+ * @param id The name and identifier for the LabelingJob.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Name of Azure Machine Learning workspace.
+ * @param body LabelingJob definition object.
+ * @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 azure Resource Manager resource envelope.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ SyncPoller, LabelingJobResourceInner> beginCreateOrUpdate(
+ String id, String resourceGroupName, String workspaceName, LabelingJobResourceInner body, Context context);
+
+ /**
+ * Creates or updates a labeling job (asynchronous).
+ *
+ * @param id The name and identifier for the LabelingJob.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Name of Azure Machine Learning workspace.
+ * @param body LabelingJob definition object.
+ * @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 azure Resource Manager resource envelope.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ LabelingJobResourceInner createOrUpdate(
+ String id, String resourceGroupName, String workspaceName, LabelingJobResourceInner body);
+
+ /**
+ * Creates or updates a labeling job (asynchronous).
+ *
+ * @param id The name and identifier for the LabelingJob.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Name of Azure Machine Learning workspace.
+ * @param body LabelingJob definition object.
+ * @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 azure Resource Manager resource envelope.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ LabelingJobResourceInner createOrUpdate(
+ String id, String resourceGroupName, String workspaceName, LabelingJobResourceInner body, Context context);
+
+ /**
+ * Export labels from a labeling job (asynchronous).
+ *
+ * @param id The name and identifier for the LabelingJob.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Name of Azure Machine Learning workspace.
+ * @param body The export summary.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ SyncPoller, ExportSummaryInner> beginExportLabels(
+ String id, String resourceGroupName, String workspaceName, ExportSummaryInner body);
+
+ /**
+ * Export labels from a labeling job (asynchronous).
+ *
+ * @param id The name and identifier for the LabelingJob.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Name of Azure Machine Learning workspace.
+ * @param body The export summary.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ SyncPoller, ExportSummaryInner> beginExportLabels(
+ String id, String resourceGroupName, String workspaceName, ExportSummaryInner body, Context context);
+
+ /**
+ * Export labels from a labeling job (asynchronous).
+ *
+ * @param id The name and identifier for the LabelingJob.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Name of Azure Machine Learning workspace.
+ * @param body The export summary.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ ExportSummaryInner exportLabels(String id, String resourceGroupName, String workspaceName, ExportSummaryInner body);
+
+ /**
+ * Export labels from a labeling job (asynchronous).
+ *
+ * @param id The name and identifier for the LabelingJob.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Name of Azure Machine Learning workspace.
+ * @param body The export summary.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ ExportSummaryInner exportLabels(
+ String id, String resourceGroupName, String workspaceName, ExportSummaryInner body, Context context);
+
+ /**
+ * Pause a labeling job.
+ *
+ * @param id The name and identifier for the LabelingJob.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Name of Azure Machine Learning workspace.
+ * @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 pause(String id, String resourceGroupName, String workspaceName);
+
+ /**
+ * Pause a labeling job.
+ *
+ * @param id The name and identifier for the LabelingJob.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Name of Azure Machine Learning workspace.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response pauseWithResponse(String id, String resourceGroupName, String workspaceName, Context context);
+
+ /**
+ * Resume a labeling job (asynchronous).
+ *
+ * @param id The name and identifier for the LabelingJob.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Name of Azure Machine Learning workspace.
+ * @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> beginResume(String id, String resourceGroupName, String workspaceName);
+
+ /**
+ * Resume a labeling job (asynchronous).
+ *
+ * @param id The name and identifier for the LabelingJob.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Name of Azure Machine Learning workspace.
+ * @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> beginResume(
+ String id, String resourceGroupName, String workspaceName, Context context);
+
+ /**
+ * Resume a labeling job (asynchronous).
+ *
+ * @param id The name and identifier for the LabelingJob.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Name of Azure Machine Learning workspace.
+ * @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 resume(String id, String resourceGroupName, String workspaceName);
+
+ /**
+ * Resume a labeling job (asynchronous).
+ *
+ * @param id The name and identifier for the LabelingJob.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Name of Azure Machine Learning workspace.
+ * @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 resume(String id, String resourceGroupName, String workspaceName, Context context);
+}
diff --git a/sdk/machinelearningservices/azure-resourcemanager-machinelearningservices/src/main/java/com/azure/resourcemanager/machinelearningservices/fluent/MachineLearningServicesClient.java b/sdk/machinelearningservices/azure-resourcemanager-machinelearningservices/src/main/java/com/azure/resourcemanager/machinelearningservices/fluent/MachineLearningServicesClient.java
deleted file mode 100644
index ae52246e89b2..000000000000
--- a/sdk/machinelearningservices/azure-resourcemanager-machinelearningservices/src/main/java/com/azure/resourcemanager/machinelearningservices/fluent/MachineLearningServicesClient.java
+++ /dev/null
@@ -1,207 +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.machinelearningservices.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.machinelearningservices.fluent.models.ServiceResourceInner;
-import com.azure.resourcemanager.machinelearningservices.models.CreateServiceRequest;
-import com.azure.resourcemanager.machinelearningservices.models.OrderString;
-
-/** An instance of this class provides access to all the operations defined in MachineLearningServicesClient. */
-public interface MachineLearningServicesClient {
- /**
- * Gets services in specified workspace.
- *
- * @param resourceGroupName Name of the resource group in which workspace is located.
- * @param workspaceName Name of Azure Machine Learning workspace.
- * @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 services in specified workspace.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable listByWorkspace(String resourceGroupName, String workspaceName);
-
- /**
- * Gets services in specified workspace.
- *
- * @param resourceGroupName Name of the resource group in which workspace is located.
- * @param workspaceName Name of Azure Machine Learning workspace.
- * @param skip Continuation token for pagination.
- * @param modelId The Model Id.
- * @param modelName The Model name.
- * @param tag The object tag.
- * @param tags A set of tags with which to filter the returned services. It is a comma separated string of tags key
- * or tags key=value Example: tagKey1,tagKey2,tagKey3=value3 .
- * @param properties A set of properties with which to filter the returned services. It is a comma separated string
- * of properties key and/or properties key=value Example: propKey1,propKey2,propKey3=value3 .
- * @param runId runId for model associated with service.
- * @param expand Set to True to include Model details.
- * @param orderby The option to order the response.
- * @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 services in specified workspace.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable listByWorkspace(
- String resourceGroupName,
- String workspaceName,
- String skip,
- String modelId,
- String modelName,
- String tag,
- String tags,
- String properties,
- String runId,
- Boolean expand,
- OrderString orderby,
- Context context);
-
- /**
- * Get a Service by name.
- *
- * @param resourceGroupName Name of the resource group in which workspace is located.
- * @param workspaceName Name of Azure Machine Learning workspace.
- * @param serviceName Name of the Azure Machine Learning service.
- * @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 Service by name.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- ServiceResourceInner get(String resourceGroupName, String workspaceName, String serviceName);
-
- /**
- * Get a Service by name.
- *
- * @param resourceGroupName Name of the resource group in which workspace is located.
- * @param workspaceName Name of Azure Machine Learning workspace.
- * @param serviceName Name of the Azure Machine Learning service.
- * @param expand Set to True to include Model details.
- * @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 Service by name.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response getWithResponse(
- String resourceGroupName, String workspaceName, String serviceName, Boolean expand, Context context);
-
- /**
- * Delete a specific Service..
- *
- * @param resourceGroupName Name of the resource group in which workspace is located.
- * @param workspaceName Name of Azure Machine Learning workspace.
- * @param serviceName Name of the Azure Machine Learning service.
- * @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 serviceName);
-
- /**
- * Delete a specific Service..
- *
- * @param resourceGroupName Name of the resource group in which workspace is located.
- * @param workspaceName Name of Azure Machine Learning workspace.
- * @param serviceName Name of the Azure Machine Learning service.
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the response.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response deleteWithResponse(
- String resourceGroupName, String workspaceName, String serviceName, Context context);
-
- /**
- * Creates or updates service. This call will update a service if it exists. This is a nonrecoverable operation. If
- * your intent is to create a new service, do a GET first to verify that it does not exist yet.
- *
- * @param resourceGroupName Name of the resource group in which workspace is located.
- * @param workspaceName Name of Azure Machine Learning workspace.
- * @param serviceName Name of the Azure Machine Learning service.
- * @param properties The payload that is used to create or update the Service.
- * @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 machine Learning service object wrapped into ARM resource envelope.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- SyncPoller, ServiceResourceInner> beginCreateOrUpdate(
- String resourceGroupName, String workspaceName, String serviceName, CreateServiceRequest properties);
-
- /**
- * Creates or updates service. This call will update a service if it exists. This is a nonrecoverable operation. If
- * your intent is to create a new service, do a GET first to verify that it does not exist yet.
- *
- * @param resourceGroupName Name of the resource group in which workspace is located.
- * @param workspaceName Name of Azure Machine Learning workspace.
- * @param serviceName Name of the Azure Machine Learning service.
- * @param properties The payload that is used to create or update the Service.
- * @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 machine Learning service object wrapped into ARM resource envelope.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- SyncPoller, ServiceResourceInner> beginCreateOrUpdate(
- String resourceGroupName,
- String workspaceName,
- String serviceName,
- CreateServiceRequest properties,
- Context context);
-
- /**
- * Creates or updates service. This call will update a service if it exists. This is a nonrecoverable operation. If
- * your intent is to create a new service, do a GET first to verify that it does not exist yet.
- *
- * @param resourceGroupName Name of the resource group in which workspace is located.
- * @param workspaceName Name of Azure Machine Learning workspace.
- * @param serviceName Name of the Azure Machine Learning service.
- * @param properties The payload that is used to create or update the Service.
- * @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 machine Learning service object wrapped into ARM resource envelope.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- ServiceResourceInner createOrUpdate(
- String resourceGroupName, String workspaceName, String serviceName, CreateServiceRequest properties);
-
- /**
- * Creates or updates service. This call will update a service if it exists. This is a nonrecoverable operation. If
- * your intent is to create a new service, do a GET first to verify that it does not exist yet.
- *
- * @param resourceGroupName Name of the resource group in which workspace is located.
- * @param workspaceName Name of Azure Machine Learning workspace.
- * @param serviceName Name of the Azure Machine Learning service.
- * @param properties The payload that is used to create or update the Service.
- * @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 machine Learning service object wrapped into ARM resource envelope.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- ServiceResourceInner createOrUpdate(
- String resourceGroupName,
- String workspaceName,
- String serviceName,
- CreateServiceRequest properties,
- Context context);
-}
diff --git a/sdk/machinelearningservices/azure-resourcemanager-machinelearningservices/src/main/java/com/azure/resourcemanager/machinelearningservices/fluent/ModelContainersClient.java b/sdk/machinelearningservices/azure-resourcemanager-machinelearningservices/src/main/java/com/azure/resourcemanager/machinelearningservices/fluent/ModelContainersClient.java
new file mode 100644
index 000000000000..adba53a84647
--- /dev/null
+++ b/sdk/machinelearningservices/azure-resourcemanager-machinelearningservices/src/main/java/com/azure/resourcemanager/machinelearningservices/fluent/ModelContainersClient.java
@@ -0,0 +1,136 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.machinelearningservices.fluent;
+
+import com.azure.core.annotation.ReturnType;
+import com.azure.core.annotation.ServiceMethod;
+import com.azure.core.http.rest.PagedIterable;
+import com.azure.core.http.rest.Response;
+import com.azure.core.util.Context;
+import com.azure.resourcemanager.machinelearningservices.fluent.models.ModelContainerResourceInner;
+
+/** An instance of this class provides access to all the operations defined in ModelContainersClient. */
+public interface ModelContainersClient {
+ /**
+ * List model containers.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Name of Azure Machine Learning workspace.
+ * @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 paginated list of ModelContainer entities.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(String resourceGroupName, String workspaceName);
+
+ /**
+ * List model containers.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Name of Azure Machine Learning workspace.
+ * @param skip Continuation token for pagination.
+ * @param count Maximum number of results to return.
+ * @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 paginated list of ModelContainer entities.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(
+ String resourceGroupName, String workspaceName, String skip, Integer count, Context context);
+
+ /**
+ * Delete container.
+ *
+ * @param name Container name.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Name of Azure Machine Learning workspace.
+ * @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 name, String resourceGroupName, String workspaceName);
+
+ /**
+ * Delete container.
+ *
+ * @param name Container name.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Name of Azure Machine Learning workspace.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response deleteWithResponse(String name, String resourceGroupName, String workspaceName, Context context);
+
+ /**
+ * Get container.
+ *
+ * @param name Container name.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Name of Azure Machine Learning workspace.
+ * @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 container.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ ModelContainerResourceInner get(String name, String resourceGroupName, String workspaceName);
+
+ /**
+ * Get container.
+ *
+ * @param name Container name.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Name of Azure Machine Learning workspace.
+ * @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 container.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getWithResponse(
+ String name, String resourceGroupName, String workspaceName, Context context);
+
+ /**
+ * Create or update container.
+ *
+ * @param name Container name.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Name of Azure Machine Learning workspace.
+ * @param body Container entity to create or 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 azure Resource Manager resource envelope.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ ModelContainerResourceInner createOrUpdate(
+ String name, String resourceGroupName, String workspaceName, ModelContainerResourceInner body);
+
+ /**
+ * Create or update container.
+ *
+ * @param name Container name.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Name of Azure Machine Learning workspace.
+ * @param body Container entity to create or 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 azure Resource Manager resource envelope.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response createOrUpdateWithResponse(
+ String name, String resourceGroupName, String workspaceName, ModelContainerResourceInner body, Context context);
+}
diff --git a/sdk/machinelearningservices/azure-resourcemanager-machinelearningservices/src/main/java/com/azure/resourcemanager/machinelearningservices/fluent/ModelVersionsClient.java b/sdk/machinelearningservices/azure-resourcemanager-machinelearningservices/src/main/java/com/azure/resourcemanager/machinelearningservices/fluent/ModelVersionsClient.java
new file mode 100644
index 000000000000..00606e09e56e
--- /dev/null
+++ b/sdk/machinelearningservices/azure-resourcemanager-machinelearningservices/src/main/java/com/azure/resourcemanager/machinelearningservices/fluent/ModelVersionsClient.java
@@ -0,0 +1,167 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.machinelearningservices.fluent;
+
+import com.azure.core.annotation.ReturnType;
+import com.azure.core.annotation.ServiceMethod;
+import com.azure.core.http.rest.PagedIterable;
+import com.azure.core.http.rest.Response;
+import com.azure.core.util.Context;
+import com.azure.resourcemanager.machinelearningservices.fluent.models.ModelVersionResourceInner;
+
+/** An instance of this class provides access to all the operations defined in ModelVersionsClient. */
+public interface ModelVersionsClient {
+ /**
+ * List model versions.
+ *
+ * @param name Model name.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Name of Azure Machine Learning workspace.
+ * @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 paginated list of ModelVersion entities.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(String name, String resourceGroupName, String workspaceName);
+
+ /**
+ * List model versions.
+ *
+ * @param name Model name.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Name of Azure Machine Learning workspace.
+ * @param skip Continuation token for pagination.
+ * @param orderBy Ordering of list.
+ * @param top Maximum number of records to return.
+ * @param version Model version.
+ * @param description Model description.
+ * @param offset Number of initial results to skip.
+ * @param tags Comma-separated list of tag names (and optionally values). Example: tag1,tag2=value2.
+ * @param properties Comma-separated list of property names (and optionally values). Example: prop1,prop2=value2.
+ * @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 paginated list of ModelVersion entities.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(
+ String name,
+ String resourceGroupName,
+ String workspaceName,
+ String skip,
+ String orderBy,
+ Integer top,
+ String version,
+ String description,
+ Integer offset,
+ String tags,
+ String properties,
+ Context context);
+
+ /**
+ * Delete version.
+ *
+ * @param name Container name.
+ * @param version Version identifier.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Name of Azure Machine Learning workspace.
+ * @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 name, String version, String resourceGroupName, String workspaceName);
+
+ /**
+ * Delete version.
+ *
+ * @param name Container name.
+ * @param version Version identifier.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Name of Azure Machine Learning workspace.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response deleteWithResponse(
+ String name, String version, String resourceGroupName, String workspaceName, Context context);
+
+ /**
+ * Get version.
+ *
+ * @param name Container name.
+ * @param version Version identifier.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Name of Azure Machine Learning workspace.
+ * @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 version.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ ModelVersionResourceInner get(String name, String version, String resourceGroupName, String workspaceName);
+
+ /**
+ * Get version.
+ *
+ * @param name Container name.
+ * @param version Version identifier.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Name of Azure Machine Learning workspace.
+ * @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 version.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getWithResponse(
+ String name, String version, String resourceGroupName, String workspaceName, Context context);
+
+ /**
+ * Create or update version.
+ *
+ * @param name Container name.
+ * @param version Version identifier.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Name of Azure Machine Learning workspace.
+ * @param body Version entity to create or 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 azure Resource Manager resource envelope.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ ModelVersionResourceInner createOrUpdate(
+ String name, String version, String resourceGroupName, String workspaceName, ModelVersionResourceInner body);
+
+ /**
+ * Create or update version.
+ *
+ * @param name Container name.
+ * @param version Version identifier.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Name of Azure Machine Learning workspace.
+ * @param body Version entity to create or 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 azure Resource Manager resource envelope.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response createOrUpdateWithResponse(
+ String name,
+ String version,
+ String resourceGroupName,
+ String workspaceName,
+ ModelVersionResourceInner body,
+ Context context);
+}
diff --git a/sdk/machinelearningservices/azure-resourcemanager-machinelearningservices/src/main/java/com/azure/resourcemanager/machinelearningservices/fluent/NotebooksClient.java b/sdk/machinelearningservices/azure-resourcemanager-machinelearningservices/src/main/java/com/azure/resourcemanager/machinelearningservices/fluent/NotebooksClient.java
deleted file mode 100644
index 2e926970ec64..000000000000
--- a/sdk/machinelearningservices/azure-resourcemanager-machinelearningservices/src/main/java/com/azure/resourcemanager/machinelearningservices/fluent/NotebooksClient.java
+++ /dev/null
@@ -1,89 +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.machinelearningservices.fluent;
-
-import com.azure.core.annotation.ReturnType;
-import com.azure.core.annotation.ServiceMethod;
-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.machinelearningservices.fluent.models.ListNotebookKeysResultInner;
-import com.azure.resourcemanager.machinelearningservices.fluent.models.NotebookResourceInfoInner;
-
-/** An instance of this class provides access to all the operations defined in NotebooksClient. */
-public interface NotebooksClient {
- /**
- * @param resourceGroupName Name of the resource group in which workspace is located.
- * @param workspaceName Name of Azure Machine Learning workspace.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the response.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- SyncPoller, NotebookResourceInfoInner> beginPrepare(
- String resourceGroupName, String workspaceName);
-
- /**
- * @param resourceGroupName Name of the resource group in which workspace is located.
- * @param workspaceName Name of Azure Machine Learning workspace.
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the response.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- SyncPoller, NotebookResourceInfoInner> beginPrepare(
- String resourceGroupName, String workspaceName, Context context);
-
- /**
- * @param resourceGroupName Name of the resource group in which workspace is located.
- * @param workspaceName Name of Azure Machine Learning workspace.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the response.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- NotebookResourceInfoInner prepare(String resourceGroupName, String workspaceName);
-
- /**
- * @param resourceGroupName Name of the resource group in which workspace is located.
- * @param workspaceName Name of Azure Machine Learning workspace.
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the response.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- NotebookResourceInfoInner prepare(String resourceGroupName, String workspaceName, Context context);
-
- /**
- * @param resourceGroupName Name of the resource group in which workspace is located.
- * @param workspaceName Name of Azure Machine Learning workspace.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the response.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- ListNotebookKeysResultInner listKeys(String resourceGroupName, String workspaceName);
-
- /**
- * @param resourceGroupName Name of the resource group in which workspace is located.
- * @param workspaceName Name of Azure Machine Learning workspace.
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the response.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response listKeysWithResponse(
- String resourceGroupName, String workspaceName, Context context);
-}
diff --git a/sdk/machinelearningservices/azure-resourcemanager-machinelearningservices/src/main/java/com/azure/resourcemanager/machinelearningservices/fluent/OnlineDeploymentsClient.java b/sdk/machinelearningservices/azure-resourcemanager-machinelearningservices/src/main/java/com/azure/resourcemanager/machinelearningservices/fluent/OnlineDeploymentsClient.java
new file mode 100644
index 000000000000..9b5d45fc1028
--- /dev/null
+++ b/sdk/machinelearningservices/azure-resourcemanager-machinelearningservices/src/main/java/com/azure/resourcemanager/machinelearningservices/fluent/OnlineDeploymentsClient.java
@@ -0,0 +1,378 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.machinelearningservices.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.machinelearningservices.fluent.models.DeploymentLogsInner;
+import com.azure.resourcemanager.machinelearningservices.fluent.models.OnlineDeploymentTrackedResourceInner;
+import com.azure.resourcemanager.machinelearningservices.models.DeploymentLogsRequest;
+import com.azure.resourcemanager.machinelearningservices.models.PartialOnlineDeploymentPartialTrackedResource;
+
+/** An instance of this class provides access to all the operations defined in OnlineDeploymentsClient. */
+public interface OnlineDeploymentsClient {
+ /**
+ * List Inference Endpoint Deployments.
+ *
+ * @param endpointName Inference endpoint name.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Name of Azure Machine Learning workspace.
+ * @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 paginated list of OnlineDeployment entities.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(
+ String endpointName, String resourceGroupName, String workspaceName);
+
+ /**
+ * List Inference Endpoint Deployments.
+ *
+ * @param endpointName Inference endpoint name.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Name of Azure Machine Learning workspace.
+ * @param orderBy Ordering of list.
+ * @param top Top of list.
+ * @param skip Continuation token for pagination.
+ * @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 paginated list of OnlineDeployment entities.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(
+ String endpointName,
+ String resourceGroupName,
+ String workspaceName,
+ String orderBy,
+ Integer top,
+ String skip,
+ Context context);
+
+ /**
+ * Delete Inference Endpoint Deployment (asynchronous).
+ *
+ * @param endpointName Inference endpoint name.
+ * @param deploymentName Inference Endpoint Deployment name.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Name of Azure Machine Learning workspace.
+ * @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 endpointName, String deploymentName, String resourceGroupName, String workspaceName);
+
+ /**
+ * Delete Inference Endpoint Deployment (asynchronous).
+ *
+ * @param endpointName Inference endpoint name.
+ * @param deploymentName Inference Endpoint Deployment name.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Name of Azure Machine Learning workspace.
+ * @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 endpointName, String deploymentName, String resourceGroupName, String workspaceName, Context context);
+
+ /**
+ * Delete Inference Endpoint Deployment (asynchronous).
+ *
+ * @param endpointName Inference endpoint name.
+ * @param deploymentName Inference Endpoint Deployment name.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Name of Azure Machine Learning workspace.
+ * @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 endpointName, String deploymentName, String resourceGroupName, String workspaceName);
+
+ /**
+ * Delete Inference Endpoint Deployment (asynchronous).
+ *
+ * @param endpointName Inference endpoint name.
+ * @param deploymentName Inference Endpoint Deployment name.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Name of Azure Machine Learning workspace.
+ * @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 endpointName, String deploymentName, String resourceGroupName, String workspaceName, Context context);
+
+ /**
+ * Get Inference Deployment Deployment.
+ *
+ * @param endpointName Inference endpoint name.
+ * @param deploymentName Inference Endpoint Deployment name.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Name of Azure Machine Learning workspace.
+ * @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 inference Deployment Deployment.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ OnlineDeploymentTrackedResourceInner get(
+ String endpointName, String deploymentName, String resourceGroupName, String workspaceName);
+
+ /**
+ * Get Inference Deployment Deployment.
+ *
+ * @param endpointName Inference endpoint name.
+ * @param deploymentName Inference Endpoint Deployment name.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Name of Azure Machine Learning workspace.
+ * @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 inference Deployment Deployment.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getWithResponse(
+ String endpointName, String deploymentName, String resourceGroupName, String workspaceName, Context context);
+
+ /**
+ * Update Online Deployment (asynchronous).
+ *
+ * @param endpointName Online Endpoint name.
+ * @param deploymentName Inference Endpoint Deployment name.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Name of Azure Machine Learning workspace.
+ * @param body Online Endpoint entity to apply during operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ SyncPoller, OnlineDeploymentTrackedResourceInner> beginUpdate(
+ String endpointName,
+ String deploymentName,
+ String resourceGroupName,
+ String workspaceName,
+ PartialOnlineDeploymentPartialTrackedResource body);
+
+ /**
+ * Update Online Deployment (asynchronous).
+ *
+ * @param endpointName Online Endpoint name.
+ * @param deploymentName Inference Endpoint Deployment name.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Name of Azure Machine Learning workspace.
+ * @param body Online Endpoint entity to apply during operation.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ SyncPoller, OnlineDeploymentTrackedResourceInner> beginUpdate(
+ String endpointName,
+ String deploymentName,
+ String resourceGroupName,
+ String workspaceName,
+ PartialOnlineDeploymentPartialTrackedResource body,
+ Context context);
+
+ /**
+ * Update Online Deployment (asynchronous).
+ *
+ * @param endpointName Online Endpoint name.
+ * @param deploymentName Inference Endpoint Deployment name.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Name of Azure Machine Learning workspace.
+ * @param body Online Endpoint entity to apply during operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ OnlineDeploymentTrackedResourceInner update(
+ String endpointName,
+ String deploymentName,
+ String resourceGroupName,
+ String workspaceName,
+ PartialOnlineDeploymentPartialTrackedResource body);
+
+ /**
+ * Update Online Deployment (asynchronous).
+ *
+ * @param endpointName Online Endpoint name.
+ * @param deploymentName Inference Endpoint Deployment name.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Name of Azure Machine Learning workspace.
+ * @param body Online Endpoint entity to apply during operation.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ OnlineDeploymentTrackedResourceInner update(
+ String endpointName,
+ String deploymentName,
+ String resourceGroupName,
+ String workspaceName,
+ PartialOnlineDeploymentPartialTrackedResource body,
+ Context context);
+
+ /**
+ * Create or update Inference Endpoint Deployment (asynchronous).
+ *
+ * @param endpointName Inference endpoint name.
+ * @param deploymentName Inference Endpoint Deployment name.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Name of Azure Machine Learning workspace.
+ * @param body Inference Endpoint entity to apply during operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ SyncPoller, OnlineDeploymentTrackedResourceInner>
+ beginCreateOrUpdate(
+ String endpointName,
+ String deploymentName,
+ String resourceGroupName,
+ String workspaceName,
+ OnlineDeploymentTrackedResourceInner body);
+
+ /**
+ * Create or update Inference Endpoint Deployment (asynchronous).
+ *
+ * @param endpointName Inference endpoint name.
+ * @param deploymentName Inference Endpoint Deployment name.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Name of Azure Machine Learning workspace.
+ * @param body Inference Endpoint entity to apply during operation.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ SyncPoller, OnlineDeploymentTrackedResourceInner>
+ beginCreateOrUpdate(
+ String endpointName,
+ String deploymentName,
+ String resourceGroupName,
+ String workspaceName,
+ OnlineDeploymentTrackedResourceInner body,
+ Context context);
+
+ /**
+ * Create or update Inference Endpoint Deployment (asynchronous).
+ *
+ * @param endpointName Inference endpoint name.
+ * @param deploymentName Inference Endpoint Deployment name.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Name of Azure Machine Learning workspace.
+ * @param body Inference Endpoint entity to apply during operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ OnlineDeploymentTrackedResourceInner createOrUpdate(
+ String endpointName,
+ String deploymentName,
+ String resourceGroupName,
+ String workspaceName,
+ OnlineDeploymentTrackedResourceInner body);
+
+ /**
+ * Create or update Inference Endpoint Deployment (asynchronous).
+ *
+ * @param endpointName Inference endpoint name.
+ * @param deploymentName Inference Endpoint Deployment name.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Name of Azure Machine Learning workspace.
+ * @param body Inference Endpoint entity to apply during operation.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ OnlineDeploymentTrackedResourceInner createOrUpdate(
+ String endpointName,
+ String deploymentName,
+ String resourceGroupName,
+ String workspaceName,
+ OnlineDeploymentTrackedResourceInner body,
+ Context context);
+
+ /**
+ * Polls an Endpoint operation.
+ *
+ * @param endpointName Inference endpoint name.
+ * @param deploymentName The name and identifier for the endpoint.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Name of Azure Machine Learning workspace.
+ * @param body The request containing parameters for retrieving logs.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ DeploymentLogsInner getLogs(
+ String endpointName,
+ String deploymentName,
+ String resourceGroupName,
+ String workspaceName,
+ DeploymentLogsRequest body);
+
+ /**
+ * Polls an Endpoint operation.
+ *
+ * @param endpointName Inference endpoint name.
+ * @param deploymentName The name and identifier for the endpoint.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Name of Azure Machine Learning workspace.
+ * @param body The request containing parameters for retrieving logs.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getLogsWithResponse(
+ String endpointName,
+ String deploymentName,
+ String resourceGroupName,
+ String workspaceName,
+ DeploymentLogsRequest body,
+ Context context);
+}
diff --git a/sdk/machinelearningservices/azure-resourcemanager-machinelearningservices/src/main/java/com/azure/resourcemanager/machinelearningservices/fluent/OnlineEndpointsClient.java b/sdk/machinelearningservices/azure-resourcemanager-machinelearningservices/src/main/java/com/azure/resourcemanager/machinelearningservices/fluent/OnlineEndpointsClient.java
new file mode 100644
index 000000000000..4ca3ec681528
--- /dev/null
+++ b/sdk/machinelearningservices/azure-resourcemanager-machinelearningservices/src/main/java/com/azure/resourcemanager/machinelearningservices/fluent/OnlineEndpointsClient.java
@@ -0,0 +1,442 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.machinelearningservices.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.machinelearningservices.fluent.models.EndpointAuthKeysInner;
+import com.azure.resourcemanager.machinelearningservices.fluent.models.EndpointAuthTokenInner;
+import com.azure.resourcemanager.machinelearningservices.fluent.models.OnlineEndpointTrackedResourceInner;
+import com.azure.resourcemanager.machinelearningservices.models.EndpointComputeType;
+import com.azure.resourcemanager.machinelearningservices.models.OrderString;
+import com.azure.resourcemanager.machinelearningservices.models.PartialOnlineEndpointPartialTrackedResource;
+import com.azure.resourcemanager.machinelearningservices.models.RegenerateEndpointKeysRequest;
+
+/** An instance of this class provides access to all the operations defined in OnlineEndpointsClient. */
+public interface OnlineEndpointsClient {
+ /**
+ * List Online Endpoints.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Name of Azure Machine Learning workspace.
+ * @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 paginated list of OnlineEndpoint entities.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(String resourceGroupName, String workspaceName);
+
+ /**
+ * List Online Endpoints.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Name of Azure Machine Learning workspace.
+ * @param name Name of the endpoint.
+ * @param count Number of endpoints to be retrieved in a page of results.
+ * @param computeType EndpointComputeType to be filtered by.
+ * @param skip Continuation token for pagination.
+ * @param tags A set of tags with which to filter the returned models. It is a comma separated string of tags key or
+ * tags key=value. Example: tagKey1,tagKey2,tagKey3=value3 .
+ * @param properties A set of properties with which to filter the returned models. It is a comma separated string of
+ * properties key and/or properties key=value Example: propKey1,propKey2,propKey3=value3 .
+ * @param orderBy The option to order the response.
+ * @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 paginated list of OnlineEndpoint entities.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(
+ String resourceGroupName,
+ String workspaceName,
+ String name,
+ Integer count,
+ EndpointComputeType computeType,
+ String skip,
+ String tags,
+ String properties,
+ OrderString orderBy,
+ Context context);
+
+ /**
+ * Delete Online Endpoint (asynchronous).
+ *
+ * @param endpointName Online Endpoint name.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Name of Azure Machine Learning workspace.
+ * @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 endpointName, String resourceGroupName, String workspaceName);
+
+ /**
+ * Delete Online Endpoint (asynchronous).
+ *
+ * @param endpointName Online Endpoint name.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Name of Azure Machine Learning workspace.
+ * @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 endpointName, String resourceGroupName, String workspaceName, Context context);
+
+ /**
+ * Delete Online Endpoint (asynchronous).
+ *
+ * @param endpointName Online Endpoint name.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Name of Azure Machine Learning workspace.
+ * @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 endpointName, String resourceGroupName, String workspaceName);
+
+ /**
+ * Delete Online Endpoint (asynchronous).
+ *
+ * @param endpointName Online Endpoint name.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Name of Azure Machine Learning workspace.
+ * @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 endpointName, String resourceGroupName, String workspaceName, Context context);
+
+ /**
+ * Get Online Endpoint.
+ *
+ * @param endpointName Online Endpoint name.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Name of Azure Machine Learning workspace.
+ * @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 online Endpoint.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ OnlineEndpointTrackedResourceInner get(String endpointName, String resourceGroupName, String workspaceName);
+
+ /**
+ * Get Online Endpoint.
+ *
+ * @param endpointName Online Endpoint name.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Name of Azure Machine Learning workspace.
+ * @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 online Endpoint.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getWithResponse(
+ String endpointName, String resourceGroupName, String workspaceName, Context context);
+
+ /**
+ * Update Online Endpoint (asynchronous).
+ *
+ * @param endpointName Online Endpoint name.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Name of Azure Machine Learning workspace.
+ * @param body Online Endpoint entity to apply during operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ SyncPoller, OnlineEndpointTrackedResourceInner> beginUpdate(
+ String endpointName,
+ String resourceGroupName,
+ String workspaceName,
+ PartialOnlineEndpointPartialTrackedResource body);
+
+ /**
+ * Update Online Endpoint (asynchronous).
+ *
+ * @param endpointName Online Endpoint name.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Name of Azure Machine Learning workspace.
+ * @param body Online Endpoint entity to apply during operation.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ SyncPoller, OnlineEndpointTrackedResourceInner> beginUpdate(
+ String endpointName,
+ String resourceGroupName,
+ String workspaceName,
+ PartialOnlineEndpointPartialTrackedResource body,
+ Context context);
+
+ /**
+ * Update Online Endpoint (asynchronous).
+ *
+ * @param endpointName Online Endpoint name.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Name of Azure Machine Learning workspace.
+ * @param body Online Endpoint entity to apply during operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ OnlineEndpointTrackedResourceInner update(
+ String endpointName,
+ String resourceGroupName,
+ String workspaceName,
+ PartialOnlineEndpointPartialTrackedResource body);
+
+ /**
+ * Update Online Endpoint (asynchronous).
+ *
+ * @param endpointName Online Endpoint name.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Name of Azure Machine Learning workspace.
+ * @param body Online Endpoint entity to apply during operation.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ OnlineEndpointTrackedResourceInner update(
+ String endpointName,
+ String resourceGroupName,
+ String workspaceName,
+ PartialOnlineEndpointPartialTrackedResource body,
+ Context context);
+
+ /**
+ * Create or update Online Endpoint (asynchronous).
+ *
+ * @param endpointName Online Endpoint name.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Name of Azure Machine Learning workspace.
+ * @param body Online Endpoint entity to apply during operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ SyncPoller, OnlineEndpointTrackedResourceInner> beginCreateOrUpdate(
+ String endpointName, String resourceGroupName, String workspaceName, OnlineEndpointTrackedResourceInner body);
+
+ /**
+ * Create or update Online Endpoint (asynchronous).
+ *
+ * @param endpointName Online Endpoint name.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Name of Azure Machine Learning workspace.
+ * @param body Online Endpoint entity to apply during operation.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ SyncPoller, OnlineEndpointTrackedResourceInner> beginCreateOrUpdate(
+ String endpointName,
+ String resourceGroupName,
+ String workspaceName,
+ OnlineEndpointTrackedResourceInner body,
+ Context context);
+
+ /**
+ * Create or update Online Endpoint (asynchronous).
+ *
+ * @param endpointName Online Endpoint name.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Name of Azure Machine Learning workspace.
+ * @param body Online Endpoint entity to apply during operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ OnlineEndpointTrackedResourceInner createOrUpdate(
+ String endpointName, String resourceGroupName, String workspaceName, OnlineEndpointTrackedResourceInner body);
+
+ /**
+ * Create or update Online Endpoint (asynchronous).
+ *
+ * @param endpointName Online Endpoint name.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Name of Azure Machine Learning workspace.
+ * @param body Online Endpoint entity to apply during operation.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ OnlineEndpointTrackedResourceInner createOrUpdate(
+ String endpointName,
+ String resourceGroupName,
+ String workspaceName,
+ OnlineEndpointTrackedResourceInner body,
+ Context context);
+
+ /**
+ * List EndpointAuthKeys for an Endpoint using Key-based authentication.
+ *
+ * @param endpointName Online Endpoint name.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Name of Azure Machine Learning workspace.
+ * @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 keys for endpoint authentication.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ EndpointAuthKeysInner listKeys(String endpointName, String resourceGroupName, String workspaceName);
+
+ /**
+ * List EndpointAuthKeys for an Endpoint using Key-based authentication.
+ *
+ * @param endpointName Online Endpoint name.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Name of Azure Machine Learning workspace.
+ * @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 keys for endpoint authentication.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response listKeysWithResponse(
+ String endpointName, String resourceGroupName, String workspaceName, Context context);
+
+ /**
+ * Regenerate EndpointAuthKeys for an Endpoint using Key-based authentication (asynchronous).
+ *
+ * @param endpointName Online Endpoint name.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Name of Azure Machine Learning workspace.
+ * @param body RegenerateKeys request .
+ * @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> beginRegenerateKeys(
+ String endpointName, String resourceGroupName, String workspaceName, RegenerateEndpointKeysRequest body);
+
+ /**
+ * Regenerate EndpointAuthKeys for an Endpoint using Key-based authentication (asynchronous).
+ *
+ * @param endpointName Online Endpoint name.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Name of Azure Machine Learning workspace.
+ * @param body RegenerateKeys request .
+ * @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> beginRegenerateKeys(
+ String endpointName,
+ String resourceGroupName,
+ String workspaceName,
+ RegenerateEndpointKeysRequest body,
+ Context context);
+
+ /**
+ * Regenerate EndpointAuthKeys for an Endpoint using Key-based authentication (asynchronous).
+ *
+ * @param endpointName Online Endpoint name.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Name of Azure Machine Learning workspace.
+ * @param body RegenerateKeys request .
+ * @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 regenerateKeys(
+ String endpointName, String resourceGroupName, String workspaceName, RegenerateEndpointKeysRequest body);
+
+ /**
+ * Regenerate EndpointAuthKeys for an Endpoint using Key-based authentication (asynchronous).
+ *
+ * @param endpointName Online Endpoint name.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Name of Azure Machine Learning workspace.
+ * @param body RegenerateKeys request .
+ * @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 regenerateKeys(
+ String endpointName,
+ String resourceGroupName,
+ String workspaceName,
+ RegenerateEndpointKeysRequest body,
+ Context context);
+
+ /**
+ * Retrieve a valid AAD token for an Endpoint using AMLToken-based authentication.
+ *
+ * @param endpointName Online Endpoint name.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Name of Azure Machine Learning workspace.
+ * @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 service Token.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ EndpointAuthTokenInner getToken(String endpointName, String resourceGroupName, String workspaceName);
+
+ /**
+ * Retrieve a valid AAD token for an Endpoint using AMLToken-based authentication.
+ *
+ * @param endpointName Online Endpoint name.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Name of Azure Machine Learning workspace.
+ * @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 service Token.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getTokenWithResponse(
+ String endpointName, String resourceGroupName, String workspaceName, Context context);
+}
diff --git a/sdk/machinelearningservices/azure-resourcemanager-machinelearningservices/src/main/java/com/azure/resourcemanager/machinelearningservices/fluent/PrivateEndpointConnectionsClient.java b/sdk/machinelearningservices/azure-resourcemanager-machinelearningservices/src/main/java/com/azure/resourcemanager/machinelearningservices/fluent/PrivateEndpointConnectionsClient.java
index 28c1ae787989..921469a96775 100644
--- a/sdk/machinelearningservices/azure-resourcemanager-machinelearningservices/src/main/java/com/azure/resourcemanager/machinelearningservices/fluent/PrivateEndpointConnectionsClient.java
+++ b/sdk/machinelearningservices/azure-resourcemanager-machinelearningservices/src/main/java/com/azure/resourcemanager/machinelearningservices/fluent/PrivateEndpointConnectionsClient.java
@@ -6,16 +6,44 @@
import com.azure.core.annotation.ReturnType;
import com.azure.core.annotation.ServiceMethod;
+import com.azure.core.http.rest.PagedIterable;
import com.azure.core.http.rest.Response;
import com.azure.core.util.Context;
import com.azure.resourcemanager.machinelearningservices.fluent.models.PrivateEndpointConnectionInner;
/** An instance of this class provides access to all the operations defined in PrivateEndpointConnectionsClient. */
public interface PrivateEndpointConnectionsClient {
+ /**
+ * List all the private endpoint connections associated with the workspace.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Name of Azure Machine Learning workspace.
+ * @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 list of private endpoint connection associated with the specified workspace.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(String resourceGroupName, String workspaceName);
+
+ /**
+ * List all the private endpoint connections associated with the workspace.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Name of Azure Machine Learning workspace.
+ * @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 list of private endpoint connection associated with the specified workspace.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(String resourceGroupName, String workspaceName, Context context);
+
/**
* Gets the specified private endpoint connection associated with the workspace.
*
- * @param resourceGroupName Name of the resource group in which workspace is located.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName Name of Azure Machine Learning workspace.
* @param privateEndpointConnectionName The name of the private endpoint connection associated with the workspace.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -30,7 +58,7 @@ PrivateEndpointConnectionInner get(
/**
* Gets the specified private endpoint connection associated with the workspace.
*
- * @param resourceGroupName Name of the resource group in which workspace is located.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName Name of Azure Machine Learning workspace.
* @param privateEndpointConnectionName The name of the private endpoint connection associated with the workspace.
* @param context The context to associate with this operation.
@@ -46,7 +74,7 @@ Response getWithResponse(
/**
* Update the state of specified private endpoint connection associated with the workspace.
*
- * @param resourceGroupName Name of the resource group in which workspace is located.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName Name of Azure Machine Learning workspace.
* @param privateEndpointConnectionName The name of the private endpoint connection associated with the workspace.
* @param properties The private endpoint connection properties.
@@ -56,7 +84,7 @@ Response getWithResponse(
* @return the Private Endpoint Connection resource.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- PrivateEndpointConnectionInner put(
+ PrivateEndpointConnectionInner createOrUpdate(
String resourceGroupName,
String workspaceName,
String privateEndpointConnectionName,
@@ -65,7 +93,7 @@ PrivateEndpointConnectionInner put(
/**
* Update the state of specified private endpoint connection associated with the workspace.
*
- * @param resourceGroupName Name of the resource group in which workspace is located.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName Name of Azure Machine Learning workspace.
* @param privateEndpointConnectionName The name of the private endpoint connection associated with the workspace.
* @param properties The private endpoint connection properties.
@@ -76,7 +104,7 @@ PrivateEndpointConnectionInner put(
* @return the Private Endpoint Connection resource.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response putWithResponse(
+ Response createOrUpdateWithResponse(
String resourceGroupName,
String workspaceName,
String privateEndpointConnectionName,
@@ -86,7 +114,7 @@ Response putWithResponse(
/**
* Deletes the specified private endpoint connection associated with the workspace.
*
- * @param resourceGroupName Name of the resource group in which workspace is located.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName Name of Azure Machine Learning workspace.
* @param privateEndpointConnectionName The name of the private endpoint connection associated with the workspace.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -99,7 +127,7 @@ Response putWithResponse(
/**
* Deletes the specified private endpoint connection associated with the workspace.
*
- * @param resourceGroupName Name of the resource group in which workspace is located.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName Name of Azure Machine Learning workspace.
* @param privateEndpointConnectionName The name of the private endpoint connection associated with the workspace.
* @param context The context to associate with this operation.
diff --git a/sdk/machinelearningservices/azure-resourcemanager-machinelearningservices/src/main/java/com/azure/resourcemanager/machinelearningservices/fluent/PrivateLinkResourcesClient.java b/sdk/machinelearningservices/azure-resourcemanager-machinelearningservices/src/main/java/com/azure/resourcemanager/machinelearningservices/fluent/PrivateLinkResourcesClient.java
index 8ab1afdbdaeb..c433852e73ee 100644
--- a/sdk/machinelearningservices/azure-resourcemanager-machinelearningservices/src/main/java/com/azure/resourcemanager/machinelearningservices/fluent/PrivateLinkResourcesClient.java
+++ b/sdk/machinelearningservices/azure-resourcemanager-machinelearningservices/src/main/java/com/azure/resourcemanager/machinelearningservices/fluent/PrivateLinkResourcesClient.java
@@ -15,7 +15,7 @@ public interface PrivateLinkResourcesClient {
/**
* Gets the private link resources that need to be created for a workspace.
*
- * @param resourceGroupName Name of the resource group in which workspace is located.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName Name of Azure Machine Learning workspace.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -23,12 +23,12 @@ public interface PrivateLinkResourcesClient {
* @return the private link resources that need to be created for a workspace.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- PrivateLinkResourceListResultInner listByWorkspace(String resourceGroupName, String workspaceName);
+ PrivateLinkResourceListResultInner list(String resourceGroupName, String workspaceName);
/**
* Gets the private link resources that need to be created for a workspace.
*
- * @param resourceGroupName Name of the resource group in which workspace is located.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName Name of Azure Machine Learning workspace.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -37,6 +37,6 @@ public interface PrivateLinkResourcesClient {
* @return the private link resources that need to be created for a workspace.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response listByWorkspaceWithResponse(
+ Response listWithResponse(
String resourceGroupName, String workspaceName, Context context);
}
diff --git a/sdk/machinelearningservices/azure-resourcemanager-machinelearningservices/src/main/java/com/azure/resourcemanager/machinelearningservices/fluent/StorageAccountsClient.java b/sdk/machinelearningservices/azure-resourcemanager-machinelearningservices/src/main/java/com/azure/resourcemanager/machinelearningservices/fluent/StorageAccountsClient.java
deleted file mode 100644
index 95a577f1d77d..000000000000
--- a/sdk/machinelearningservices/azure-resourcemanager-machinelearningservices/src/main/java/com/azure/resourcemanager/machinelearningservices/fluent/StorageAccountsClient.java
+++ /dev/null
@@ -1,38 +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.machinelearningservices.fluent;
-
-import com.azure.core.annotation.ReturnType;
-import com.azure.core.annotation.ServiceMethod;
-import com.azure.core.http.rest.Response;
-import com.azure.core.util.Context;
-import com.azure.resourcemanager.machinelearningservices.fluent.models.ListStorageAccountKeysResultInner;
-
-/** An instance of this class provides access to all the operations defined in StorageAccountsClient. */
-public interface StorageAccountsClient {
- /**
- * @param resourceGroupName Name of the resource group in which workspace is located.
- * @param workspaceName Name of Azure Machine Learning workspace.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the response.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- ListStorageAccountKeysResultInner listKeys(String resourceGroupName, String workspaceName);
-
- /**
- * @param resourceGroupName Name of the resource group in which workspace is located.
- * @param workspaceName Name of Azure Machine Learning workspace.
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the response.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response listKeysWithResponse(
- String resourceGroupName, String workspaceName, Context context);
-}
diff --git a/sdk/machinelearningservices/azure-resourcemanager-machinelearningservices/src/main/java/com/azure/resourcemanager/machinelearningservices/fluent/WorkspaceConnectionsClient.java b/sdk/machinelearningservices/azure-resourcemanager-machinelearningservices/src/main/java/com/azure/resourcemanager/machinelearningservices/fluent/WorkspaceConnectionsClient.java
index e595d0c2001b..e64714d48c2f 100644
--- a/sdk/machinelearningservices/azure-resourcemanager-machinelearningservices/src/main/java/com/azure/resourcemanager/machinelearningservices/fluent/WorkspaceConnectionsClient.java
+++ b/sdk/machinelearningservices/azure-resourcemanager-machinelearningservices/src/main/java/com/azure/resourcemanager/machinelearningservices/fluent/WorkspaceConnectionsClient.java
@@ -10,14 +10,13 @@
import com.azure.core.http.rest.Response;
import com.azure.core.util.Context;
import com.azure.resourcemanager.machinelearningservices.fluent.models.WorkspaceConnectionInner;
-import com.azure.resourcemanager.machinelearningservices.models.WorkspaceConnectionDto;
/** An instance of this class provides access to all the operations defined in WorkspaceConnectionsClient. */
public interface WorkspaceConnectionsClient {
/**
* List all connections under a AML workspace.
*
- * @param resourceGroupName Name of the resource group in which workspace is located.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName Name of Azure Machine Learning workspace.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -30,7 +29,7 @@ public interface WorkspaceConnectionsClient {
/**
* List all connections under a AML workspace.
*
- * @param resourceGroupName Name of the resource group in which workspace is located.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName Name of Azure Machine Learning workspace.
* @param target Target of the workspace connection.
* @param category Category of the workspace connection.
@@ -47,7 +46,7 @@ PagedIterable list(
/**
* Add a new workspace connection.
*
- * @param resourceGroupName Name of the resource group in which workspace is located.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName Name of Azure Machine Learning workspace.
* @param connectionName Friendly name of the workspace connection.
* @param parameters The object for creating or updating a new workspace connection.
@@ -58,12 +57,12 @@ PagedIterable list(
*/
@ServiceMethod(returns = ReturnType.SINGLE)
WorkspaceConnectionInner create(
- String resourceGroupName, String workspaceName, String connectionName, WorkspaceConnectionDto parameters);
+ String resourceGroupName, String workspaceName, String connectionName, WorkspaceConnectionInner parameters);
/**
* Add a new workspace connection.
*
- * @param resourceGroupName Name of the resource group in which workspace is located.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName Name of Azure Machine Learning workspace.
* @param connectionName Friendly name of the workspace connection.
* @param parameters The object for creating or updating a new workspace connection.
@@ -78,13 +77,13 @@ Response createWithResponse(
String resourceGroupName,
String workspaceName,
String connectionName,
- WorkspaceConnectionDto parameters,
+ WorkspaceConnectionInner parameters,
Context context);
/**
* Get the detail of a workspace connection.
*
- * @param resourceGroupName Name of the resource group in which workspace is located.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName Name of Azure Machine Learning workspace.
* @param connectionName Friendly name of the workspace connection.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -98,7 +97,7 @@ Response createWithResponse(
/**
* Get the detail of a workspace connection.
*
- * @param resourceGroupName Name of the resource group in which workspace is located.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName Name of Azure Machine Learning workspace.
* @param connectionName Friendly name of the workspace connection.
* @param context The context to associate with this operation.
@@ -114,7 +113,7 @@ Response getWithResponse(
/**
* Delete a workspace connection.
*
- * @param resourceGroupName Name of the resource group in which workspace is located.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName Name of Azure Machine Learning workspace.
* @param connectionName Friendly name of the workspace connection.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -127,7 +126,7 @@ Response getWithResponse(
/**
* Delete a workspace connection.
*
- * @param resourceGroupName Name of the resource group in which workspace is located.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName Name of Azure Machine Learning workspace.
* @param connectionName Friendly name of the workspace connection.
* @param context The context to associate with this operation.
diff --git a/sdk/machinelearningservices/azure-resourcemanager-machinelearningservices/src/main/java/com/azure/resourcemanager/machinelearningservices/fluent/WorkspaceFeaturesClient.java b/sdk/machinelearningservices/azure-resourcemanager-machinelearningservices/src/main/java/com/azure/resourcemanager/machinelearningservices/fluent/WorkspaceFeaturesClient.java
index f6451157bc19..e93a4142606b 100644
--- a/sdk/machinelearningservices/azure-resourcemanager-machinelearningservices/src/main/java/com/azure/resourcemanager/machinelearningservices/fluent/WorkspaceFeaturesClient.java
+++ b/sdk/machinelearningservices/azure-resourcemanager-machinelearningservices/src/main/java/com/azure/resourcemanager/machinelearningservices/fluent/WorkspaceFeaturesClient.java
@@ -15,7 +15,7 @@ public interface WorkspaceFeaturesClient {
/**
* Lists all enabled features for a workspace.
*
- * @param resourceGroupName Name of the resource group in which workspace is located.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName Name of Azure Machine Learning workspace.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -28,7 +28,7 @@ public interface WorkspaceFeaturesClient {
/**
* Lists all enabled features for a workspace.
*
- * @param resourceGroupName Name of the resource group in which workspace is located.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName Name of Azure Machine Learning workspace.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
diff --git a/sdk/machinelearningservices/azure-resourcemanager-machinelearningservices/src/main/java/com/azure/resourcemanager/machinelearningservices/fluent/WorkspaceOperationsClient.java b/sdk/machinelearningservices/azure-resourcemanager-machinelearningservices/src/main/java/com/azure/resourcemanager/machinelearningservices/fluent/WorkspaceSkusClient.java
similarity index 87%
rename from sdk/machinelearningservices/azure-resourcemanager-machinelearningservices/src/main/java/com/azure/resourcemanager/machinelearningservices/fluent/WorkspaceOperationsClient.java
rename to sdk/machinelearningservices/azure-resourcemanager-machinelearningservices/src/main/java/com/azure/resourcemanager/machinelearningservices/fluent/WorkspaceSkusClient.java
index 6cc8f4f46345..e1182d56a0fa 100644
--- a/sdk/machinelearningservices/azure-resourcemanager-machinelearningservices/src/main/java/com/azure/resourcemanager/machinelearningservices/fluent/WorkspaceOperationsClient.java
+++ b/sdk/machinelearningservices/azure-resourcemanager-machinelearningservices/src/main/java/com/azure/resourcemanager/machinelearningservices/fluent/WorkspaceSkusClient.java
@@ -10,8 +10,8 @@
import com.azure.core.util.Context;
import com.azure.resourcemanager.machinelearningservices.fluent.models.WorkspaceSkuInner;
-/** An instance of this class provides access to all the operations defined in WorkspaceOperationsClient. */
-public interface WorkspaceOperationsClient {
+/** An instance of this class provides access to all the operations defined in WorkspaceSkusClient. */
+public interface WorkspaceSkusClient {
/**
* Lists all skus with associated features.
*
@@ -20,7 +20,7 @@ public interface WorkspaceOperationsClient {
* @return list of skus with features.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable listSkus();
+ PagedIterable list();
/**
* Lists all skus with associated features.
@@ -32,5 +32,5 @@ public interface WorkspaceOperationsClient {
* @return list of skus with features.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable listSkus(Context context);
+ PagedIterable list(Context context);
}
diff --git a/sdk/machinelearningservices/azure-resourcemanager-machinelearningservices/src/main/java/com/azure/resourcemanager/machinelearningservices/fluent/WorkspacesClient.java b/sdk/machinelearningservices/azure-resourcemanager-machinelearningservices/src/main/java/com/azure/resourcemanager/machinelearningservices/fluent/WorkspacesClient.java
index f412c73fd058..7ab98bb94c0e 100644
--- a/sdk/machinelearningservices/azure-resourcemanager-machinelearningservices/src/main/java/com/azure/resourcemanager/machinelearningservices/fluent/WorkspacesClient.java
+++ b/sdk/machinelearningservices/azure-resourcemanager-machinelearningservices/src/main/java/com/azure/resourcemanager/machinelearningservices/fluent/WorkspacesClient.java
@@ -11,8 +11,11 @@
import com.azure.core.management.polling.PollResult;
import com.azure.core.util.Context;
import com.azure.core.util.polling.SyncPoller;
+import com.azure.resourcemanager.machinelearningservices.fluent.models.ListNotebookKeysResultInner;
+import com.azure.resourcemanager.machinelearningservices.fluent.models.ListStorageAccountKeysResultInner;
import com.azure.resourcemanager.machinelearningservices.fluent.models.ListWorkspaceKeysResultInner;
import com.azure.resourcemanager.machinelearningservices.fluent.models.NotebookAccessTokenResultInner;
+import com.azure.resourcemanager.machinelearningservices.fluent.models.NotebookResourceInfoInner;
import com.azure.resourcemanager.machinelearningservices.fluent.models.WorkspaceInner;
import com.azure.resourcemanager.machinelearningservices.models.WorkspaceUpdateParameters;
@@ -21,7 +24,7 @@ public interface WorkspacesClient {
/**
* Gets the properties of the specified machine learning workspace.
*
- * @param resourceGroupName Name of the resource group in which workspace is located.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName Name of Azure Machine Learning workspace.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -34,7 +37,7 @@ public interface WorkspacesClient {
/**
* Gets the properties of the specified machine learning workspace.
*
- * @param resourceGroupName Name of the resource group in which workspace is located.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName Name of Azure Machine Learning workspace.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -49,7 +52,7 @@ Response getByResourceGroupWithResponse(
/**
* Creates or updates a workspace with the specified parameters.
*
- * @param resourceGroupName Name of the resource group in which workspace is located.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName Name of Azure Machine Learning workspace.
* @param parameters The parameters for creating or updating a machine learning workspace.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -64,7 +67,7 @@ SyncPoller, WorkspaceInner> beginCreateOrUpdate(
/**
* Creates or updates a workspace with the specified parameters.
*
- * @param resourceGroupName Name of the resource group in which workspace is located.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName Name of Azure Machine Learning workspace.
* @param parameters The parameters for creating or updating a machine learning workspace.
* @param context The context to associate with this operation.
@@ -80,7 +83,7 @@ SyncPoller, WorkspaceInner> beginCreateOrUpdate(
/**
* Creates or updates a workspace with the specified parameters.
*
- * @param resourceGroupName Name of the resource group in which workspace is located.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName Name of Azure Machine Learning workspace.
* @param parameters The parameters for creating or updating a machine learning workspace.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -94,7 +97,7 @@ SyncPoller, WorkspaceInner> beginCreateOrUpdate(
/**
* Creates or updates a workspace with the specified parameters.
*
- * @param resourceGroupName Name of the resource group in which workspace is located.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName Name of Azure Machine Learning workspace.
* @param parameters The parameters for creating or updating a machine learning workspace.
* @param context The context to associate with this operation.
@@ -110,7 +113,7 @@ WorkspaceInner createOrUpdate(
/**
* Deletes a machine learning workspace.
*
- * @param resourceGroupName Name of the resource group in which workspace is located.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName Name of Azure Machine Learning workspace.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -123,7 +126,7 @@ WorkspaceInner createOrUpdate(
/**
* Deletes a machine learning workspace.
*
- * @param resourceGroupName Name of the resource group in which workspace is located.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName Name of Azure Machine Learning workspace.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -137,7 +140,7 @@ WorkspaceInner createOrUpdate(
/**
* Deletes a machine learning workspace.
*
- * @param resourceGroupName Name of the resource group in which workspace is located.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName Name of Azure Machine Learning workspace.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -149,7 +152,7 @@ WorkspaceInner createOrUpdate(
/**
* Deletes a machine learning workspace.
*
- * @param resourceGroupName Name of the resource group in which workspace is located.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName Name of Azure Machine Learning workspace.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -162,7 +165,7 @@ WorkspaceInner createOrUpdate(
/**
* Updates a machine learning workspace with the specified parameters.
*
- * @param resourceGroupName Name of the resource group in which workspace is located.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName Name of Azure Machine Learning workspace.
* @param parameters The parameters for updating a machine learning workspace.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -176,7 +179,7 @@ WorkspaceInner createOrUpdate(
/**
* Updates a machine learning workspace with the specified parameters.
*
- * @param resourceGroupName Name of the resource group in which workspace is located.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName Name of Azure Machine Learning workspace.
* @param parameters The parameters for updating a machine learning workspace.
* @param context The context to associate with this operation.
@@ -192,7 +195,7 @@ Response updateWithResponse(
/**
* Lists all the available machine learning workspaces under the specified resource group.
*
- * @param resourceGroupName Name of the resource group in which workspace is located.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
@@ -204,7 +207,7 @@ Response updateWithResponse(
/**
* Lists all the available machine learning workspaces under the specified resource group.
*
- * @param resourceGroupName Name of the resource group in which workspace is located.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param skip Continuation token for pagination.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -219,7 +222,7 @@ Response updateWithResponse(
* Lists all the keys associated with this workspace. This includes keys for the storage account, app insights and
* password for container registry.
*
- * @param resourceGroupName Name of the resource group in which workspace is located.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName Name of Azure Machine Learning workspace.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -233,7 +236,7 @@ Response updateWithResponse(
* Lists all the keys associated with this workspace. This includes keys for the storage account, app insights and
* password for container registry.
*
- * @param resourceGroupName Name of the resource group in which workspace is located.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName Name of Azure Machine Learning workspace.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -249,7 +252,7 @@ Response listKeysWithResponse(
* Resync all the keys associated with this workspace. This includes keys for the storage account, app insights and
* password for container registry.
*
- * @param resourceGroupName Name of the resource group in which workspace is located.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName Name of Azure Machine Learning workspace.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -263,7 +266,7 @@ Response listKeysWithResponse(
* Resync all the keys associated with this workspace. This includes keys for the storage account, app insights and
* password for container registry.
*
- * @param resourceGroupName Name of the resource group in which workspace is located.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName Name of Azure Machine Learning workspace.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -278,7 +281,7 @@ Response listKeysWithResponse(
* Resync all the keys associated with this workspace. This includes keys for the storage account, app insights and
* password for container registry.
*
- * @param resourceGroupName Name of the resource group in which workspace is located.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName Name of Azure Machine Learning workspace.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -291,7 +294,7 @@ Response listKeysWithResponse(
* Resync all the keys associated with this workspace. This includes keys for the storage account, app insights and
* password for container registry.
*
- * @param resourceGroupName Name of the resource group in which workspace is located.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName Name of Azure Machine Learning workspace.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -327,7 +330,7 @@ Response listKeysWithResponse(
/**
* return notebook access token and refresh token.
*
- * @param resourceGroupName Name of the resource group in which workspace is located.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName Name of Azure Machine Learning workspace.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -340,7 +343,7 @@ Response listKeysWithResponse(
/**
* return notebook access token and refresh token.
*
- * @param resourceGroupName Name of the resource group in which workspace is located.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName Name of Azure Machine Learning workspace.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -351,4 +354,100 @@ Response listKeysWithResponse(
@ServiceMethod(returns = ReturnType.SINGLE)
Response listNotebookAccessTokenWithResponse(
String resourceGroupName, String workspaceName, Context context);
+
+ /**
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Name of Azure Machine Learning workspace.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ SyncPoller, NotebookResourceInfoInner> beginPrepareNotebook(
+ String resourceGroupName, String workspaceName);
+
+ /**
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Name of Azure Machine Learning workspace.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ SyncPoller, NotebookResourceInfoInner> beginPrepareNotebook(
+ String resourceGroupName, String workspaceName, Context context);
+
+ /**
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Name of Azure Machine Learning workspace.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ NotebookResourceInfoInner prepareNotebook(String resourceGroupName, String workspaceName);
+
+ /**
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Name of Azure Machine Learning workspace.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ NotebookResourceInfoInner prepareNotebook(String resourceGroupName, String workspaceName, Context context);
+
+ /**
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Name of Azure Machine Learning workspace.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ ListStorageAccountKeysResultInner listStorageAccountKeys(String resourceGroupName, String workspaceName);
+
+ /**
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Name of Azure Machine Learning workspace.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response listStorageAccountKeysWithResponse(
+ String resourceGroupName, String workspaceName, Context context);
+
+ /**
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Name of Azure Machine Learning workspace.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ ListNotebookKeysResultInner listNotebookKeys(String resourceGroupName, String workspaceName);
+
+ /**
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Name of Azure Machine Learning workspace.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response listNotebookKeysWithResponse(
+ String resourceGroupName, String workspaceName, Context context);
}
diff --git a/sdk/machinelearningservices/azure-resourcemanager-machinelearningservices/src/main/java/com/azure/resourcemanager/machinelearningservices/fluent/models/BatchDeploymentTrackedResourceInner.java b/sdk/machinelearningservices/azure-resourcemanager-machinelearningservices/src/main/java/com/azure/resourcemanager/machinelearningservices/fluent/models/BatchDeploymentTrackedResourceInner.java
new file mode 100644
index 000000000000..5d63c688e014
--- /dev/null
+++ b/sdk/machinelearningservices/azure-resourcemanager-machinelearningservices/src/main/java/com/azure/resourcemanager/machinelearningservices/fluent/models/BatchDeploymentTrackedResourceInner.java
@@ -0,0 +1,150 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.machinelearningservices.fluent.models;
+
+import com.azure.core.annotation.Fluent;
+import com.azure.core.management.Resource;
+import com.azure.core.management.SystemData;
+import com.azure.core.util.logging.ClientLogger;
+import com.azure.resourcemanager.machinelearningservices.models.BatchDeployment;
+import com.azure.resourcemanager.machinelearningservices.models.ResourceIdentity;
+import com.fasterxml.jackson.annotation.JsonIgnore;
+import com.fasterxml.jackson.annotation.JsonProperty;
+import java.util.Map;
+
+/** The BatchDeploymentTrackedResource model. */
+@Fluent
+public final class BatchDeploymentTrackedResourceInner extends Resource {
+ @JsonIgnore private final ClientLogger logger = new ClientLogger(BatchDeploymentTrackedResourceInner.class);
+
+ /*
+ * Service identity associated with a resource.
+ */
+ @JsonProperty(value = "identity")
+ private ResourceIdentity identity;
+
+ /*
+ * Metadata used by portal/tooling/etc to render different UX experiences
+ * for resources of the same type.
+ */
+ @JsonProperty(value = "kind")
+ private String kind;
+
+ /*
+ * Additional attributes of the entity.
+ */
+ @JsonProperty(value = "properties", required = true)
+ private BatchDeployment properties;
+
+ /*
+ * System data associated with resource provider
+ */
+ @JsonProperty(value = "systemData", access = JsonProperty.Access.WRITE_ONLY)
+ private SystemData systemData;
+
+ /**
+ * Get the identity property: Service identity associated with a resource.
+ *
+ * @return the identity value.
+ */
+ public ResourceIdentity identity() {
+ return this.identity;
+ }
+
+ /**
+ * Set the identity property: Service identity associated with a resource.
+ *
+ * @param identity the identity value to set.
+ * @return the BatchDeploymentTrackedResourceInner object itself.
+ */
+ public BatchDeploymentTrackedResourceInner withIdentity(ResourceIdentity identity) {
+ this.identity = identity;
+ return this;
+ }
+
+ /**
+ * Get the kind property: Metadata used by portal/tooling/etc to render different UX experiences for resources of
+ * the same type.
+ *
+ * @return the kind value.
+ */
+ public String kind() {
+ return this.kind;
+ }
+
+ /**
+ * Set the kind property: Metadata used by portal/tooling/etc to render different UX experiences for resources of
+ * the same type.
+ *
+ * @param kind the kind value to set.
+ * @return the BatchDeploymentTrackedResourceInner object itself.
+ */
+ public BatchDeploymentTrackedResourceInner withKind(String kind) {
+ this.kind = kind;
+ return this;
+ }
+
+ /**
+ * Get the properties property: Additional attributes of the entity.
+ *
+ * @return the properties value.
+ */
+ public BatchDeployment properties() {
+ return this.properties;
+ }
+
+ /**
+ * Set the properties property: Additional attributes of the entity.
+ *
+ * @param properties the properties value to set.
+ * @return the BatchDeploymentTrackedResourceInner object itself.
+ */
+ public BatchDeploymentTrackedResourceInner withProperties(BatchDeployment properties) {
+ this.properties = properties;
+ return this;
+ }
+
+ /**
+ * Get the systemData property: System data associated with resource provider.
+ *
+ * @return the systemData value.
+ */
+ public SystemData systemData() {
+ return this.systemData;
+ }
+
+ /** {@inheritDoc} */
+ @Override
+ public BatchDeploymentTrackedResourceInner withLocation(String location) {
+ super.withLocation(location);
+ return this;
+ }
+
+ /** {@inheritDoc} */
+ @Override
+ public BatchDeploymentTrackedResourceInner withTags(Map tags) {
+ super.withTags(tags);
+ return this;
+ }
+
+ /**
+ * Validates the instance.
+ *
+ * @throws IllegalArgumentException thrown if the instance is not valid.
+ */
+ public void validate() {
+ if (identity() != null) {
+ identity().validate();
+ }
+ if (properties() == null) {
+ throw logger
+ .logExceptionAsError(
+ new IllegalArgumentException(
+ "Missing required property properties in model BatchDeploymentTrackedResourceInner"));
+ } else {
+ properties().validate();
+ }
+ }
+}
diff --git a/sdk/machinelearningservices/azure-resourcemanager-machinelearningservices/src/main/java/com/azure/resourcemanager/machinelearningservices/fluent/models/BatchEndpointInner.java b/sdk/machinelearningservices/azure-resourcemanager-machinelearningservices/src/main/java/com/azure/resourcemanager/machinelearningservices/fluent/models/BatchEndpointInner.java
new file mode 100644
index 000000000000..696a597250cc
--- /dev/null
+++ b/sdk/machinelearningservices/azure-resourcemanager-machinelearningservices/src/main/java/com/azure/resourcemanager/machinelearningservices/fluent/models/BatchEndpointInner.java
@@ -0,0 +1,197 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.machinelearningservices.fluent.models;
+
+import com.azure.core.annotation.Fluent;
+import com.azure.core.util.logging.ClientLogger;
+import com.azure.resourcemanager.machinelearningservices.models.EndpointAuthMode;
+import com.fasterxml.jackson.annotation.JsonIgnore;
+import com.fasterxml.jackson.annotation.JsonInclude;
+import com.fasterxml.jackson.annotation.JsonProperty;
+import java.util.Map;
+
+/** Batch endpoint configuration. */
+@Fluent
+public final class BatchEndpointInner {
+ @JsonIgnore private final ClientLogger logger = new ClientLogger(BatchEndpointInner.class);
+
+ /*
+ * Enum to determine endpoint authentication mode.
+ */
+ @JsonProperty(value = "authMode")
+ private EndpointAuthMode authMode;
+
+ /*
+ * Description of the inference endpoint.
+ */
+ @JsonProperty(value = "description")
+ private String description;
+
+ /*
+ * EndpointAuthKeys to set initially on an Endpoint.
+ * This property will always be returned as null. AuthKey values must be
+ * retrieved using the ListKeys API.
+ */
+ @JsonProperty(value = "keys")
+ private EndpointAuthKeysInner keys;
+
+ /*
+ * Property dictionary. Properties can be added, but not removed or
+ * altered.
+ */
+ @JsonProperty(value = "properties")
+ @JsonInclude(value = JsonInclude.Include.NON_NULL, content = JsonInclude.Include.ALWAYS)
+ private Map properties;
+
+ /*
+ * Endpoint URI.
+ */
+ @JsonProperty(value = "scoringUri", access = JsonProperty.Access.WRITE_ONLY)
+ private String scoringUri;
+
+ /*
+ * Endpoint Swagger URI.
+ */
+ @JsonProperty(value = "swaggerUri", access = JsonProperty.Access.WRITE_ONLY)
+ private String swaggerUri;
+
+ /*
+ * Traffic rules on how the traffic will be routed across deployments.
+ */
+ @JsonProperty(value = "traffic")
+ @JsonInclude(value = JsonInclude.Include.NON_NULL, content = JsonInclude.Include.ALWAYS)
+ private Map traffic;
+
+ /**
+ * Get the authMode property: Enum to determine endpoint authentication mode.
+ *
+ * @return the authMode value.
+ */
+ public EndpointAuthMode authMode() {
+ return this.authMode;
+ }
+
+ /**
+ * Set the authMode property: Enum to determine endpoint authentication mode.
+ *
+ * @param authMode the authMode value to set.
+ * @return the BatchEndpointInner object itself.
+ */
+ public BatchEndpointInner withAuthMode(EndpointAuthMode authMode) {
+ this.authMode = authMode;
+ return this;
+ }
+
+ /**
+ * Get the description property: Description of the inference endpoint.
+ *
+ * @return the description value.
+ */
+ public String description() {
+ return this.description;
+ }
+
+ /**
+ * Set the description property: Description of the inference endpoint.
+ *
+ * @param description the description value to set.
+ * @return the BatchEndpointInner object itself.
+ */
+ public BatchEndpointInner withDescription(String description) {
+ this.description = description;
+ return this;
+ }
+
+ /**
+ * Get the keys property: EndpointAuthKeys to set initially on an Endpoint. This property will always be returned as
+ * null. AuthKey values must be retrieved using the ListKeys API.
+ *
+ * @return the keys value.
+ */
+ public EndpointAuthKeysInner keys() {
+ return this.keys;
+ }
+
+ /**
+ * Set the keys property: EndpointAuthKeys to set initially on an Endpoint. This property will always be returned as
+ * null. AuthKey values must be retrieved using the ListKeys API.
+ *
+ * @param keys the keys value to set.
+ * @return the BatchEndpointInner object itself.
+ */
+ public BatchEndpointInner withKeys(EndpointAuthKeysInner keys) {
+ this.keys = keys;
+ return this;
+ }
+
+ /**
+ * Get the properties property: Property dictionary. Properties can be added, but not removed or altered.
+ *
+ * @return the properties value.
+ */
+ public Map properties() {
+ return this.properties;
+ }
+
+ /**
+ * Set the properties property: Property dictionary. Properties can be added, but not removed or altered.
+ *
+ * @param properties the properties value to set.
+ * @return the BatchEndpointInner object itself.
+ */
+ public BatchEndpointInner withProperties(Map properties) {
+ this.properties = properties;
+ return this;
+ }
+
+ /**
+ * Get the scoringUri property: Endpoint URI.
+ *
+ * @return the scoringUri value.
+ */
+ public String scoringUri() {
+ return this.scoringUri;
+ }
+
+ /**
+ * Get the swaggerUri property: Endpoint Swagger URI.
+ *
+ * @return the swaggerUri value.
+ */
+ public String swaggerUri() {
+ return this.swaggerUri;
+ }
+
+ /**
+ * Get the traffic property: Traffic rules on how the traffic will be routed across deployments.
+ *
+ * @return the traffic value.
+ */
+ public Map traffic() {
+ return this.traffic;
+ }
+
+ /**
+ * Set the traffic property: Traffic rules on how the traffic will be routed across deployments.
+ *
+ * @param traffic the traffic value to set.
+ * @return the BatchEndpointInner object itself.
+ */
+ public BatchEndpointInner withTraffic(Map traffic) {
+ this.traffic = traffic;
+ return this;
+ }
+
+ /**
+ * Validates the instance.
+ *
+ * @throws IllegalArgumentException thrown if the instance is not valid.
+ */
+ public void validate() {
+ if (keys() != null) {
+ keys().validate();
+ }
+ }
+}
diff --git a/sdk/machinelearningservices/azure-resourcemanager-machinelearningservices/src/main/java/com/azure/resourcemanager/machinelearningservices/fluent/models/BatchEndpointTrackedResourceInner.java b/sdk/machinelearningservices/azure-resourcemanager-machinelearningservices/src/main/java/com/azure/resourcemanager/machinelearningservices/fluent/models/BatchEndpointTrackedResourceInner.java
new file mode 100644
index 000000000000..01020c0a6b56
--- /dev/null
+++ b/sdk/machinelearningservices/azure-resourcemanager-machinelearningservices/src/main/java/com/azure/resourcemanager/machinelearningservices/fluent/models/BatchEndpointTrackedResourceInner.java
@@ -0,0 +1,149 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.machinelearningservices.fluent.models;
+
+import com.azure.core.annotation.Fluent;
+import com.azure.core.management.Resource;
+import com.azure.core.management.SystemData;
+import com.azure.core.util.logging.ClientLogger;
+import com.azure.resourcemanager.machinelearningservices.models.ResourceIdentity;
+import com.fasterxml.jackson.annotation.JsonIgnore;
+import com.fasterxml.jackson.annotation.JsonProperty;
+import java.util.Map;
+
+/** The BatchEndpointTrackedResource model. */
+@Fluent
+public final class BatchEndpointTrackedResourceInner extends Resource {
+ @JsonIgnore private final ClientLogger logger = new ClientLogger(BatchEndpointTrackedResourceInner.class);
+
+ /*
+ * Service identity associated with a resource.
+ */
+ @JsonProperty(value = "identity")
+ private ResourceIdentity identity;
+
+ /*
+ * Metadata used by portal/tooling/etc to render different UX experiences
+ * for resources of the same type.
+ */
+ @JsonProperty(value = "kind")
+ private String kind;
+
+ /*
+ * Additional attributes of the entity.
+ */
+ @JsonProperty(value = "properties", required = true)
+ private BatchEndpointInner properties;
+
+ /*
+ * System data associated with resource provider
+ */
+ @JsonProperty(value = "systemData", access = JsonProperty.Access.WRITE_ONLY)
+ private SystemData systemData;
+
+ /**
+ * Get the identity property: Service identity associated with a resource.
+ *
+ * @return the identity value.
+ */
+ public ResourceIdentity identity() {
+ return this.identity;
+ }
+
+ /**
+ * Set the identity property: Service identity associated with a resource.
+ *
+ * @param identity the identity value to set.
+ * @return the BatchEndpointTrackedResourceInner object itself.
+ */
+ public BatchEndpointTrackedResourceInner withIdentity(ResourceIdentity identity) {
+ this.identity = identity;
+ return this;
+ }
+
+ /**
+ * Get the kind property: Metadata used by portal/tooling/etc to render different UX experiences for resources of
+ * the same type.
+ *
+ * @return the kind value.
+ */
+ public String kind() {
+ return this.kind;
+ }
+
+ /**
+ * Set the kind property: Metadata used by portal/tooling/etc to render different UX experiences for resources of
+ * the same type.
+ *
+ * @param kind the kind value to set.
+ * @return the BatchEndpointTrackedResourceInner object itself.
+ */
+ public BatchEndpointTrackedResourceInner withKind(String kind) {
+ this.kind = kind;
+ return this;
+ }
+
+ /**
+ * Get the properties property: Additional attributes of the entity.
+ *
+ * @return the properties value.
+ */
+ public BatchEndpointInner properties() {
+ return this.properties;
+ }
+
+ /**
+ * Set the properties property: Additional attributes of the entity.
+ *
+ * @param properties the properties value to set.
+ * @return the BatchEndpointTrackedResourceInner object itself.
+ */
+ public BatchEndpointTrackedResourceInner withProperties(BatchEndpointInner properties) {
+ this.properties = properties;
+ return this;
+ }
+
+ /**
+ * Get the systemData property: System data associated with resource provider.
+ *
+ * @return the systemData value.
+ */
+ public SystemData systemData() {
+ return this.systemData;
+ }
+
+ /** {@inheritDoc} */
+ @Override
+ public BatchEndpointTrackedResourceInner withLocation(String location) {
+ super.withLocation(location);
+ return this;
+ }
+
+ /** {@inheritDoc} */
+ @Override
+ public BatchEndpointTrackedResourceInner withTags(Map tags) {
+ super.withTags(tags);
+ return this;
+ }
+
+ /**
+ * Validates the instance.
+ *
+ * @throws IllegalArgumentException thrown if the instance is not valid.
+ */
+ public void validate() {
+ if (identity() != null) {
+ identity().validate();
+ }
+ if (properties() == null) {
+ throw logger
+ .logExceptionAsError(
+ new IllegalArgumentException(
+ "Missing required property properties in model BatchEndpointTrackedResourceInner"));
+ } else {
+ properties().validate();
+ }
+ }
+}
diff --git a/sdk/machinelearningservices/azure-resourcemanager-machinelearningservices/src/main/java/com/azure/resourcemanager/machinelearningservices/fluent/models/CodeContainerResourceInner.java b/sdk/machinelearningservices/azure-resourcemanager-machinelearningservices/src/main/java/com/azure/resourcemanager/machinelearningservices/fluent/models/CodeContainerResourceInner.java
new file mode 100644
index 000000000000..f50948022447
--- /dev/null
+++ b/sdk/machinelearningservices/azure-resourcemanager-machinelearningservices/src/main/java/com/azure/resourcemanager/machinelearningservices/fluent/models/CodeContainerResourceInner.java
@@ -0,0 +1,76 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.machinelearningservices.fluent.models;
+
+import com.azure.core.annotation.Fluent;
+import com.azure.core.management.ProxyResource;
+import com.azure.core.management.SystemData;
+import com.azure.core.util.logging.ClientLogger;
+import com.azure.resourcemanager.machinelearningservices.models.CodeContainer;
+import com.fasterxml.jackson.annotation.JsonIgnore;
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+/** Azure Resource Manager resource envelope. */
+@Fluent
+public final class CodeContainerResourceInner extends ProxyResource {
+ @JsonIgnore private final ClientLogger logger = new ClientLogger(CodeContainerResourceInner.class);
+
+ /*
+ * Additional attributes of the entity.
+ */
+ @JsonProperty(value = "properties", required = true)
+ private CodeContainer properties;
+
+ /*
+ * System data associated with resource provider
+ */
+ @JsonProperty(value = "systemData", access = JsonProperty.Access.WRITE_ONLY)
+ private SystemData systemData;
+
+ /**
+ * Get the properties property: Additional attributes of the entity.
+ *
+ * @return the properties value.
+ */
+ public CodeContainer properties() {
+ return this.properties;
+ }
+
+ /**
+ * Set the properties property: Additional attributes of the entity.
+ *
+ * @param properties the properties value to set.
+ * @return the CodeContainerResourceInner object itself.
+ */
+ public CodeContainerResourceInner withProperties(CodeContainer properties) {
+ this.properties = properties;
+ return this;
+ }
+
+ /**
+ * Get the systemData property: System data associated with resource provider.
+ *
+ * @return the systemData value.
+ */
+ public SystemData systemData() {
+ return this.systemData;
+ }
+
+ /**
+ * Validates the instance.
+ *
+ * @throws IllegalArgumentException thrown if the instance is not valid.
+ */
+ public void validate() {
+ if (properties() == null) {
+ throw logger
+ .logExceptionAsError(
+ new IllegalArgumentException(
+ "Missing required property properties in model CodeContainerResourceInner"));
+ } else {
+ properties().validate();
+ }
+ }
+}
diff --git a/sdk/machinelearningservices/azure-resourcemanager-machinelearningservices/src/main/java/com/azure/resourcemanager/machinelearningservices/fluent/models/CodeVersionResourceInner.java b/sdk/machinelearningservices/azure-resourcemanager-machinelearningservices/src/main/java/com/azure/resourcemanager/machinelearningservices/fluent/models/CodeVersionResourceInner.java
new file mode 100644
index 000000000000..c567ca901400
--- /dev/null
+++ b/sdk/machinelearningservices/azure-resourcemanager-machinelearningservices/src/main/java/com/azure/resourcemanager/machinelearningservices/fluent/models/CodeVersionResourceInner.java
@@ -0,0 +1,76 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.machinelearningservices.fluent.models;
+
+import com.azure.core.annotation.Fluent;
+import com.azure.core.management.ProxyResource;
+import com.azure.core.management.SystemData;
+import com.azure.core.util.logging.ClientLogger;
+import com.azure.resourcemanager.machinelearningservices.models.CodeVersion;
+import com.fasterxml.jackson.annotation.JsonIgnore;
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+/** Azure Resource Manager resource envelope. */
+@Fluent
+public final class CodeVersionResourceInner extends ProxyResource {
+ @JsonIgnore private final ClientLogger logger = new ClientLogger(CodeVersionResourceInner.class);
+
+ /*
+ * Additional attributes of the entity.
+ */
+ @JsonProperty(value = "properties", required = true)
+ private CodeVersion properties;
+
+ /*
+ * System data associated with resource provider
+ */
+ @JsonProperty(value = "systemData", access = JsonProperty.Access.WRITE_ONLY)
+ private SystemData systemData;
+
+ /**
+ * Get the properties property: Additional attributes of the entity.
+ *
+ * @return the properties value.
+ */
+ public CodeVersion properties() {
+ return this.properties;
+ }
+
+ /**
+ * Set the properties property: Additional attributes of the entity.
+ *
+ * @param properties the properties value to set.
+ * @return the CodeVersionResourceInner object itself.
+ */
+ public CodeVersionResourceInner withProperties(CodeVersion properties) {
+ this.properties = properties;
+ return this;
+ }
+
+ /**
+ * Get the systemData property: System data associated with resource provider.
+ *
+ * @return the systemData value.
+ */
+ public SystemData systemData() {
+ return this.systemData;
+ }
+
+ /**
+ * Validates the instance.
+ *
+ * @throws IllegalArgumentException thrown if the instance is not valid.
+ */
+ public void validate() {
+ if (properties() == null) {
+ throw logger
+ .logExceptionAsError(
+ new IllegalArgumentException(
+ "Missing required property properties in model CodeVersionResourceInner"));
+ } else {
+ properties().validate();
+ }
+ }
+}
diff --git a/sdk/machinelearningservices/azure-resourcemanager-machinelearningservices/src/main/java/com/azure/resourcemanager/machinelearningservices/fluent/models/ComputeResourceInner.java b/sdk/machinelearningservices/azure-resourcemanager-machinelearningservices/src/main/java/com/azure/resourcemanager/machinelearningservices/fluent/models/ComputeResourceInner.java
index 30285709c715..f4f75e0d8a2a 100644
--- a/sdk/machinelearningservices/azure-resourcemanager-machinelearningservices/src/main/java/com/azure/resourcemanager/machinelearningservices/fluent/models/ComputeResourceInner.java
+++ b/sdk/machinelearningservices/azure-resourcemanager-machinelearningservices/src/main/java/com/azure/resourcemanager/machinelearningservices/fluent/models/ComputeResourceInner.java
@@ -5,33 +5,41 @@
package com.azure.resourcemanager.machinelearningservices.fluent.models;
import com.azure.core.annotation.Fluent;
-import com.azure.core.management.Resource;
+import com.azure.core.management.ProxyResource;
import com.azure.core.management.SystemData;
import com.azure.core.util.logging.ClientLogger;
import com.azure.resourcemanager.machinelearningservices.models.Compute;
import com.azure.resourcemanager.machinelearningservices.models.Identity;
import com.azure.resourcemanager.machinelearningservices.models.Sku;
import com.fasterxml.jackson.annotation.JsonIgnore;
+import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.Map;
/** Machine Learning compute object wrapped into ARM resource envelope. */
@Fluent
-public final class ComputeResourceInner extends Resource {
+public final class ComputeResourceInner extends ProxyResource {
@JsonIgnore private final ClientLogger logger = new ClientLogger(ComputeResourceInner.class);
- /*
- * Compute properties
- */
- @JsonProperty(value = "properties")
- private Compute properties;
-
/*
* The identity of the resource.
*/
@JsonProperty(value = "identity")
private Identity identity;
+ /*
+ * Specifies the location of the resource.
+ */
+ @JsonProperty(value = "location")
+ private String location;
+
+ /*
+ * Contains resource tags defined as key/value pairs.
+ */
+ @JsonProperty(value = "tags")
+ @JsonInclude(value = JsonInclude.Include.NON_NULL, content = JsonInclude.Include.ALWAYS)
+ private Map tags;
+
/*
* The sku of the workspace.
*/
@@ -39,48 +47,74 @@ public final class ComputeResourceInner extends Resource {
private Sku sku;
/*
- * Read only system data
+ * Metadata pertaining to creation and last modification of the resource.
*/
@JsonProperty(value = "systemData", access = JsonProperty.Access.WRITE_ONLY)
private SystemData systemData;
+ /*
+ * Compute properties
+ */
+ @JsonProperty(value = "properties")
+ private Compute properties;
+
/**
- * Get the properties property: Compute properties.
+ * Get the identity property: The identity of the resource.
*
- * @return the properties value.
+ * @return the identity value.
*/
- public Compute properties() {
- return this.properties;
+ public Identity identity() {
+ return this.identity;
}
/**
- * Set the properties property: Compute properties.
+ * Set the identity property: The identity of the resource.
*
- * @param properties the properties value to set.
+ * @param identity the identity value to set.
* @return the ComputeResourceInner object itself.
*/
- public ComputeResourceInner withProperties(Compute properties) {
- this.properties = properties;
+ public ComputeResourceInner withIdentity(Identity identity) {
+ this.identity = identity;
return this;
}
/**
- * Get the identity property: The identity of the resource.
+ * Get the location property: Specifies the location of the resource.
*
- * @return the identity value.
+ * @return the location value.
*/
- public Identity identity() {
- return this.identity;
+ public String location() {
+ return this.location;
}
/**
- * Set the identity property: The identity of the resource.
+ * Set the location property: Specifies the location of the resource.
*
- * @param identity the identity value to set.
+ * @param location the location value to set.
* @return the ComputeResourceInner object itself.
*/
- public ComputeResourceInner withIdentity(Identity identity) {
- this.identity = identity;
+ public ComputeResourceInner withLocation(String location) {
+ this.location = location;
+ return this;
+ }
+
+ /**
+ * Get the tags property: Contains resource tags defined as key/value pairs.
+ *
+ * @return the tags value.
+ */
+ public Map tags() {
+ return this.tags;
+ }
+
+ /**
+ * Set the tags property: Contains resource tags defined as key/value pairs.
+ *
+ * @param tags the tags value to set.
+ * @return the ComputeResourceInner object itself.
+ */
+ public ComputeResourceInner withTags(Map tags) {
+ this.tags = tags;
return this;
}
@@ -105,7 +139,7 @@ public ComputeResourceInner withSku(Sku sku) {
}
/**
- * Get the systemData property: Read only system data.
+ * Get the systemData property: Metadata pertaining to creation and last modification of the resource.
*
* @return the systemData value.
*/
@@ -113,17 +147,23 @@ public SystemData systemData() {
return this.systemData;
}
- /** {@inheritDoc} */
- @Override
- public ComputeResourceInner withLocation(String location) {
- super.withLocation(location);
- return this;
+ /**
+ * Get the properties property: Compute properties.
+ *
+ * @return the properties value.
+ */
+ public Compute properties() {
+ return this.properties;
}
- /** {@inheritDoc} */
- @Override
- public ComputeResourceInner withTags(Map tags) {
- super.withTags(tags);
+ /**
+ * Set the properties property: Compute properties.
+ *
+ * @param properties the properties value to set.
+ * @return the ComputeResourceInner object itself.
+ */
+ public ComputeResourceInner withProperties(Compute properties) {
+ this.properties = properties;
return this;
}
@@ -133,14 +173,14 @@ public ComputeResourceInner withTags(Map tags) {
* @throws IllegalArgumentException thrown if the instance is not valid.
*/
public void validate() {
- if (properties() != null) {
- properties().validate();
- }
if (identity() != null) {
identity().validate();
}
if (sku() != null) {
sku().validate();
}
+ if (properties() != null) {
+ properties().validate();
+ }
}
}
diff --git a/sdk/machinelearningservices/azure-resourcemanager-machinelearningservices/src/main/java/com/azure/resourcemanager/machinelearningservices/fluent/models/DataContainerResourceInner.java b/sdk/machinelearningservices/azure-resourcemanager-machinelearningservices/src/main/java/com/azure/resourcemanager/machinelearningservices/fluent/models/DataContainerResourceInner.java
new file mode 100644
index 000000000000..dfbb269bad36
--- /dev/null
+++ b/sdk/machinelearningservices/azure-resourcemanager-machinelearningservices/src/main/java/com/azure/resourcemanager/machinelearningservices/fluent/models/DataContainerResourceInner.java
@@ -0,0 +1,76 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.machinelearningservices.fluent.models;
+
+import com.azure.core.annotation.Fluent;
+import com.azure.core.management.ProxyResource;
+import com.azure.core.management.SystemData;
+import com.azure.core.util.logging.ClientLogger;
+import com.azure.resourcemanager.machinelearningservices.models.DataContainer;
+import com.fasterxml.jackson.annotation.JsonIgnore;
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+/** Azure Resource Manager resource envelope. */
+@Fluent
+public final class DataContainerResourceInner extends ProxyResource {
+ @JsonIgnore private final ClientLogger logger = new ClientLogger(DataContainerResourceInner.class);
+
+ /*
+ * Additional attributes of the entity.
+ */
+ @JsonProperty(value = "properties", required = true)
+ private DataContainer properties;
+
+ /*
+ * System data associated with resource provider
+ */
+ @JsonProperty(value = "systemData", access = JsonProperty.Access.WRITE_ONLY)
+ private SystemData systemData;
+
+ /**
+ * Get the properties property: Additional attributes of the entity.
+ *
+ * @return the properties value.
+ */
+ public DataContainer properties() {
+ return this.properties;
+ }
+
+ /**
+ * Set the properties property: Additional attributes of the entity.
+ *
+ * @param properties the properties value to set.
+ * @return the DataContainerResourceInner object itself.
+ */
+ public DataContainerResourceInner withProperties(DataContainer properties) {
+ this.properties = properties;
+ return this;
+ }
+
+ /**
+ * Get the systemData property: System data associated with resource provider.
+ *
+ * @return the systemData value.
+ */
+ public SystemData systemData() {
+ return this.systemData;
+ }
+
+ /**
+ * Validates the instance.
+ *
+ * @throws IllegalArgumentException thrown if the instance is not valid.
+ */
+ public void validate() {
+ if (properties() == null) {
+ throw logger
+ .logExceptionAsError(
+ new IllegalArgumentException(
+ "Missing required property properties in model DataContainerResourceInner"));
+ } else {
+ properties().validate();
+ }
+ }
+}
diff --git a/sdk/machinelearningservices/azure-resourcemanager-machinelearningservices/src/main/java/com/azure/resourcemanager/machinelearningservices/fluent/models/DataVersionResourceInner.java b/sdk/machinelearningservices/azure-resourcemanager-machinelearningservices/src/main/java/com/azure/resourcemanager/machinelearningservices/fluent/models/DataVersionResourceInner.java
new file mode 100644
index 000000000000..8f74d2a87b2e
--- /dev/null
+++ b/sdk/machinelearningservices/azure-resourcemanager-machinelearningservices/src/main/java/com/azure/resourcemanager/machinelearningservices/fluent/models/DataVersionResourceInner.java
@@ -0,0 +1,76 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.machinelearningservices.fluent.models;
+
+import com.azure.core.annotation.Fluent;
+import com.azure.core.management.ProxyResource;
+import com.azure.core.management.SystemData;
+import com.azure.core.util.logging.ClientLogger;
+import com.azure.resourcemanager.machinelearningservices.models.DataVersion;
+import com.fasterxml.jackson.annotation.JsonIgnore;
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+/** Azure Resource Manager resource envelope. */
+@Fluent
+public final class DataVersionResourceInner extends ProxyResource {
+ @JsonIgnore private final ClientLogger logger = new ClientLogger(DataVersionResourceInner.class);
+
+ /*
+ * Additional attributes of the entity.
+ */
+ @JsonProperty(value = "properties", required = true)
+ private DataVersion properties;
+
+ /*
+ * System data associated with resource provider
+ */
+ @JsonProperty(value = "systemData", access = JsonProperty.Access.WRITE_ONLY)
+ private SystemData systemData;
+
+ /**
+ * Get the properties property: Additional attributes of the entity.
+ *
+ * @return the properties value.
+ */
+ public DataVersion properties() {
+ return this.properties;
+ }
+
+ /**
+ * Set the properties property: Additional attributes of the entity.
+ *
+ * @param properties the properties value to set.
+ * @return the DataVersionResourceInner object itself.
+ */
+ public DataVersionResourceInner withProperties(DataVersion properties) {
+ this.properties = properties;
+ return this;
+ }
+
+ /**
+ * Get the systemData property: System data associated with resource provider.
+ *
+ * @return the systemData value.
+ */
+ public SystemData systemData() {
+ return this.systemData;
+ }
+
+ /**
+ * Validates the instance.
+ *
+ * @throws IllegalArgumentException thrown if the instance is not valid.
+ */
+ public void validate() {
+ if (properties() == null) {
+ throw logger
+ .logExceptionAsError(
+ new IllegalArgumentException(
+ "Missing required property properties in model DataVersionResourceInner"));
+ } else {
+ properties().validate();
+ }
+ }
+}
diff --git a/sdk/machinelearningservices/azure-resourcemanager-machinelearningservices/src/main/java/com/azure/resourcemanager/machinelearningservices/fluent/models/DatastorePropertiesResourceInner.java b/sdk/machinelearningservices/azure-resourcemanager-machinelearningservices/src/main/java/com/azure/resourcemanager/machinelearningservices/fluent/models/DatastorePropertiesResourceInner.java
new file mode 100644
index 000000000000..95645a818f96
--- /dev/null
+++ b/sdk/machinelearningservices/azure-resourcemanager-machinelearningservices/src/main/java/com/azure/resourcemanager/machinelearningservices/fluent/models/DatastorePropertiesResourceInner.java
@@ -0,0 +1,76 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.machinelearningservices.fluent.models;
+
+import com.azure.core.annotation.Fluent;
+import com.azure.core.management.ProxyResource;
+import com.azure.core.management.SystemData;
+import com.azure.core.util.logging.ClientLogger;
+import com.azure.resourcemanager.machinelearningservices.models.DatastoreProperties;
+import com.fasterxml.jackson.annotation.JsonIgnore;
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+/** Azure Resource Manager resource envelope. */
+@Fluent
+public final class DatastorePropertiesResourceInner extends ProxyResource {
+ @JsonIgnore private final ClientLogger logger = new ClientLogger(DatastorePropertiesResourceInner.class);
+
+ /*
+ * Additional attributes of the entity.
+ */
+ @JsonProperty(value = "properties", required = true)
+ private DatastoreProperties properties;
+
+ /*
+ * System data associated with resource provider
+ */
+ @JsonProperty(value = "systemData", access = JsonProperty.Access.WRITE_ONLY)
+ private SystemData systemData;
+
+ /**
+ * Get the properties property: Additional attributes of the entity.
+ *
+ * @return the properties value.
+ */
+ public DatastoreProperties properties() {
+ return this.properties;
+ }
+
+ /**
+ * Set the properties property: Additional attributes of the entity.
+ *
+ * @param properties the properties value to set.
+ * @return the DatastorePropertiesResourceInner object itself.
+ */
+ public DatastorePropertiesResourceInner withProperties(DatastoreProperties properties) {
+ this.properties = properties;
+ return this;
+ }
+
+ /**
+ * Get the systemData property: System data associated with resource provider.
+ *
+ * @return the systemData value.
+ */
+ public SystemData systemData() {
+ return this.systemData;
+ }
+
+ /**
+ * Validates the instance.
+ *
+ * @throws IllegalArgumentException thrown if the instance is not valid.
+ */
+ public void validate() {
+ if (properties() == null) {
+ throw logger
+ .logExceptionAsError(
+ new IllegalArgumentException(
+ "Missing required property properties in model DatastorePropertiesResourceInner"));
+ } else {
+ properties().validate();
+ }
+ }
+}
diff --git a/sdk/machinelearningservices/azure-resourcemanager-machinelearningservices/src/main/java/com/azure/resourcemanager/machinelearningservices/fluent/models/DatastoreSecretsInner.java b/sdk/machinelearningservices/azure-resourcemanager-machinelearningservices/src/main/java/com/azure/resourcemanager/machinelearningservices/fluent/models/DatastoreSecretsInner.java
new file mode 100644
index 000000000000..417372c4524f
--- /dev/null
+++ b/sdk/machinelearningservices/azure-resourcemanager-machinelearningservices/src/main/java/com/azure/resourcemanager/machinelearningservices/fluent/models/DatastoreSecretsInner.java
@@ -0,0 +1,46 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.machinelearningservices.fluent.models;
+
+import com.azure.core.annotation.Immutable;
+import com.azure.core.util.logging.ClientLogger;
+import com.azure.resourcemanager.machinelearningservices.models.AccountKeyDatastoreSecrets;
+import com.azure.resourcemanager.machinelearningservices.models.CertificateDatastoreSecrets;
+import com.azure.resourcemanager.machinelearningservices.models.NoneDatastoreSecrets;
+import com.azure.resourcemanager.machinelearningservices.models.SasDatastoreSecrets;
+import com.azure.resourcemanager.machinelearningservices.models.ServicePrincipalDatastoreSecrets;
+import com.azure.resourcemanager.machinelearningservices.models.SqlAdminDatastoreSecrets;
+import com.fasterxml.jackson.annotation.JsonIgnore;
+import com.fasterxml.jackson.annotation.JsonSubTypes;
+import com.fasterxml.jackson.annotation.JsonTypeInfo;
+import com.fasterxml.jackson.annotation.JsonTypeName;
+
+/** Base definition for datastore secrets. */
+@JsonTypeInfo(
+ use = JsonTypeInfo.Id.NAME,
+ include = JsonTypeInfo.As.PROPERTY,
+ property = "secretsType",
+ defaultImpl = DatastoreSecretsInner.class)
+@JsonTypeName("DatastoreSecrets")
+@JsonSubTypes({
+ @JsonSubTypes.Type(name = "AccountKey", value = AccountKeyDatastoreSecrets.class),
+ @JsonSubTypes.Type(name = "Certificate", value = CertificateDatastoreSecrets.class),
+ @JsonSubTypes.Type(name = "None", value = NoneDatastoreSecrets.class),
+ @JsonSubTypes.Type(name = "Sas", value = SasDatastoreSecrets.class),
+ @JsonSubTypes.Type(name = "ServicePrincipal", value = ServicePrincipalDatastoreSecrets.class),
+ @JsonSubTypes.Type(name = "SqlAdmin", value = SqlAdminDatastoreSecrets.class)
+})
+@Immutable
+public class DatastoreSecretsInner {
+ @JsonIgnore private final ClientLogger logger = new ClientLogger(DatastoreSecretsInner.class);
+
+ /**
+ * Validates the instance.
+ *
+ * @throws IllegalArgumentException thrown if the instance is not valid.
+ */
+ public void validate() {
+ }
+}
diff --git a/sdk/machinelearningservices/azure-resourcemanager-machinelearningservices/src/main/java/com/azure/resourcemanager/machinelearningservices/fluent/models/DeploymentLogsInner.java b/sdk/machinelearningservices/azure-resourcemanager-machinelearningservices/src/main/java/com/azure/resourcemanager/machinelearningservices/fluent/models/DeploymentLogsInner.java
new file mode 100644
index 000000000000..777d0fb6cf00
--- /dev/null
+++ b/sdk/machinelearningservices/azure-resourcemanager-machinelearningservices/src/main/java/com/azure/resourcemanager/machinelearningservices/fluent/models/DeploymentLogsInner.java
@@ -0,0 +1,50 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.machinelearningservices.fluent.models;
+
+import com.azure.core.annotation.Fluent;
+import com.azure.core.util.logging.ClientLogger;
+import com.fasterxml.jackson.annotation.JsonIgnore;
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+/** The DeploymentLogs model. */
+@Fluent
+public final class DeploymentLogsInner {
+ @JsonIgnore private final ClientLogger logger = new ClientLogger(DeploymentLogsInner.class);
+
+ /*
+ * The retrieved online deployment logs.
+ */
+ @JsonProperty(value = "content")
+ private String content;
+
+ /**
+ * Get the content property: The retrieved online deployment logs.
+ *
+ * @return the content value.
+ */
+ public String content() {
+ return this.content;
+ }
+
+ /**
+ * Set the content property: The retrieved online deployment logs.
+ *
+ * @param content the content value to set.
+ * @return the DeploymentLogsInner object itself.
+ */
+ public DeploymentLogsInner withContent(String content) {
+ this.content = content;
+ return this;
+ }
+
+ /**
+ * Validates the instance.
+ *
+ * @throws IllegalArgumentException thrown if the instance is not valid.
+ */
+ public void validate() {
+ }
+}
diff --git a/sdk/machinelearningservices/azure-resourcemanager-machinelearningservices/src/main/java/com/azure/resourcemanager/machinelearningservices/models/AuthKeys.java b/sdk/machinelearningservices/azure-resourcemanager-machinelearningservices/src/main/java/com/azure/resourcemanager/machinelearningservices/fluent/models/EndpointAuthKeysInner.java
similarity index 78%
rename from sdk/machinelearningservices/azure-resourcemanager-machinelearningservices/src/main/java/com/azure/resourcemanager/machinelearningservices/models/AuthKeys.java
rename to sdk/machinelearningservices/azure-resourcemanager-machinelearningservices/src/main/java/com/azure/resourcemanager/machinelearningservices/fluent/models/EndpointAuthKeysInner.java
index 1182be63cd59..6af44a7a6698 100644
--- a/sdk/machinelearningservices/azure-resourcemanager-machinelearningservices/src/main/java/com/azure/resourcemanager/machinelearningservices/models/AuthKeys.java
+++ b/sdk/machinelearningservices/azure-resourcemanager-machinelearningservices/src/main/java/com/azure/resourcemanager/machinelearningservices/fluent/models/EndpointAuthKeysInner.java
@@ -2,17 +2,17 @@
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
-package com.azure.resourcemanager.machinelearningservices.models;
+package com.azure.resourcemanager.machinelearningservices.fluent.models;
import com.azure.core.annotation.Fluent;
import com.azure.core.util.logging.ClientLogger;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;
-/** The AuthKeys model. */
+/** Keys for endpoint authentication. */
@Fluent
-public class AuthKeys {
- @JsonIgnore private final ClientLogger logger = new ClientLogger(AuthKeys.class);
+public final class EndpointAuthKeysInner {
+ @JsonIgnore private final ClientLogger logger = new ClientLogger(EndpointAuthKeysInner.class);
/*
* The primary key.
@@ -39,9 +39,9 @@ public String primaryKey() {
* Set the primaryKey property: The primary key.
*
* @param primaryKey the primaryKey value to set.
- * @return the AuthKeys object itself.
+ * @return the EndpointAuthKeysInner object itself.
*/
- public AuthKeys withPrimaryKey(String primaryKey) {
+ public EndpointAuthKeysInner withPrimaryKey(String primaryKey) {
this.primaryKey = primaryKey;
return this;
}
@@ -59,9 +59,9 @@ public String secondaryKey() {
* Set the secondaryKey property: The secondary key.
*
* @param secondaryKey the secondaryKey value to set.
- * @return the AuthKeys object itself.
+ * @return the EndpointAuthKeysInner object itself.
*/
- public AuthKeys withSecondaryKey(String secondaryKey) {
+ public EndpointAuthKeysInner withSecondaryKey(String secondaryKey) {
this.secondaryKey = secondaryKey;
return this;
}
diff --git a/sdk/machinelearningservices/azure-resourcemanager-machinelearningservices/src/main/java/com/azure/resourcemanager/machinelearningservices/fluent/models/EndpointAuthTokenInner.java b/sdk/machinelearningservices/azure-resourcemanager-machinelearningservices/src/main/java/com/azure/resourcemanager/machinelearningservices/fluent/models/EndpointAuthTokenInner.java
new file mode 100644
index 000000000000..5103812063aa
--- /dev/null
+++ b/sdk/machinelearningservices/azure-resourcemanager-machinelearningservices/src/main/java/com/azure/resourcemanager/machinelearningservices/fluent/models/EndpointAuthTokenInner.java
@@ -0,0 +1,128 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.machinelearningservices.fluent.models;
+
+import com.azure.core.annotation.Fluent;
+import com.azure.core.util.logging.ClientLogger;
+import com.fasterxml.jackson.annotation.JsonIgnore;
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+/** Service Token. */
+@Fluent
+public final class EndpointAuthTokenInner {
+ @JsonIgnore private final ClientLogger logger = new ClientLogger(EndpointAuthTokenInner.class);
+
+ /*
+ * Access token.
+ */
+ @JsonProperty(value = "accessToken")
+ private String accessToken;
+
+ /*
+ * Access token expiry time (UTC).
+ */
+ @JsonProperty(value = "expiryTimeUtc")
+ private Long expiryTimeUtc;
+
+ /*
+ * Refresh access token after time (UTC).
+ */
+ @JsonProperty(value = "refreshAfterTimeUtc")
+ private Long refreshAfterTimeUtc;
+
+ /*
+ * Access token type.
+ */
+ @JsonProperty(value = "tokenType")
+ private String tokenType;
+
+ /**
+ * Get the accessToken property: Access token.
+ *
+ * @return the accessToken value.
+ */
+ public String accessToken() {
+ return this.accessToken;
+ }
+
+ /**
+ * Set the accessToken property: Access token.
+ *
+ * @param accessToken the accessToken value to set.
+ * @return the EndpointAuthTokenInner object itself.
+ */
+ public EndpointAuthTokenInner withAccessToken(String accessToken) {
+ this.accessToken = accessToken;
+ return this;
+ }
+
+ /**
+ * Get the expiryTimeUtc property: Access token expiry time (UTC).
+ *
+ * @return the expiryTimeUtc value.
+ */
+ public Long expiryTimeUtc() {
+ return this.expiryTimeUtc;
+ }
+
+ /**
+ * Set the expiryTimeUtc property: Access token expiry time (UTC).
+ *
+ * @param expiryTimeUtc the expiryTimeUtc value to set.
+ * @return the EndpointAuthTokenInner object itself.
+ */
+ public EndpointAuthTokenInner withExpiryTimeUtc(Long expiryTimeUtc) {
+ this.expiryTimeUtc = expiryTimeUtc;
+ return this;
+ }
+
+ /**
+ * Get the refreshAfterTimeUtc property: Refresh access token after time (UTC).
+ *
+ * @return the refreshAfterTimeUtc value.
+ */
+ public Long refreshAfterTimeUtc() {
+ return this.refreshAfterTimeUtc;
+ }
+
+ /**
+ * Set the refreshAfterTimeUtc property: Refresh access token after time (UTC).
+ *
+ * @param refreshAfterTimeUtc the refreshAfterTimeUtc value to set.
+ * @return the EndpointAuthTokenInner object itself.
+ */
+ public EndpointAuthTokenInner withRefreshAfterTimeUtc(Long refreshAfterTimeUtc) {
+ this.refreshAfterTimeUtc = refreshAfterTimeUtc;
+ return this;
+ }
+
+ /**
+ * Get the tokenType property: Access token type.
+ *
+ * @return the tokenType value.
+ */
+ public String tokenType() {
+ return this.tokenType;
+ }
+
+ /**
+ * Set the tokenType property: Access token type.
+ *
+ * @param tokenType the tokenType value to set.
+ * @return the EndpointAuthTokenInner object itself.
+ */
+ public EndpointAuthTokenInner withTokenType(String tokenType) {
+ this.tokenType = tokenType;
+ return this;
+ }
+
+ /**
+ * Validates the instance.
+ *
+ * @throws IllegalArgumentException thrown if the instance is not valid.
+ */
+ public void validate() {
+ }
+}
diff --git a/sdk/machinelearningservices/azure-resourcemanager-machinelearningservices/src/main/java/com/azure/resourcemanager/machinelearningservices/fluent/models/EnvironmentContainerResourceInner.java b/sdk/machinelearningservices/azure-resourcemanager-machinelearningservices/src/main/java/com/azure/resourcemanager/machinelearningservices/fluent/models/EnvironmentContainerResourceInner.java
new file mode 100644
index 000000000000..4a5af2e502ab
--- /dev/null
+++ b/sdk/machinelearningservices/azure-resourcemanager-machinelearningservices/src/main/java/com/azure/resourcemanager/machinelearningservices/fluent/models/EnvironmentContainerResourceInner.java
@@ -0,0 +1,76 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.machinelearningservices.fluent.models;
+
+import com.azure.core.annotation.Fluent;
+import com.azure.core.management.ProxyResource;
+import com.azure.core.management.SystemData;
+import com.azure.core.util.logging.ClientLogger;
+import com.azure.resourcemanager.machinelearningservices.models.EnvironmentContainer;
+import com.fasterxml.jackson.annotation.JsonIgnore;
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+/** Azure Resource Manager resource envelope. */
+@Fluent
+public final class EnvironmentContainerResourceInner extends ProxyResource {
+ @JsonIgnore private final ClientLogger logger = new ClientLogger(EnvironmentContainerResourceInner.class);
+
+ /*
+ * Additional attributes of the entity.
+ */
+ @JsonProperty(value = "properties", required = true)
+ private EnvironmentContainer properties;
+
+ /*
+ * System data associated with resource provider
+ */
+ @JsonProperty(value = "systemData", access = JsonProperty.Access.WRITE_ONLY)
+ private SystemData systemData;
+
+ /**
+ * Get the properties property: Additional attributes of the entity.
+ *
+ * @return the properties value.
+ */
+ public EnvironmentContainer properties() {
+ return this.properties;
+ }
+
+ /**
+ * Set the properties property: Additional attributes of the entity.
+ *
+ * @param properties the properties value to set.
+ * @return the EnvironmentContainerResourceInner object itself.
+ */
+ public EnvironmentContainerResourceInner withProperties(EnvironmentContainer properties) {
+ this.properties = properties;
+ return this;
+ }
+
+ /**
+ * Get the systemData property: System data associated with resource provider.
+ *
+ * @return the systemData value.
+ */
+ public SystemData systemData() {
+ return this.systemData;
+ }
+
+ /**
+ * Validates the instance.
+ *
+ * @throws IllegalArgumentException thrown if the instance is not valid.
+ */
+ public void validate() {
+ if (properties() == null) {
+ throw logger
+ .logExceptionAsError(
+ new IllegalArgumentException(
+ "Missing required property properties in model EnvironmentContainerResourceInner"));
+ } else {
+ properties().validate();
+ }
+ }
+}
diff --git a/sdk/machinelearningservices/azure-resourcemanager-machinelearningservices/src/main/java/com/azure/resourcemanager/machinelearningservices/fluent/models/EnvironmentSpecificationVersionResourceInner.java b/sdk/machinelearningservices/azure-resourcemanager-machinelearningservices/src/main/java/com/azure/resourcemanager/machinelearningservices/fluent/models/EnvironmentSpecificationVersionResourceInner.java
new file mode 100644
index 000000000000..db145c1a3ad4
--- /dev/null
+++ b/sdk/machinelearningservices/azure-resourcemanager-machinelearningservices/src/main/java/com/azure/resourcemanager/machinelearningservices/fluent/models/EnvironmentSpecificationVersionResourceInner.java
@@ -0,0 +1,77 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.machinelearningservices.fluent.models;
+
+import com.azure.core.annotation.Fluent;
+import com.azure.core.management.ProxyResource;
+import com.azure.core.management.SystemData;
+import com.azure.core.util.logging.ClientLogger;
+import com.azure.resourcemanager.machinelearningservices.models.EnvironmentSpecificationVersion;
+import com.fasterxml.jackson.annotation.JsonIgnore;
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+/** Azure Resource Manager resource envelope. */
+@Fluent
+public final class EnvironmentSpecificationVersionResourceInner extends ProxyResource {
+ @JsonIgnore
+ private final ClientLogger logger = new ClientLogger(EnvironmentSpecificationVersionResourceInner.class);
+
+ /*
+ * Additional attributes of the entity.
+ */
+ @JsonProperty(value = "properties", required = true)
+ private EnvironmentSpecificationVersion properties;
+
+ /*
+ * System data associated with resource provider
+ */
+ @JsonProperty(value = "systemData", access = JsonProperty.Access.WRITE_ONLY)
+ private SystemData systemData;
+
+ /**
+ * Get the properties property: Additional attributes of the entity.
+ *
+ * @return the properties value.
+ */
+ public EnvironmentSpecificationVersion properties() {
+ return this.properties;
+ }
+
+ /**
+ * Set the properties property: Additional attributes of the entity.
+ *
+ * @param properties the properties value to set.
+ * @return the EnvironmentSpecificationVersionResourceInner object itself.
+ */
+ public EnvironmentSpecificationVersionResourceInner withProperties(EnvironmentSpecificationVersion properties) {
+ this.properties = properties;
+ return this;
+ }
+
+ /**
+ * Get the systemData property: System data associated with resource provider.
+ *
+ * @return the systemData value.
+ */
+ public SystemData systemData() {
+ return this.systemData;
+ }
+
+ /**
+ * Validates the instance.
+ *
+ * @throws IllegalArgumentException thrown if the instance is not valid.
+ */
+ public void validate() {
+ if (properties() == null) {
+ throw logger
+ .logExceptionAsError(
+ new IllegalArgumentException(
+ "Missing required property properties in model EnvironmentSpecificationVersionResourceInner"));
+ } else {
+ properties().validate();
+ }
+ }
+}
diff --git a/sdk/machinelearningservices/azure-resourcemanager-machinelearningservices/src/main/java/com/azure/resourcemanager/machinelearningservices/fluent/models/ExportSummaryInner.java b/sdk/machinelearningservices/azure-resourcemanager-machinelearningservices/src/main/java/com/azure/resourcemanager/machinelearningservices/fluent/models/ExportSummaryInner.java
new file mode 100644
index 000000000000..53f034f01a81
--- /dev/null
+++ b/sdk/machinelearningservices/azure-resourcemanager-machinelearningservices/src/main/java/com/azure/resourcemanager/machinelearningservices/fluent/models/ExportSummaryInner.java
@@ -0,0 +1,102 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.machinelearningservices.fluent.models;
+
+import com.azure.core.annotation.Immutable;
+import com.azure.core.util.logging.ClientLogger;
+import com.azure.resourcemanager.machinelearningservices.models.CocoExportSummary;
+import com.azure.resourcemanager.machinelearningservices.models.CsvExportSummary;
+import com.azure.resourcemanager.machinelearningservices.models.DatasetExportSummary;
+import com.fasterxml.jackson.annotation.JsonIgnore;
+import com.fasterxml.jackson.annotation.JsonProperty;
+import com.fasterxml.jackson.annotation.JsonSubTypes;
+import com.fasterxml.jackson.annotation.JsonTypeInfo;
+import com.fasterxml.jackson.annotation.JsonTypeName;
+import java.time.OffsetDateTime;
+
+/** The ExportSummary model. */
+@JsonTypeInfo(
+ use = JsonTypeInfo.Id.NAME,
+ include = JsonTypeInfo.As.PROPERTY,
+ property = "format",
+ defaultImpl = ExportSummaryInner.class)
+@JsonTypeName("ExportSummary")
+@JsonSubTypes({
+ @JsonSubTypes.Type(name = "Coco", value = CocoExportSummary.class),
+ @JsonSubTypes.Type(name = "CSV", value = CsvExportSummary.class),
+ @JsonSubTypes.Type(name = "Dataset", value = DatasetExportSummary.class)
+})
+@Immutable
+public class ExportSummaryInner {
+ @JsonIgnore private final ClientLogger logger = new ClientLogger(ExportSummaryInner.class);
+
+ /*
+ * The time when the export was completed.
+ */
+ @JsonProperty(value = "endTimeUtc", access = JsonProperty.Access.WRITE_ONLY)
+ private OffsetDateTime endTimeUtc;
+
+ /*
+ * The total number of labeled datapoints exported.
+ */
+ @JsonProperty(value = "exportedRowCount", access = JsonProperty.Access.WRITE_ONLY)
+ private Long exportedRowCount;
+
+ /*
+ * Name and identifier of the job containing exported labels.
+ */
+ @JsonProperty(value = "labelingJobId", access = JsonProperty.Access.WRITE_ONLY)
+ private String labelingJobId;
+
+ /*
+ * The time when the export was requested.
+ */
+ @JsonProperty(value = "startTimeUtc", access = JsonProperty.Access.WRITE_ONLY)
+ private OffsetDateTime startTimeUtc;
+
+ /**
+ * Get the endTimeUtc property: The time when the export was completed.
+ *
+ * @return the endTimeUtc value.
+ */
+ public OffsetDateTime endTimeUtc() {
+ return this.endTimeUtc;
+ }
+
+ /**
+ * Get the exportedRowCount property: The total number of labeled datapoints exported.
+ *
+ * @return the exportedRowCount value.
+ */
+ public Long exportedRowCount() {
+ return this.exportedRowCount;
+ }
+
+ /**
+ * Get the labelingJobId property: Name and identifier of the job containing exported labels.
+ *
+ * @return the labelingJobId value.
+ */
+ public String labelingJobId() {
+ return this.labelingJobId;
+ }
+
+ /**
+ * Get the startTimeUtc property: The time when the export was requested.
+ *
+ * @return the startTimeUtc value.
+ */
+ public OffsetDateTime startTimeUtc() {
+ return this.startTimeUtc;
+ }
+
+ /**
+ * Validates the instance.
+ *
+ * @throws IllegalArgumentException thrown if the instance is not valid.
+ */
+ public void validate() {
+ }
+}
diff --git a/sdk/machinelearningservices/azure-resourcemanager-machinelearningservices/src/main/java/com/azure/resourcemanager/machinelearningservices/fluent/models/JobBaseResourceInner.java b/sdk/machinelearningservices/azure-resourcemanager-machinelearningservices/src/main/java/com/azure/resourcemanager/machinelearningservices/fluent/models/JobBaseResourceInner.java
new file mode 100644
index 000000000000..2f37bc36b7df
--- /dev/null
+++ b/sdk/machinelearningservices/azure-resourcemanager-machinelearningservices/src/main/java/com/azure/resourcemanager/machinelearningservices/fluent/models/JobBaseResourceInner.java
@@ -0,0 +1,75 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.machinelearningservices.fluent.models;
+
+import com.azure.core.annotation.Fluent;
+import com.azure.core.management.ProxyResource;
+import com.azure.core.management.SystemData;
+import com.azure.core.util.logging.ClientLogger;
+import com.azure.resourcemanager.machinelearningservices.models.JobBase;
+import com.fasterxml.jackson.annotation.JsonIgnore;
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+/** Azure Resource Manager resource envelope. */
+@Fluent
+public final class JobBaseResourceInner extends ProxyResource {
+ @JsonIgnore private final ClientLogger logger = new ClientLogger(JobBaseResourceInner.class);
+
+ /*
+ * Additional attributes of the entity.
+ */
+ @JsonProperty(value = "properties", required = true)
+ private JobBase properties;
+
+ /*
+ * System data associated with resource provider
+ */
+ @JsonProperty(value = "systemData", access = JsonProperty.Access.WRITE_ONLY)
+ private SystemData systemData;
+
+ /**
+ * Get the properties property: Additional attributes of the entity.
+ *
+ * @return the properties value.
+ */
+ public JobBase properties() {
+ return this.properties;
+ }
+
+ /**
+ * Set the properties property: Additional attributes of the entity.
+ *
+ * @param properties the properties value to set.
+ * @return the JobBaseResourceInner object itself.
+ */
+ public JobBaseResourceInner withProperties(JobBase properties) {
+ this.properties = properties;
+ return this;
+ }
+
+ /**
+ * Get the systemData property: System data associated with resource provider.
+ *
+ * @return the systemData value.
+ */
+ public SystemData systemData() {
+ return this.systemData;
+ }
+
+ /**
+ * Validates the instance.
+ *
+ * @throws IllegalArgumentException thrown if the instance is not valid.
+ */
+ public void validate() {
+ if (properties() == null) {
+ throw logger
+ .logExceptionAsError(
+ new IllegalArgumentException("Missing required property properties in model JobBaseResourceInner"));
+ } else {
+ properties().validate();
+ }
+ }
+}
diff --git a/sdk/machinelearningservices/azure-resourcemanager-machinelearningservices/src/main/java/com/azure/resourcemanager/machinelearningservices/fluent/models/LabelingJobResourceInner.java b/sdk/machinelearningservices/azure-resourcemanager-machinelearningservices/src/main/java/com/azure/resourcemanager/machinelearningservices/fluent/models/LabelingJobResourceInner.java
new file mode 100644
index 000000000000..96dd2ef2c441
--- /dev/null
+++ b/sdk/machinelearningservices/azure-resourcemanager-machinelearningservices/src/main/java/com/azure/resourcemanager/machinelearningservices/fluent/models/LabelingJobResourceInner.java
@@ -0,0 +1,76 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.machinelearningservices.fluent.models;
+
+import com.azure.core.annotation.Fluent;
+import com.azure.core.management.ProxyResource;
+import com.azure.core.management.SystemData;
+import com.azure.core.util.logging.ClientLogger;
+import com.azure.resourcemanager.machinelearningservices.models.LabelingJob;
+import com.fasterxml.jackson.annotation.JsonIgnore;
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+/** Azure Resource Manager resource envelope. */
+@Fluent
+public final class LabelingJobResourceInner extends ProxyResource {
+ @JsonIgnore private final ClientLogger logger = new ClientLogger(LabelingJobResourceInner.class);
+
+ /*
+ * Additional attributes of the entity.
+ */
+ @JsonProperty(value = "properties", required = true)
+ private LabelingJob properties;
+
+ /*
+ * System data associated with resource provider
+ */
+ @JsonProperty(value = "systemData", access = JsonProperty.Access.WRITE_ONLY)
+ private SystemData systemData;
+
+ /**
+ * Get the properties property: Additional attributes of the entity.
+ *
+ * @return the properties value.
+ */
+ public LabelingJob properties() {
+ return this.properties;
+ }
+
+ /**
+ * Set the properties property: Additional attributes of the entity.
+ *
+ * @param properties the properties value to set.
+ * @return the LabelingJobResourceInner object itself.
+ */
+ public LabelingJobResourceInner withProperties(LabelingJob properties) {
+ this.properties = properties;
+ return this;
+ }
+
+ /**
+ * Get the systemData property: System data associated with resource provider.
+ *
+ * @return the systemData value.
+ */
+ public SystemData systemData() {
+ return this.systemData;
+ }
+
+ /**
+ * Validates the instance.
+ *
+ * @throws IllegalArgumentException thrown if the instance is not valid.
+ */
+ public void validate() {
+ if (properties() == null) {
+ throw logger
+ .logExceptionAsError(
+ new IllegalArgumentException(
+ "Missing required property properties in model LabelingJobResourceInner"));
+ } else {
+ properties().validate();
+ }
+ }
+}
diff --git a/sdk/machinelearningservices/azure-resourcemanager-machinelearningservices/src/main/java/com/azure/resourcemanager/machinelearningservices/fluent/models/ModelContainerResourceInner.java b/sdk/machinelearningservices/azure-resourcemanager-machinelearningservices/src/main/java/com/azure/resourcemanager/machinelearningservices/fluent/models/ModelContainerResourceInner.java
new file mode 100644
index 000000000000..608ccf78e4d9
--- /dev/null
+++ b/sdk/machinelearningservices/azure-resourcemanager-machinelearningservices/src/main/java/com/azure/resourcemanager/machinelearningservices/fluent/models/ModelContainerResourceInner.java
@@ -0,0 +1,76 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.machinelearningservices.fluent.models;
+
+import com.azure.core.annotation.Fluent;
+import com.azure.core.management.ProxyResource;
+import com.azure.core.management.SystemData;
+import com.azure.core.util.logging.ClientLogger;
+import com.azure.resourcemanager.machinelearningservices.models.ModelContainer;
+import com.fasterxml.jackson.annotation.JsonIgnore;
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+/** Azure Resource Manager resource envelope. */
+@Fluent
+public final class ModelContainerResourceInner extends ProxyResource {
+ @JsonIgnore private final ClientLogger logger = new ClientLogger(ModelContainerResourceInner.class);
+
+ /*
+ * Additional attributes of the entity.
+ */
+ @JsonProperty(value = "properties", required = true)
+ private ModelContainer properties;
+
+ /*
+ * System data associated with resource provider
+ */
+ @JsonProperty(value = "systemData", access = JsonProperty.Access.WRITE_ONLY)
+ private SystemData systemData;
+
+ /**
+ * Get the properties property: Additional attributes of the entity.
+ *
+ * @return the properties value.
+ */
+ public ModelContainer properties() {
+ return this.properties;
+ }
+
+ /**
+ * Set the properties property: Additional attributes of the entity.
+ *
+ * @param properties the properties value to set.
+ * @return the ModelContainerResourceInner object itself.
+ */
+ public ModelContainerResourceInner withProperties(ModelContainer properties) {
+ this.properties = properties;
+ return this;
+ }
+
+ /**
+ * Get the systemData property: System data associated with resource provider.
+ *
+ * @return the systemData value.
+ */
+ public SystemData systemData() {
+ return this.systemData;
+ }
+
+ /**
+ * Validates the instance.
+ *
+ * @throws IllegalArgumentException thrown if the instance is not valid.
+ */
+ public void validate() {
+ if (properties() == null) {
+ throw logger
+ .logExceptionAsError(
+ new IllegalArgumentException(
+ "Missing required property properties in model ModelContainerResourceInner"));
+ } else {
+ properties().validate();
+ }
+ }
+}
diff --git a/sdk/machinelearningservices/azure-resourcemanager-machinelearningservices/src/main/java/com/azure/resourcemanager/machinelearningservices/fluent/models/ModelVersionResourceInner.java b/sdk/machinelearningservices/azure-resourcemanager-machinelearningservices/src/main/java/com/azure/resourcemanager/machinelearningservices/fluent/models/ModelVersionResourceInner.java
new file mode 100644
index 000000000000..e1d187f90257
--- /dev/null
+++ b/sdk/machinelearningservices/azure-resourcemanager-machinelearningservices/src/main/java/com/azure/resourcemanager/machinelearningservices/fluent/models/ModelVersionResourceInner.java
@@ -0,0 +1,76 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.machinelearningservices.fluent.models;
+
+import com.azure.core.annotation.Fluent;
+import com.azure.core.management.ProxyResource;
+import com.azure.core.management.SystemData;
+import com.azure.core.util.logging.ClientLogger;
+import com.azure.resourcemanager.machinelearningservices.models.ModelVersion;
+import com.fasterxml.jackson.annotation.JsonIgnore;
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+/** Azure Resource Manager resource envelope. */
+@Fluent
+public final class ModelVersionResourceInner extends ProxyResource {
+ @JsonIgnore private final ClientLogger logger = new ClientLogger(ModelVersionResourceInner.class);
+
+ /*
+ * Additional attributes of the entity.
+ */
+ @JsonProperty(value = "properties", required = true)
+ private ModelVersion properties;
+
+ /*
+ * System data associated with resource provider
+ */
+ @JsonProperty(value = "systemData", access = JsonProperty.Access.WRITE_ONLY)
+ private SystemData systemData;
+
+ /**
+ * Get the properties property: Additional attributes of the entity.
+ *
+ * @return the properties value.
+ */
+ public ModelVersion properties() {
+ return this.properties;
+ }
+
+ /**
+ * Set the properties property: Additional attributes of the entity.
+ *
+ * @param properties the properties value to set.
+ * @return the ModelVersionResourceInner object itself.
+ */
+ public ModelVersionResourceInner withProperties(ModelVersion properties) {
+ this.properties = properties;
+ return this;
+ }
+
+ /**
+ * Get the systemData property: System data associated with resource provider.
+ *
+ * @return the systemData value.
+ */
+ public SystemData systemData() {
+ return this.systemData;
+ }
+
+ /**
+ * Validates the instance.
+ *
+ * @throws IllegalArgumentException thrown if the instance is not valid.
+ */
+ public void validate() {
+ if (properties() == null) {
+ throw logger
+ .logExceptionAsError(
+ new IllegalArgumentException(
+ "Missing required property properties in model ModelVersionResourceInner"));
+ } else {
+ properties().validate();
+ }
+ }
+}
diff --git a/sdk/machinelearningservices/azure-resourcemanager-machinelearningservices/src/main/java/com/azure/resourcemanager/machinelearningservices/fluent/models/OnlineDeploymentTrackedResourceInner.java b/sdk/machinelearningservices/azure-resourcemanager-machinelearningservices/src/main/java/com/azure/resourcemanager/machinelearningservices/fluent/models/OnlineDeploymentTrackedResourceInner.java
new file mode 100644
index 000000000000..f37668660b32
--- /dev/null
+++ b/sdk/machinelearningservices/azure-resourcemanager-machinelearningservices/src/main/java/com/azure/resourcemanager/machinelearningservices/fluent/models/OnlineDeploymentTrackedResourceInner.java
@@ -0,0 +1,150 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.machinelearningservices.fluent.models;
+
+import com.azure.core.annotation.Fluent;
+import com.azure.core.management.Resource;
+import com.azure.core.management.SystemData;
+import com.azure.core.util.logging.ClientLogger;
+import com.azure.resourcemanager.machinelearningservices.models.OnlineDeployment;
+import com.azure.resourcemanager.machinelearningservices.models.ResourceIdentity;
+import com.fasterxml.jackson.annotation.JsonIgnore;
+import com.fasterxml.jackson.annotation.JsonProperty;
+import java.util.Map;
+
+/** The OnlineDeploymentTrackedResource model. */
+@Fluent
+public final class OnlineDeploymentTrackedResourceInner extends Resource {
+ @JsonIgnore private final ClientLogger logger = new ClientLogger(OnlineDeploymentTrackedResourceInner.class);
+
+ /*
+ * Service identity associated with a resource.
+ */
+ @JsonProperty(value = "identity")
+ private ResourceIdentity identity;
+
+ /*
+ * Metadata used by portal/tooling/etc to render different UX experiences
+ * for resources of the same type.
+ */
+ @JsonProperty(value = "kind")
+ private String kind;
+
+ /*
+ * Additional attributes of the entity.
+ */
+ @JsonProperty(value = "properties", required = true)
+ private OnlineDeployment properties;
+
+ /*
+ * System data associated with resource provider
+ */
+ @JsonProperty(value = "systemData", access = JsonProperty.Access.WRITE_ONLY)
+ private SystemData systemData;
+
+ /**
+ * Get the identity property: Service identity associated with a resource.
+ *
+ * @return the identity value.
+ */
+ public ResourceIdentity identity() {
+ return this.identity;
+ }
+
+ /**
+ * Set the identity property: Service identity associated with a resource.
+ *
+ * @param identity the identity value to set.
+ * @return the OnlineDeploymentTrackedResourceInner object itself.
+ */
+ public OnlineDeploymentTrackedResourceInner withIdentity(ResourceIdentity identity) {
+ this.identity = identity;
+ return this;
+ }
+
+ /**
+ * Get the kind property: Metadata used by portal/tooling/etc to render different UX experiences for resources of
+ * the same type.
+ *
+ * @return the kind value.
+ */
+ public String kind() {
+ return this.kind;
+ }
+
+ /**
+ * Set the kind property: Metadata used by portal/tooling/etc to render different UX experiences for resources of
+ * the same type.
+ *
+ * @param kind the kind value to set.
+ * @return the OnlineDeploymentTrackedResourceInner object itself.
+ */
+ public OnlineDeploymentTrackedResourceInner withKind(String kind) {
+ this.kind = kind;
+ return this;
+ }
+
+ /**
+ * Get the properties property: Additional attributes of the entity.
+ *
+ * @return the properties value.
+ */
+ public OnlineDeployment properties() {
+ return this.properties;
+ }
+
+ /**
+ * Set the properties property: Additional attributes of the entity.
+ *
+ * @param properties the properties value to set.
+ * @return the OnlineDeploymentTrackedResourceInner object itself.
+ */
+ public OnlineDeploymentTrackedResourceInner withProperties(OnlineDeployment properties) {
+ this.properties = properties;
+ return this;
+ }
+
+ /**
+ * Get the systemData property: System data associated with resource provider.
+ *
+ * @return the systemData value.
+ */
+ public SystemData systemData() {
+ return this.systemData;
+ }
+
+ /** {@inheritDoc} */
+ @Override
+ public OnlineDeploymentTrackedResourceInner withLocation(String location) {
+ super.withLocation(location);
+ return this;
+ }
+
+ /** {@inheritDoc} */
+ @Override
+ public OnlineDeploymentTrackedResourceInner withTags(Map tags) {
+ super.withTags(tags);
+ return this;
+ }
+
+ /**
+ * Validates the instance.
+ *
+ * @throws IllegalArgumentException thrown if the instance is not valid.
+ */
+ public void validate() {
+ if (identity() != null) {
+ identity().validate();
+ }
+ if (properties() == null) {
+ throw logger
+ .logExceptionAsError(
+ new IllegalArgumentException(
+ "Missing required property properties in model OnlineDeploymentTrackedResourceInner"));
+ } else {
+ properties().validate();
+ }
+ }
+}
diff --git a/sdk/machinelearningservices/azure-resourcemanager-machinelearningservices/src/main/java/com/azure/resourcemanager/machinelearningservices/fluent/models/OnlineEndpointInner.java b/sdk/machinelearningservices/azure-resourcemanager-machinelearningservices/src/main/java/com/azure/resourcemanager/machinelearningservices/fluent/models/OnlineEndpointInner.java
new file mode 100644
index 000000000000..9d1f02538c8d
--- /dev/null
+++ b/sdk/machinelearningservices/azure-resourcemanager-machinelearningservices/src/main/java/com/azure/resourcemanager/machinelearningservices/fluent/models/OnlineEndpointInner.java
@@ -0,0 +1,245 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.machinelearningservices.fluent.models;
+
+import com.azure.core.annotation.Fluent;
+import com.azure.core.util.logging.ClientLogger;
+import com.azure.resourcemanager.machinelearningservices.models.EndpointAuthMode;
+import com.azure.resourcemanager.machinelearningservices.models.EndpointProvisioningState;
+import com.fasterxml.jackson.annotation.JsonIgnore;
+import com.fasterxml.jackson.annotation.JsonInclude;
+import com.fasterxml.jackson.annotation.JsonProperty;
+import java.util.Map;
+
+/** Online endpoint configuration. */
+@Fluent
+public final class OnlineEndpointInner {
+ @JsonIgnore private final ClientLogger logger = new ClientLogger(OnlineEndpointInner.class);
+
+ /*
+ * Inference endpoint authentication mode type
+ */
+ @JsonProperty(value = "authMode", required = true)
+ private EndpointAuthMode authMode;
+
+ /*
+ * Description of the inference endpoint.
+ */
+ @JsonProperty(value = "description")
+ private String description;
+
+ /*
+ * EndpointAuthKeys to set initially on an Endpoint.
+ * This property will always be returned as null. AuthKey values must be
+ * retrieved using the ListKeys API.
+ */
+ @JsonProperty(value = "keys")
+ private EndpointAuthKeysInner keys;
+
+ /*
+ * Property dictionary. Properties can be added, but not removed or
+ * altered.
+ */
+ @JsonProperty(value = "properties")
+ @JsonInclude(value = JsonInclude.Include.NON_NULL, content = JsonInclude.Include.ALWAYS)
+ private Map properties;
+
+ /*
+ * State of endpoint provisioning.
+ */
+ @JsonProperty(value = "provisioningState", access = JsonProperty.Access.WRITE_ONLY)
+ private EndpointProvisioningState provisioningState;
+
+ /*
+ * Endpoint URI.
+ */
+ @JsonProperty(value = "scoringUri", access = JsonProperty.Access.WRITE_ONLY)
+ private String scoringUri;
+
+ /*
+ * Endpoint Swagger URI.
+ */
+ @JsonProperty(value = "swaggerUri", access = JsonProperty.Access.WRITE_ONLY)
+ private String swaggerUri;
+
+ /*
+ * ARM resource ID of the compute if it exists.
+ * optional
+ */
+ @JsonProperty(value = "target")
+ private String target;
+
+ /*
+ * Traffic rules on how the traffic will be routed across deployments.
+ */
+ @JsonProperty(value = "traffic")
+ @JsonInclude(value = JsonInclude.Include.NON_NULL, content = JsonInclude.Include.ALWAYS)
+ private Map traffic;
+
+ /**
+ * Get the authMode property: Inference endpoint authentication mode type.
+ *
+ * @return the authMode value.
+ */
+ public EndpointAuthMode authMode() {
+ return this.authMode;
+ }
+
+ /**
+ * Set the authMode property: Inference endpoint authentication mode type.
+ *
+ * @param authMode the authMode value to set.
+ * @return the OnlineEndpointInner object itself.
+ */
+ public OnlineEndpointInner withAuthMode(EndpointAuthMode authMode) {
+ this.authMode = authMode;
+ return this;
+ }
+
+ /**
+ * Get the description property: Description of the inference endpoint.
+ *
+ * @return the description value.
+ */
+ public String description() {
+ return this.description;
+ }
+
+ /**
+ * Set the description property: Description of the inference endpoint.
+ *
+ * @param description the description value to set.
+ * @return the OnlineEndpointInner object itself.
+ */
+ public OnlineEndpointInner withDescription(String description) {
+ this.description = description;
+ return this;
+ }
+
+ /**
+ * Get the keys property: EndpointAuthKeys to set initially on an Endpoint. This property will always be returned as
+ * null. AuthKey values must be retrieved using the ListKeys API.
+ *
+ * @return the keys value.
+ */
+ public EndpointAuthKeysInner keys() {
+ return this.keys;
+ }
+
+ /**
+ * Set the keys property: EndpointAuthKeys to set initially on an Endpoint. This property will always be returned as
+ * null. AuthKey values must be retrieved using the ListKeys API.
+ *
+ * @param keys the keys value to set.
+ * @return the OnlineEndpointInner object itself.
+ */
+ public OnlineEndpointInner withKeys(EndpointAuthKeysInner keys) {
+ this.keys = keys;
+ return this;
+ }
+
+ /**
+ * Get the properties property: Property dictionary. Properties can be added, but not removed or altered.
+ *
+ * @return the properties value.
+ */
+ public Map properties() {
+ return this.properties;
+ }
+
+ /**
+ * Set the properties property: Property dictionary. Properties can be added, but not removed or altered.
+ *
+ * @param properties the properties value to set.
+ * @return the OnlineEndpointInner object itself.
+ */
+ public OnlineEndpointInner withProperties(Map properties) {
+ this.properties = properties;
+ return this;
+ }
+
+ /**
+ * Get the provisioningState property: State of endpoint provisioning.
+ *
+ * @return the provisioningState value.
+ */
+ public EndpointProvisioningState provisioningState() {
+ return this.provisioningState;
+ }
+
+ /**
+ * Get the scoringUri property: Endpoint URI.
+ *
+ * @return the scoringUri value.
+ */
+ public String scoringUri() {
+ return this.scoringUri;
+ }
+
+ /**
+ * Get the swaggerUri property: Endpoint Swagger URI.
+ *
+ * @return the swaggerUri value.
+ */
+ public String swaggerUri() {
+ return this.swaggerUri;
+ }
+
+ /**
+ * Get the target property: ARM resource ID of the compute if it exists. optional.
+ *
+ * @return the target value.
+ */
+ public String target() {
+ return this.target;
+ }
+
+ /**
+ * Set the target property: ARM resource ID of the compute if it exists. optional.
+ *
+ * @param target the target value to set.
+ * @return the OnlineEndpointInner object itself.
+ */
+ public OnlineEndpointInner withTarget(String target) {
+ this.target = target;
+ return this;
+ }
+
+ /**
+ * Get the traffic property: Traffic rules on how the traffic will be routed across deployments.
+ *
+ * @return the traffic value.
+ */
+ public Map traffic() {
+ return this.traffic;
+ }
+
+ /**
+ * Set the traffic property: Traffic rules on how the traffic will be routed across deployments.
+ *
+ * @param traffic the traffic value to set.
+ * @return the OnlineEndpointInner object itself.
+ */
+ public OnlineEndpointInner withTraffic(Map traffic) {
+ this.traffic = traffic;
+ return this;
+ }
+
+ /**
+ * Validates the instance.
+ *
+ * @throws IllegalArgumentException thrown if the instance is not valid.
+ */
+ public void validate() {
+ if (authMode() == null) {
+ throw logger
+ .logExceptionAsError(
+ new IllegalArgumentException("Missing required property authMode in model OnlineEndpointInner"));
+ }
+ if (keys() != null) {
+ keys().validate();
+ }
+ }
+}
diff --git a/sdk/machinelearningservices/azure-resourcemanager-machinelearningservices/src/main/java/com/azure/resourcemanager/machinelearningservices/fluent/models/OnlineEndpointTrackedResourceInner.java b/sdk/machinelearningservices/azure-resourcemanager-machinelearningservices/src/main/java/com/azure/resourcemanager/machinelearningservices/fluent/models/OnlineEndpointTrackedResourceInner.java
new file mode 100644
index 000000000000..73e985176621
--- /dev/null
+++ b/sdk/machinelearningservices/azure-resourcemanager-machinelearningservices/src/main/java/com/azure/resourcemanager/machinelearningservices/fluent/models/OnlineEndpointTrackedResourceInner.java
@@ -0,0 +1,149 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.machinelearningservices.fluent.models;
+
+import com.azure.core.annotation.Fluent;
+import com.azure.core.management.Resource;
+import com.azure.core.management.SystemData;
+import com.azure.core.util.logging.ClientLogger;
+import com.azure.resourcemanager.machinelearningservices.models.ResourceIdentity;
+import com.fasterxml.jackson.annotation.JsonIgnore;
+import com.fasterxml.jackson.annotation.JsonProperty;
+import java.util.Map;
+
+/** The OnlineEndpointTrackedResource model. */
+@Fluent
+public final class OnlineEndpointTrackedResourceInner extends Resource {
+ @JsonIgnore private final ClientLogger logger = new ClientLogger(OnlineEndpointTrackedResourceInner.class);
+
+ /*
+ * Service identity associated with a resource.
+ */
+ @JsonProperty(value = "identity")
+ private ResourceIdentity identity;
+
+ /*
+ * Metadata used by portal/tooling/etc to render different UX experiences
+ * for resources of the same type.
+ */
+ @JsonProperty(value = "kind")
+ private String kind;
+
+ /*
+ * Additional attributes of the entity.
+ */
+ @JsonProperty(value = "properties", required = true)
+ private OnlineEndpointInner properties;
+
+ /*
+ * System data associated with resource provider
+ */
+ @JsonProperty(value = "systemData", access = JsonProperty.Access.WRITE_ONLY)
+ private SystemData systemData;
+
+ /**
+ * Get the identity property: Service identity associated with a resource.
+ *
+ * @return the identity value.
+ */
+ public ResourceIdentity identity() {
+ return this.identity;
+ }
+
+ /**
+ * Set the identity property: Service identity associated with a resource.
+ *
+ * @param identity the identity value to set.
+ * @return the OnlineEndpointTrackedResourceInner object itself.
+ */
+ public OnlineEndpointTrackedResourceInner withIdentity(ResourceIdentity identity) {
+ this.identity = identity;
+ return this;
+ }
+
+ /**
+ * Get the kind property: Metadata used by portal/tooling/etc to render different UX experiences for resources of
+ * the same type.
+ *
+ * @return the kind value.
+ */
+ public String kind() {
+ return this.kind;
+ }
+
+ /**
+ * Set the kind property: Metadata used by portal/tooling/etc to render different UX experiences for resources of
+ * the same type.
+ *
+ * @param kind the kind value to set.
+ * @return the OnlineEndpointTrackedResourceInner object itself.
+ */
+ public OnlineEndpointTrackedResourceInner withKind(String kind) {
+ this.kind = kind;
+ return this;
+ }
+
+ /**
+ * Get the properties property: Additional attributes of the entity.
+ *
+ * @return the properties value.
+ */
+ public OnlineEndpointInner properties() {
+ return this.properties;
+ }
+
+ /**
+ * Set the properties property: Additional attributes of the entity.
+ *
+ * @param properties the properties value to set.
+ * @return the OnlineEndpointTrackedResourceInner object itself.
+ */
+ public OnlineEndpointTrackedResourceInner withProperties(OnlineEndpointInner properties) {
+ this.properties = properties;
+ return this;
+ }
+
+ /**
+ * Get the systemData property: System data associated with resource provider.
+ *
+ * @return the systemData value.
+ */
+ public SystemData systemData() {
+ return this.systemData;
+ }
+
+ /** {@inheritDoc} */
+ @Override
+ public OnlineEndpointTrackedResourceInner withLocation(String location) {
+ super.withLocation(location);
+ return this;
+ }
+
+ /** {@inheritDoc} */
+ @Override
+ public OnlineEndpointTrackedResourceInner withTags(Map tags) {
+ super.withTags(tags);
+ return this;
+ }
+
+ /**
+ * Validates the instance.
+ *
+ * @throws IllegalArgumentException thrown if the instance is not valid.
+ */
+ public void validate() {
+ if (identity() != null) {
+ identity().validate();
+ }
+ if (properties() == null) {
+ throw logger
+ .logExceptionAsError(
+ new IllegalArgumentException(
+ "Missing required property properties in model OnlineEndpointTrackedResourceInner"));
+ } else {
+ properties().validate();
+ }
+ }
+}
diff --git a/sdk/machinelearningservices/azure-resourcemanager-machinelearningservices/src/main/java/com/azure/resourcemanager/machinelearningservices/fluent/models/PrivateEndpointConnectionInner.java b/sdk/machinelearningservices/azure-resourcemanager-machinelearningservices/src/main/java/com/azure/resourcemanager/machinelearningservices/fluent/models/PrivateEndpointConnectionInner.java
index 3334cc9a86e1..98f8b03c3cab 100644
--- a/sdk/machinelearningservices/azure-resourcemanager-machinelearningservices/src/main/java/com/azure/resourcemanager/machinelearningservices/fluent/models/PrivateEndpointConnectionInner.java
+++ b/sdk/machinelearningservices/azure-resourcemanager-machinelearningservices/src/main/java/com/azure/resourcemanager/machinelearningservices/fluent/models/PrivateEndpointConnectionInner.java
@@ -6,7 +6,7 @@
import com.azure.core.annotation.Fluent;
import com.azure.core.annotation.JsonFlatten;
-import com.azure.core.management.Resource;
+import com.azure.core.management.ProxyResource;
import com.azure.core.management.SystemData;
import com.azure.core.util.logging.ClientLogger;
import com.azure.resourcemanager.machinelearningservices.models.Identity;
@@ -15,39 +15,34 @@
import com.azure.resourcemanager.machinelearningservices.models.PrivateLinkServiceConnectionState;
import com.azure.resourcemanager.machinelearningservices.models.Sku;
import com.fasterxml.jackson.annotation.JsonIgnore;
+import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.Map;
/** The Private Endpoint Connection resource. */
@JsonFlatten
@Fluent
-public class PrivateEndpointConnectionInner extends Resource {
+public class PrivateEndpointConnectionInner extends ProxyResource {
@JsonIgnore private final ClientLogger logger = new ClientLogger(PrivateEndpointConnectionInner.class);
/*
- * The resource of private end point.
- */
- @JsonProperty(value = "properties.privateEndpoint")
- private PrivateEndpoint privateEndpoint;
-
- /*
- * A collection of information about the state of the connection between
- * service consumer and provider.
+ * The identity of the resource.
*/
- @JsonProperty(value = "properties.privateLinkServiceConnectionState")
- private PrivateLinkServiceConnectionState privateLinkServiceConnectionState;
+ @JsonProperty(value = "identity")
+ private Identity identity;
/*
- * The provisioning state of the private endpoint connection resource.
+ * Specifies the location of the resource.
*/
- @JsonProperty(value = "properties.provisioningState", access = JsonProperty.Access.WRITE_ONLY)
- private PrivateEndpointConnectionProvisioningState provisioningState;
+ @JsonProperty(value = "location")
+ private String location;
/*
- * The identity of the resource.
+ * Contains resource tags defined as key/value pairs.
*/
- @JsonProperty(value = "identity")
- private Identity identity;
+ @JsonProperty(value = "tags")
+ @JsonInclude(value = JsonInclude.Include.NON_NULL, content = JsonInclude.Include.ALWAYS)
+ private Map tags;
/*
* The sku of the workspace.
@@ -56,80 +51,87 @@ public class PrivateEndpointConnectionInner extends Resource {
private Sku sku;
/*
- * Read only system data
+ * Metadata pertaining to creation and last modification of the resource.
*/
@JsonProperty(value = "systemData", access = JsonProperty.Access.WRITE_ONLY)
private SystemData systemData;
+ /*
+ * The resource of private end point.
+ */
+ @JsonProperty(value = "properties.privateEndpoint")
+ private PrivateEndpoint privateEndpoint;
+
+ /*
+ * A collection of information about the state of the connection between
+ * service consumer and provider.
+ */
+ @JsonProperty(value = "properties.privateLinkServiceConnectionState")
+ private PrivateLinkServiceConnectionState privateLinkServiceConnectionState;
+
+ /*
+ * The provisioning state of the private endpoint connection resource.
+ */
+ @JsonProperty(value = "properties.provisioningState", access = JsonProperty.Access.WRITE_ONLY)
+ private PrivateEndpointConnectionProvisioningState provisioningState;
+
/**
- * Get the privateEndpoint property: The resource of private end point.
+ * Get the identity property: The identity of the resource.
*
- * @return the privateEndpoint value.
+ * @return the identity value.
*/
- public PrivateEndpoint privateEndpoint() {
- return this.privateEndpoint;
+ public Identity identity() {
+ return this.identity;
}
/**
- * Set the privateEndpoint property: The resource of private end point.
+ * Set the identity property: The identity of the resource.
*
- * @param privateEndpoint the privateEndpoint value to set.
+ * @param identity the identity value to set.
* @return the PrivateEndpointConnectionInner object itself.
*/
- public PrivateEndpointConnectionInner withPrivateEndpoint(PrivateEndpoint privateEndpoint) {
- this.privateEndpoint = privateEndpoint;
+ public PrivateEndpointConnectionInner withIdentity(Identity identity) {
+ this.identity = identity;
return this;
}
/**
- * Get the privateLinkServiceConnectionState property: A collection of information about the state of the connection
- * between service consumer and provider.
+ * Get the location property: Specifies the location of the resource.
*
- * @return the privateLinkServiceConnectionState value.
+ * @return the location value.
*/
- public PrivateLinkServiceConnectionState privateLinkServiceConnectionState() {
- return this.privateLinkServiceConnectionState;
+ public String location() {
+ return this.location;
}
/**
- * Set the privateLinkServiceConnectionState property: A collection of information about the state of the connection
- * between service consumer and provider.
+ * Set the location property: Specifies the location of the resource.
*
- * @param privateLinkServiceConnectionState the privateLinkServiceConnectionState value to set.
+ * @param location the location value to set.
* @return the PrivateEndpointConnectionInner object itself.
*/
- public PrivateEndpointConnectionInner withPrivateLinkServiceConnectionState(
- PrivateLinkServiceConnectionState privateLinkServiceConnectionState) {
- this.privateLinkServiceConnectionState = privateLinkServiceConnectionState;
+ public PrivateEndpointConnectionInner withLocation(String location) {
+ this.location = location;
return this;
}
/**
- * Get the provisioningState property: The provisioning state of the private endpoint connection resource.
- *
- * @return the provisioningState value.
- */
- public PrivateEndpointConnectionProvisioningState provisioningState() {
- return this.provisioningState;
- }
-
- /**
- * Get the identity property: The identity of the resource.
+ * Get the tags property: Contains resource tags defined as key/value pairs.
*
- * @return the identity value.
+ * @return the tags value.
*/
- public Identity identity() {
- return this.identity;
+ public Map tags() {
+ return this.tags;
}
/**
- * Set the identity property: The identity of the resource.
+ * Set the tags property: Contains resource tags defined as key/value pairs.
*
- * @param identity the identity value to set.
+ * @param tags the tags value to set.
* @return the PrivateEndpointConnectionInner object itself.
*/
- public PrivateEndpointConnectionInner withIdentity(Identity identity) {
- this.identity = identity;
+ public PrivateEndpointConnectionInner withTags(Map tags) {
+ this.tags = tags;
return this;
}
@@ -154,7 +156,7 @@ public PrivateEndpointConnectionInner withSku(Sku sku) {
}
/**
- * Get the systemData property: Read only system data.
+ * Get the systemData property: Metadata pertaining to creation and last modification of the resource.
*
* @return the systemData value.
*/
@@ -162,37 +164,75 @@ public SystemData systemData() {
return this.systemData;
}
- /** {@inheritDoc} */
- @Override
- public PrivateEndpointConnectionInner withLocation(String location) {
- super.withLocation(location);
+ /**
+ * Get the privateEndpoint property: The resource of private end point.
+ *
+ * @return the privateEndpoint value.
+ */
+ public PrivateEndpoint privateEndpoint() {
+ return this.privateEndpoint;
+ }
+
+ /**
+ * Set the privateEndpoint property: The resource of private end point.
+ *
+ * @param privateEndpoint the privateEndpoint value to set.
+ * @return the PrivateEndpointConnectionInner object itself.
+ */
+ public PrivateEndpointConnectionInner withPrivateEndpoint(PrivateEndpoint privateEndpoint) {
+ this.privateEndpoint = privateEndpoint;
return this;
}
- /** {@inheritDoc} */
- @Override
- public PrivateEndpointConnectionInner withTags(Map tags) {
- super.withTags(tags);
+ /**
+ * Get the privateLinkServiceConnectionState property: A collection of information about the state of the connection
+ * between service consumer and provider.
+ *
+ * @return the privateLinkServiceConnectionState value.
+ */
+ public PrivateLinkServiceConnectionState privateLinkServiceConnectionState() {
+ return this.privateLinkServiceConnectionState;
+ }
+
+ /**
+ * Set the privateLinkServiceConnectionState property: A collection of information about the state of the connection
+ * between service consumer and provider.
+ *
+ * @param privateLinkServiceConnectionState the privateLinkServiceConnectionState value to set.
+ * @return the PrivateEndpointConnectionInner object itself.
+ */
+ public PrivateEndpointConnectionInner withPrivateLinkServiceConnectionState(
+ PrivateLinkServiceConnectionState privateLinkServiceConnectionState) {
+ this.privateLinkServiceConnectionState = privateLinkServiceConnectionState;
return this;
}
+ /**
+ * Get the provisioningState property: The provisioning state of the private endpoint connection resource.
+ *
+ * @return the provisioningState value.
+ */
+ public PrivateEndpointConnectionProvisioningState provisioningState() {
+ return this.provisioningState;
+ }
+
/**
* Validates the instance.
*
* @throws IllegalArgumentException thrown if the instance is not valid.
*/
public void validate() {
- if (privateEndpoint() != null) {
- privateEndpoint().validate();
- }
- if (privateLinkServiceConnectionState() != null) {
- privateLinkServiceConnectionState().validate();
- }
if (identity() != null) {
identity().validate();
}
if (sku() != null) {
sku().validate();
}
+ if (privateEndpoint() != null) {
+ privateEndpoint().validate();
+ }
+ if (privateLinkServiceConnectionState() != null) {
+ privateLinkServiceConnectionState().validate();
+ }
}
}
diff --git a/sdk/machinelearningservices/azure-resourcemanager-machinelearningservices/src/main/java/com/azure/resourcemanager/machinelearningservices/fluent/models/ResourceQuotaInner.java b/sdk/machinelearningservices/azure-resourcemanager-machinelearningservices/src/main/java/com/azure/resourcemanager/machinelearningservices/fluent/models/ResourceQuotaInner.java
index 9df00d984560..ba4a04a0620a 100644
--- a/sdk/machinelearningservices/azure-resourcemanager-machinelearningservices/src/main/java/com/azure/resourcemanager/machinelearningservices/fluent/models/ResourceQuotaInner.java
+++ b/sdk/machinelearningservices/azure-resourcemanager-machinelearningservices/src/main/java/com/azure/resourcemanager/machinelearningservices/fluent/models/ResourceQuotaInner.java
@@ -41,7 +41,7 @@ public final class ResourceQuotaInner {
private ResourceName name;
/*
- * The maximum permitted quota of the resource.
+ * Limit. The maximum permitted quota of the resource.
*/
@JsonProperty(value = "limit", access = JsonProperty.Access.WRITE_ONLY)
private Long limit;
@@ -89,7 +89,7 @@ public ResourceName name() {
}
/**
- * Get the limit property: The maximum permitted quota of the resource.
+ * Get the limit property: Limit. The maximum permitted quota of the resource.
*
* @return the limit value.
*/
diff --git a/sdk/machinelearningservices/azure-resourcemanager-machinelearningservices/src/main/java/com/azure/resourcemanager/machinelearningservices/fluent/models/ServiceResourceInner.java b/sdk/machinelearningservices/azure-resourcemanager-machinelearningservices/src/main/java/com/azure/resourcemanager/machinelearningservices/fluent/models/ServiceResourceInner.java
deleted file mode 100644
index 7153f64ec175..000000000000
--- a/sdk/machinelearningservices/azure-resourcemanager-machinelearningservices/src/main/java/com/azure/resourcemanager/machinelearningservices/fluent/models/ServiceResourceInner.java
+++ /dev/null
@@ -1,146 +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.machinelearningservices.fluent.models;
-
-import com.azure.core.annotation.Fluent;
-import com.azure.core.management.Resource;
-import com.azure.core.management.SystemData;
-import com.azure.core.util.logging.ClientLogger;
-import com.azure.resourcemanager.machinelearningservices.models.Identity;
-import com.azure.resourcemanager.machinelearningservices.models.ServiceResponseBase;
-import com.azure.resourcemanager.machinelearningservices.models.Sku;
-import com.fasterxml.jackson.annotation.JsonIgnore;
-import com.fasterxml.jackson.annotation.JsonProperty;
-import java.util.Map;
-
-/** Machine Learning service object wrapped into ARM resource envelope. */
-@Fluent
-public final class ServiceResourceInner extends Resource {
- @JsonIgnore private final ClientLogger logger = new ClientLogger(ServiceResourceInner.class);
-
- /*
- * Service properties
- */
- @JsonProperty(value = "properties")
- private ServiceResponseBase properties;
-
- /*
- * The identity of the resource.
- */
- @JsonProperty(value = "identity")
- private Identity identity;
-
- /*
- * The sku of the workspace.
- */
- @JsonProperty(value = "sku")
- private Sku sku;
-
- /*
- * Read only system data
- */
- @JsonProperty(value = "systemData", access = JsonProperty.Access.WRITE_ONLY)
- private SystemData systemData;
-
- /**
- * Get the properties property: Service properties.
- *
- * @return the properties value.
- */
- public ServiceResponseBase properties() {
- return this.properties;
- }
-
- /**
- * Set the properties property: Service properties.
- *
- * @param properties the properties value to set.
- * @return the ServiceResourceInner object itself.
- */
- public ServiceResourceInner withProperties(ServiceResponseBase properties) {
- this.properties = properties;
- return this;
- }
-
- /**
- * Get the identity property: The identity of the resource.
- *
- * @return the identity value.
- */
- public Identity identity() {
- return this.identity;
- }
-
- /**
- * Set the identity property: The identity of the resource.
- *
- * @param identity the identity value to set.
- * @return the ServiceResourceInner object itself.
- */
- public ServiceResourceInner withIdentity(Identity identity) {
- this.identity = identity;
- return this;
- }
-
- /**
- * Get the sku property: The sku of the workspace.
- *
- * @return the sku value.
- */
- public Sku sku() {
- return this.sku;
- }
-
- /**
- * Set the sku property: The sku of the workspace.
- *
- * @param sku the sku value to set.
- * @return the ServiceResourceInner object itself.
- */
- public ServiceResourceInner withSku(Sku sku) {
- this.sku = sku;
- return this;
- }
-
- /**
- * Get the systemData property: Read only system data.
- *
- * @return the systemData value.
- */
- public SystemData systemData() {
- return this.systemData;
- }
-
- /** {@inheritDoc} */
- @Override
- public ServiceResourceInner withLocation(String location) {
- super.withLocation(location);
- return this;
- }
-
- /** {@inheritDoc} */
- @Override
- public ServiceResourceInner withTags(Map tags) {
- super.withTags(tags);
- return this;
- }
-
- /**
- * Validates the instance.
- *
- * @throws IllegalArgumentException thrown if the instance is not valid.
- */
- public void validate() {
- if (properties() != null) {
- properties().validate();
- }
- if (identity() != null) {
- identity().validate();
- }
- if (sku() != null) {
- sku().validate();
- }
- }
-}
diff --git a/sdk/machinelearningservices/azure-resourcemanager-machinelearningservices/src/main/java/com/azure/resourcemanager/machinelearningservices/fluent/models/VirtualMachineSizeListResultInner.java b/sdk/machinelearningservices/azure-resourcemanager-machinelearningservices/src/main/java/com/azure/resourcemanager/machinelearningservices/fluent/models/VirtualMachineSizeListResultInner.java
index d7b7bc81d032..f30bdec89369 100644
--- a/sdk/machinelearningservices/azure-resourcemanager-machinelearningservices/src/main/java/com/azure/resourcemanager/machinelearningservices/fluent/models/VirtualMachineSizeListResultInner.java
+++ b/sdk/machinelearningservices/azure-resourcemanager-machinelearningservices/src/main/java/com/azure/resourcemanager/machinelearningservices/fluent/models/VirtualMachineSizeListResultInner.java
@@ -19,26 +19,26 @@ public final class VirtualMachineSizeListResultInner {
/*
* The list of virtual machine sizes supported by AmlCompute.
*/
- @JsonProperty(value = "amlCompute")
- private List amlCompute;
+ @JsonProperty(value = "value")
+ private List value;
/**
- * Get the amlCompute property: The list of virtual machine sizes supported by AmlCompute.
+ * Get the value property: The list of virtual machine sizes supported by AmlCompute.
*
- * @return the amlCompute value.
+ * @return the value value.
*/
- public List amlCompute() {
- return this.amlCompute;
+ public List value() {
+ return this.value;
}
/**
- * Set the amlCompute property: The list of virtual machine sizes supported by AmlCompute.
+ * Set the value property: The list of virtual machine sizes supported by AmlCompute.
*
- * @param amlCompute the amlCompute value to set.
+ * @param value the value value to set.
* @return the VirtualMachineSizeListResultInner object itself.
*/
- public VirtualMachineSizeListResultInner withAmlCompute(List amlCompute) {
- this.amlCompute = amlCompute;
+ public VirtualMachineSizeListResultInner withValue(List value) {
+ this.value = value;
return this;
}
@@ -48,8 +48,8 @@ public VirtualMachineSizeListResultInner withAmlCompute(List
* @throws IllegalArgumentException thrown if the instance is not valid.
*/
public void validate() {
- if (amlCompute() != null) {
- amlCompute().forEach(e -> e.validate());
+ if (value() != null) {
+ value().forEach(e -> e.validate());
}
}
}
diff --git a/sdk/machinelearningservices/azure-resourcemanager-machinelearningservices/src/main/java/com/azure/resourcemanager/machinelearningservices/fluent/models/WorkspaceInner.java b/sdk/machinelearningservices/azure-resourcemanager-machinelearningservices/src/main/java/com/azure/resourcemanager/machinelearningservices/fluent/models/WorkspaceInner.java
index a8815c7b7bbd..6a6b5c05e3d9 100644
--- a/sdk/machinelearningservices/azure-resourcemanager-machinelearningservices/src/main/java/com/azure/resourcemanager/machinelearningservices/fluent/models/WorkspaceInner.java
+++ b/sdk/machinelearningservices/azure-resourcemanager-machinelearningservices/src/main/java/com/azure/resourcemanager/machinelearningservices/fluent/models/WorkspaceInner.java
@@ -6,7 +6,7 @@
import com.azure.core.annotation.Fluent;
import com.azure.core.annotation.JsonFlatten;
-import com.azure.core.management.Resource;
+import com.azure.core.management.ProxyResource;
import com.azure.core.management.SystemData;
import com.azure.core.util.logging.ClientLogger;
import com.azure.resourcemanager.machinelearningservices.models.EncryptionProperty;
@@ -16,6 +16,7 @@
import com.azure.resourcemanager.machinelearningservices.models.SharedPrivateLinkResource;
import com.azure.resourcemanager.machinelearningservices.models.Sku;
import com.fasterxml.jackson.annotation.JsonIgnore;
+import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.List;
import java.util.Map;
@@ -23,9 +24,40 @@
/** An object that represents a machine learning workspace. */
@JsonFlatten
@Fluent
-public class WorkspaceInner extends Resource {
+public class WorkspaceInner extends ProxyResource {
@JsonIgnore private final ClientLogger logger = new ClientLogger(WorkspaceInner.class);
+ /*
+ * The identity of the resource.
+ */
+ @JsonProperty(value = "identity")
+ private Identity identity;
+
+ /*
+ * Specifies the location of the resource.
+ */
+ @JsonProperty(value = "location")
+ private String location;
+
+ /*
+ * Contains resource tags defined as key/value pairs.
+ */
+ @JsonProperty(value = "tags")
+ @JsonInclude(value = JsonInclude.Include.NON_NULL, content = JsonInclude.Include.ALWAYS)
+ private Map tags;
+
+ /*
+ * The sku of the workspace.
+ */
+ @JsonProperty(value = "sku")
+ private Sku sku;
+
+ /*
+ * Metadata pertaining to creation and last modification of the resource.
+ */
+ @JsonProperty(value = "systemData", access = JsonProperty.Access.WRITE_ONLY)
+ private SystemData systemData;
+
/*
* The immutable id associated with this workspace.
*/
@@ -161,23 +193,94 @@ public class WorkspaceInner extends Resource {
@JsonProperty(value = "properties.tenantId", access = JsonProperty.Access.WRITE_ONLY)
private String tenantId;
- /*
- * The identity of the resource.
+ /**
+ * Get the identity property: The identity of the resource.
+ *
+ * @return the identity value.
*/
- @JsonProperty(value = "identity")
- private Identity identity;
+ public Identity identity() {
+ return this.identity;
+ }
- /*
- * The sku of the workspace.
+ /**
+ * Set the identity property: The identity of the resource.
+ *
+ * @param identity the identity value to set.
+ * @return the WorkspaceInner object itself.
*/
- @JsonProperty(value = "sku")
- private Sku sku;
+ public WorkspaceInner withIdentity(Identity identity) {
+ this.identity = identity;
+ return this;
+ }
- /*
- * Read only system data
+ /**
+ * Get the location property: Specifies the location of the resource.
+ *
+ * @return the location value.
*/
- @JsonProperty(value = "systemData", access = JsonProperty.Access.WRITE_ONLY)
- private SystemData systemData;
+ public String location() {
+ return this.location;
+ }
+
+ /**
+ * Set the location property: Specifies the location of the resource.
+ *
+ * @param location the location value to set.
+ * @return the WorkspaceInner object itself.
+ */
+ public WorkspaceInner withLocation(String location) {
+ this.location = location;
+ return this;
+ }
+
+ /**
+ * Get the tags property: Contains resource tags defined as key/value pairs.
+ *
+ * @return the tags value.
+ */
+ public Map tags() {
+ return this.tags;
+ }
+
+ /**
+ * Set the tags property: Contains resource tags defined as key/value pairs.
+ *
+ * @param tags the tags value to set.
+ * @return the WorkspaceInner object itself.
+ */
+ public WorkspaceInner withTags(Map tags) {
+ this.tags = tags;
+ return this;
+ }
+
+ /**
+ * Get the sku property: The sku of the workspace.
+ *
+ * @return the sku value.
+ */
+ public Sku sku() {
+ return this.sku;
+ }
+
+ /**
+ * Set the sku property: The sku of the workspace.
+ *
+ * @param sku the sku value to set.
+ * @return the WorkspaceInner object itself.
+ */
+ public WorkspaceInner withSku(Sku sku) {
+ this.sku = sku;
+ return this;
+ }
+
+ /**
+ * Get the systemData property: Metadata pertaining to creation and last modification of the resource.
+ *
+ * @return the systemData value.
+ */
+ public SystemData systemData() {
+ return this.systemData;
+ }
/**
* Get the workspaceId property: The immutable id associated with this workspace.
@@ -541,75 +644,18 @@ public String tenantId() {
return this.tenantId;
}
- /**
- * Get the identity property: The identity of the resource.
- *
- * @return the identity value.
- */
- public Identity identity() {
- return this.identity;
- }
-
- /**
- * Set the identity property: The identity of the resource.
- *
- * @param identity the identity value to set.
- * @return the WorkspaceInner object itself.
- */
- public WorkspaceInner withIdentity(Identity identity) {
- this.identity = identity;
- return this;
- }
-
- /**
- * Get the sku property: The sku of the workspace.
- *
- * @return the sku value.
- */
- public Sku sku() {
- return this.sku;
- }
-
- /**
- * Set the sku property: The sku of the workspace.
- *
- * @param sku the sku value to set.
- * @return the WorkspaceInner object itself.
- */
- public WorkspaceInner withSku(Sku sku) {
- this.sku = sku;
- return this;
- }
-
- /**
- * Get the systemData property: Read only system data.
- *
- * @return the systemData value.
- */
- public SystemData systemData() {
- return this.systemData;
- }
-
- /** {@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() {
+ if (identity() != null) {
+ identity().validate();
+ }
+ if (sku() != null) {
+ sku().validate();
+ }
if (encryption() != null) {
encryption().validate();
}
@@ -625,11 +671,5 @@ public void validate() {
if (serviceManagedResourcesSettings() != null) {
serviceManagedResourcesSettings().validate();
}
- if (identity() != null) {
- identity().validate();
- }
- if (sku() != null) {
- sku().validate();
- }
}
}
diff --git a/sdk/machinelearningservices/azure-resourcemanager-machinelearningservices/src/main/java/com/azure/resourcemanager/machinelearningservices/implementation/AzureMachineLearningWorkspacesBuilder.java b/sdk/machinelearningservices/azure-resourcemanager-machinelearningservices/src/main/java/com/azure/resourcemanager/machinelearningservices/implementation/AzureMachineLearningWorkspacesBuilder.java
index eea90921315f..1af366c8dd9f 100644
--- a/sdk/machinelearningservices/azure-resourcemanager-machinelearningservices/src/main/java/com/azure/resourcemanager/machinelearningservices/implementation/AzureMachineLearningWorkspacesBuilder.java
+++ b/sdk/machinelearningservices/azure-resourcemanager-machinelearningservices/src/main/java/com/azure/resourcemanager/machinelearningservices/implementation/AzureMachineLearningWorkspacesBuilder.java
@@ -19,12 +19,12 @@
@ServiceClientBuilder(serviceClients = {AzureMachineLearningWorkspacesImpl.class})
public final class AzureMachineLearningWorkspacesBuilder {
/*
- * Azure subscription identifier.
+ * The ID of the target subscription.
*/
private String subscriptionId;
/**
- * Sets Azure subscription identifier.
+ * Sets The ID of the target subscription.
*
* @param subscriptionId the subscriptionId value.
* @return the AzureMachineLearningWorkspacesBuilder.
diff --git a/sdk/machinelearningservices/azure-resourcemanager-machinelearningservices/src/main/java/com/azure/resourcemanager/machinelearningservices/implementation/AzureMachineLearningWorkspacesImpl.java b/sdk/machinelearningservices/azure-resourcemanager-machinelearningservices/src/main/java/com/azure/resourcemanager/machinelearningservices/implementation/AzureMachineLearningWorkspacesImpl.java
index 031355d5ac86..4ff1fa05f43f 100644
--- a/sdk/machinelearningservices/azure-resourcemanager-machinelearningservices/src/main/java/com/azure/resourcemanager/machinelearningservices/implementation/AzureMachineLearningWorkspacesImpl.java
+++ b/sdk/machinelearningservices/azure-resourcemanager-machinelearningservices/src/main/java/com/azure/resourcemanager/machinelearningservices/implementation/AzureMachineLearningWorkspacesImpl.java
@@ -22,19 +22,31 @@
import com.azure.core.util.serializer.SerializerAdapter;
import com.azure.core.util.serializer.SerializerEncoding;
import com.azure.resourcemanager.machinelearningservices.fluent.AzureMachineLearningWorkspaces;
-import com.azure.resourcemanager.machinelearningservices.fluent.MachineLearningComputesClient;
-import com.azure.resourcemanager.machinelearningservices.fluent.MachineLearningServicesClient;
-import com.azure.resourcemanager.machinelearningservices.fluent.NotebooksClient;
+import com.azure.resourcemanager.machinelearningservices.fluent.BatchDeploymentsClient;
+import com.azure.resourcemanager.machinelearningservices.fluent.BatchEndpointsClient;
+import com.azure.resourcemanager.machinelearningservices.fluent.CodeContainersClient;
+import com.azure.resourcemanager.machinelearningservices.fluent.CodeVersionsClient;
+import com.azure.resourcemanager.machinelearningservices.fluent.ComputesClient;
+import com.azure.resourcemanager.machinelearningservices.fluent.DataContainersClient;
+import com.azure.resourcemanager.machinelearningservices.fluent.DataVersionsClient;
+import com.azure.resourcemanager.machinelearningservices.fluent.DatastoresClient;
+import com.azure.resourcemanager.machinelearningservices.fluent.EnvironmentContainersClient;
+import com.azure.resourcemanager.machinelearningservices.fluent.EnvironmentSpecificationVersionsClient;
+import com.azure.resourcemanager.machinelearningservices.fluent.JobsClient;
+import com.azure.resourcemanager.machinelearningservices.fluent.LabelingJobsClient;
+import com.azure.resourcemanager.machinelearningservices.fluent.ModelContainersClient;
+import com.azure.resourcemanager.machinelearningservices.fluent.ModelVersionsClient;
+import com.azure.resourcemanager.machinelearningservices.fluent.OnlineDeploymentsClient;
+import com.azure.resourcemanager.machinelearningservices.fluent.OnlineEndpointsClient;
import com.azure.resourcemanager.machinelearningservices.fluent.OperationsClient;
import com.azure.resourcemanager.machinelearningservices.fluent.PrivateEndpointConnectionsClient;
import com.azure.resourcemanager.machinelearningservices.fluent.PrivateLinkResourcesClient;
import com.azure.resourcemanager.machinelearningservices.fluent.QuotasClient;
-import com.azure.resourcemanager.machinelearningservices.fluent.StorageAccountsClient;
import com.azure.resourcemanager.machinelearningservices.fluent.UsagesClient;
import com.azure.resourcemanager.machinelearningservices.fluent.VirtualMachineSizesClient;
import com.azure.resourcemanager.machinelearningservices.fluent.WorkspaceConnectionsClient;
import com.azure.resourcemanager.machinelearningservices.fluent.WorkspaceFeaturesClient;
-import com.azure.resourcemanager.machinelearningservices.fluent.WorkspaceOperationsClient;
+import com.azure.resourcemanager.machinelearningservices.fluent.WorkspaceSkusClient;
import com.azure.resourcemanager.machinelearningservices.fluent.WorkspacesClient;
import java.io.IOException;
import java.lang.reflect.Type;
@@ -51,11 +63,11 @@
public final class AzureMachineLearningWorkspacesImpl implements AzureMachineLearningWorkspaces {
private final ClientLogger logger = new ClientLogger(AzureMachineLearningWorkspacesImpl.class);
- /** Azure subscription identifier. */
+ /** The ID of the target subscription. */
private final String subscriptionId;
/**
- * Gets Azure subscription identifier.
+ * Gets The ID of the target subscription.
*
* @return the subscriptionId value.
*/
@@ -147,18 +159,6 @@ public WorkspacesClient getWorkspaces() {
return this.workspaces;
}
- /** The WorkspaceFeaturesClient object to access its operations. */
- private final WorkspaceFeaturesClient workspaceFeatures;
-
- /**
- * Gets the WorkspaceFeaturesClient object to access its operations.
- *
- * @return the WorkspaceFeaturesClient object.
- */
- public WorkspaceFeaturesClient getWorkspaceFeatures() {
- return this.workspaceFeatures;
- }
-
/** The UsagesClient object to access its operations. */
private final UsagesClient usages;
@@ -195,28 +195,16 @@ public QuotasClient getQuotas() {
return this.quotas;
}
- /** The MachineLearningComputesClient object to access its operations. */
- private final MachineLearningComputesClient machineLearningComputes;
+ /** The ComputesClient object to access its operations. */
+ private final ComputesClient computes;
/**
- * Gets the MachineLearningComputesClient object to access its operations.
+ * Gets the ComputesClient object to access its operations.
*
- * @return the MachineLearningComputesClient object.
+ * @return the ComputesClient object.
*/
- public MachineLearningComputesClient getMachineLearningComputes() {
- return this.machineLearningComputes;
- }
-
- /** The WorkspaceOperationsClient object to access its operations. */
- private final WorkspaceOperationsClient workspaceOperations;
-
- /**
- * Gets the WorkspaceOperationsClient object to access its operations.
- *
- * @return the WorkspaceOperationsClient object.
- */
- public WorkspaceOperationsClient getWorkspaceOperations() {
- return this.workspaceOperations;
+ public ComputesClient getComputes() {
+ return this.computes;
}
/** The PrivateEndpointConnectionsClient object to access its operations. */
@@ -243,52 +231,220 @@ public PrivateLinkResourcesClient getPrivateLinkResources() {
return this.privateLinkResources;
}
- /** The MachineLearningServicesClient object to access its operations. */
- private final MachineLearningServicesClient machineLearningServices;
+ /** The WorkspaceConnectionsClient object to access its operations. */
+ private final WorkspaceConnectionsClient workspaceConnections;
/**
- * Gets the MachineLearningServicesClient object to access its operations.
+ * Gets the WorkspaceConnectionsClient object to access its operations.
*
- * @return the MachineLearningServicesClient object.
+ * @return the WorkspaceConnectionsClient object.
*/
- public MachineLearningServicesClient getMachineLearningServices() {
- return this.machineLearningServices;
+ public WorkspaceConnectionsClient getWorkspaceConnections() {
+ return this.workspaceConnections;
}
- /** The NotebooksClient object to access its operations. */
- private final NotebooksClient notebooks;
+ /** The BatchEndpointsClient object to access its operations. */
+ private final BatchEndpointsClient batchEndpoints;
/**
- * Gets the NotebooksClient object to access its operations.
+ * Gets the BatchEndpointsClient object to access its operations.
*
- * @return the NotebooksClient object.
+ * @return the BatchEndpointsClient object.
*/
- public NotebooksClient getNotebooks() {
- return this.notebooks;
+ public BatchEndpointsClient getBatchEndpoints() {
+ return this.batchEndpoints;
}
- /** The StorageAccountsClient object to access its operations. */
- private final StorageAccountsClient storageAccounts;
+ /** The BatchDeploymentsClient object to access its operations. */
+ private final BatchDeploymentsClient batchDeployments;
/**
- * Gets the StorageAccountsClient object to access its operations.
+ * Gets the BatchDeploymentsClient object to access its operations.
*
- * @return the StorageAccountsClient object.
+ * @return the BatchDeploymentsClient object.
*/
- public StorageAccountsClient getStorageAccounts() {
- return this.storageAccounts;
+ public BatchDeploymentsClient getBatchDeployments() {
+ return this.batchDeployments;
}
- /** The WorkspaceConnectionsClient object to access its operations. */
- private final WorkspaceConnectionsClient workspaceConnections;
+ /** The CodeContainersClient object to access its operations. */
+ private final CodeContainersClient codeContainers;
/**
- * Gets the WorkspaceConnectionsClient object to access its operations.
+ * Gets the CodeContainersClient object to access its operations.
*
- * @return the WorkspaceConnectionsClient object.
+ * @return the CodeContainersClient object.
*/
- public WorkspaceConnectionsClient getWorkspaceConnections() {
- return this.workspaceConnections;
+ public CodeContainersClient getCodeContainers() {
+ return this.codeContainers;
+ }
+
+ /** The CodeVersionsClient object to access its operations. */
+ private final CodeVersionsClient codeVersions;
+
+ /**
+ * Gets the CodeVersionsClient object to access its operations.
+ *
+ * @return the CodeVersionsClient object.
+ */
+ public CodeVersionsClient getCodeVersions() {
+ return this.codeVersions;
+ }
+
+ /** The DataContainersClient object to access its operations. */
+ private final DataContainersClient dataContainers;
+
+ /**
+ * Gets the DataContainersClient object to access its operations.
+ *
+ * @return the DataContainersClient object.
+ */
+ public DataContainersClient getDataContainers() {
+ return this.dataContainers;
+ }
+
+ /** The DataVersionsClient object to access its operations. */
+ private final DataVersionsClient dataVersions;
+
+ /**
+ * Gets the DataVersionsClient object to access its operations.
+ *
+ * @return the DataVersionsClient object.
+ */
+ public DataVersionsClient getDataVersions() {
+ return this.dataVersions;
+ }
+
+ /** The DatastoresClient object to access its operations. */
+ private final DatastoresClient datastores;
+
+ /**
+ * Gets the DatastoresClient object to access its operations.
+ *
+ * @return the DatastoresClient object.
+ */
+ public DatastoresClient getDatastores() {
+ return this.datastores;
+ }
+
+ /** The EnvironmentContainersClient object to access its operations. */
+ private final EnvironmentContainersClient environmentContainers;
+
+ /**
+ * Gets the EnvironmentContainersClient object to access its operations.
+ *
+ * @return the EnvironmentContainersClient object.
+ */
+ public EnvironmentContainersClient getEnvironmentContainers() {
+ return this.environmentContainers;
+ }
+
+ /** The EnvironmentSpecificationVersionsClient object to access its operations. */
+ private final EnvironmentSpecificationVersionsClient environmentSpecificationVersions;
+
+ /**
+ * Gets the EnvironmentSpecificationVersionsClient object to access its operations.
+ *
+ * @return the EnvironmentSpecificationVersionsClient object.
+ */
+ public EnvironmentSpecificationVersionsClient getEnvironmentSpecificationVersions() {
+ return this.environmentSpecificationVersions;
+ }
+
+ /** 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 LabelingJobsClient object to access its operations. */
+ private final LabelingJobsClient labelingJobs;
+
+ /**
+ * Gets the LabelingJobsClient object to access its operations.
+ *
+ * @return the LabelingJobsClient object.
+ */
+ public LabelingJobsClient getLabelingJobs() {
+ return this.labelingJobs;
+ }
+
+ /** The ModelContainersClient object to access its operations. */
+ private final ModelContainersClient modelContainers;
+
+ /**
+ * Gets the ModelContainersClient object to access its operations.
+ *
+ * @return the ModelContainersClient object.
+ */
+ public ModelContainersClient getModelContainers() {
+ return this.modelContainers;
+ }
+
+ /** The ModelVersionsClient object to access its operations. */
+ private final ModelVersionsClient modelVersions;
+
+ /**
+ * Gets the ModelVersionsClient object to access its operations.
+ *
+ * @return the ModelVersionsClient object.
+ */
+ public ModelVersionsClient getModelVersions() {
+ return this.modelVersions;
+ }
+
+ /** The OnlineEndpointsClient object to access its operations. */
+ private final OnlineEndpointsClient onlineEndpoints;
+
+ /**
+ * Gets the OnlineEndpointsClient object to access its operations.
+ *
+ * @return the OnlineEndpointsClient object.
+ */
+ public OnlineEndpointsClient getOnlineEndpoints() {
+ return this.onlineEndpoints;
+ }
+
+ /** The OnlineDeploymentsClient object to access its operations. */
+ private final OnlineDeploymentsClient onlineDeployments;
+
+ /**
+ * Gets the OnlineDeploymentsClient object to access its operations.
+ *
+ * @return the OnlineDeploymentsClient object.
+ */
+ public OnlineDeploymentsClient getOnlineDeployments() {
+ return this.onlineDeployments;
+ }
+
+ /** The WorkspaceFeaturesClient object to access its operations. */
+ private final WorkspaceFeaturesClient workspaceFeatures;
+
+ /**
+ * Gets the WorkspaceFeaturesClient object to access its operations.
+ *
+ * @return the WorkspaceFeaturesClient object.
+ */
+ public WorkspaceFeaturesClient getWorkspaceFeatures() {
+ return this.workspaceFeatures;
+ }
+
+ /** The WorkspaceSkusClient object to access its operations. */
+ private final WorkspaceSkusClient workspaceSkus;
+
+ /**
+ * Gets the WorkspaceSkusClient object to access its operations.
+ *
+ * @return the WorkspaceSkusClient object.
+ */
+ public WorkspaceSkusClient getWorkspaceSkus() {
+ return this.workspaceSkus;
}
/**
@@ -298,7 +454,7 @@ public WorkspaceConnectionsClient getWorkspaceConnections() {
* @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 Azure subscription identifier.
+ * @param subscriptionId The ID of the target subscription.
* @param endpoint server parameter.
*/
AzureMachineLearningWorkspacesImpl(
@@ -313,21 +469,33 @@ public WorkspaceConnectionsClient getWorkspaceConnections() {
this.defaultPollInterval = defaultPollInterval;
this.subscriptionId = subscriptionId;
this.endpoint = endpoint;
- this.apiVersion = "2021-04-01";
+ this.apiVersion = "2021-03-01-preview";
this.operations = new OperationsClientImpl(this);
this.workspaces = new WorkspacesClientImpl(this);
- this.workspaceFeatures = new WorkspaceFeaturesClientImpl(this);
this.usages = new UsagesClientImpl(this);
this.virtualMachineSizes = new VirtualMachineSizesClientImpl(this);
this.quotas = new QuotasClientImpl(this);
- this.machineLearningComputes = new MachineLearningComputesClientImpl(this);
- this.workspaceOperations = new WorkspaceOperationsClientImpl(this);
+ this.computes = new ComputesClientImpl(this);
this.privateEndpointConnections = new PrivateEndpointConnectionsClientImpl(this);
this.privateLinkResources = new PrivateLinkResourcesClientImpl(this);
- this.machineLearningServices = new MachineLearningServicesClientImpl(this);
- this.notebooks = new NotebooksClientImpl(this);
- this.storageAccounts = new StorageAccountsClientImpl(this);
this.workspaceConnections = new WorkspaceConnectionsClientImpl(this);
+ this.batchEndpoints = new BatchEndpointsClientImpl(this);
+ this.batchDeployments = new BatchDeploymentsClientImpl(this);
+ this.codeContainers = new CodeContainersClientImpl(this);
+ this.codeVersions = new CodeVersionsClientImpl(this);
+ this.dataContainers = new DataContainersClientImpl(this);
+ this.dataVersions = new DataVersionsClientImpl(this);
+ this.datastores = new DatastoresClientImpl(this);
+ this.environmentContainers = new EnvironmentContainersClientImpl(this);
+ this.environmentSpecificationVersions = new EnvironmentSpecificationVersionsClientImpl(this);
+ this.jobs = new JobsClientImpl(this);
+ this.labelingJobs = new LabelingJobsClientImpl(this);
+ this.modelContainers = new ModelContainersClientImpl(this);
+ this.modelVersions = new ModelVersionsClientImpl(this);
+ this.onlineEndpoints = new OnlineEndpointsClientImpl(this);
+ this.onlineDeployments = new OnlineDeploymentsClientImpl(this);
+ this.workspaceFeatures = new WorkspaceFeaturesClientImpl(this);
+ this.workspaceSkus = new WorkspaceSkusClientImpl(this);
}
/**
diff --git a/sdk/machinelearningservices/azure-resourcemanager-machinelearningservices/src/main/java/com/azure/resourcemanager/machinelearningservices/implementation/BatchDeploymentTrackedResourceImpl.java b/sdk/machinelearningservices/azure-resourcemanager-machinelearningservices/src/main/java/com/azure/resourcemanager/machinelearningservices/implementation/BatchDeploymentTrackedResourceImpl.java
new file mode 100644
index 000000000000..29d48d952b62
--- /dev/null
+++ b/sdk/machinelearningservices/azure-resourcemanager-machinelearningservices/src/main/java/com/azure/resourcemanager/machinelearningservices/implementation/BatchDeploymentTrackedResourceImpl.java
@@ -0,0 +1,241 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.machinelearningservices.implementation;
+
+import com.azure.core.management.Region;
+import com.azure.core.management.SystemData;
+import com.azure.core.util.Context;
+import com.azure.resourcemanager.machinelearningservices.fluent.models.BatchDeploymentTrackedResourceInner;
+import com.azure.resourcemanager.machinelearningservices.models.BatchDeployment;
+import com.azure.resourcemanager.machinelearningservices.models.BatchDeploymentTrackedResource;
+import com.azure.resourcemanager.machinelearningservices.models.PartialBatchDeployment;
+import com.azure.resourcemanager.machinelearningservices.models.PartialBatchDeploymentPartialTrackedResource;
+import com.azure.resourcemanager.machinelearningservices.models.ResourceIdentity;
+import java.util.Collections;
+import java.util.Map;
+
+public final class BatchDeploymentTrackedResourceImpl
+ implements BatchDeploymentTrackedResource,
+ BatchDeploymentTrackedResource.Definition,
+ BatchDeploymentTrackedResource.Update {
+ private BatchDeploymentTrackedResourceInner innerObject;
+
+ private final com.azure.resourcemanager.machinelearningservices.MachineLearningServicesManager serviceManager;
+
+ public String id() {
+ return this.innerModel().id();
+ }
+
+ public String name() {
+ return this.innerModel().name();
+ }
+
+ public String type() {
+ return this.innerModel().type();
+ }
+
+ public String location() {
+ return this.innerModel().location();
+ }
+
+ public Map tags() {
+ Map inner = this.innerModel().tags();
+ if (inner != null) {
+ return Collections.unmodifiableMap(inner);
+ } else {
+ return Collections.emptyMap();
+ }
+ }
+
+ public ResourceIdentity identity() {
+ return this.innerModel().identity();
+ }
+
+ public String kind() {
+ return this.innerModel().kind();
+ }
+
+ public BatchDeployment properties() {
+ return this.innerModel().properties();
+ }
+
+ public SystemData systemData() {
+ return this.innerModel().systemData();
+ }
+
+ public Region region() {
+ return Region.fromName(this.regionName());
+ }
+
+ public String regionName() {
+ return this.location();
+ }
+
+ public BatchDeploymentTrackedResourceInner innerModel() {
+ return this.innerObject;
+ }
+
+ private com.azure.resourcemanager.machinelearningservices.MachineLearningServicesManager manager() {
+ return this.serviceManager;
+ }
+
+ private String endpointName;
+
+ private String deploymentName;
+
+ private String resourceGroupName;
+
+ private String workspaceName;
+
+ private PartialBatchDeploymentPartialTrackedResource updateBody;
+
+ public BatchDeploymentTrackedResourceImpl withExistingBatchEndpoint(
+ String endpointName, String resourceGroupName, String workspaceName) {
+ this.endpointName = endpointName;
+ this.resourceGroupName = resourceGroupName;
+ this.workspaceName = workspaceName;
+ return this;
+ }
+
+ public BatchDeploymentTrackedResource create() {
+ this.innerObject =
+ serviceManager
+ .serviceClient()
+ .getBatchDeployments()
+ .createOrUpdateWithResponse(
+ endpointName, deploymentName, resourceGroupName, workspaceName, this.innerModel(), Context.NONE)
+ .getValue();
+ return this;
+ }
+
+ public BatchDeploymentTrackedResource create(Context context) {
+ this.innerObject =
+ serviceManager
+ .serviceClient()
+ .getBatchDeployments()
+ .createOrUpdateWithResponse(
+ endpointName, deploymentName, resourceGroupName, workspaceName, this.innerModel(), context)
+ .getValue();
+ return this;
+ }
+
+ BatchDeploymentTrackedResourceImpl(
+ String name, com.azure.resourcemanager.machinelearningservices.MachineLearningServicesManager serviceManager) {
+ this.innerObject = new BatchDeploymentTrackedResourceInner();
+ this.serviceManager = serviceManager;
+ this.deploymentName = name;
+ }
+
+ public BatchDeploymentTrackedResourceImpl update() {
+ this.updateBody = new PartialBatchDeploymentPartialTrackedResource();
+ return this;
+ }
+
+ public BatchDeploymentTrackedResource apply() {
+ this.innerObject =
+ serviceManager
+ .serviceClient()
+ .getBatchDeployments()
+ .updateWithResponse(
+ endpointName, deploymentName, resourceGroupName, workspaceName, updateBody, Context.NONE)
+ .getValue();
+ return this;
+ }
+
+ public BatchDeploymentTrackedResource apply(Context context) {
+ this.innerObject =
+ serviceManager
+ .serviceClient()
+ .getBatchDeployments()
+ .updateWithResponse(endpointName, deploymentName, resourceGroupName, workspaceName, updateBody, context)
+ .getValue();
+ return this;
+ }
+
+ BatchDeploymentTrackedResourceImpl(
+ BatchDeploymentTrackedResourceInner innerObject,
+ com.azure.resourcemanager.machinelearningservices.MachineLearningServicesManager serviceManager) {
+ this.innerObject = innerObject;
+ this.serviceManager = serviceManager;
+ this.endpointName = Utils.getValueFromIdByName(innerObject.id(), "batchEndpoints");
+ this.deploymentName = Utils.getValueFromIdByName(innerObject.id(), "deployments");
+ this.resourceGroupName = Utils.getValueFromIdByName(innerObject.id(), "resourceGroups");
+ this.workspaceName = Utils.getValueFromIdByName(innerObject.id(), "workspaces");
+ }
+
+ public BatchDeploymentTrackedResource refresh() {
+ this.innerObject =
+ serviceManager
+ .serviceClient()
+ .getBatchDeployments()
+ .getWithResponse(endpointName, deploymentName, resourceGroupName, workspaceName, Context.NONE)
+ .getValue();
+ return this;
+ }
+
+ public BatchDeploymentTrackedResource refresh(Context context) {
+ this.innerObject =
+ serviceManager
+ .serviceClient()
+ .getBatchDeployments()
+ .getWithResponse(endpointName, deploymentName, resourceGroupName, workspaceName, context)
+ .getValue();
+ return this;
+ }
+
+ public BatchDeploymentTrackedResourceImpl withRegion(Region location) {
+ this.innerModel().withLocation(location.toString());
+ return this;
+ }
+
+ public BatchDeploymentTrackedResourceImpl withRegion(String location) {
+ this.innerModel().withLocation(location);
+ return this;
+ }
+
+ public BatchDeploymentTrackedResourceImpl withProperties(BatchDeployment properties) {
+ this.innerModel().withProperties(properties);
+ return this;
+ }
+
+ public BatchDeploymentTrackedResourceImpl withTags(Map tags) {
+ if (isInCreateMode()) {
+ this.innerModel().withTags(tags);
+ return this;
+ } else {
+ this.updateBody.withTags(tags);
+ return this;
+ }
+ }
+
+ public BatchDeploymentTrackedResourceImpl withIdentity(ResourceIdentity identity) {
+ if (isInCreateMode()) {
+ this.innerModel().withIdentity(identity);
+ return this;
+ } else {
+ this.updateBody.withIdentity(identity);
+ return this;
+ }
+ }
+
+ public BatchDeploymentTrackedResourceImpl withKind(String kind) {
+ if (isInCreateMode()) {
+ this.innerModel().withKind(kind);
+ return this;
+ } else {
+ this.updateBody.withKind(kind);
+ return this;
+ }
+ }
+
+ public BatchDeploymentTrackedResourceImpl withProperties(PartialBatchDeployment properties) {
+ this.updateBody.withProperties(properties);
+ return this;
+ }
+
+ private boolean isInCreateMode() {
+ return this.innerModel().id() == null;
+ }
+}
diff --git a/sdk/machinelearningservices/azure-resourcemanager-machinelearningservices/src/main/java/com/azure/resourcemanager/machinelearningservices/implementation/BatchDeploymentsClientImpl.java b/sdk/machinelearningservices/azure-resourcemanager-machinelearningservices/src/main/java/com/azure/resourcemanager/machinelearningservices/implementation/BatchDeploymentsClientImpl.java
new file mode 100644
index 000000000000..8f3c79de20b7
--- /dev/null
+++ b/sdk/machinelearningservices/azure-resourcemanager-machinelearningservices/src/main/java/com/azure/resourcemanager/machinelearningservices/implementation/BatchDeploymentsClientImpl.java
@@ -0,0 +1,1284 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.machinelearningservices.implementation;
+
+import com.azure.core.annotation.BodyParam;
+import com.azure.core.annotation.Delete;
+import com.azure.core.annotation.ExpectedResponses;
+import com.azure.core.annotation.Get;
+import com.azure.core.annotation.HeaderParam;
+import com.azure.core.annotation.Headers;
+import com.azure.core.annotation.Host;
+import com.azure.core.annotation.HostParam;
+import com.azure.core.annotation.Patch;
+import com.azure.core.annotation.PathParam;
+import com.azure.core.annotation.Put;
+import com.azure.core.annotation.QueryParam;
+import com.azure.core.annotation.ReturnType;
+import com.azure.core.annotation.ServiceInterface;
+import com.azure.core.annotation.ServiceMethod;
+import com.azure.core.annotation.UnexpectedResponseExceptionType;
+import com.azure.core.http.rest.PagedFlux;
+import com.azure.core.http.rest.PagedIterable;
+import com.azure.core.http.rest.PagedResponse;
+import com.azure.core.http.rest.PagedResponseBase;
+import com.azure.core.http.rest.Response;
+import com.azure.core.http.rest.RestProxy;
+import com.azure.core.management.exception.ManagementException;
+import com.azure.core.util.Context;
+import com.azure.core.util.FluxUtil;
+import com.azure.core.util.logging.ClientLogger;
+import com.azure.resourcemanager.machinelearningservices.fluent.BatchDeploymentsClient;
+import com.azure.resourcemanager.machinelearningservices.fluent.models.BatchDeploymentTrackedResourceInner;
+import com.azure.resourcemanager.machinelearningservices.models.BatchDeploymentTrackedResourceArmPaginatedResult;
+import com.azure.resourcemanager.machinelearningservices.models.PartialBatchDeploymentPartialTrackedResource;
+import reactor.core.publisher.Mono;
+
+/** An instance of this class provides access to all the operations defined in BatchDeploymentsClient. */
+public final class BatchDeploymentsClientImpl implements BatchDeploymentsClient {
+ private final ClientLogger logger = new ClientLogger(BatchDeploymentsClientImpl.class);
+
+ /** The proxy service used to perform REST calls. */
+ private final BatchDeploymentsService service;
+
+ /** The service client containing this operation class. */
+ private final AzureMachineLearningWorkspacesImpl client;
+
+ /**
+ * Initializes an instance of BatchDeploymentsClientImpl.
+ *
+ * @param client the instance of the service client containing this operation class.
+ */
+ BatchDeploymentsClientImpl(AzureMachineLearningWorkspacesImpl client) {
+ this.service =
+ RestProxy.create(BatchDeploymentsService.class, client.getHttpPipeline(), client.getSerializerAdapter());
+ this.client = client;
+ }
+
+ /**
+ * The interface defining all the services for AzureMachineLearningWorkspacesBatchDeployments to be used by the
+ * proxy service to perform REST calls.
+ */
+ @Host("{$host}")
+ @ServiceInterface(name = "AzureMachineLearning")
+ private interface BatchDeploymentsService {
+ @Headers({"Content-Type: application/json"})
+ @Get(
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers"
+ + "/Microsoft.MachineLearningServices/workspaces/{workspaceName}/batchEndpoints/{endpointName}"
+ + "/deployments")
+ @ExpectedResponses({200})
+ @UnexpectedResponseExceptionType(ManagementException.class)
+ Mono> list(
+ @HostParam("$host") String endpoint,
+ @PathParam("endpointName") String endpointName,
+ @QueryParam("api-version") String apiVersion,
+ @QueryParam("$orderBy") String orderBy,
+ @QueryParam("$top") Integer top,
+ @QueryParam("$skip") String skip,
+ @PathParam("subscriptionId") String subscriptionId,
+ @PathParam("resourceGroupName") String resourceGroupName,
+ @PathParam("workspaceName") String workspaceName,
+ @HeaderParam("Accept") String accept,
+ Context context);
+
+ @Headers({"Content-Type: application/json"})
+ @Delete(
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers"
+ + "/Microsoft.MachineLearningServices/workspaces/{workspaceName}/batchEndpoints/{endpointName}"
+ + "/deployments/{deploymentName}")
+ @ExpectedResponses({200, 204})
+ @UnexpectedResponseExceptionType(ManagementException.class)
+ Mono> delete(
+ @HostParam("$host") String endpoint,
+ @PathParam("endpointName") String endpointName,
+ @PathParam("deploymentName") String deploymentName,
+ @QueryParam("api-version") String apiVersion,
+ @PathParam("subscriptionId") String subscriptionId,
+ @PathParam("resourceGroupName") String resourceGroupName,
+ @PathParam("workspaceName") String workspaceName,
+ @HeaderParam("Accept") String accept,
+ Context context);
+
+ @Headers({"Content-Type: application/json"})
+ @Get(
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers"
+ + "/Microsoft.MachineLearningServices/workspaces/{workspaceName}/batchEndpoints/{endpointName}"
+ + "/deployments/{deploymentName}")
+ @ExpectedResponses({200})
+ @UnexpectedResponseExceptionType(ManagementException.class)
+ Mono> get(
+ @HostParam("$host") String endpoint,
+ @PathParam("endpointName") String endpointName,
+ @PathParam("deploymentName") String deploymentName,
+ @QueryParam("api-version") String apiVersion,
+ @PathParam("subscriptionId") String subscriptionId,
+ @PathParam("resourceGroupName") String resourceGroupName,
+ @PathParam("workspaceName") String workspaceName,
+ @HeaderParam("Accept") String accept,
+ Context context);
+
+ @Headers({"Content-Type: application/json"})
+ @Patch(
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers"
+ + "/Microsoft.MachineLearningServices/workspaces/{workspaceName}/batchEndpoints/{endpointName}"
+ + "/deployments/{deploymentName}")
+ @ExpectedResponses({200})
+ @UnexpectedResponseExceptionType(ManagementException.class)
+ Mono> update(
+ @HostParam("$host") String endpoint,
+ @PathParam("endpointName") String endpointName,
+ @PathParam("deploymentName") String deploymentName,
+ @QueryParam("api-version") String apiVersion,
+ @PathParam("subscriptionId") String subscriptionId,
+ @PathParam("resourceGroupName") String resourceGroupName,
+ @PathParam("workspaceName") String workspaceName,
+ @BodyParam("application/json") PartialBatchDeploymentPartialTrackedResource body,
+ @HeaderParam("Accept") String accept,
+ Context context);
+
+ @Headers({"Content-Type: application/json"})
+ @Put(
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers"
+ + "/Microsoft.MachineLearningServices/workspaces/{workspaceName}/batchEndpoints/{endpointName}"
+ + "/deployments/{deploymentName}")
+ @ExpectedResponses({200, 201})
+ @UnexpectedResponseExceptionType(ManagementException.class)
+ Mono> createOrUpdate(
+ @HostParam("$host") String endpoint,
+ @PathParam("endpointName") String endpointName,
+ @PathParam("deploymentName") String deploymentName,
+ @QueryParam("api-version") String apiVersion,
+ @PathParam("subscriptionId") String subscriptionId,
+ @PathParam("resourceGroupName") String resourceGroupName,
+ @PathParam("workspaceName") String workspaceName,
+ @BodyParam("application/json") BatchDeploymentTrackedResourceInner body,
+ @HeaderParam("Accept") String accept,
+ Context context);
+
+ @Headers({"Content-Type: application/json"})
+ @Get("{nextLink}")
+ @ExpectedResponses({200})
+ @UnexpectedResponseExceptionType(ManagementException.class)
+ Mono> listNext(
+ @PathParam(value = "nextLink", encoded = true) String nextLink,
+ @HostParam("$host") String endpoint,
+ @HeaderParam("Accept") String accept,
+ Context context);
+ }
+
+ /**
+ * Lists Batch inference deployments in the workspace.
+ *
+ * @param endpointName Endpoint name.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Name of Azure Machine Learning workspace.
+ * @param orderBy Ordering of list.
+ * @param top Top of list.
+ * @param skip Continuation token for pagination.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a paginated list of BatchDeployment entities.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Mono> listSinglePageAsync(
+ String endpointName, String resourceGroupName, String workspaceName, String orderBy, Integer top, String skip) {
+ if (this.client.getEndpoint() == null) {
+ return Mono
+ .error(
+ new IllegalArgumentException(
+ "Parameter this.client.getEndpoint() is required and cannot be null."));
+ }
+ if (endpointName == null) {
+ return Mono.error(new IllegalArgumentException("Parameter endpointName is required and cannot be null."));
+ }
+ if (this.client.getSubscriptionId() == null) {
+ return Mono
+ .error(
+ new IllegalArgumentException(
+ "Parameter this.client.getSubscriptionId() is required and cannot be null."));
+ }
+ if (resourceGroupName == null) {
+ return Mono
+ .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."));
+ }
+ if (workspaceName == null) {
+ return Mono.error(new IllegalArgumentException("Parameter workspaceName is required and cannot be null."));
+ }
+ final String accept = "application/json";
+ return FluxUtil
+ .withContext(
+ context ->
+ service
+ .list(
+ this.client.getEndpoint(),
+ endpointName,
+ this.client.getApiVersion(),
+ orderBy,
+ top,
+ skip,
+ this.client.getSubscriptionId(),
+ resourceGroupName,
+ workspaceName,
+ accept,
+ context))
+ .>map(
+ res ->
+ new PagedResponseBase<>(
+ res.getRequest(),
+ res.getStatusCode(),
+ res.getHeaders(),
+ res.getValue().value(),
+ res.getValue().nextLink(),
+ null))
+ .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly()));
+ }
+
+ /**
+ * Lists Batch inference deployments in the workspace.
+ *
+ * @param endpointName Endpoint name.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Name of Azure Machine Learning workspace.
+ * @param orderBy Ordering of list.
+ * @param top Top of list.
+ * @param skip Continuation token for pagination.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a paginated list of BatchDeployment entities.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Mono> listSinglePageAsync(
+ String endpointName,
+ String resourceGroupName,
+ String workspaceName,
+ String orderBy,
+ Integer top,
+ String skip,
+ Context context) {
+ if (this.client.getEndpoint() == null) {
+ return Mono
+ .error(
+ new IllegalArgumentException(
+ "Parameter this.client.getEndpoint() is required and cannot be null."));
+ }
+ if (endpointName == null) {
+ return Mono.error(new IllegalArgumentException("Parameter endpointName is required and cannot be null."));
+ }
+ if (this.client.getSubscriptionId() == null) {
+ return Mono
+ .error(
+ new IllegalArgumentException(
+ "Parameter this.client.getSubscriptionId() is required and cannot be null."));
+ }
+ if (resourceGroupName == null) {
+ return Mono
+ .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."));
+ }
+ if (workspaceName == null) {
+ return Mono.error(new IllegalArgumentException("Parameter workspaceName is required and cannot be null."));
+ }
+ final String accept = "application/json";
+ context = this.client.mergeContext(context);
+ return service
+ .list(
+ this.client.getEndpoint(),
+ endpointName,
+ this.client.getApiVersion(),
+ orderBy,
+ top,
+ skip,
+ this.client.getSubscriptionId(),
+ resourceGroupName,
+ workspaceName,
+ accept,
+ context)
+ .map(
+ res ->
+ new PagedResponseBase<>(
+ res.getRequest(),
+ res.getStatusCode(),
+ res.getHeaders(),
+ res.getValue().value(),
+ res.getValue().nextLink(),
+ null));
+ }
+
+ /**
+ * Lists Batch inference deployments in the workspace.
+ *
+ * @param endpointName Endpoint name.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Name of Azure Machine Learning workspace.
+ * @param orderBy Ordering of list.
+ * @param top Top of list.
+ * @param skip Continuation token for pagination.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a paginated list of BatchDeployment entities.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ private PagedFlux listAsync(
+ String endpointName, String resourceGroupName, String workspaceName, String orderBy, Integer top, String skip) {
+ return new PagedFlux<>(
+ () -> listSinglePageAsync(endpointName, resourceGroupName, workspaceName, orderBy, top, skip),
+ nextLink -> listNextSinglePageAsync(nextLink));
+ }
+
+ /**
+ * Lists Batch inference deployments in the workspace.
+ *
+ * @param endpointName Endpoint name.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Name of Azure Machine Learning workspace.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a paginated list of BatchDeployment entities.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ private PagedFlux listAsync(
+ String endpointName, String resourceGroupName, String workspaceName) {
+ final String orderBy = null;
+ final Integer top = null;
+ final String skip = null;
+ return new PagedFlux<>(
+ () -> listSinglePageAsync(endpointName, resourceGroupName, workspaceName, orderBy, top, skip),
+ nextLink -> listNextSinglePageAsync(nextLink));
+ }
+
+ /**
+ * Lists Batch inference deployments in the workspace.
+ *
+ * @param endpointName Endpoint name.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Name of Azure Machine Learning workspace.
+ * @param orderBy Ordering of list.
+ * @param top Top of list.
+ * @param skip Continuation token for pagination.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a paginated list of BatchDeployment entities.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ private PagedFlux listAsync(
+ String endpointName,
+ String resourceGroupName,
+ String workspaceName,
+ String orderBy,
+ Integer top,
+ String skip,
+ Context context) {
+ return new PagedFlux<>(
+ () -> listSinglePageAsync(endpointName, resourceGroupName, workspaceName, orderBy, top, skip, context),
+ nextLink -> listNextSinglePageAsync(nextLink, context));
+ }
+
+ /**
+ * Lists Batch inference deployments in the workspace.
+ *
+ * @param endpointName Endpoint name.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Name of Azure Machine Learning workspace.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a paginated list of BatchDeployment entities.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ public PagedIterable list(
+ String endpointName, String resourceGroupName, String workspaceName) {
+ final String orderBy = null;
+ final Integer top = null;
+ final String skip = null;
+ return new PagedIterable<>(listAsync(endpointName, resourceGroupName, workspaceName, orderBy, top, skip));
+ }
+
+ /**
+ * Lists Batch inference deployments in the workspace.
+ *
+ * @param endpointName Endpoint name.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Name of Azure Machine Learning workspace.
+ * @param orderBy Ordering of list.
+ * @param top Top of list.
+ * @param skip Continuation token for pagination.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a paginated list of BatchDeployment entities.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ public PagedIterable list(
+ String endpointName,
+ String resourceGroupName,
+ String workspaceName,
+ String orderBy,
+ Integer top,
+ String skip,
+ Context context) {
+ return new PagedIterable<>(
+ listAsync(endpointName, resourceGroupName, workspaceName, orderBy, top, skip, context));
+ }
+
+ /**
+ * Delete Batch Inference deployment.
+ *
+ * @param endpointName Endpoint name.
+ * @param deploymentName Inference deployment identifier.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Name of Azure Machine Learning workspace.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the completion.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Mono> deleteWithResponseAsync(
+ String endpointName, String deploymentName, String resourceGroupName, String workspaceName) {
+ if (this.client.getEndpoint() == null) {
+ return Mono
+ .error(
+ new IllegalArgumentException(
+ "Parameter this.client.getEndpoint() is required and cannot be null."));
+ }
+ if (endpointName == null) {
+ return Mono.error(new IllegalArgumentException("Parameter endpointName is required and cannot be null."));
+ }
+ if (deploymentName == null) {
+ return Mono.error(new IllegalArgumentException("Parameter deploymentName is required and cannot be null."));
+ }
+ if (this.client.getSubscriptionId() == null) {
+ return Mono
+ .error(
+ new IllegalArgumentException(
+ "Parameter this.client.getSubscriptionId() is required and cannot be null."));
+ }
+ if (resourceGroupName == null) {
+ return Mono
+ .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."));
+ }
+ if (workspaceName == null) {
+ return Mono.error(new IllegalArgumentException("Parameter workspaceName is required and cannot be null."));
+ }
+ final String accept = "application/json";
+ return FluxUtil
+ .withContext(
+ context ->
+ service
+ .delete(
+ this.client.getEndpoint(),
+ endpointName,
+ deploymentName,
+ this.client.getApiVersion(),
+ this.client.getSubscriptionId(),
+ resourceGroupName,
+ workspaceName,
+ accept,
+ context))
+ .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly()));
+ }
+
+ /**
+ * Delete Batch Inference deployment.
+ *
+ * @param endpointName Endpoint name.
+ * @param deploymentName Inference deployment identifier.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Name of Azure Machine Learning workspace.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the completion.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Mono> deleteWithResponseAsync(
+ String endpointName, String deploymentName, String resourceGroupName, String workspaceName, Context context) {
+ if (this.client.getEndpoint() == null) {
+ return Mono
+ .error(
+ new IllegalArgumentException(
+ "Parameter this.client.getEndpoint() is required and cannot be null."));
+ }
+ if (endpointName == null) {
+ return Mono.error(new IllegalArgumentException("Parameter endpointName is required and cannot be null."));
+ }
+ if (deploymentName == null) {
+ return Mono.error(new IllegalArgumentException("Parameter deploymentName is required and cannot be null."));
+ }
+ if (this.client.getSubscriptionId() == null) {
+ return Mono
+ .error(
+ new IllegalArgumentException(
+ "Parameter this.client.getSubscriptionId() is required and cannot be null."));
+ }
+ if (resourceGroupName == null) {
+ return Mono
+ .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."));
+ }
+ if (workspaceName == null) {
+ return Mono.error(new IllegalArgumentException("Parameter workspaceName is required and cannot be null."));
+ }
+ final String accept = "application/json";
+ context = this.client.mergeContext(context);
+ return service
+ .delete(
+ this.client.getEndpoint(),
+ endpointName,
+ deploymentName,
+ this.client.getApiVersion(),
+ this.client.getSubscriptionId(),
+ resourceGroupName,
+ workspaceName,
+ accept,
+ context);
+ }
+
+ /**
+ * Delete Batch Inference deployment.
+ *
+ * @param endpointName Endpoint name.
+ * @param deploymentName Inference deployment identifier.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Name of Azure Machine Learning workspace.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the completion.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Mono deleteAsync(
+ String endpointName, String deploymentName, String resourceGroupName, String workspaceName) {
+ return deleteWithResponseAsync(endpointName, deploymentName, resourceGroupName, workspaceName)
+ .flatMap((Response res) -> Mono.empty());
+ }
+
+ /**
+ * Delete Batch Inference deployment.
+ *
+ * @param endpointName Endpoint name.
+ * @param deploymentName Inference deployment identifier.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Name of Azure Machine Learning workspace.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ public void delete(String endpointName, String deploymentName, String resourceGroupName, String workspaceName) {
+ deleteAsync(endpointName, deploymentName, resourceGroupName, workspaceName).block();
+ }
+
+ /**
+ * Delete Batch Inference deployment.
+ *
+ * @param endpointName Endpoint name.
+ * @param deploymentName Inference deployment identifier.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Name of Azure Machine Learning workspace.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ public Response deleteWithResponse(
+ String endpointName, String deploymentName, String resourceGroupName, String workspaceName, Context context) {
+ return deleteWithResponseAsync(endpointName, deploymentName, resourceGroupName, workspaceName, context).block();
+ }
+
+ /**
+ * Gets a batch inference deployment by id.
+ *
+ * @param endpointName Endpoint name.
+ * @param deploymentName The identifier for the Batch deployments.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Name of Azure Machine Learning workspace.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a batch inference deployment by id.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Mono> getWithResponseAsync(
+ String endpointName, String deploymentName, String resourceGroupName, String workspaceName) {
+ if (this.client.getEndpoint() == null) {
+ return Mono
+ .error(
+ new IllegalArgumentException(
+ "Parameter this.client.getEndpoint() is required and cannot be null."));
+ }
+ if (endpointName == null) {
+ return Mono.error(new IllegalArgumentException("Parameter endpointName is required and cannot be null."));
+ }
+ if (deploymentName == null) {
+ return Mono.error(new IllegalArgumentException("Parameter deploymentName is required and cannot be null."));
+ }
+ if (this.client.getSubscriptionId() == null) {
+ return Mono
+ .error(
+ new IllegalArgumentException(
+ "Parameter this.client.getSubscriptionId() is required and cannot be null."));
+ }
+ if (resourceGroupName == null) {
+ return Mono
+ .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."));
+ }
+ if (workspaceName == null) {
+ return Mono.error(new IllegalArgumentException("Parameter workspaceName is required and cannot be null."));
+ }
+ final String accept = "application/json";
+ return FluxUtil
+ .withContext(
+ context ->
+ service
+ .get(
+ this.client.getEndpoint(),
+ endpointName,
+ deploymentName,
+ this.client.getApiVersion(),
+ this.client.getSubscriptionId(),
+ resourceGroupName,
+ workspaceName,
+ accept,
+ context))
+ .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly()));
+ }
+
+ /**
+ * Gets a batch inference deployment by id.
+ *
+ * @param endpointName Endpoint name.
+ * @param deploymentName The identifier for the Batch deployments.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Name of Azure Machine Learning workspace.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a batch inference deployment by id.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Mono> getWithResponseAsync(
+ String endpointName, String deploymentName, String resourceGroupName, String workspaceName, Context context) {
+ if (this.client.getEndpoint() == null) {
+ return Mono
+ .error(
+ new IllegalArgumentException(
+ "Parameter this.client.getEndpoint() is required and cannot be null."));
+ }
+ if (endpointName == null) {
+ return Mono.error(new IllegalArgumentException("Parameter endpointName is required and cannot be null."));
+ }
+ if (deploymentName == null) {
+ return Mono.error(new IllegalArgumentException("Parameter deploymentName is required and cannot be null."));
+ }
+ if (this.client.getSubscriptionId() == null) {
+ return Mono
+ .error(
+ new IllegalArgumentException(
+ "Parameter this.client.getSubscriptionId() is required and cannot be null."));
+ }
+ if (resourceGroupName == null) {
+ return Mono
+ .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."));
+ }
+ if (workspaceName == null) {
+ return Mono.error(new IllegalArgumentException("Parameter workspaceName is required and cannot be null."));
+ }
+ final String accept = "application/json";
+ context = this.client.mergeContext(context);
+ return service
+ .get(
+ this.client.getEndpoint(),
+ endpointName,
+ deploymentName,
+ this.client.getApiVersion(),
+ this.client.getSubscriptionId(),
+ resourceGroupName,
+ workspaceName,
+ accept,
+ context);
+ }
+
+ /**
+ * Gets a batch inference deployment by id.
+ *
+ * @param endpointName Endpoint name.
+ * @param deploymentName The identifier for the Batch deployments.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Name of Azure Machine Learning workspace.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a batch inference deployment by id.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Mono getAsync(
+ String endpointName, String deploymentName, String resourceGroupName, String workspaceName) {
+ return getWithResponseAsync(endpointName, deploymentName, resourceGroupName, workspaceName)
+ .flatMap(
+ (Response res) -> {
+ if (res.getValue() != null) {
+ return Mono.just(res.getValue());
+ } else {
+ return Mono.empty();
+ }
+ });
+ }
+
+ /**
+ * Gets a batch inference deployment by id.
+ *
+ * @param endpointName Endpoint name.
+ * @param deploymentName The identifier for the Batch deployments.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Name of Azure Machine Learning workspace.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a batch inference deployment by id.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ public BatchDeploymentTrackedResourceInner get(
+ String endpointName, String deploymentName, String resourceGroupName, String workspaceName) {
+ return getAsync(endpointName, deploymentName, resourceGroupName, workspaceName).block();
+ }
+
+ /**
+ * Gets a batch inference deployment by id.
+ *
+ * @param endpointName Endpoint name.
+ * @param deploymentName The identifier for the Batch deployments.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Name of Azure Machine Learning workspace.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a batch inference deployment by id.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ public Response getWithResponse(
+ String endpointName, String deploymentName, String resourceGroupName, String workspaceName, Context context) {
+ return getWithResponseAsync(endpointName, deploymentName, resourceGroupName, workspaceName, context).block();
+ }
+
+ /**
+ * Update a batch inference deployment.
+ *
+ * @param endpointName Inference endpoint name.
+ * @param deploymentName The identifier for the Batch inference deployment.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Name of Azure Machine Learning workspace.
+ * @param body Batch inference deployment definition object.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Mono> updateWithResponseAsync(
+ String endpointName,
+ String deploymentName,
+ String resourceGroupName,
+ String workspaceName,
+ PartialBatchDeploymentPartialTrackedResource body) {
+ if (this.client.getEndpoint() == null) {
+ return Mono
+ .error(
+ new IllegalArgumentException(
+ "Parameter this.client.getEndpoint() is required and cannot be null."));
+ }
+ if (endpointName == null) {
+ return Mono.error(new IllegalArgumentException("Parameter endpointName is required and cannot be null."));
+ }
+ if (deploymentName == null) {
+ return Mono.error(new IllegalArgumentException("Parameter deploymentName is required and cannot be null."));
+ }
+ if (this.client.getSubscriptionId() == null) {
+ return Mono
+ .error(
+ new IllegalArgumentException(
+ "Parameter this.client.getSubscriptionId() is required and cannot be null."));
+ }
+ if (resourceGroupName == null) {
+ return Mono
+ .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."));
+ }
+ if (workspaceName == null) {
+ return Mono.error(new IllegalArgumentException("Parameter workspaceName is required and cannot be null."));
+ }
+ if (body == null) {
+ return Mono.error(new IllegalArgumentException("Parameter body is required and cannot be null."));
+ } else {
+ body.validate();
+ }
+ final String accept = "application/json";
+ return FluxUtil
+ .withContext(
+ context ->
+ service
+ .update(
+ this.client.getEndpoint(),
+ endpointName,
+ deploymentName,
+ this.client.getApiVersion(),
+ this.client.getSubscriptionId(),
+ resourceGroupName,
+ workspaceName,
+ body,
+ accept,
+ context))
+ .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly()));
+ }
+
+ /**
+ * Update a batch inference deployment.
+ *
+ * @param endpointName Inference endpoint name.
+ * @param deploymentName The identifier for the Batch inference deployment.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Name of Azure Machine Learning workspace.
+ * @param body Batch inference deployment definition object.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Mono> updateWithResponseAsync(
+ String endpointName,
+ String deploymentName,
+ String resourceGroupName,
+ String workspaceName,
+ PartialBatchDeploymentPartialTrackedResource body,
+ Context context) {
+ if (this.client.getEndpoint() == null) {
+ return Mono
+ .error(
+ new IllegalArgumentException(
+ "Parameter this.client.getEndpoint() is required and cannot be null."));
+ }
+ if (endpointName == null) {
+ return Mono.error(new IllegalArgumentException("Parameter endpointName is required and cannot be null."));
+ }
+ if (deploymentName == null) {
+ return Mono.error(new IllegalArgumentException("Parameter deploymentName is required and cannot be null."));
+ }
+ if (this.client.getSubscriptionId() == null) {
+ return Mono
+ .error(
+ new IllegalArgumentException(
+ "Parameter this.client.getSubscriptionId() is required and cannot be null."));
+ }
+ if (resourceGroupName == null) {
+ return Mono
+ .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."));
+ }
+ if (workspaceName == null) {
+ return Mono.error(new IllegalArgumentException("Parameter workspaceName is required and cannot be null."));
+ }
+ if (body == null) {
+ return Mono.error(new IllegalArgumentException("Parameter body is required and cannot be null."));
+ } else {
+ body.validate();
+ }
+ final String accept = "application/json";
+ context = this.client.mergeContext(context);
+ return service
+ .update(
+ this.client.getEndpoint(),
+ endpointName,
+ deploymentName,
+ this.client.getApiVersion(),
+ this.client.getSubscriptionId(),
+ resourceGroupName,
+ workspaceName,
+ body,
+ accept,
+ context);
+ }
+
+ /**
+ * Update a batch inference deployment.
+ *
+ * @param endpointName Inference endpoint name.
+ * @param deploymentName The identifier for the Batch inference deployment.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Name of Azure Machine Learning workspace.
+ * @param body Batch inference deployment definition object.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Mono updateAsync(
+ String endpointName,
+ String deploymentName,
+ String resourceGroupName,
+ String workspaceName,
+ PartialBatchDeploymentPartialTrackedResource body) {
+ return updateWithResponseAsync(endpointName, deploymentName, resourceGroupName, workspaceName, body)
+ .flatMap(
+ (Response res) -> {
+ if (res.getValue() != null) {
+ return Mono.just(res.getValue());
+ } else {
+ return Mono.empty();
+ }
+ });
+ }
+
+ /**
+ * Update a batch inference deployment.
+ *
+ * @param endpointName Inference endpoint name.
+ * @param deploymentName The identifier for the Batch inference deployment.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Name of Azure Machine Learning workspace.
+ * @param body Batch inference deployment definition object.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ public BatchDeploymentTrackedResourceInner update(
+ String endpointName,
+ String deploymentName,
+ String resourceGroupName,
+ String workspaceName,
+ PartialBatchDeploymentPartialTrackedResource body) {
+ return updateAsync(endpointName, deploymentName, resourceGroupName, workspaceName, body).block();
+ }
+
+ /**
+ * Update a batch inference deployment.
+ *
+ * @param endpointName Inference endpoint name.
+ * @param deploymentName The identifier for the Batch inference deployment.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Name of Azure Machine Learning workspace.
+ * @param body Batch inference deployment definition object.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ public Response updateWithResponse(
+ String endpointName,
+ String deploymentName,
+ String resourceGroupName,
+ String workspaceName,
+ PartialBatchDeploymentPartialTrackedResource body,
+ Context context) {
+ return updateWithResponseAsync(endpointName, deploymentName, resourceGroupName, workspaceName, body, context)
+ .block();
+ }
+
+ /**
+ * Creates/updates a batch inference deployment.
+ *
+ * @param endpointName Inference endpoint name.
+ * @param deploymentName The identifier for the Batch inference deployment.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Name of Azure Machine Learning workspace.
+ * @param body Batch inference deployment definition object.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Mono> createOrUpdateWithResponseAsync(
+ String endpointName,
+ String deploymentName,
+ String resourceGroupName,
+ String workspaceName,
+ BatchDeploymentTrackedResourceInner body) {
+ if (this.client.getEndpoint() == null) {
+ return Mono
+ .error(
+ new IllegalArgumentException(
+ "Parameter this.client.getEndpoint() is required and cannot be null."));
+ }
+ if (endpointName == null) {
+ return Mono.error(new IllegalArgumentException("Parameter endpointName is required and cannot be null."));
+ }
+ if (deploymentName == null) {
+ return Mono.error(new IllegalArgumentException("Parameter deploymentName is required and cannot be null."));
+ }
+ if (this.client.getSubscriptionId() == null) {
+ return Mono
+ .error(
+ new IllegalArgumentException(
+ "Parameter this.client.getSubscriptionId() is required and cannot be null."));
+ }
+ if (resourceGroupName == null) {
+ return Mono
+ .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."));
+ }
+ if (workspaceName == null) {
+ return Mono.error(new IllegalArgumentException("Parameter workspaceName is required and cannot be null."));
+ }
+ if (body == null) {
+ return Mono.error(new IllegalArgumentException("Parameter body is required and cannot be null."));
+ } else {
+ body.validate();
+ }
+ final String accept = "application/json";
+ return FluxUtil
+ .withContext(
+ context ->
+ service
+ .createOrUpdate(
+ this.client.getEndpoint(),
+ endpointName,
+ deploymentName,
+ this.client.getApiVersion(),
+ this.client.getSubscriptionId(),
+ resourceGroupName,
+ workspaceName,
+ body,
+ accept,
+ context))
+ .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly()));
+ }
+
+ /**
+ * Creates/updates a batch inference deployment.
+ *
+ * @param endpointName Inference endpoint name.
+ * @param deploymentName The identifier for the Batch inference deployment.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Name of Azure Machine Learning workspace.
+ * @param body Batch inference deployment definition object.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Mono> createOrUpdateWithResponseAsync(
+ String endpointName,
+ String deploymentName,
+ String resourceGroupName,
+ String workspaceName,
+ BatchDeploymentTrackedResourceInner body,
+ Context context) {
+ if (this.client.getEndpoint() == null) {
+ return Mono
+ .error(
+ new IllegalArgumentException(
+ "Parameter this.client.getEndpoint() is required and cannot be null."));
+ }
+ if (endpointName == null) {
+ return Mono.error(new IllegalArgumentException("Parameter endpointName is required and cannot be null."));
+ }
+ if (deploymentName == null) {
+ return Mono.error(new IllegalArgumentException("Parameter deploymentName is required and cannot be null."));
+ }
+ if (this.client.getSubscriptionId() == null) {
+ return Mono
+ .error(
+ new IllegalArgumentException(
+ "Parameter this.client.getSubscriptionId() is required and cannot be null."));
+ }
+ if (resourceGroupName == null) {
+ return Mono
+ .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."));
+ }
+ if (workspaceName == null) {
+ return Mono.error(new IllegalArgumentException("Parameter workspaceName is required and cannot be null."));
+ }
+ if (body == null) {
+ return Mono.error(new IllegalArgumentException("Parameter body is required and cannot be null."));
+ } else {
+ body.validate();
+ }
+ final String accept = "application/json";
+ context = this.client.mergeContext(context);
+ return service
+ .createOrUpdate(
+ this.client.getEndpoint(),
+ endpointName,
+ deploymentName,
+ this.client.getApiVersion(),
+ this.client.getSubscriptionId(),
+ resourceGroupName,
+ workspaceName,
+ body,
+ accept,
+ context);
+ }
+
+ /**
+ * Creates/updates a batch inference deployment.
+ *
+ * @param endpointName Inference endpoint name.
+ * @param deploymentName The identifier for the Batch inference deployment.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Name of Azure Machine Learning workspace.
+ * @param body Batch inference deployment definition object.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Mono