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] Update SoftDelete/FeatureStore changes to MachineLearningService 2023-02-01-preview #4314

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.1.0-beta.1 (Unreleased)
## 1.0.0-beta.1 (2023-03-09)

- 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-2023-02. 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-10. 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-2023-02. 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</version>
<version>1.1.0-beta.1</version>
</dependency>
```
[//]: # ({x-version-update-end})
Expand Down
5,342 changes: 4,144 additions & 1,198 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
@@ -1,3 +1,8 @@
<!--
~ Copyright (c) Microsoft Corporation. All rights reserved.
~ Licensed under the MIT License.
~ Code generated by Microsoft (R) AutoRest Code Generator.
-->
<project xmlns="http://maven.apache.org/POM/4.0.0" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<parent>
Expand All @@ -13,7 +18,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-10.</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-2023-02.</description>
<url>https://github.com/Azure/azure-sdk-for-java</url>

<licenses>
Expand All @@ -38,7 +43,8 @@
</developers>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<jacoco.skip>true</jacoco.skip>
<jacoco.min.linecoverage>0</jacoco.min.linecoverage>
<jacoco.min.branchcoverage>0</jacoco.min.branchcoverage>
</properties>
<dependencies>
<dependency>
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,76 @@ 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 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 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 @@ -184,13 +254,48 @@ public interface AzureMachineLearningWorkspaces {
*/
EnvironmentVersionsClient getEnvironmentVersions();

/**
* Gets the FeaturesetContainersClient object to access its operations.
*
* @return the FeaturesetContainersClient object.
*/
FeaturesetContainersClient getFeaturesetContainers();

/**
* 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 LabelingJobsClient object to access its operations.
*
* @return the LabelingJobsClient object.
*/
LabelingJobsClient getLabelingJobs();

/**
* Gets the ModelContainersClient object to access its operations.
*
Expand Down Expand Up @@ -226,6 +331,13 @@ public interface AzureMachineLearningWorkspaces {
*/
SchedulesClient getSchedules();

/**
* Gets the RegistriesClient object to access its operations.
*
* @return the RegistriesClient object.
*/
RegistriesClient getRegistries();

/**
* Gets the WorkspaceFeaturesClient object to access its operations.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,10 @@
import com.azure.resourcemanager.machinelearning.fluent.models.ComputeSecretsInner;
import com.azure.resourcemanager.machinelearning.models.AmlComputeNodeInformation;
import com.azure.resourcemanager.machinelearning.models.ClusterUpdateParameters;
import com.azure.resourcemanager.machinelearning.models.CustomService;
import com.azure.resourcemanager.machinelearning.models.IdleShutdownSetting;
import com.azure.resourcemanager.machinelearning.models.UnderlyingResourceAction;
import java.util.List;

/** An instance of this class provides access to all the operations defined in ComputesClient. */
public interface ComputesClient {
Expand Down Expand Up @@ -318,6 +321,42 @@ void delete(
UnderlyingResourceAction underlyingResourceAction,
Context context);

/**
* Updates the custom services list. The list of custom services provided shall be overwritten.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName Name of Azure Machine Learning workspace.
* @param computeName Name of the Azure Machine Learning compute.
* @param customServices New list of Custom Services.
* @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 Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response<Void> updateCustomServicesWithResponse(
String resourceGroupName,
String workspaceName,
String computeName,
List<CustomService> customServices,
Context context);

/**
* Updates the custom services list. The list of custom services provided shall be overwritten.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName Name of Azure Machine Learning workspace.
* @param computeName Name of the Azure Machine Learning compute.
* @param customServices New list of Custom Services.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.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 updateCustomServices(
String resourceGroupName, String workspaceName, String computeName, List<CustomService> customServices);

/**
* Get the details (e.g IP address, port etc) of all the compute nodes in the compute.
*
Expand Down Expand Up @@ -552,4 +591,40 @@ SyncPoller<PollResult<Void>, Void> beginRestart(
*/
@ServiceMethod(returns = ReturnType.SINGLE)
void restart(String resourceGroupName, String workspaceName, String computeName, Context context);

/**
* Updates the idle shutdown setting of a compute instance.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName Name of Azure Machine Learning workspace.
* @param computeName Name of the Azure Machine Learning compute.
* @param parameters The object for updating idle shutdown setting of specified ComputeInstance.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response<Void> updateIdleShutdownSettingWithResponse(
String resourceGroupName,
String workspaceName,
String computeName,
IdleShutdownSetting parameters,
Context context);

/**
* Updates the idle shutdown setting of a compute instance.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName Name of Azure Machine Learning workspace.
* @param computeName Name of the Azure Machine Learning compute.
* @param parameters The object for updating idle shutdown setting of specified ComputeInstance.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.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 updateIdleShutdownSetting(
String resourceGroupName, String workspaceName, String computeName, IdleShutdownSetting parameters);
}
Loading