Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[AutoPR azure-resourcemanager-machinelearning] Fixed LintDiff checks #2124

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
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