Skip to content

Commit

Permalink
CodeGen from PR 20847 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
Merge 5d347a1bf3846d511a8dd4fe1dae47c72b584c20 into 42f5ee0668c7a6ec7ac2b8e7a6c8c9ec069458af
  • Loading branch information
SDKAuto committed Sep 23, 2022
1 parent a330f9b commit 6407f7c
Show file tree
Hide file tree
Showing 787 changed files with 47,356 additions and 11,372 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# Release History

## 1.0.0-beta.3 (Unreleased)
## 1.0.0-beta.1 (2022-09-23)

- Azure Resource Manager Machine Learning client library for Java. This package contains Microsoft Azure SDK for Machine Learning Management SDK. These APIs allow end users to operate on Azure Machine Learning Workspace resources. Package tag package-preview-2022-10. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt).

### Features Added

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Azure Resource Manager Machine Learning client library for Java.

This package contains Microsoft Azure SDK for Machine Learning Management SDK. These APIs allow end users to operate on Azure Machine Learning Workspace resources. Package tag package-2022-02-01-preview. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt).
This package contains Microsoft Azure SDK for Machine Learning Management SDK. These APIs allow end users to operate on Azure Machine Learning Workspace resources. Package tag package-preview-2022-10. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt).

## We'd love to hear your feedback

Expand Down Expand Up @@ -32,7 +32,7 @@ Various documentation is available to help you get started
<dependency>
<groupId>com.azure.resourcemanager</groupId>
<artifactId>azure-resourcemanager-machinelearning</artifactId>
<version>1.0.0-beta.2</version>
<version>1.0.0-beta.3</version>
</dependency>
```
[//]: # ({x-version-update-end})
Expand Down
2,963 changes: 2,439 additions & 524 deletions sdk/machinelearning/azure-resourcemanager-machinelearning/SAMPLE.md

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<packaging>jar</packaging>

<name>Microsoft Azure SDK for Machine Learning Management</name>
<description>This package contains Microsoft Azure SDK for Machine Learning Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. These APIs allow end users to operate on Azure Machine Learning Workspace resources. Package tag package-2022-02-01-preview.</description>
<description>This package contains Microsoft Azure SDK for Machine Learning Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. These APIs allow end users to operate on Azure Machine Learning Workspace resources. Package tag package-preview-2022-10.</description>
<url>https://github.com/Azure/azure-sdk-for-java</url>

<licenses>
Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
import com.azure.core.http.HttpPipeline;
import java.time.Duration;

/** The interface for AzureMachineLearningWorkspaces class. */
public interface AzureMachineLearningWorkspaces {
/** The interface for AzureMachineLearningServices class. */
public interface AzureMachineLearningServices {
/**
* Gets The ID of the target subscription.
*
Expand Down Expand Up @@ -107,6 +107,62 @@ public interface AzureMachineLearningWorkspaces {
*/
WorkspaceConnectionsClient getWorkspaceConnections();

/**
* 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 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 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.
*
Expand Down Expand Up @@ -191,6 +247,13 @@ public interface AzureMachineLearningWorkspaces {
*/
JobsClient getJobs();

/**
* Gets the LabelingJobsClient object to access its operations.
*
* @return the LabelingJobsClient object.
*/
LabelingJobsClient getLabelingJobs();

/**
* Gets the ModelContainersClient object to access its operations.
*
Expand Down Expand Up @@ -219,10 +282,24 @@ public interface AzureMachineLearningWorkspaces {
*/
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();

/**
* Gets the RegistriesClient object to access its operations.
*
* @return the RegistriesClient object.
*/
RegistriesClient getRegistries();
}
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
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.BatchDeploymentDataInner;
import com.azure.resourcemanager.machinelearning.models.PartialBatchDeploymentPartialTrackedResource;
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. */
public interface BatchDeploymentsClient {
Expand All @@ -28,7 +28,7 @@ public interface BatchDeploymentsClient {
* @return a paginated list of BatchDeployment entities as paginated response with {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
PagedIterable<BatchDeploymentDataInner> list(String resourceGroupName, String workspaceName, String endpointName);
PagedIterable<BatchDeploymentInner> list(String resourceGroupName, String workspaceName, String endpointName);

/**
* Lists Batch inference deployments in the workspace.
Expand All @@ -46,7 +46,7 @@ public interface BatchDeploymentsClient {
* @return a paginated list of BatchDeployment entities as paginated response with {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
PagedIterable<BatchDeploymentDataInner> list(
PagedIterable<BatchDeploymentInner> list(
String resourceGroupName,
String workspaceName,
String endpointName,
Expand Down Expand Up @@ -131,7 +131,7 @@ void delete(
* @return a batch inference deployment by id.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
BatchDeploymentDataInner get(
BatchDeploymentInner get(
String resourceGroupName, String workspaceName, String endpointName, String deploymentName);

/**
Expand All @@ -148,7 +148,7 @@ BatchDeploymentDataInner get(
* @return a batch inference deployment by id along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response<BatchDeploymentDataInner> getWithResponse(
Response<BatchDeploymentInner> getWithResponse(
String resourceGroupName, String workspaceName, String endpointName, String deploymentName, Context context);

/**
Expand All @@ -165,12 +165,12 @@ Response<BatchDeploymentDataInner> getWithResponse(
* @return the {@link SyncPoller} for polling of long-running operation.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller<PollResult<BatchDeploymentDataInner>, BatchDeploymentDataInner> beginUpdate(
SyncPoller<PollResult<BatchDeploymentInner>, BatchDeploymentInner> beginUpdate(
String resourceGroupName,
String workspaceName,
String endpointName,
String deploymentName,
PartialBatchDeploymentPartialTrackedResource body);
PartialBatchDeploymentPartialMinimalTrackedResourceWithProperties body);

/**
* Update a batch inference deployment (asynchronous).
Expand All @@ -187,12 +187,12 @@ SyncPoller<PollResult<BatchDeploymentDataInner>, BatchDeploymentDataInner> begin
* @return the {@link SyncPoller} for polling of long-running operation.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller<PollResult<BatchDeploymentDataInner>, BatchDeploymentDataInner> beginUpdate(
SyncPoller<PollResult<BatchDeploymentInner>, BatchDeploymentInner> beginUpdate(
String resourceGroupName,
String workspaceName,
String endpointName,
String deploymentName,
PartialBatchDeploymentPartialTrackedResource body,
PartialBatchDeploymentPartialMinimalTrackedResourceWithProperties body,
Context context);

/**
Expand All @@ -209,12 +209,12 @@ SyncPoller<PollResult<BatchDeploymentDataInner>, BatchDeploymentDataInner> begin
* @return the response.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
BatchDeploymentDataInner update(
BatchDeploymentInner update(
String resourceGroupName,
String workspaceName,
String endpointName,
String deploymentName,
PartialBatchDeploymentPartialTrackedResource body);
PartialBatchDeploymentPartialMinimalTrackedResourceWithProperties body);

/**
* Update a batch inference deployment (asynchronous).
Expand All @@ -231,12 +231,12 @@ BatchDeploymentDataInner update(
* @return the response.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
BatchDeploymentDataInner update(
BatchDeploymentInner update(
String resourceGroupName,
String workspaceName,
String endpointName,
String deploymentName,
PartialBatchDeploymentPartialTrackedResource body,
PartialBatchDeploymentPartialMinimalTrackedResourceWithProperties body,
Context context);

/**
Expand All @@ -253,12 +253,12 @@ BatchDeploymentDataInner update(
* @return the {@link SyncPoller} for polling of long-running operation.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller<PollResult<BatchDeploymentDataInner>, BatchDeploymentDataInner> beginCreateOrUpdate(
SyncPoller<PollResult<BatchDeploymentInner>, BatchDeploymentInner> beginCreateOrUpdate(
String resourceGroupName,
String workspaceName,
String endpointName,
String deploymentName,
BatchDeploymentDataInner body);
BatchDeploymentInner body);

/**
* Creates/updates a batch inference deployment (asynchronous).
Expand All @@ -275,12 +275,12 @@ SyncPoller<PollResult<BatchDeploymentDataInner>, BatchDeploymentDataInner> begin
* @return the {@link SyncPoller} for polling of long-running operation.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller<PollResult<BatchDeploymentDataInner>, BatchDeploymentDataInner> beginCreateOrUpdate(
SyncPoller<PollResult<BatchDeploymentInner>, BatchDeploymentInner> beginCreateOrUpdate(
String resourceGroupName,
String workspaceName,
String endpointName,
String deploymentName,
BatchDeploymentDataInner body,
BatchDeploymentInner body,
Context context);

/**
Expand All @@ -297,12 +297,12 @@ SyncPoller<PollResult<BatchDeploymentDataInner>, BatchDeploymentDataInner> begin
* @return the response.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
BatchDeploymentDataInner createOrUpdate(
BatchDeploymentInner createOrUpdate(
String resourceGroupName,
String workspaceName,
String endpointName,
String deploymentName,
BatchDeploymentDataInner body);
BatchDeploymentInner body);

/**
* Creates/updates a batch inference deployment (asynchronous).
Expand All @@ -319,11 +319,11 @@ BatchDeploymentDataInner createOrUpdate(
* @return the response.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
BatchDeploymentDataInner createOrUpdate(
BatchDeploymentInner createOrUpdate(
String resourceGroupName,
String workspaceName,
String endpointName,
String deploymentName,
BatchDeploymentDataInner body,
BatchDeploymentInner body,
Context context);
}
Loading

0 comments on commit 6407f7c

Please sign in to comment.