Skip to content
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-31)

- 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-04. 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-04. 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,509 changes: 4,345 additions & 1,164 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-04.</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,55 @@ public interface AzureMachineLearningWorkspaces {
*/
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 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 +338,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 @@ -10,6 +10,8 @@
import com.azure.core.http.rest.Response;
import com.azure.core.util.Context;
import com.azure.resourcemanager.machinelearning.fluent.models.CodeVersionInner;
import com.azure.resourcemanager.machinelearning.fluent.models.PendingUploadResponseDtoInner;
import com.azure.resourcemanager.machinelearning.models.PendingUploadRequestDto;

/** An instance of this class provides access to all the operations defined in CodeVersionsClient. */
public interface CodeVersionsClient {
Expand All @@ -36,6 +38,8 @@ public interface CodeVersionsClient {
* @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.
Expand All @@ -50,6 +54,8 @@ PagedIterable<CodeVersionInner> list(
String orderBy,
Integer top,
String skip,
String hash,
String hashVersion,
Context context);

/**
Expand Down Expand Up @@ -154,4 +160,44 @@ Response<CodeVersionInner> createOrUpdateWithResponse(
@ServiceMethod(returns = ReturnType.SINGLE)
CodeVersionInner createOrUpdate(
String resourceGroupName, String workspaceName, String name, String version, CodeVersionInner body);

/**
* 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<PendingUploadResponseDtoInner> 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);
}
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ public interface ComponentVersionsClient {
* @param orderBy Ordering of list.
* @param top Maximum number of records to return.
* @param skip Continuation token for pagination.
* @param stage Component stage.
* @param listViewType View type for including/excluding (for example) archived entities.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
Expand All @@ -52,6 +53,7 @@ PagedIterable<ComponentVersionInner> list(
String orderBy,
Integer top,
String skip,
String stage,
ListViewType listViewType,
Context context);

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