net.bytebuddy
byte-buddy
diff --git a/sdk/machinelearning/azure-resourcemanager-machinelearning/src/main/java/com/azure/resourcemanager/machinelearning/MachineLearningManager.java b/sdk/machinelearning/azure-resourcemanager-machinelearning/src/main/java/com/azure/resourcemanager/machinelearning/MachineLearningManager.java
index a212fe3e6c4a3..2e3713d39766d 100644
--- a/sdk/machinelearning/azure-resourcemanager-machinelearning/src/main/java/com/azure/resourcemanager/machinelearning/MachineLearningManager.java
+++ b/sdk/machinelearning/azure-resourcemanager-machinelearning/src/main/java/com/azure/resourcemanager/machinelearning/MachineLearningManager.java
@@ -11,8 +11,8 @@
import com.azure.core.http.HttpPipelinePosition;
import com.azure.core.http.policy.AddDatePolicy;
import com.azure.core.http.policy.AddHeadersFromContextPolicy;
-import com.azure.core.http.policy.HttpLogOptions;
import com.azure.core.http.policy.HttpLoggingPolicy;
+import com.azure.core.http.policy.HttpLogOptions;
import com.azure.core.http.policy.HttpPipelinePolicy;
import com.azure.core.http.policy.HttpPolicyProviders;
import com.azure.core.http.policy.RequestIdPolicy;
@@ -23,8 +23,8 @@
import com.azure.core.management.profile.AzureProfile;
import com.azure.core.util.Configuration;
import com.azure.core.util.logging.ClientLogger;
-import com.azure.resourcemanager.machinelearning.fluent.AzureMachineLearningWorkspaces;
-import com.azure.resourcemanager.machinelearning.implementation.AzureMachineLearningWorkspacesBuilder;
+import com.azure.resourcemanager.machinelearning.fluent.AzureMachineLearningServices;
+import com.azure.resourcemanager.machinelearning.implementation.AzureMachineLearningServicesBuilder;
import com.azure.resourcemanager.machinelearning.implementation.BatchDeploymentsImpl;
import com.azure.resourcemanager.machinelearning.implementation.BatchEndpointsImpl;
import com.azure.resourcemanager.machinelearning.implementation.CodeContainersImpl;
@@ -33,11 +33,19 @@
import com.azure.resourcemanager.machinelearning.implementation.ComponentVersionsImpl;
import com.azure.resourcemanager.machinelearning.implementation.ComputesImpl;
import com.azure.resourcemanager.machinelearning.implementation.DataContainersImpl;
-import com.azure.resourcemanager.machinelearning.implementation.DataVersionsImpl;
import com.azure.resourcemanager.machinelearning.implementation.DatastoresImpl;
+import com.azure.resourcemanager.machinelearning.implementation.DataVersionsImpl;
import com.azure.resourcemanager.machinelearning.implementation.EnvironmentContainersImpl;
import com.azure.resourcemanager.machinelearning.implementation.EnvironmentVersionsImpl;
+import com.azure.resourcemanager.machinelearning.implementation.FeaturesetContainersImpl;
+import com.azure.resourcemanager.machinelearning.implementation.FeaturesetVersionsImpl;
+import com.azure.resourcemanager.machinelearning.implementation.FeaturesImpl;
+import com.azure.resourcemanager.machinelearning.implementation.FeaturestoreEntityContainersImpl;
+import com.azure.resourcemanager.machinelearning.implementation.FeaturestoreEntityVersionsImpl;
import com.azure.resourcemanager.machinelearning.implementation.JobsImpl;
+import com.azure.resourcemanager.machinelearning.implementation.ManagedNetworkProvisionsImpl;
+import com.azure.resourcemanager.machinelearning.implementation.ManagedNetworkSettingsRulesImpl;
+import com.azure.resourcemanager.machinelearning.implementation.MarketplaceSubscriptionsImpl;
import com.azure.resourcemanager.machinelearning.implementation.ModelContainersImpl;
import com.azure.resourcemanager.machinelearning.implementation.ModelVersionsImpl;
import com.azure.resourcemanager.machinelearning.implementation.OnlineDeploymentsImpl;
@@ -46,7 +54,20 @@
import com.azure.resourcemanager.machinelearning.implementation.PrivateEndpointConnectionsImpl;
import com.azure.resourcemanager.machinelearning.implementation.PrivateLinkResourcesImpl;
import com.azure.resourcemanager.machinelearning.implementation.QuotasImpl;
+import com.azure.resourcemanager.machinelearning.implementation.RegistriesImpl;
+import com.azure.resourcemanager.machinelearning.implementation.RegistryCodeContainersImpl;
+import com.azure.resourcemanager.machinelearning.implementation.RegistryCodeVersionsImpl;
+import com.azure.resourcemanager.machinelearning.implementation.RegistryComponentContainersImpl;
+import com.azure.resourcemanager.machinelearning.implementation.RegistryComponentVersionsImpl;
+import com.azure.resourcemanager.machinelearning.implementation.RegistryDataContainersImpl;
+import com.azure.resourcemanager.machinelearning.implementation.RegistryDataReferencesImpl;
+import com.azure.resourcemanager.machinelearning.implementation.RegistryDataVersionsImpl;
+import com.azure.resourcemanager.machinelearning.implementation.RegistryEnvironmentContainersImpl;
+import com.azure.resourcemanager.machinelearning.implementation.RegistryEnvironmentVersionsImpl;
+import com.azure.resourcemanager.machinelearning.implementation.RegistryModelContainersImpl;
+import com.azure.resourcemanager.machinelearning.implementation.RegistryModelVersionsImpl;
import com.azure.resourcemanager.machinelearning.implementation.SchedulesImpl;
+import com.azure.resourcemanager.machinelearning.implementation.ServerlessEndpointsImpl;
import com.azure.resourcemanager.machinelearning.implementation.UsagesImpl;
import com.azure.resourcemanager.machinelearning.implementation.VirtualMachineSizesImpl;
import com.azure.resourcemanager.machinelearning.implementation.WorkspaceConnectionsImpl;
@@ -60,11 +81,19 @@
import com.azure.resourcemanager.machinelearning.models.ComponentVersions;
import com.azure.resourcemanager.machinelearning.models.Computes;
import com.azure.resourcemanager.machinelearning.models.DataContainers;
-import com.azure.resourcemanager.machinelearning.models.DataVersions;
import com.azure.resourcemanager.machinelearning.models.Datastores;
+import com.azure.resourcemanager.machinelearning.models.DataVersions;
import com.azure.resourcemanager.machinelearning.models.EnvironmentContainers;
import com.azure.resourcemanager.machinelearning.models.EnvironmentVersions;
+import com.azure.resourcemanager.machinelearning.models.Features;
+import com.azure.resourcemanager.machinelearning.models.FeaturesetContainers;
+import com.azure.resourcemanager.machinelearning.models.FeaturesetVersions;
+import com.azure.resourcemanager.machinelearning.models.FeaturestoreEntityContainers;
+import com.azure.resourcemanager.machinelearning.models.FeaturestoreEntityVersions;
import com.azure.resourcemanager.machinelearning.models.Jobs;
+import com.azure.resourcemanager.machinelearning.models.ManagedNetworkProvisions;
+import com.azure.resourcemanager.machinelearning.models.ManagedNetworkSettingsRules;
+import com.azure.resourcemanager.machinelearning.models.MarketplaceSubscriptions;
import com.azure.resourcemanager.machinelearning.models.ModelContainers;
import com.azure.resourcemanager.machinelearning.models.ModelVersions;
import com.azure.resourcemanager.machinelearning.models.OnlineDeployments;
@@ -73,7 +102,20 @@
import com.azure.resourcemanager.machinelearning.models.PrivateEndpointConnections;
import com.azure.resourcemanager.machinelearning.models.PrivateLinkResources;
import com.azure.resourcemanager.machinelearning.models.Quotas;
+import com.azure.resourcemanager.machinelearning.models.Registries;
+import com.azure.resourcemanager.machinelearning.models.RegistryCodeContainers;
+import com.azure.resourcemanager.machinelearning.models.RegistryCodeVersions;
+import com.azure.resourcemanager.machinelearning.models.RegistryComponentContainers;
+import com.azure.resourcemanager.machinelearning.models.RegistryComponentVersions;
+import com.azure.resourcemanager.machinelearning.models.RegistryDataContainers;
+import com.azure.resourcemanager.machinelearning.models.RegistryDataReferences;
+import com.azure.resourcemanager.machinelearning.models.RegistryDataVersions;
+import com.azure.resourcemanager.machinelearning.models.RegistryEnvironmentContainers;
+import com.azure.resourcemanager.machinelearning.models.RegistryEnvironmentVersions;
+import com.azure.resourcemanager.machinelearning.models.RegistryModelContainers;
+import com.azure.resourcemanager.machinelearning.models.RegistryModelVersions;
import com.azure.resourcemanager.machinelearning.models.Schedules;
+import com.azure.resourcemanager.machinelearning.models.ServerlessEndpoints;
import com.azure.resourcemanager.machinelearning.models.Usages;
import com.azure.resourcemanager.machinelearning.models.VirtualMachineSizes;
import com.azure.resourcemanager.machinelearning.models.WorkspaceConnections;
@@ -87,8 +129,8 @@
import java.util.stream.Collectors;
/**
- * Entry point to MachineLearningManager. These APIs allow end users to operate on Azure Machine Learning Workspace
- * resources.
+ * Entry point to MachineLearningManager.
+ * These APIs allow end users to operate on Azure Machine Learning Workspace resources.
*/
public final class MachineLearningManager {
private Operations operations;
@@ -109,6 +151,34 @@ public final class MachineLearningManager {
private WorkspaceConnections workspaceConnections;
+ private ManagedNetworkSettingsRules managedNetworkSettingsRules;
+
+ private ManagedNetworkProvisions managedNetworkProvisions;
+
+ private RegistryCodeContainers registryCodeContainers;
+
+ private RegistryCodeVersions registryCodeVersions;
+
+ private RegistryComponentContainers registryComponentContainers;
+
+ private RegistryComponentVersions registryComponentVersions;
+
+ private RegistryDataContainers registryDataContainers;
+
+ private RegistryDataVersions registryDataVersions;
+
+ private RegistryDataReferences registryDataReferences;
+
+ private RegistryEnvironmentContainers registryEnvironmentContainers;
+
+ private RegistryEnvironmentVersions registryEnvironmentVersions;
+
+ private MarketplaceSubscriptions marketplaceSubscriptions;
+
+ private RegistryModelContainers registryModelContainers;
+
+ private RegistryModelVersions registryModelVersions;
+
private BatchEndpoints batchEndpoints;
private BatchDeployments batchDeployments;
@@ -131,6 +201,16 @@ public final class MachineLearningManager {
private EnvironmentVersions environmentVersions;
+ private FeaturesetContainers featuresetContainers;
+
+ private Features features;
+
+ private FeaturesetVersions featuresetVersions;
+
+ private FeaturestoreEntityContainers featurestoreEntityContainers;
+
+ private FeaturestoreEntityVersions featurestoreEntityVersions;
+
private Jobs jobs;
private ModelContainers modelContainers;
@@ -143,25 +223,27 @@ public final class MachineLearningManager {
private Schedules schedules;
+ private ServerlessEndpoints serverlessEndpoints;
+
+ private Registries registries;
+
private WorkspaceFeatures workspaceFeatures;
- private final AzureMachineLearningWorkspaces clientObject;
+ private final AzureMachineLearningServices clientObject;
private MachineLearningManager(HttpPipeline httpPipeline, AzureProfile profile, Duration defaultPollInterval) {
Objects.requireNonNull(httpPipeline, "'httpPipeline' cannot be null.");
Objects.requireNonNull(profile, "'profile' cannot be null.");
- this.clientObject =
- new AzureMachineLearningWorkspacesBuilder()
- .pipeline(httpPipeline)
- .endpoint(profile.getEnvironment().getResourceManagerEndpoint())
- .subscriptionId(profile.getSubscriptionId())
- .defaultPollInterval(defaultPollInterval)
- .buildClient();
+ this.clientObject = new AzureMachineLearningServicesBuilder().pipeline(httpPipeline)
+ .endpoint(profile.getEnvironment().getResourceManagerEndpoint())
+ .subscriptionId(profile.getSubscriptionId())
+ .defaultPollInterval(defaultPollInterval)
+ .buildClient();
}
/**
* Creates an instance of Machine Learning service API entry point.
- *
+ *
* @param credential the credential to use.
* @param profile the Azure profile for client.
* @return the Machine Learning service API instance.
@@ -174,7 +256,7 @@ public static MachineLearningManager authenticate(TokenCredential credential, Az
/**
* Creates an instance of Machine Learning service API entry point.
- *
+ *
* @param httpPipeline the {@link HttpPipeline} configured with Azure authentication credential.
* @param profile the Azure profile for client.
* @return the Machine Learning service API instance.
@@ -187,14 +269,16 @@ public static MachineLearningManager authenticate(HttpPipeline httpPipeline, Azu
/**
* Gets a Configurable instance that can be used to create MachineLearningManager with optional configuration.
- *
+ *
* @return the Configurable instance allowing configurations.
*/
public static Configurable configure() {
return new MachineLearningManager.Configurable();
}
- /** The Configurable allowing configurations to be set. */
+ /**
+ * The Configurable allowing configurations to be set.
+ */
public static final class Configurable {
private static final ClientLogger LOGGER = new ClientLogger(Configurable.class);
@@ -266,8 +350,8 @@ public Configurable withRetryPolicy(RetryPolicy retryPolicy) {
/**
* Sets the retry options for the HTTP pipeline retry policy.
- *
- * This setting has no effect, if retry policy is set via {@link #withRetryPolicy(RetryPolicy)}.
+ *
+ * This setting has no effect, if retry policy is set via {@link #withRetryPolicy(RetryPolicy)}.
*
* @param retryOptions the retry options for the HTTP pipeline retry policy.
* @return the configurable object itself.
@@ -284,8 +368,8 @@ public Configurable withRetryOptions(RetryOptions retryOptions) {
* @return the configurable object itself.
*/
public Configurable withDefaultPollInterval(Duration defaultPollInterval) {
- this.defaultPollInterval =
- Objects.requireNonNull(defaultPollInterval, "'defaultPollInterval' cannot be null.");
+ this.defaultPollInterval
+ = Objects.requireNonNull(defaultPollInterval, "'defaultPollInterval' cannot be null.");
if (this.defaultPollInterval.isNegative()) {
throw LOGGER
.logExceptionAsError(new IllegalArgumentException("'defaultPollInterval' cannot be negative"));
@@ -305,15 +389,13 @@ public MachineLearningManager authenticate(TokenCredential credential, AzureProf
Objects.requireNonNull(profile, "'profile' cannot be null.");
StringBuilder userAgentBuilder = new StringBuilder();
- userAgentBuilder
- .append("azsdk-java")
+ userAgentBuilder.append("azsdk-java")
.append("-")
.append("com.azure.resourcemanager.machinelearning")
.append("/")
- .append("1.0.0");
+ .append("1.0.0-beta.1");
if (!Configuration.getGlobalConfiguration().get("AZURE_TELEMETRY_DISABLED", false)) {
- userAgentBuilder
- .append(" (")
+ userAgentBuilder.append(" (")
.append(Configuration.getGlobalConfiguration().get("java.version"))
.append("; ")
.append(Configuration.getGlobalConfiguration().get("os.name"))
@@ -338,38 +420,28 @@ public MachineLearningManager authenticate(TokenCredential credential, AzureProf
policies.add(new UserAgentPolicy(userAgentBuilder.toString()));
policies.add(new AddHeadersFromContextPolicy());
policies.add(new RequestIdPolicy());
- policies
- .addAll(
- this
- .policies
- .stream()
- .filter(p -> p.getPipelinePosition() == HttpPipelinePosition.PER_CALL)
- .collect(Collectors.toList()));
+ policies.addAll(this.policies.stream()
+ .filter(p -> p.getPipelinePosition() == HttpPipelinePosition.PER_CALL)
+ .collect(Collectors.toList()));
HttpPolicyProviders.addBeforeRetryPolicies(policies);
policies.add(retryPolicy);
policies.add(new AddDatePolicy());
policies.add(new ArmChallengeAuthenticationPolicy(credential, scopes.toArray(new String[0])));
- policies
- .addAll(
- this
- .policies
- .stream()
- .filter(p -> p.getPipelinePosition() == HttpPipelinePosition.PER_RETRY)
- .collect(Collectors.toList()));
+ policies.addAll(this.policies.stream()
+ .filter(p -> p.getPipelinePosition() == HttpPipelinePosition.PER_RETRY)
+ .collect(Collectors.toList()));
HttpPolicyProviders.addAfterRetryPolicies(policies);
policies.add(new HttpLoggingPolicy(httpLogOptions));
- HttpPipeline httpPipeline =
- new HttpPipelineBuilder()
- .httpClient(httpClient)
- .policies(policies.toArray(new HttpPipelinePolicy[0]))
- .build();
+ HttpPipeline httpPipeline = new HttpPipelineBuilder().httpClient(httpClient)
+ .policies(policies.toArray(new HttpPipelinePolicy[0]))
+ .build();
return new MachineLearningManager(httpPipeline, profile, defaultPollInterval);
}
}
/**
* Gets the resource collection API of Operations.
- *
+ *
* @return Resource collection API of Operations.
*/
public Operations operations() {
@@ -381,7 +453,7 @@ public Operations operations() {
/**
* Gets the resource collection API of Workspaces. It manages Workspace.
- *
+ *
* @return Resource collection API of Workspaces.
*/
public Workspaces workspaces() {
@@ -393,7 +465,7 @@ public Workspaces workspaces() {
/**
* Gets the resource collection API of Usages.
- *
+ *
* @return Resource collection API of Usages.
*/
public Usages usages() {
@@ -405,7 +477,7 @@ public Usages usages() {
/**
* Gets the resource collection API of VirtualMachineSizes.
- *
+ *
* @return Resource collection API of VirtualMachineSizes.
*/
public VirtualMachineSizes virtualMachineSizes() {
@@ -417,7 +489,7 @@ public VirtualMachineSizes virtualMachineSizes() {
/**
* Gets the resource collection API of Quotas.
- *
+ *
* @return Resource collection API of Quotas.
*/
public Quotas quotas() {
@@ -429,7 +501,7 @@ public Quotas quotas() {
/**
* Gets the resource collection API of Computes. It manages ComputeResource.
- *
+ *
* @return Resource collection API of Computes.
*/
public Computes computes() {
@@ -441,20 +513,20 @@ public Computes computes() {
/**
* Gets the resource collection API of PrivateEndpointConnections. It manages PrivateEndpointConnection.
- *
+ *
* @return Resource collection API of PrivateEndpointConnections.
*/
public PrivateEndpointConnections privateEndpointConnections() {
if (this.privateEndpointConnections == null) {
- this.privateEndpointConnections =
- new PrivateEndpointConnectionsImpl(clientObject.getPrivateEndpointConnections(), this);
+ this.privateEndpointConnections
+ = new PrivateEndpointConnectionsImpl(clientObject.getPrivateEndpointConnections(), this);
}
return privateEndpointConnections;
}
/**
* Gets the resource collection API of PrivateLinkResources.
- *
+ *
* @return Resource collection API of PrivateLinkResources.
*/
public PrivateLinkResources privateLinkResources() {
@@ -467,7 +539,7 @@ public PrivateLinkResources privateLinkResources() {
/**
* Gets the resource collection API of WorkspaceConnections. It manages
* WorkspaceConnectionPropertiesV2BasicResource.
- *
+ *
* @return Resource collection API of WorkspaceConnections.
*/
public WorkspaceConnections workspaceConnections() {
@@ -477,9 +549,188 @@ public WorkspaceConnections workspaceConnections() {
return workspaceConnections;
}
+ /**
+ * Gets the resource collection API of ManagedNetworkSettingsRules. It manages OutboundRuleBasicResource.
+ *
+ * @return Resource collection API of ManagedNetworkSettingsRules.
+ */
+ public ManagedNetworkSettingsRules managedNetworkSettingsRules() {
+ if (this.managedNetworkSettingsRules == null) {
+ this.managedNetworkSettingsRules
+ = new ManagedNetworkSettingsRulesImpl(clientObject.getManagedNetworkSettingsRules(), this);
+ }
+ return managedNetworkSettingsRules;
+ }
+
+ /**
+ * Gets the resource collection API of ManagedNetworkProvisions.
+ *
+ * @return Resource collection API of ManagedNetworkProvisions.
+ */
+ public ManagedNetworkProvisions managedNetworkProvisions() {
+ if (this.managedNetworkProvisions == null) {
+ this.managedNetworkProvisions
+ = new ManagedNetworkProvisionsImpl(clientObject.getManagedNetworkProvisions(), this);
+ }
+ return managedNetworkProvisions;
+ }
+
+ /**
+ * Gets the resource collection API of RegistryCodeContainers. It manages CodeContainer.
+ *
+ * @return Resource collection API of RegistryCodeContainers.
+ */
+ public RegistryCodeContainers registryCodeContainers() {
+ if (this.registryCodeContainers == null) {
+ this.registryCodeContainers
+ = new RegistryCodeContainersImpl(clientObject.getRegistryCodeContainers(), this);
+ }
+ return registryCodeContainers;
+ }
+
+ /**
+ * Gets the resource collection API of RegistryCodeVersions. It manages CodeVersion.
+ *
+ * @return Resource collection API of RegistryCodeVersions.
+ */
+ public RegistryCodeVersions registryCodeVersions() {
+ if (this.registryCodeVersions == null) {
+ this.registryCodeVersions = new RegistryCodeVersionsImpl(clientObject.getRegistryCodeVersions(), this);
+ }
+ return registryCodeVersions;
+ }
+
+ /**
+ * Gets the resource collection API of RegistryComponentContainers. It manages ComponentContainer.
+ *
+ * @return Resource collection API of RegistryComponentContainers.
+ */
+ public RegistryComponentContainers registryComponentContainers() {
+ if (this.registryComponentContainers == null) {
+ this.registryComponentContainers
+ = new RegistryComponentContainersImpl(clientObject.getRegistryComponentContainers(), this);
+ }
+ return registryComponentContainers;
+ }
+
+ /**
+ * Gets the resource collection API of RegistryComponentVersions. It manages ComponentVersion.
+ *
+ * @return Resource collection API of RegistryComponentVersions.
+ */
+ public RegistryComponentVersions registryComponentVersions() {
+ if (this.registryComponentVersions == null) {
+ this.registryComponentVersions
+ = new RegistryComponentVersionsImpl(clientObject.getRegistryComponentVersions(), this);
+ }
+ return registryComponentVersions;
+ }
+
+ /**
+ * Gets the resource collection API of RegistryDataContainers. It manages DataContainer.
+ *
+ * @return Resource collection API of RegistryDataContainers.
+ */
+ public RegistryDataContainers registryDataContainers() {
+ if (this.registryDataContainers == null) {
+ this.registryDataContainers
+ = new RegistryDataContainersImpl(clientObject.getRegistryDataContainers(), this);
+ }
+ return registryDataContainers;
+ }
+
+ /**
+ * Gets the resource collection API of RegistryDataVersions. It manages DataVersionBase.
+ *
+ * @return Resource collection API of RegistryDataVersions.
+ */
+ public RegistryDataVersions registryDataVersions() {
+ if (this.registryDataVersions == null) {
+ this.registryDataVersions = new RegistryDataVersionsImpl(clientObject.getRegistryDataVersions(), this);
+ }
+ return registryDataVersions;
+ }
+
+ /**
+ * Gets the resource collection API of RegistryDataReferences.
+ *
+ * @return Resource collection API of RegistryDataReferences.
+ */
+ public RegistryDataReferences registryDataReferences() {
+ if (this.registryDataReferences == null) {
+ this.registryDataReferences
+ = new RegistryDataReferencesImpl(clientObject.getRegistryDataReferences(), this);
+ }
+ return registryDataReferences;
+ }
+
+ /**
+ * Gets the resource collection API of RegistryEnvironmentContainers. It manages EnvironmentContainer.
+ *
+ * @return Resource collection API of RegistryEnvironmentContainers.
+ */
+ public RegistryEnvironmentContainers registryEnvironmentContainers() {
+ if (this.registryEnvironmentContainers == null) {
+ this.registryEnvironmentContainers
+ = new RegistryEnvironmentContainersImpl(clientObject.getRegistryEnvironmentContainers(), this);
+ }
+ return registryEnvironmentContainers;
+ }
+
+ /**
+ * Gets the resource collection API of RegistryEnvironmentVersions. It manages EnvironmentVersion.
+ *
+ * @return Resource collection API of RegistryEnvironmentVersions.
+ */
+ public RegistryEnvironmentVersions registryEnvironmentVersions() {
+ if (this.registryEnvironmentVersions == null) {
+ this.registryEnvironmentVersions
+ = new RegistryEnvironmentVersionsImpl(clientObject.getRegistryEnvironmentVersions(), this);
+ }
+ return registryEnvironmentVersions;
+ }
+
+ /**
+ * Gets the resource collection API of MarketplaceSubscriptions. It manages MarketplaceSubscription.
+ *
+ * @return Resource collection API of MarketplaceSubscriptions.
+ */
+ public MarketplaceSubscriptions marketplaceSubscriptions() {
+ if (this.marketplaceSubscriptions == null) {
+ this.marketplaceSubscriptions
+ = new MarketplaceSubscriptionsImpl(clientObject.getMarketplaceSubscriptions(), this);
+ }
+ return marketplaceSubscriptions;
+ }
+
+ /**
+ * Gets the resource collection API of RegistryModelContainers. It manages ModelContainer.
+ *
+ * @return Resource collection API of RegistryModelContainers.
+ */
+ public RegistryModelContainers registryModelContainers() {
+ if (this.registryModelContainers == null) {
+ this.registryModelContainers
+ = new RegistryModelContainersImpl(clientObject.getRegistryModelContainers(), this);
+ }
+ return registryModelContainers;
+ }
+
+ /**
+ * Gets the resource collection API of RegistryModelVersions. It manages ModelVersion.
+ *
+ * @return Resource collection API of RegistryModelVersions.
+ */
+ public RegistryModelVersions registryModelVersions() {
+ if (this.registryModelVersions == null) {
+ this.registryModelVersions = new RegistryModelVersionsImpl(clientObject.getRegistryModelVersions(), this);
+ }
+ return registryModelVersions;
+ }
+
/**
* Gets the resource collection API of BatchEndpoints. It manages BatchEndpoint.
- *
+ *
* @return Resource collection API of BatchEndpoints.
*/
public BatchEndpoints batchEndpoints() {
@@ -491,7 +742,7 @@ public BatchEndpoints batchEndpoints() {
/**
* Gets the resource collection API of BatchDeployments. It manages BatchDeployment.
- *
+ *
* @return Resource collection API of BatchDeployments.
*/
public BatchDeployments batchDeployments() {
@@ -502,8 +753,8 @@ public BatchDeployments batchDeployments() {
}
/**
- * Gets the resource collection API of CodeContainers. It manages CodeContainer.
- *
+ * Gets the resource collection API of CodeContainers.
+ *
* @return Resource collection API of CodeContainers.
*/
public CodeContainers codeContainers() {
@@ -514,8 +765,8 @@ public CodeContainers codeContainers() {
}
/**
- * Gets the resource collection API of CodeVersions. It manages CodeVersion.
- *
+ * Gets the resource collection API of CodeVersions.
+ *
* @return Resource collection API of CodeVersions.
*/
public CodeVersions codeVersions() {
@@ -526,8 +777,8 @@ public CodeVersions codeVersions() {
}
/**
- * Gets the resource collection API of ComponentContainers. It manages ComponentContainer.
- *
+ * Gets the resource collection API of ComponentContainers.
+ *
* @return Resource collection API of ComponentContainers.
*/
public ComponentContainers componentContainers() {
@@ -538,8 +789,8 @@ public ComponentContainers componentContainers() {
}
/**
- * Gets the resource collection API of ComponentVersions. It manages ComponentVersion.
- *
+ * Gets the resource collection API of ComponentVersions.
+ *
* @return Resource collection API of ComponentVersions.
*/
public ComponentVersions componentVersions() {
@@ -550,8 +801,8 @@ public ComponentVersions componentVersions() {
}
/**
- * Gets the resource collection API of DataContainers. It manages DataContainer.
- *
+ * Gets the resource collection API of DataContainers.
+ *
* @return Resource collection API of DataContainers.
*/
public DataContainers dataContainers() {
@@ -562,8 +813,8 @@ public DataContainers dataContainers() {
}
/**
- * Gets the resource collection API of DataVersions. It manages DataVersionBase.
- *
+ * Gets the resource collection API of DataVersions.
+ *
* @return Resource collection API of DataVersions.
*/
public DataVersions dataVersions() {
@@ -575,7 +826,7 @@ public DataVersions dataVersions() {
/**
* Gets the resource collection API of Datastores. It manages Datastore.
- *
+ *
* @return Resource collection API of Datastores.
*/
public Datastores datastores() {
@@ -586,8 +837,8 @@ public Datastores datastores() {
}
/**
- * Gets the resource collection API of EnvironmentContainers. It manages EnvironmentContainer.
- *
+ * Gets the resource collection API of EnvironmentContainers.
+ *
* @return Resource collection API of EnvironmentContainers.
*/
public EnvironmentContainers environmentContainers() {
@@ -598,8 +849,8 @@ public EnvironmentContainers environmentContainers() {
}
/**
- * Gets the resource collection API of EnvironmentVersions. It manages EnvironmentVersion.
- *
+ * Gets the resource collection API of EnvironmentVersions.
+ *
* @return Resource collection API of EnvironmentVersions.
*/
public EnvironmentVersions environmentVersions() {
@@ -609,9 +860,71 @@ public EnvironmentVersions environmentVersions() {
return environmentVersions;
}
+ /**
+ * Gets the resource collection API of FeaturesetContainers. It manages FeaturesetContainer.
+ *
+ * @return Resource collection API of FeaturesetContainers.
+ */
+ public FeaturesetContainers featuresetContainers() {
+ if (this.featuresetContainers == null) {
+ this.featuresetContainers = new FeaturesetContainersImpl(clientObject.getFeaturesetContainers(), this);
+ }
+ return featuresetContainers;
+ }
+
+ /**
+ * Gets the resource collection API of Features.
+ *
+ * @return Resource collection API of Features.
+ */
+ public Features features() {
+ if (this.features == null) {
+ this.features = new FeaturesImpl(clientObject.getFeatures(), this);
+ }
+ return features;
+ }
+
+ /**
+ * Gets the resource collection API of FeaturesetVersions. It manages FeaturesetVersion.
+ *
+ * @return Resource collection API of FeaturesetVersions.
+ */
+ public FeaturesetVersions featuresetVersions() {
+ if (this.featuresetVersions == null) {
+ this.featuresetVersions = new FeaturesetVersionsImpl(clientObject.getFeaturesetVersions(), this);
+ }
+ return featuresetVersions;
+ }
+
+ /**
+ * Gets the resource collection API of FeaturestoreEntityContainers. It manages FeaturestoreEntityContainer.
+ *
+ * @return Resource collection API of FeaturestoreEntityContainers.
+ */
+ public FeaturestoreEntityContainers featurestoreEntityContainers() {
+ if (this.featurestoreEntityContainers == null) {
+ this.featurestoreEntityContainers
+ = new FeaturestoreEntityContainersImpl(clientObject.getFeaturestoreEntityContainers(), this);
+ }
+ return featurestoreEntityContainers;
+ }
+
+ /**
+ * Gets the resource collection API of FeaturestoreEntityVersions. It manages FeaturestoreEntityVersion.
+ *
+ * @return Resource collection API of FeaturestoreEntityVersions.
+ */
+ public FeaturestoreEntityVersions featurestoreEntityVersions() {
+ if (this.featurestoreEntityVersions == null) {
+ this.featurestoreEntityVersions
+ = new FeaturestoreEntityVersionsImpl(clientObject.getFeaturestoreEntityVersions(), this);
+ }
+ return featurestoreEntityVersions;
+ }
+
/**
* Gets the resource collection API of Jobs. It manages JobBase.
- *
+ *
* @return Resource collection API of Jobs.
*/
public Jobs jobs() {
@@ -622,8 +935,8 @@ public Jobs jobs() {
}
/**
- * Gets the resource collection API of ModelContainers. It manages ModelContainer.
- *
+ * Gets the resource collection API of ModelContainers.
+ *
* @return Resource collection API of ModelContainers.
*/
public ModelContainers modelContainers() {
@@ -634,8 +947,8 @@ public ModelContainers modelContainers() {
}
/**
- * Gets the resource collection API of ModelVersions. It manages ModelVersion.
- *
+ * Gets the resource collection API of ModelVersions.
+ *
* @return Resource collection API of ModelVersions.
*/
public ModelVersions modelVersions() {
@@ -647,7 +960,7 @@ public ModelVersions modelVersions() {
/**
* Gets the resource collection API of OnlineEndpoints. It manages OnlineEndpoint.
- *
+ *
* @return Resource collection API of OnlineEndpoints.
*/
public OnlineEndpoints onlineEndpoints() {
@@ -659,7 +972,7 @@ public OnlineEndpoints onlineEndpoints() {
/**
* Gets the resource collection API of OnlineDeployments. It manages OnlineDeployment.
- *
+ *
* @return Resource collection API of OnlineDeployments.
*/
public OnlineDeployments onlineDeployments() {
@@ -671,7 +984,7 @@ public OnlineDeployments onlineDeployments() {
/**
* Gets the resource collection API of Schedules. It manages Schedule.
- *
+ *
* @return Resource collection API of Schedules.
*/
public Schedules schedules() {
@@ -681,9 +994,33 @@ public Schedules schedules() {
return schedules;
}
+ /**
+ * Gets the resource collection API of ServerlessEndpoints. It manages ServerlessEndpoint.
+ *
+ * @return Resource collection API of ServerlessEndpoints.
+ */
+ public ServerlessEndpoints serverlessEndpoints() {
+ if (this.serverlessEndpoints == null) {
+ this.serverlessEndpoints = new ServerlessEndpointsImpl(clientObject.getServerlessEndpoints(), this);
+ }
+ return serverlessEndpoints;
+ }
+
+ /**
+ * Gets the resource collection API of Registries. It manages Registry.
+ *
+ * @return Resource collection API of Registries.
+ */
+ public Registries registries() {
+ if (this.registries == null) {
+ this.registries = new RegistriesImpl(clientObject.getRegistries(), this);
+ }
+ return registries;
+ }
+
/**
* Gets the resource collection API of WorkspaceFeatures.
- *
+ *
* @return Resource collection API of WorkspaceFeatures.
*/
public WorkspaceFeatures workspaceFeatures() {
@@ -694,10 +1031,12 @@ public WorkspaceFeatures workspaceFeatures() {
}
/**
- * @return Wrapped service client AzureMachineLearningWorkspaces providing direct access to the underlying
- * auto-generated API implementation, based on Azure REST API.
+ * Gets wrapped service client AzureMachineLearningServices providing direct access to the underlying auto-generated
+ * API implementation, based on Azure REST API.
+ *
+ * @return Wrapped service client AzureMachineLearningServices.
*/
- public AzureMachineLearningWorkspaces serviceClient() {
+ public AzureMachineLearningServices serviceClient() {
return this.clientObject;
}
}
diff --git a/sdk/machinelearning/azure-resourcemanager-machinelearning/src/main/java/com/azure/resourcemanager/machinelearning/fluent/AzureMachineLearningServices.java b/sdk/machinelearning/azure-resourcemanager-machinelearning/src/main/java/com/azure/resourcemanager/machinelearning/fluent/AzureMachineLearningServices.java
new file mode 100644
index 0000000000000..04dc939b4e0f5
--- /dev/null
+++ b/sdk/machinelearning/azure-resourcemanager-machinelearning/src/main/java/com/azure/resourcemanager/machinelearning/fluent/AzureMachineLearningServices.java
@@ -0,0 +1,384 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.machinelearning.fluent;
+
+import com.azure.core.http.HttpPipeline;
+import java.time.Duration;
+
+/**
+ * The interface for AzureMachineLearningServices class.
+ */
+public interface AzureMachineLearningServices {
+ /**
+ * Gets The ID of the target subscription.
+ *
+ * @return the subscriptionId value.
+ */
+ String getSubscriptionId();
+
+ /**
+ * Gets server parameter.
+ *
+ * @return the endpoint value.
+ */
+ String getEndpoint();
+
+ /**
+ * Gets Api Version.
+ *
+ * @return the apiVersion value.
+ */
+ String getApiVersion();
+
+ /**
+ * Gets The HTTP pipeline to send requests through.
+ *
+ * @return the httpPipeline value.
+ */
+ HttpPipeline getHttpPipeline();
+
+ /**
+ * Gets The default poll interval for long-running operation.
+ *
+ * @return the defaultPollInterval value.
+ */
+ Duration getDefaultPollInterval();
+
+ /**
+ * Gets the OperationsClient object to access its operations.
+ *
+ * @return the OperationsClient object.
+ */
+ OperationsClient getOperations();
+
+ /**
+ * Gets the WorkspacesClient object to access its operations.
+ *
+ * @return the WorkspacesClient object.
+ */
+ WorkspacesClient getWorkspaces();
+
+ /**
+ * Gets the UsagesClient object to access its operations.
+ *
+ * @return the UsagesClient object.
+ */
+ UsagesClient getUsages();
+
+ /**
+ * Gets the VirtualMachineSizesClient object to access its operations.
+ *
+ * @return the VirtualMachineSizesClient object.
+ */
+ VirtualMachineSizesClient getVirtualMachineSizes();
+
+ /**
+ * Gets the QuotasClient object to access its operations.
+ *
+ * @return the QuotasClient object.
+ */
+ QuotasClient getQuotas();
+
+ /**
+ * Gets the ComputesClient object to access its operations.
+ *
+ * @return the ComputesClient object.
+ */
+ ComputesClient getComputes();
+
+ /**
+ * Gets the PrivateEndpointConnectionsClient object to access its operations.
+ *
+ * @return the PrivateEndpointConnectionsClient object.
+ */
+ PrivateEndpointConnectionsClient getPrivateEndpointConnections();
+
+ /**
+ * Gets the PrivateLinkResourcesClient object to access its operations.
+ *
+ * @return the PrivateLinkResourcesClient object.
+ */
+ PrivateLinkResourcesClient getPrivateLinkResources();
+
+ /**
+ * Gets the WorkspaceConnectionsClient object to access its operations.
+ *
+ * @return the WorkspaceConnectionsClient object.
+ */
+ WorkspaceConnectionsClient getWorkspaceConnections();
+
+ /**
+ * Gets the ManagedNetworkSettingsRulesClient object to access its operations.
+ *
+ * @return the ManagedNetworkSettingsRulesClient object.
+ */
+ ManagedNetworkSettingsRulesClient getManagedNetworkSettingsRules();
+
+ /**
+ * Gets the ManagedNetworkProvisionsClient object to access its operations.
+ *
+ * @return the ManagedNetworkProvisionsClient object.
+ */
+ ManagedNetworkProvisionsClient getManagedNetworkProvisions();
+
+ /**
+ * Gets the RegistryCodeContainersClient object to access its operations.
+ *
+ * @return the RegistryCodeContainersClient object.
+ */
+ RegistryCodeContainersClient getRegistryCodeContainers();
+
+ /**
+ * Gets the RegistryCodeVersionsClient object to access its operations.
+ *
+ * @return the RegistryCodeVersionsClient object.
+ */
+ RegistryCodeVersionsClient getRegistryCodeVersions();
+
+ /**
+ * Gets the RegistryComponentContainersClient object to access its operations.
+ *
+ * @return the RegistryComponentContainersClient object.
+ */
+ RegistryComponentContainersClient getRegistryComponentContainers();
+
+ /**
+ * Gets the RegistryComponentVersionsClient object to access its operations.
+ *
+ * @return the RegistryComponentVersionsClient object.
+ */
+ RegistryComponentVersionsClient getRegistryComponentVersions();
+
+ /**
+ * Gets the RegistryDataContainersClient object to access its operations.
+ *
+ * @return the RegistryDataContainersClient object.
+ */
+ RegistryDataContainersClient getRegistryDataContainers();
+
+ /**
+ * Gets the RegistryDataVersionsClient object to access its operations.
+ *
+ * @return the RegistryDataVersionsClient object.
+ */
+ RegistryDataVersionsClient getRegistryDataVersions();
+
+ /**
+ * Gets the RegistryDataReferencesClient object to access its operations.
+ *
+ * @return the RegistryDataReferencesClient object.
+ */
+ RegistryDataReferencesClient getRegistryDataReferences();
+
+ /**
+ * Gets the RegistryEnvironmentContainersClient object to access its operations.
+ *
+ * @return the RegistryEnvironmentContainersClient object.
+ */
+ RegistryEnvironmentContainersClient getRegistryEnvironmentContainers();
+
+ /**
+ * Gets the RegistryEnvironmentVersionsClient object to access its operations.
+ *
+ * @return the RegistryEnvironmentVersionsClient object.
+ */
+ RegistryEnvironmentVersionsClient getRegistryEnvironmentVersions();
+
+ /**
+ * Gets the MarketplaceSubscriptionsClient object to access its operations.
+ *
+ * @return the MarketplaceSubscriptionsClient object.
+ */
+ MarketplaceSubscriptionsClient getMarketplaceSubscriptions();
+
+ /**
+ * Gets the RegistryModelContainersClient object to access its operations.
+ *
+ * @return the RegistryModelContainersClient object.
+ */
+ RegistryModelContainersClient getRegistryModelContainers();
+
+ /**
+ * Gets the RegistryModelVersionsClient object to access its operations.
+ *
+ * @return the RegistryModelVersionsClient object.
+ */
+ RegistryModelVersionsClient getRegistryModelVersions();
+
+ /**
+ * Gets the BatchEndpointsClient object to access its operations.
+ *
+ * @return the BatchEndpointsClient object.
+ */
+ BatchEndpointsClient getBatchEndpoints();
+
+ /**
+ * Gets the BatchDeploymentsClient object to access its operations.
+ *
+ * @return the BatchDeploymentsClient object.
+ */
+ BatchDeploymentsClient getBatchDeployments();
+
+ /**
+ * Gets the CodeContainersClient object to access its operations.
+ *
+ * @return the CodeContainersClient object.
+ */
+ CodeContainersClient getCodeContainers();
+
+ /**
+ * Gets the CodeVersionsClient object to access its operations.
+ *
+ * @return the CodeVersionsClient object.
+ */
+ CodeVersionsClient getCodeVersions();
+
+ /**
+ * Gets the ComponentContainersClient object to access its operations.
+ *
+ * @return the ComponentContainersClient object.
+ */
+ ComponentContainersClient getComponentContainers();
+
+ /**
+ * Gets the ComponentVersionsClient object to access its operations.
+ *
+ * @return the ComponentVersionsClient object.
+ */
+ ComponentVersionsClient getComponentVersions();
+
+ /**
+ * 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 EnvironmentVersionsClient object to access its operations.
+ *
+ * @return the EnvironmentVersionsClient object.
+ */
+ EnvironmentVersionsClient getEnvironmentVersions();
+
+ /**
+ * Gets the FeaturesetContainersClient object to access its operations.
+ *
+ * @return the FeaturesetContainersClient object.
+ */
+ FeaturesetContainersClient getFeaturesetContainers();
+
+ /**
+ * Gets the FeaturesClient object to access its operations.
+ *
+ * @return the FeaturesClient object.
+ */
+ FeaturesClient getFeatures();
+
+ /**
+ * Gets the FeaturesetVersionsClient object to access its operations.
+ *
+ * @return the FeaturesetVersionsClient object.
+ */
+ FeaturesetVersionsClient getFeaturesetVersions();
+
+ /**
+ * Gets the FeaturestoreEntityContainersClient object to access its operations.
+ *
+ * @return the FeaturestoreEntityContainersClient object.
+ */
+ FeaturestoreEntityContainersClient getFeaturestoreEntityContainers();
+
+ /**
+ * Gets the FeaturestoreEntityVersionsClient object to access its operations.
+ *
+ * @return the FeaturestoreEntityVersionsClient object.
+ */
+ FeaturestoreEntityVersionsClient getFeaturestoreEntityVersions();
+
+ /**
+ * Gets the JobsClient object to access its operations.
+ *
+ * @return the JobsClient object.
+ */
+ JobsClient getJobs();
+
+ /**
+ * 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 SchedulesClient object to access its operations.
+ *
+ * @return the SchedulesClient object.
+ */
+ SchedulesClient getSchedules();
+
+ /**
+ * Gets the ServerlessEndpointsClient object to access its operations.
+ *
+ * @return the ServerlessEndpointsClient object.
+ */
+ ServerlessEndpointsClient getServerlessEndpoints();
+
+ /**
+ * Gets the RegistriesClient object to access its operations.
+ *
+ * @return the RegistriesClient object.
+ */
+ RegistriesClient getRegistries();
+
+ /**
+ * Gets the WorkspaceFeaturesClient object to access its operations.
+ *
+ * @return the WorkspaceFeaturesClient object.
+ */
+ WorkspaceFeaturesClient getWorkspaceFeatures();
+}
diff --git a/sdk/machinelearning/azure-resourcemanager-machinelearning/src/main/java/com/azure/resourcemanager/machinelearning/fluent/AzureMachineLearningWorkspaces.java b/sdk/machinelearning/azure-resourcemanager-machinelearning/src/main/java/com/azure/resourcemanager/machinelearning/fluent/AzureMachineLearningWorkspaces.java
deleted file mode 100644
index e8a40ef9b43c9..0000000000000
--- a/sdk/machinelearning/azure-resourcemanager-machinelearning/src/main/java/com/azure/resourcemanager/machinelearning/fluent/AzureMachineLearningWorkspaces.java
+++ /dev/null
@@ -1,235 +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.machinelearning.fluent;
-
-import com.azure.core.http.HttpPipeline;
-import java.time.Duration;
-
-/** The interface for AzureMachineLearningWorkspaces class. */
-public interface AzureMachineLearningWorkspaces {
- /**
- * Gets The ID of the target subscription.
- *
- * @return the subscriptionId value.
- */
- String getSubscriptionId();
-
- /**
- * Gets server parameter.
- *
- * @return the endpoint value.
- */
- String getEndpoint();
-
- /**
- * Gets Api Version.
- *
- * @return the apiVersion value.
- */
- String getApiVersion();
-
- /**
- * Gets The HTTP pipeline to send requests through.
- *
- * @return the httpPipeline value.
- */
- HttpPipeline getHttpPipeline();
-
- /**
- * Gets The default poll interval for long-running operation.
- *
- * @return the defaultPollInterval value.
- */
- Duration getDefaultPollInterval();
-
- /**
- * Gets the OperationsClient object to access its operations.
- *
- * @return the OperationsClient object.
- */
- OperationsClient getOperations();
-
- /**
- * Gets the WorkspacesClient object to access its operations.
- *
- * @return the WorkspacesClient object.
- */
- WorkspacesClient getWorkspaces();
-
- /**
- * Gets the UsagesClient object to access its operations.
- *
- * @return the UsagesClient object.
- */
- UsagesClient getUsages();
-
- /**
- * Gets the VirtualMachineSizesClient object to access its operations.
- *
- * @return the VirtualMachineSizesClient object.
- */
- VirtualMachineSizesClient getVirtualMachineSizes();
-
- /**
- * Gets the QuotasClient object to access its operations.
- *
- * @return the QuotasClient object.
- */
- QuotasClient getQuotas();
-
- /**
- * Gets the ComputesClient object to access its operations.
- *
- * @return the ComputesClient object.
- */
- ComputesClient getComputes();
-
- /**
- * Gets the PrivateEndpointConnectionsClient object to access its operations.
- *
- * @return the PrivateEndpointConnectionsClient object.
- */
- PrivateEndpointConnectionsClient getPrivateEndpointConnections();
-
- /**
- * Gets the PrivateLinkResourcesClient object to access its operations.
- *
- * @return the PrivateLinkResourcesClient object.
- */
- PrivateLinkResourcesClient getPrivateLinkResources();
-
- /**
- * Gets the WorkspaceConnectionsClient object to access its operations.
- *
- * @return the WorkspaceConnectionsClient object.
- */
- WorkspaceConnectionsClient getWorkspaceConnections();
-
- /**
- * Gets the BatchEndpointsClient object to access its operations.
- *
- * @return the BatchEndpointsClient object.
- */
- BatchEndpointsClient getBatchEndpoints();
-
- /**
- * Gets the BatchDeploymentsClient object to access its operations.
- *
- * @return the BatchDeploymentsClient object.
- */
- BatchDeploymentsClient getBatchDeployments();
-
- /**
- * Gets the CodeContainersClient object to access its operations.
- *
- * @return the CodeContainersClient object.
- */
- CodeContainersClient getCodeContainers();
-
- /**
- * Gets the CodeVersionsClient object to access its operations.
- *
- * @return the CodeVersionsClient object.
- */
- CodeVersionsClient getCodeVersions();
-
- /**
- * Gets the ComponentContainersClient object to access its operations.
- *
- * @return the ComponentContainersClient object.
- */
- ComponentContainersClient getComponentContainers();
-
- /**
- * Gets the ComponentVersionsClient object to access its operations.
- *
- * @return the ComponentVersionsClient object.
- */
- ComponentVersionsClient getComponentVersions();
-
- /**
- * 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 EnvironmentVersionsClient object to access its operations.
- *
- * @return the EnvironmentVersionsClient object.
- */
- EnvironmentVersionsClient getEnvironmentVersions();
-
- /**
- * Gets the JobsClient object to access its operations.
- *
- * @return the JobsClient object.
- */
- JobsClient getJobs();
-
- /**
- * 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 SchedulesClient object to access its operations.
- *
- * @return the SchedulesClient object.
- */
- SchedulesClient getSchedules();
-
- /**
- * Gets the WorkspaceFeaturesClient object to access its operations.
- *
- * @return the WorkspaceFeaturesClient object.
- */
- WorkspaceFeaturesClient getWorkspaceFeatures();
-}
diff --git a/sdk/machinelearning/azure-resourcemanager-machinelearning/src/main/java/com/azure/resourcemanager/machinelearning/fluent/BatchDeploymentsClient.java b/sdk/machinelearning/azure-resourcemanager-machinelearning/src/main/java/com/azure/resourcemanager/machinelearning/fluent/BatchDeploymentsClient.java
index f2ba7f59facb4..8ef782e7a521b 100644
--- a/sdk/machinelearning/azure-resourcemanager-machinelearning/src/main/java/com/azure/resourcemanager/machinelearning/fluent/BatchDeploymentsClient.java
+++ b/sdk/machinelearning/azure-resourcemanager-machinelearning/src/main/java/com/azure/resourcemanager/machinelearning/fluent/BatchDeploymentsClient.java
@@ -14,11 +14,13 @@
import com.azure.resourcemanager.machinelearning.fluent.models.BatchDeploymentInner;
import com.azure.resourcemanager.machinelearning.models.PartialBatchDeploymentPartialMinimalTrackedResourceWithProperties;
-/** An instance of this class provides access to all the operations defined in BatchDeploymentsClient. */
+/**
+ * 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 resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName Name of Azure Machine Learning workspace.
* @param endpointName Endpoint name.
@@ -32,7 +34,7 @@ public interface BatchDeploymentsClient {
/**
* Lists Batch inference deployments 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 endpointName Endpoint name.
@@ -46,18 +48,12 @@ public interface BatchDeploymentsClient {
* @return a paginated list of BatchDeployment entities as paginated response with {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list(
- String resourceGroupName,
- String workspaceName,
- String endpointName,
- String orderBy,
- Integer top,
- String skip,
- Context context);
+ PagedIterable list(String resourceGroupName, String workspaceName, String endpointName,
+ String orderBy, Integer top, String skip, Context context);
/**
* Delete Batch Inference deployment (asynchronous).
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName Name of Azure Machine Learning workspace.
* @param endpointName Endpoint name.
@@ -68,12 +64,12 @@ PagedIterable list(
* @return the {@link SyncPoller} for polling of long-running operation.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, Void> beginDelete(
- String resourceGroupName, String workspaceName, String endpointName, String deploymentName);
+ SyncPoller, Void> beginDelete(String resourceGroupName, String workspaceName, String endpointName,
+ String deploymentName);
/**
* Delete Batch Inference deployment (asynchronous).
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName Name of Azure Machine Learning workspace.
* @param endpointName Endpoint name.
@@ -85,12 +81,12 @@ SyncPoller, Void> beginDelete(
* @return the {@link SyncPoller} for polling of long-running operation.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, Void> beginDelete(
- String resourceGroupName, String workspaceName, String endpointName, String deploymentName, Context context);
+ SyncPoller, Void> beginDelete(String resourceGroupName, String workspaceName, String endpointName,
+ String deploymentName, Context context);
/**
* Delete Batch Inference deployment (asynchronous).
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName Name of Azure Machine Learning workspace.
* @param endpointName Endpoint name.
@@ -104,7 +100,7 @@ SyncPoller, Void> beginDelete(
/**
* Delete Batch Inference deployment (asynchronous).
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName Name of Azure Machine Learning workspace.
* @param endpointName Endpoint name.
@@ -115,12 +111,12 @@ SyncPoller, Void> beginDelete(
* @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 endpointName, String deploymentName, Context context);
+ void delete(String resourceGroupName, String workspaceName, String endpointName, String deploymentName,
+ Context context);
/**
* Gets a batch inference deployment by id.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName Name of Azure Machine Learning workspace.
* @param endpointName Endpoint name.
@@ -132,12 +128,12 @@ void delete(
* @return a batch inference deployment by id along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response getWithResponse(
- String resourceGroupName, String workspaceName, String endpointName, String deploymentName, Context context);
+ Response getWithResponse(String resourceGroupName, String workspaceName, String endpointName,
+ String deploymentName, Context context);
/**
* Gets a batch inference deployment by id.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName Name of Azure Machine Learning workspace.
* @param endpointName Endpoint name.
@@ -148,12 +144,12 @@ Response getWithResponse(
* @return a batch inference deployment by id.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- BatchDeploymentInner get(
- String resourceGroupName, String workspaceName, String endpointName, String deploymentName);
+ BatchDeploymentInner get(String resourceGroupName, String workspaceName, String endpointName,
+ String deploymentName);
/**
* Update a batch inference deployment (asynchronous).
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName Name of Azure Machine Learning workspace.
* @param endpointName Inference endpoint name.
@@ -165,16 +161,13 @@ BatchDeploymentInner get(
* @return the {@link SyncPoller} for polling of long-running operation.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, BatchDeploymentInner> beginUpdate(
- String resourceGroupName,
- String workspaceName,
- String endpointName,
- String deploymentName,
+ SyncPoller, BatchDeploymentInner> beginUpdate(String resourceGroupName,
+ String workspaceName, String endpointName, String deploymentName,
PartialBatchDeploymentPartialMinimalTrackedResourceWithProperties body);
/**
* Update a batch inference deployment (asynchronous).
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName Name of Azure Machine Learning workspace.
* @param endpointName Inference endpoint name.
@@ -187,17 +180,13 @@ SyncPoller, BatchDeploymentInner> beginUpdate(
* @return the {@link SyncPoller} for polling of long-running operation.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, BatchDeploymentInner> beginUpdate(
- String resourceGroupName,
- String workspaceName,
- String endpointName,
- String deploymentName,
- PartialBatchDeploymentPartialMinimalTrackedResourceWithProperties body,
- Context context);
+ SyncPoller, BatchDeploymentInner> beginUpdate(String resourceGroupName,
+ String workspaceName, String endpointName, String deploymentName,
+ PartialBatchDeploymentPartialMinimalTrackedResourceWithProperties body, Context context);
/**
* Update a batch inference deployment (asynchronous).
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName Name of Azure Machine Learning workspace.
* @param endpointName Inference endpoint name.
@@ -209,16 +198,12 @@ SyncPoller, BatchDeploymentInner> beginUpdate(
* @return the response.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- BatchDeploymentInner update(
- String resourceGroupName,
- String workspaceName,
- String endpointName,
- String deploymentName,
- PartialBatchDeploymentPartialMinimalTrackedResourceWithProperties body);
+ BatchDeploymentInner update(String resourceGroupName, String workspaceName, String endpointName,
+ String deploymentName, PartialBatchDeploymentPartialMinimalTrackedResourceWithProperties body);
/**
* Update a batch inference deployment (asynchronous).
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName Name of Azure Machine Learning workspace.
* @param endpointName Inference endpoint name.
@@ -231,17 +216,12 @@ BatchDeploymentInner update(
* @return the response.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- BatchDeploymentInner update(
- String resourceGroupName,
- String workspaceName,
- String endpointName,
- String deploymentName,
- PartialBatchDeploymentPartialMinimalTrackedResourceWithProperties body,
- Context context);
+ BatchDeploymentInner update(String resourceGroupName, String workspaceName, String endpointName,
+ String deploymentName, PartialBatchDeploymentPartialMinimalTrackedResourceWithProperties body, Context context);
/**
* Creates/updates a batch inference deployment (asynchronous).
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName Name of Azure Machine Learning workspace.
* @param endpointName Inference endpoint name.
@@ -253,16 +233,12 @@ BatchDeploymentInner update(
* @return the {@link SyncPoller} for polling of long-running operation.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, BatchDeploymentInner> beginCreateOrUpdate(
- String resourceGroupName,
- String workspaceName,
- String endpointName,
- String deploymentName,
- BatchDeploymentInner body);
+ SyncPoller, BatchDeploymentInner> beginCreateOrUpdate(String resourceGroupName,
+ String workspaceName, String endpointName, String deploymentName, BatchDeploymentInner body);
/**
* Creates/updates a batch inference deployment (asynchronous).
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName Name of Azure Machine Learning workspace.
* @param endpointName Inference endpoint name.
@@ -275,17 +251,12 @@ SyncPoller, BatchDeploymentInner> beginCreateOr
* @return the {@link SyncPoller} for polling of long-running operation.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, BatchDeploymentInner> beginCreateOrUpdate(
- String resourceGroupName,
- String workspaceName,
- String endpointName,
- String deploymentName,
- BatchDeploymentInner body,
- Context context);
+ SyncPoller, BatchDeploymentInner> beginCreateOrUpdate(String resourceGroupName,
+ String workspaceName, String endpointName, String deploymentName, BatchDeploymentInner body, Context context);
/**
* Creates/updates a batch inference deployment (asynchronous).
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName Name of Azure Machine Learning workspace.
* @param endpointName Inference endpoint name.
@@ -297,16 +268,12 @@ SyncPoller, BatchDeploymentInner> beginCreateOr
* @return the response.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- BatchDeploymentInner createOrUpdate(
- String resourceGroupName,
- String workspaceName,
- String endpointName,
- String deploymentName,
- BatchDeploymentInner body);
+ BatchDeploymentInner createOrUpdate(String resourceGroupName, String workspaceName, String endpointName,
+ String deploymentName, BatchDeploymentInner body);
/**
* Creates/updates a batch inference deployment (asynchronous).
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName Name of Azure Machine Learning workspace.
* @param endpointName Inference endpoint name.
@@ -319,11 +286,6 @@ BatchDeploymentInner createOrUpdate(
* @return the response.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- BatchDeploymentInner createOrUpdate(
- String resourceGroupName,
- String workspaceName,
- String endpointName,
- String deploymentName,
- BatchDeploymentInner body,
- Context context);
+ BatchDeploymentInner createOrUpdate(String resourceGroupName, String workspaceName, String endpointName,
+ String deploymentName, BatchDeploymentInner body, Context context);
}
diff --git a/sdk/machinelearning/azure-resourcemanager-machinelearning/src/main/java/com/azure/resourcemanager/machinelearning/fluent/BatchEndpointsClient.java b/sdk/machinelearning/azure-resourcemanager-machinelearning/src/main/java/com/azure/resourcemanager/machinelearning/fluent/BatchEndpointsClient.java
index 4f335ddcec443..ad9d816bd2755 100644
--- a/sdk/machinelearning/azure-resourcemanager-machinelearning/src/main/java/com/azure/resourcemanager/machinelearning/fluent/BatchEndpointsClient.java
+++ b/sdk/machinelearning/azure-resourcemanager-machinelearning/src/main/java/com/azure/resourcemanager/machinelearning/fluent/BatchEndpointsClient.java
@@ -15,11 +15,13 @@
import com.azure.resourcemanager.machinelearning.fluent.models.EndpointAuthKeysInner;
import com.azure.resourcemanager.machinelearning.models.PartialMinimalTrackedResourceWithIdentity;
-/** An instance of this class provides access to all the operations defined in BatchEndpointsClient. */
+/**
+ * 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.
@@ -32,7 +34,7 @@ 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.
* @param count Number of endpoints to be retrieved in a page of results.
@@ -44,12 +46,12 @@ public interface BatchEndpointsClient {
* @return a paginated list of BatchEndpoint entities as paginated response with {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list(
- String resourceGroupName, String workspaceName, Integer count, String skip, Context context);
+ PagedIterable list(String resourceGroupName, String workspaceName, Integer count, String skip,
+ Context context);
/**
* Delete Batch Inference Endpoint (asynchronous).
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName Name of Azure Machine Learning workspace.
* @param endpointName Inference Endpoint name.
@@ -63,7 +65,7 @@ PagedIterable list(
/**
* Delete Batch Inference Endpoint (asynchronous).
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName Name of Azure Machine Learning workspace.
* @param endpointName Inference Endpoint name.
@@ -74,12 +76,12 @@ PagedIterable list(
* @return the {@link SyncPoller} for polling of long-running operation.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, Void> beginDelete(
- String resourceGroupName, String workspaceName, String endpointName, Context context);
+ SyncPoller, Void> beginDelete(String resourceGroupName, String workspaceName, String endpointName,
+ Context context);
/**
* Delete Batch Inference Endpoint (asynchronous).
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName Name of Azure Machine Learning workspace.
* @param endpointName Inference Endpoint name.
@@ -92,7 +94,7 @@ SyncPoller, Void> beginDelete(
/**
* Delete Batch Inference Endpoint (asynchronous).
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName Name of Azure Machine Learning workspace.
* @param endpointName Inference Endpoint name.
@@ -106,7 +108,7 @@ SyncPoller, Void> beginDelete(
/**
* Gets a batch inference endpoint by name.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName Name of Azure Machine Learning workspace.
* @param endpointName Name for the Batch Endpoint.
@@ -117,12 +119,12 @@ SyncPoller, Void> beginDelete(
* @return a batch inference endpoint by name along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response getWithResponse(
- String resourceGroupName, String workspaceName, String endpointName, Context context);
+ Response getWithResponse(String resourceGroupName, String workspaceName, String endpointName,
+ Context context);
/**
* Gets a batch inference endpoint by name.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName Name of Azure Machine Learning workspace.
* @param endpointName Name for the Batch Endpoint.
@@ -136,7 +138,7 @@ Response getWithResponse(
/**
* Update a batch inference endpoint (asynchronous).
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName Name of Azure Machine Learning workspace.
* @param endpointName Name for the Batch inference endpoint.
@@ -147,15 +149,12 @@ Response getWithResponse(
* @return the {@link SyncPoller} for polling of long-running operation.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, BatchEndpointInner> beginUpdate(
- String resourceGroupName,
- String workspaceName,
- String endpointName,
- PartialMinimalTrackedResourceWithIdentity body);
+ SyncPoller, BatchEndpointInner> beginUpdate(String resourceGroupName,
+ String workspaceName, String endpointName, PartialMinimalTrackedResourceWithIdentity body);
/**
* Update a batch inference endpoint (asynchronous).
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName Name of Azure Machine Learning workspace.
* @param endpointName Name for the Batch inference endpoint.
@@ -167,16 +166,12 @@ SyncPoller, BatchEndpointInner> beginUpdate(
* @return the {@link SyncPoller} for polling of long-running operation.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, BatchEndpointInner> beginUpdate(
- String resourceGroupName,
- String workspaceName,
- String endpointName,
- PartialMinimalTrackedResourceWithIdentity body,
- Context context);
+ SyncPoller, BatchEndpointInner> beginUpdate(String resourceGroupName,
+ String workspaceName, String endpointName, PartialMinimalTrackedResourceWithIdentity body, Context context);
/**
* Update a batch inference endpoint (asynchronous).
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName Name of Azure Machine Learning workspace.
* @param endpointName Name for the Batch inference endpoint.
@@ -187,15 +182,12 @@ SyncPoller, BatchEndpointInner> beginUpdate(
* @return the response.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- BatchEndpointInner update(
- String resourceGroupName,
- String workspaceName,
- String endpointName,
+ BatchEndpointInner update(String resourceGroupName, String workspaceName, String endpointName,
PartialMinimalTrackedResourceWithIdentity body);
/**
* Update a batch inference endpoint (asynchronous).
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName Name of Azure Machine Learning workspace.
* @param endpointName Name for the Batch inference endpoint.
@@ -207,16 +199,12 @@ BatchEndpointInner update(
* @return the response.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- BatchEndpointInner update(
- String resourceGroupName,
- String workspaceName,
- String endpointName,
- PartialMinimalTrackedResourceWithIdentity body,
- Context context);
+ BatchEndpointInner update(String resourceGroupName, String workspaceName, String endpointName,
+ PartialMinimalTrackedResourceWithIdentity body, Context context);
/**
* Creates a batch inference endpoint (asynchronous).
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName Name of Azure Machine Learning workspace.
* @param endpointName Name for the Batch inference endpoint.
@@ -227,12 +215,12 @@ BatchEndpointInner update(
* @return the {@link SyncPoller} for polling of long-running operation.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, BatchEndpointInner> beginCreateOrUpdate(
- String resourceGroupName, String workspaceName, String endpointName, BatchEndpointInner body);
+ SyncPoller, BatchEndpointInner> beginCreateOrUpdate(String resourceGroupName,
+ String workspaceName, String endpointName, BatchEndpointInner body);
/**
* Creates a batch inference endpoint (asynchronous).
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName Name of Azure Machine Learning workspace.
* @param endpointName Name for the Batch inference endpoint.
@@ -244,12 +232,12 @@ SyncPoller, BatchEndpointInner> beginCreateOrUpda
* @return the {@link SyncPoller} for polling of long-running operation.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, BatchEndpointInner> beginCreateOrUpdate(
- String resourceGroupName, String workspaceName, String endpointName, BatchEndpointInner body, Context context);
+ SyncPoller, BatchEndpointInner> beginCreateOrUpdate(String resourceGroupName,
+ String workspaceName, String endpointName, BatchEndpointInner body, Context context);
/**
* Creates a batch inference endpoint (asynchronous).
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName Name of Azure Machine Learning workspace.
* @param endpointName Name for the Batch inference endpoint.
@@ -260,12 +248,12 @@ SyncPoller, BatchEndpointInner> beginCreateOrUpda
* @return the response.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- BatchEndpointInner createOrUpdate(
- String resourceGroupName, String workspaceName, String endpointName, BatchEndpointInner body);
+ BatchEndpointInner createOrUpdate(String resourceGroupName, String workspaceName, String endpointName,
+ BatchEndpointInner body);
/**
* Creates a batch inference endpoint (asynchronous).
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName Name of Azure Machine Learning workspace.
* @param endpointName Name for the Batch inference endpoint.
@@ -277,12 +265,12 @@ BatchEndpointInner createOrUpdate(
* @return the response.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- BatchEndpointInner createOrUpdate(
- String resourceGroupName, String workspaceName, String endpointName, BatchEndpointInner body, Context context);
+ BatchEndpointInner createOrUpdate(String resourceGroupName, String workspaceName, String endpointName,
+ BatchEndpointInner body, Context context);
/**
* Lists batch Inference Endpoint keys.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName Name of Azure Machine Learning workspace.
* @param endpointName Inference Endpoint name.
@@ -293,12 +281,12 @@ BatchEndpointInner createOrUpdate(
* @return keys for endpoint authentication along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response listKeysWithResponse(
- String resourceGroupName, String workspaceName, String endpointName, Context context);
+ Response listKeysWithResponse(String resourceGroupName, String workspaceName,
+ String endpointName, Context context);
/**
* Lists batch Inference Endpoint keys.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName Name of Azure Machine Learning workspace.
* @param endpointName Inference Endpoint name.
diff --git a/sdk/machinelearning/azure-resourcemanager-machinelearning/src/main/java/com/azure/resourcemanager/machinelearning/fluent/CodeContainersClient.java b/sdk/machinelearning/azure-resourcemanager-machinelearning/src/main/java/com/azure/resourcemanager/machinelearning/fluent/CodeContainersClient.java
index 04fdda11a5779..de4baa9510dda 100644
--- a/sdk/machinelearning/azure-resourcemanager-machinelearning/src/main/java/com/azure/resourcemanager/machinelearning/fluent/CodeContainersClient.java
+++ b/sdk/machinelearning/azure-resourcemanager-machinelearning/src/main/java/com/azure/resourcemanager/machinelearning/fluent/CodeContainersClient.java
@@ -11,11 +11,13 @@
import com.azure.core.util.Context;
import com.azure.resourcemanager.machinelearning.fluent.models.CodeContainerInner;
-/** An instance of this class provides access to all the operations defined in CodeContainersClient. */
+/**
+ * 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.
@@ -28,7 +30,7 @@ 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.
* @param skip Continuation token for pagination.
@@ -39,12 +41,12 @@ public interface CodeContainersClient {
* @return a paginated list of CodeContainer entities as paginated response with {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list(
- String resourceGroupName, String workspaceName, String skip, Context context);
+ PagedIterable list(String resourceGroupName, String workspaceName, String skip,
+ Context context);
/**
* Delete container.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName Name of Azure Machine Learning workspace.
* @param name Container name. This is case-sensitive.
@@ -59,7 +61,7 @@ PagedIterable list(
/**
* Delete container.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName Name of Azure Machine Learning workspace.
* @param name Container name. This is case-sensitive.
@@ -72,7 +74,7 @@ PagedIterable list(
/**
* Get container.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName Name of Azure Machine Learning workspace.
* @param name Container name. This is case-sensitive.
@@ -83,12 +85,12 @@ PagedIterable list(
* @return container along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response getWithResponse(
- String resourceGroupName, String workspaceName, String name, Context context);
+ Response getWithResponse(String resourceGroupName, String workspaceName, String name,
+ Context context);
/**
* Get container.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName Name of Azure Machine Learning workspace.
* @param name Container name. This is case-sensitive.
@@ -102,7 +104,7 @@ Response getWithResponse(
/**
* Create or update container.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName Name of Azure Machine Learning workspace.
* @param name Container name. This is case-sensitive.
@@ -114,12 +116,12 @@ Response getWithResponse(
* @return azure Resource Manager resource envelope along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response createOrUpdateWithResponse(
- String resourceGroupName, String workspaceName, String name, CodeContainerInner body, Context context);
+ Response createOrUpdateWithResponse(String resourceGroupName, String workspaceName, String name,
+ CodeContainerInner body, Context context);
/**
* Create or update container.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName Name of Azure Machine Learning workspace.
* @param name Container name. This is case-sensitive.
@@ -130,6 +132,6 @@ Response createOrUpdateWithResponse(
* @return azure Resource Manager resource envelope.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- CodeContainerInner createOrUpdate(
- String resourceGroupName, String workspaceName, String name, CodeContainerInner body);
+ CodeContainerInner createOrUpdate(String resourceGroupName, String workspaceName, String name,
+ CodeContainerInner body);
}
diff --git a/sdk/machinelearning/azure-resourcemanager-machinelearning/src/main/java/com/azure/resourcemanager/machinelearning/fluent/CodeVersionsClient.java b/sdk/machinelearning/azure-resourcemanager-machinelearning/src/main/java/com/azure/resourcemanager/machinelearning/fluent/CodeVersionsClient.java
index fa5b5e3a44693..abfbf9d071d69 100644
--- a/sdk/machinelearning/azure-resourcemanager-machinelearning/src/main/java/com/azure/resourcemanager/machinelearning/fluent/CodeVersionsClient.java
+++ b/sdk/machinelearning/azure-resourcemanager-machinelearning/src/main/java/com/azure/resourcemanager/machinelearning/fluent/CodeVersionsClient.java
@@ -8,14 +8,21 @@
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.machinelearning.fluent.models.CodeVersionInner;
+import com.azure.resourcemanager.machinelearning.fluent.models.PendingUploadResponseDtoInner;
+import com.azure.resourcemanager.machinelearning.models.DestinationAsset;
+import com.azure.resourcemanager.machinelearning.models.PendingUploadRequestDto;
-/** An instance of this class provides access to all the operations defined in CodeVersionsClient. */
+/**
+ * An instance of this class provides access to all the operations defined in CodeVersionsClient.
+ */
public interface CodeVersionsClient {
/**
* List versions.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName Name of Azure Machine Learning workspace.
* @param name Container name. This is case-sensitive.
@@ -29,13 +36,15 @@ public interface CodeVersionsClient {
/**
* List versions.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName Name of Azure Machine Learning workspace.
* @param name Container name. This is case-sensitive.
* @param orderBy Ordering of list.
* @param top Maximum number of records to return.
* @param skip Continuation token for pagination.
+ * @param hash If specified, return CodeVersion assets with specified content hash value, regardless of name.
+ * @param hashVersion Hash algorithm version when listing by hash.
* @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.
@@ -43,18 +52,12 @@ public interface CodeVersionsClient {
* @return a paginated list of CodeVersion entities as paginated response with {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list(
- String resourceGroupName,
- String workspaceName,
- String name,
- String orderBy,
- Integer top,
- String skip,
- Context context);
+ PagedIterable list(String resourceGroupName, String workspaceName, String name, String orderBy,
+ Integer top, String skip, String hash, String hashVersion, Context context);
/**
* Delete version.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName Name of Azure Machine Learning workspace.
* @param name Container name. This is case-sensitive.
@@ -66,12 +69,12 @@ PagedIterable list(
* @return the {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response deleteWithResponse(
- String resourceGroupName, String workspaceName, String name, String version, Context context);
+ Response deleteWithResponse(String resourceGroupName, String workspaceName, String name, String version,
+ Context context);
/**
* Delete version.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName Name of Azure Machine Learning workspace.
* @param name Container name. This is case-sensitive.
@@ -85,7 +88,7 @@ Response deleteWithResponse(
/**
* Get version.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName Name of Azure Machine Learning workspace.
* @param name Container name. This is case-sensitive.
@@ -97,12 +100,12 @@ Response deleteWithResponse(
* @return version along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response getWithResponse(
- String resourceGroupName, String workspaceName, String name, String version, Context context);
+ Response getWithResponse(String resourceGroupName, String workspaceName, String name,
+ String version, Context context);
/**
* Get version.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName Name of Azure Machine Learning workspace.
* @param name Container name. This is case-sensitive.
@@ -117,7 +120,7 @@ Response getWithResponse(
/**
* Create or update version.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName Name of Azure Machine Learning workspace.
* @param name Container name. This is case-sensitive.
@@ -130,17 +133,12 @@ Response getWithResponse(
* @return azure Resource Manager resource envelope along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response createOrUpdateWithResponse(
- String resourceGroupName,
- String workspaceName,
- String name,
- String version,
- CodeVersionInner body,
- Context context);
+ Response createOrUpdateWithResponse(String resourceGroupName, String workspaceName, String name,
+ String version, CodeVersionInner body, Context context);
/**
* Create or update version.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName Name of Azure Machine Learning workspace.
* @param name Container name. This is case-sensitive.
@@ -152,6 +150,108 @@ Response createOrUpdateWithResponse(
* @return azure Resource Manager resource envelope.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- CodeVersionInner createOrUpdate(
- String resourceGroupName, String workspaceName, String name, String version, CodeVersionInner body);
+ CodeVersionInner createOrUpdate(String resourceGroupName, String workspaceName, String name, String version,
+ CodeVersionInner body);
+
+ /**
+ * Publish version asset into registry.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Name of Azure Machine Learning workspace.
+ * @param name Container name.
+ * @param version Version identifier.
+ * @param body Destination registry info.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of long-running operation.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, Void> beginPublish(String resourceGroupName, String workspaceName, String name,
+ String version, DestinationAsset body);
+
+ /**
+ * Publish version asset into registry.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Name of Azure Machine Learning workspace.
+ * @param name Container name.
+ * @param version Version identifier.
+ * @param body Destination registry info.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of long-running operation.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, Void> beginPublish(String resourceGroupName, String workspaceName, String name,
+ String version, DestinationAsset body, Context context);
+
+ /**
+ * Publish version asset into registry.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Name of Azure Machine Learning workspace.
+ * @param name Container name.
+ * @param version Version identifier.
+ * @param body Destination registry info.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.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 publish(String resourceGroupName, String workspaceName, String name, String version, DestinationAsset body);
+
+ /**
+ * Publish version asset into registry.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Name of Azure Machine Learning workspace.
+ * @param name Container name.
+ * @param version Version identifier.
+ * @param body Destination registry info.
+ * @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 publish(String resourceGroupName, String workspaceName, String name, String version, DestinationAsset body,
+ Context context);
+
+ /**
+ * Generate a storage location and credential for the client to upload a code asset to.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Name of Azure Machine Learning workspace.
+ * @param name Container name. This is case-sensitive.
+ * @param version Version identifier. This is case-sensitive.
+ * @param body Pending upload request 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 body along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response createOrGetStartPendingUploadWithResponse(String resourceGroupName,
+ String workspaceName, String name, String version, PendingUploadRequestDto body, Context context);
+
+ /**
+ * Generate a storage location and credential for the client to upload a code asset to.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Name of Azure Machine Learning workspace.
+ * @param name Container name. This is case-sensitive.
+ * @param version Version identifier. This is case-sensitive.
+ * @param body Pending upload request 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)
+ PendingUploadResponseDtoInner createOrGetStartPendingUpload(String resourceGroupName, String workspaceName,
+ String name, String version, PendingUploadRequestDto body);
}
diff --git a/sdk/machinelearning/azure-resourcemanager-machinelearning/src/main/java/com/azure/resourcemanager/machinelearning/fluent/ComponentContainersClient.java b/sdk/machinelearning/azure-resourcemanager-machinelearning/src/main/java/com/azure/resourcemanager/machinelearning/fluent/ComponentContainersClient.java
index 0f44fde086c8e..9758c6b03bcf6 100644
--- a/sdk/machinelearning/azure-resourcemanager-machinelearning/src/main/java/com/azure/resourcemanager/machinelearning/fluent/ComponentContainersClient.java
+++ b/sdk/machinelearning/azure-resourcemanager-machinelearning/src/main/java/com/azure/resourcemanager/machinelearning/fluent/ComponentContainersClient.java
@@ -12,11 +12,13 @@
import com.azure.resourcemanager.machinelearning.fluent.models.ComponentContainerInner;
import com.azure.resourcemanager.machinelearning.models.ListViewType;
-/** An instance of this class provides access to all the operations defined in ComponentContainersClient. */
+/**
+ * An instance of this class provides access to all the operations defined in ComponentContainersClient.
+ */
public interface ComponentContainersClient {
/**
* List component 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.
@@ -29,7 +31,7 @@ public interface ComponentContainersClient {
/**
* List component 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.
@@ -41,12 +43,12 @@ public interface ComponentContainersClient {
* @return a paginated list of ComponentContainer entities as paginated response with {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list(
- String resourceGroupName, String workspaceName, String skip, ListViewType listViewType, Context context);
+ PagedIterable list(String resourceGroupName, String workspaceName, String skip,
+ ListViewType listViewType, Context context);
/**
* Delete container.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName Name of Azure Machine Learning workspace.
* @param name Container name.
@@ -61,7 +63,7 @@ PagedIterable list(
/**
* Delete container.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName Name of Azure Machine Learning workspace.
* @param name Container name.
@@ -74,7 +76,7 @@ PagedIterable list(
/**
* Get container.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName Name of Azure Machine Learning workspace.
* @param name Container name.
@@ -85,12 +87,12 @@ PagedIterable list(
* @return container along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response getWithResponse(
- String resourceGroupName, String workspaceName, String name, Context context);
+ Response getWithResponse(String resourceGroupName, String workspaceName, String name,
+ Context context);
/**
* Get container.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName Name of Azure Machine Learning workspace.
* @param name Container name.
@@ -104,7 +106,7 @@ Response getWithResponse(
/**
* Create or update container.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName Name of Azure Machine Learning workspace.
* @param name Container name.
@@ -116,12 +118,12 @@ Response getWithResponse(
* @return azure Resource Manager resource envelope along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response createOrUpdateWithResponse(
- String resourceGroupName, String workspaceName, String name, ComponentContainerInner body, Context context);
+ Response createOrUpdateWithResponse(String resourceGroupName, String workspaceName,
+ String name, ComponentContainerInner body, Context context);
/**
* Create or update container.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName Name of Azure Machine Learning workspace.
* @param name Container name.
@@ -132,6 +134,6 @@ Response createOrUpdateWithResponse(
* @return azure Resource Manager resource envelope.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- ComponentContainerInner createOrUpdate(
- String resourceGroupName, String workspaceName, String name, ComponentContainerInner body);
+ ComponentContainerInner createOrUpdate(String resourceGroupName, String workspaceName, String name,
+ ComponentContainerInner body);
}
diff --git a/sdk/machinelearning/azure-resourcemanager-machinelearning/src/main/java/com/azure/resourcemanager/machinelearning/fluent/ComponentVersionsClient.java b/sdk/machinelearning/azure-resourcemanager-machinelearning/src/main/java/com/azure/resourcemanager/machinelearning/fluent/ComponentVersionsClient.java
index c1374059eaa05..b5c5be3c55a09 100644
--- a/sdk/machinelearning/azure-resourcemanager-machinelearning/src/main/java/com/azure/resourcemanager/machinelearning/fluent/ComponentVersionsClient.java
+++ b/sdk/machinelearning/azure-resourcemanager-machinelearning/src/main/java/com/azure/resourcemanager/machinelearning/fluent/ComponentVersionsClient.java
@@ -8,15 +8,20 @@
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.machinelearning.fluent.models.ComponentVersionInner;
+import com.azure.resourcemanager.machinelearning.models.DestinationAsset;
import com.azure.resourcemanager.machinelearning.models.ListViewType;
-/** An instance of this class provides access to all the operations defined in ComponentVersionsClient. */
+/**
+ * An instance of this class provides access to all the operations defined in ComponentVersionsClient.
+ */
public interface ComponentVersionsClient {
/**
* List component versions.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName Name of Azure Machine Learning workspace.
* @param name Component name.
@@ -30,7 +35,7 @@ public interface ComponentVersionsClient {
/**
* List component versions.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName Name of Azure Machine Learning workspace.
* @param name Component name.
@@ -45,19 +50,12 @@ public interface ComponentVersionsClient {
* @return a paginated list of ComponentVersion entities as paginated response with {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list(
- String resourceGroupName,
- String workspaceName,
- String name,
- String orderBy,
- Integer top,
- String skip,
- ListViewType listViewType,
- Context context);
+ PagedIterable list(String resourceGroupName, String workspaceName, String name,
+ String orderBy, Integer top, String skip, ListViewType listViewType, Context context);
/**
* Delete version.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName Name of Azure Machine Learning workspace.
* @param name Container name.
@@ -69,12 +67,12 @@ PagedIterable list(
* @return the {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response deleteWithResponse(
- String resourceGroupName, String workspaceName, String name, String version, Context context);
+ Response deleteWithResponse(String resourceGroupName, String workspaceName, String name, String version,
+ Context context);
/**
* Delete version.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName Name of Azure Machine Learning workspace.
* @param name Container name.
@@ -88,7 +86,7 @@ Response deleteWithResponse(
/**
* Get version.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName Name of Azure Machine Learning workspace.
* @param name Container name.
@@ -100,12 +98,12 @@ Response deleteWithResponse(
* @return version along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response getWithResponse(
- String resourceGroupName, String workspaceName, String name, String version, Context context);
+ Response getWithResponse(String resourceGroupName, String workspaceName, String name,
+ String version, Context context);
/**
* Get version.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName Name of Azure Machine Learning workspace.
* @param name Container name.
@@ -120,7 +118,7 @@ Response getWithResponse(
/**
* Create or update version.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName Name of Azure Machine Learning workspace.
* @param name Container name.
@@ -133,17 +131,12 @@ Response getWithResponse(
* @return azure Resource Manager resource envelope along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response createOrUpdateWithResponse(
- String resourceGroupName,
- String workspaceName,
- String name,
- String version,
- ComponentVersionInner body,
- Context context);
+ Response createOrUpdateWithResponse(String resourceGroupName, String workspaceName,
+ String name, String version, ComponentVersionInner body, Context context);
/**
* Create or update version.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName Name of Azure Machine Learning workspace.
* @param name Container name.
@@ -155,6 +148,73 @@ Response createOrUpdateWithResponse(
* @return azure Resource Manager resource envelope.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- ComponentVersionInner createOrUpdate(
- String resourceGroupName, String workspaceName, String name, String version, ComponentVersionInner body);
+ ComponentVersionInner createOrUpdate(String resourceGroupName, String workspaceName, String name, String version,
+ ComponentVersionInner body);
+
+ /**
+ * Publish version asset into registry.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Name of Azure Machine Learning workspace.
+ * @param name Container name.
+ * @param version Version identifier.
+ * @param body Destination registry info.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of long-running operation.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, Void> beginPublish(String resourceGroupName, String workspaceName, String name,
+ String version, DestinationAsset body);
+
+ /**
+ * Publish version asset into registry.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Name of Azure Machine Learning workspace.
+ * @param name Container name.
+ * @param version Version identifier.
+ * @param body Destination registry info.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of long-running operation.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, Void> beginPublish(String resourceGroupName, String workspaceName, String name,
+ String version, DestinationAsset body, Context context);
+
+ /**
+ * Publish version asset into registry.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Name of Azure Machine Learning workspace.
+ * @param name Container name.
+ * @param version Version identifier.
+ * @param body Destination registry info.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.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 publish(String resourceGroupName, String workspaceName, String name, String version, DestinationAsset body);
+
+ /**
+ * Publish version asset into registry.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Name of Azure Machine Learning workspace.
+ * @param name Container name.
+ * @param version Version identifier.
+ * @param body Destination registry info.
+ * @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 publish(String resourceGroupName, String workspaceName, String name, String version, DestinationAsset body,
+ Context context);
}
diff --git a/sdk/machinelearning/azure-resourcemanager-machinelearning/src/main/java/com/azure/resourcemanager/machinelearning/fluent/ComputesClient.java b/sdk/machinelearning/azure-resourcemanager-machinelearning/src/main/java/com/azure/resourcemanager/machinelearning/fluent/ComputesClient.java
index 5676a642b1704..2acd533571d4f 100644
--- a/sdk/machinelearning/azure-resourcemanager-machinelearning/src/main/java/com/azure/resourcemanager/machinelearning/fluent/ComputesClient.java
+++ b/sdk/machinelearning/azure-resourcemanager-machinelearning/src/main/java/com/azure/resourcemanager/machinelearning/fluent/ComputesClient.java
@@ -17,11 +17,13 @@
import com.azure.resourcemanager.machinelearning.models.ClusterUpdateParameters;
import com.azure.resourcemanager.machinelearning.models.UnderlyingResourceAction;
-/** An instance of this class provides access to all the operations defined in ComputesClient. */
+/**
+ * An instance of this class provides access to all the operations defined in ComputesClient.
+ */
public interface ComputesClient {
/**
* Gets computes in specified 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.
@@ -34,7 +36,7 @@ public interface ComputesClient {
/**
* Gets computes in specified 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.
@@ -45,13 +47,13 @@ public interface ComputesClient {
* @return computes in specified workspace as paginated response with {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list(
- String resourceGroupName, String workspaceName, String skip, Context context);
+ 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 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.
@@ -62,13 +64,13 @@ PagedIterable list(
* @return compute definition by its name along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response getWithResponse(
- String resourceGroupName, String workspaceName, String computeName, Context context);
+ Response