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

[ReleasePR azure-resourcemanager-machinelearning] [MachineLearningServices]Add missing kind property in the workspace #29115

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.2 (Unreleased)
## 1.0.0-beta.1 (2022-05-27)

- 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-05-01. 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
@@ -1,8 +1,8 @@
# Azure Resource Manager MachineLearningServices client library for Java
# Azure Resource Manager Machine Learning client library for Java

Azure Resource Manager MachineLearningServices client library for Java.
Azure Resource Manager Machine Learning client library for Java.

This package contains Microsoft Azure SDK for MachineLearningServices 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-2022-05-01. 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.1</version>
<version>1.0.0-beta.2</version>
</dependency>
```
[//]: # ({x-version-update-end})
Expand Down Expand Up @@ -60,7 +60,7 @@ AzureProfile profile = new AzureProfile(AzureEnvironment.AZURE);
TokenCredential credential = new DefaultAzureCredentialBuilder()
.authorityHost(profile.getEnvironment().getActiveDirectoryEndpoint())
.build();
MachineLearningServicesManager manager = MachineLearningServicesManager
MachineLearningManager manager = MachineLearningManager
.authenticate(credential, profile);
```

Expand Down
1,215 changes: 471 additions & 744 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 @@ -12,8 +12,8 @@
<version>1.0.0-beta.2</version> <!-- {x-version-update;com.azure.resourcemanager:azure-resourcemanager-machinelearning;current} -->
<packaging>jar</packaging>

<name>Microsoft Azure SDK for MachineLearningServices Management</name>
<description>This package contains Microsoft Azure SDK for MachineLearningServices 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>
<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-05-01.</description>
<url>https://github.com/Azure/azure-sdk-for-java</url>

<licenses>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,10 +85,10 @@
import java.util.stream.Collectors;

/**
* Entry point to MachineLearningServicesManager. 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 MachineLearningServicesManager {
public final class MachineLearningManager {
private Operations operations;

private Workspaces workspaces;
Expand Down Expand Up @@ -143,8 +143,7 @@ public final class MachineLearningServicesManager {

private final AzureMachineLearningWorkspaces clientObject;

private MachineLearningServicesManager(
HttpPipeline httpPipeline, AzureProfile profile, Duration defaultPollInterval) {
private MachineLearningManager(HttpPipeline httpPipeline, AzureProfile profile, Duration defaultPollInterval) {
Objects.requireNonNull(httpPipeline, "'httpPipeline' cannot be null.");
Objects.requireNonNull(profile, "'profile' cannot be null.");
this.clientObject =
Expand All @@ -157,39 +156,38 @@ private MachineLearningServicesManager(
}

/**
* Creates an instance of MachineLearningServices service API entry point.
* 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 MachineLearningServices service API instance.
* @return the Machine Learning service API instance.
*/
public static MachineLearningServicesManager authenticate(TokenCredential credential, AzureProfile profile) {
public static MachineLearningManager authenticate(TokenCredential credential, AzureProfile profile) {
Objects.requireNonNull(credential, "'credential' cannot be null.");
Objects.requireNonNull(profile, "'profile' cannot be null.");
return configure().authenticate(credential, profile);
}

/**
* Creates an instance of MachineLearningServices service API entry point.
* 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 MachineLearningServices service API instance.
* @return the Machine Learning service API instance.
*/
public static MachineLearningServicesManager authenticate(HttpPipeline httpPipeline, AzureProfile profile) {
public static MachineLearningManager authenticate(HttpPipeline httpPipeline, AzureProfile profile) {
Objects.requireNonNull(httpPipeline, "'httpPipeline' cannot be null.");
Objects.requireNonNull(profile, "'profile' cannot be null.");
return new MachineLearningServicesManager(httpPipeline, profile, null);
return new MachineLearningManager(httpPipeline, profile, null);
}

/**
* Gets a Configurable instance that can be used to create MachineLearningServicesManager with optional
* configuration.
* 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 MachineLearningServicesManager.Configurable();
return new MachineLearningManager.Configurable();
}

/** The Configurable allowing configurations to be set. */
Expand Down Expand Up @@ -292,13 +290,13 @@ public Configurable withDefaultPollInterval(Duration defaultPollInterval) {
}

/**
* Creates an instance of MachineLearningServices service API entry point.
* 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 MachineLearningServices service API instance.
* @return the Machine Learning service API instance.
*/
public MachineLearningServicesManager authenticate(TokenCredential credential, AzureProfile profile) {
public MachineLearningManager authenticate(TokenCredential credential, AzureProfile profile) {
Objects.requireNonNull(credential, "'credential' cannot be null.");
Objects.requireNonNull(profile, "'profile' cannot be null.");

Expand Down Expand Up @@ -361,7 +359,7 @@ public MachineLearningServicesManager authenticate(TokenCredential credential, A
.httpClient(httpClient)
.policies(policies.toArray(new HttpPipelinePolicy[0]))
.build();
return new MachineLearningServicesManager(httpPipeline, profile, defaultPollInterval);
return new MachineLearningManager(httpPipeline, profile, defaultPollInterval);
}
}

Expand Down Expand Up @@ -463,7 +461,8 @@ public PrivateLinkResources privateLinkResources() {
}

/**
* Gets the resource collection API of WorkspaceConnections. It manages WorkspaceConnection.
* Gets the resource collection API of WorkspaceConnections. It manages
* WorkspaceConnectionPropertiesV2BasicResource.
*
* @return Resource collection API of WorkspaceConnections.
*/
Expand All @@ -475,7 +474,7 @@ public WorkspaceConnections workspaceConnections() {
}

/**
* Gets the resource collection API of BatchEndpoints. It manages BatchEndpointData.
* Gets the resource collection API of BatchEndpoints. It manages BatchEndpoint.
*
* @return Resource collection API of BatchEndpoints.
*/
Expand All @@ -487,7 +486,7 @@ public BatchEndpoints batchEndpoints() {
}

/**
* Gets the resource collection API of BatchDeployments. It manages BatchDeploymentData.
* Gets the resource collection API of BatchDeployments. It manages BatchDeployment.
*
* @return Resource collection API of BatchDeployments.
*/
Expand All @@ -499,7 +498,7 @@ public BatchDeployments batchDeployments() {
}

/**
* Gets the resource collection API of CodeContainers. It manages CodeContainerData.
* Gets the resource collection API of CodeContainers. It manages CodeContainer.
*
* @return Resource collection API of CodeContainers.
*/
Expand All @@ -511,7 +510,7 @@ public CodeContainers codeContainers() {
}

/**
* Gets the resource collection API of CodeVersions. It manages CodeVersionData.
* Gets the resource collection API of CodeVersions. It manages CodeVersion.
*
* @return Resource collection API of CodeVersions.
*/
Expand All @@ -523,7 +522,7 @@ public CodeVersions codeVersions() {
}

/**
* Gets the resource collection API of ComponentContainers. It manages ComponentContainerData.
* Gets the resource collection API of ComponentContainers. It manages ComponentContainer.
*
* @return Resource collection API of ComponentContainers.
*/
Expand All @@ -535,7 +534,7 @@ public ComponentContainers componentContainers() {
}

/**
* Gets the resource collection API of ComponentVersions. It manages ComponentVersionData.
* Gets the resource collection API of ComponentVersions. It manages ComponentVersion.
*
* @return Resource collection API of ComponentVersions.
*/
Expand All @@ -547,7 +546,7 @@ public ComponentVersions componentVersions() {
}

/**
* Gets the resource collection API of DataContainers. It manages DataContainerData.
* Gets the resource collection API of DataContainers. It manages DataContainer.
*
* @return Resource collection API of DataContainers.
*/
Expand All @@ -559,7 +558,7 @@ public DataContainers dataContainers() {
}

/**
* Gets the resource collection API of DataVersions. It manages DataVersionBaseData.
* Gets the resource collection API of DataVersions. It manages DataVersionBase.
*
* @return Resource collection API of DataVersions.
*/
Expand All @@ -571,7 +570,7 @@ public DataVersions dataVersions() {
}

/**
* Gets the resource collection API of Datastores. It manages DatastoreData.
* Gets the resource collection API of Datastores. It manages Datastore.
*
* @return Resource collection API of Datastores.
*/
Expand All @@ -583,7 +582,7 @@ public Datastores datastores() {
}

/**
* Gets the resource collection API of EnvironmentContainers. It manages EnvironmentContainerData.
* Gets the resource collection API of EnvironmentContainers. It manages EnvironmentContainer.
*
* @return Resource collection API of EnvironmentContainers.
*/
Expand All @@ -595,7 +594,7 @@ public EnvironmentContainers environmentContainers() {
}

/**
* Gets the resource collection API of EnvironmentVersions. It manages EnvironmentVersionData.
* Gets the resource collection API of EnvironmentVersions. It manages EnvironmentVersion.
*
* @return Resource collection API of EnvironmentVersions.
*/
Expand All @@ -607,7 +606,7 @@ public EnvironmentVersions environmentVersions() {
}

/**
* Gets the resource collection API of Jobs. It manages JobBaseData.
* Gets the resource collection API of Jobs. It manages JobBase.
*
* @return Resource collection API of Jobs.
*/
Expand All @@ -619,7 +618,7 @@ public Jobs jobs() {
}

/**
* Gets the resource collection API of ModelContainers. It manages ModelContainerData.
* Gets the resource collection API of ModelContainers. It manages ModelContainer.
*
* @return Resource collection API of ModelContainers.
*/
Expand All @@ -631,7 +630,7 @@ public ModelContainers modelContainers() {
}

/**
* Gets the resource collection API of ModelVersions. It manages ModelVersionData.
* Gets the resource collection API of ModelVersions. It manages ModelVersion.
*
* @return Resource collection API of ModelVersions.
*/
Expand All @@ -643,7 +642,7 @@ public ModelVersions modelVersions() {
}

/**
* Gets the resource collection API of OnlineEndpoints. It manages OnlineEndpointData.
* Gets the resource collection API of OnlineEndpoints. It manages OnlineEndpoint.
*
* @return Resource collection API of OnlineEndpoints.
*/
Expand All @@ -655,7 +654,7 @@ public OnlineEndpoints onlineEndpoints() {
}

/**
* Gets the resource collection API of OnlineDeployments. It manages OnlineDeploymentData.
* Gets the resource collection API of OnlineDeployments. It manages OnlineDeployment.
*
* @return Resource collection API of OnlineDeployments.
*/
Expand Down
Loading