Skip to content

Commit aab6f19

Browse files
mgmt, regen machinelearning (Azure#29116)
1 parent d8c34db commit aab6f19

File tree

188 files changed

+833
-967
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

188 files changed

+833
-967
lines changed

sdk/machinelearning/azure-resourcemanager-machinelearning/CHANGELOG.md

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,20 @@
11
# Release History
22

3-
## 1.0.0-beta.2 (Unreleased)
3+
## 1.0.0-beta.2 (2022-05-27)
44

5-
### Features Added
5+
- 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).
66

77
### Breaking Changes
88

9-
### Bugs Fixed
9+
* `MachineLearningServicesManager` was removed
10+
11+
* `MachineLearningServicesManager$Configurable` was removed
12+
13+
### Features Added
14+
15+
* `MachineLearningManager` was added
1016

11-
### Other Changes
17+
* `MachineLearningManager$Configurable` was added
1218

1319
## 1.0.0-beta.1 (2022-05-27)
1420

sdk/machinelearning/azure-resourcemanager-machinelearning/README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
# Azure Resource Manager MachineLearningServices client library for Java
1+
# Azure Resource Manager Machine Learning client library for Java
22

3-
Azure Resource Manager MachineLearningServices client library for Java.
3+
Azure Resource Manager Machine Learning client library for Java.
44

5-
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).
5+
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).
66

77
## We'd love to hear your feedback
88

@@ -32,7 +32,7 @@ Various documentation is available to help you get started
3232
<dependency>
3333
<groupId>com.azure.resourcemanager</groupId>
3434
<artifactId>azure-resourcemanager-machinelearning</artifactId>
35-
<version>1.0.0-beta.1</version>
35+
<version>1.0.0-beta.2</version>
3636
</dependency>
3737
```
3838
[//]: # ({x-version-update-end})
@@ -60,7 +60,7 @@ AzureProfile profile = new AzureProfile(AzureEnvironment.AZURE);
6060
TokenCredential credential = new DefaultAzureCredentialBuilder()
6161
.authorityHost(profile.getEnvironment().getActiveDirectoryEndpoint())
6262
.build();
63-
MachineLearningServicesManager manager = MachineLearningServicesManager
63+
MachineLearningManager manager = MachineLearningManager
6464
.authenticate(credential, profile);
6565
```
6666

sdk/machinelearning/azure-resourcemanager-machinelearning/SAMPLE.md

Lines changed: 287 additions & 347 deletions
Large diffs are not rendered by default.

sdk/machinelearning/azure-resourcemanager-machinelearning/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
<version>1.0.0-beta.2</version> <!-- {x-version-update;com.azure.resourcemanager:azure-resourcemanager-machinelearning;current} -->
1313
<packaging>jar</packaging>
1414

15-
<name>Microsoft Azure SDK for MachineLearningServices Management</name>
16-
<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>
15+
<name>Microsoft Azure SDK for Machine Learning Management</name>
16+
<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>
1717
<url>https://github.com/Azure/azure-sdk-for-java</url>
1818

1919
<licenses>

sdk/machinelearning/azure-resourcemanager-machinelearning/src/main/java/com/azure/resourcemanager/machinelearning/MachineLearningServicesManager.java renamed to sdk/machinelearning/azure-resourcemanager-machinelearning/src/main/java/com/azure/resourcemanager/machinelearning/MachineLearningManager.java

Lines changed: 18 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -85,10 +85,10 @@
8585
import java.util.stream.Collectors;
8686

8787
/**
88-
* Entry point to MachineLearningServicesManager. These APIs allow end users to operate on Azure Machine Learning
89-
* Workspace resources.
88+
* Entry point to MachineLearningManager. These APIs allow end users to operate on Azure Machine Learning Workspace
89+
* resources.
9090
*/
91-
public final class MachineLearningServicesManager {
91+
public final class MachineLearningManager {
9292
private Operations operations;
9393

9494
private Workspaces workspaces;
@@ -143,8 +143,7 @@ public final class MachineLearningServicesManager {
143143

144144
private final AzureMachineLearningWorkspaces clientObject;
145145

146-
private MachineLearningServicesManager(
147-
HttpPipeline httpPipeline, AzureProfile profile, Duration defaultPollInterval) {
146+
private MachineLearningManager(HttpPipeline httpPipeline, AzureProfile profile, Duration defaultPollInterval) {
148147
Objects.requireNonNull(httpPipeline, "'httpPipeline' cannot be null.");
149148
Objects.requireNonNull(profile, "'profile' cannot be null.");
150149
this.clientObject =
@@ -157,39 +156,38 @@ private MachineLearningServicesManager(
157156
}
158157

159158
/**
160-
* Creates an instance of MachineLearningServices service API entry point.
159+
* Creates an instance of Machine Learning service API entry point.
161160
*
162161
* @param credential the credential to use.
163162
* @param profile the Azure profile for client.
164-
* @return the MachineLearningServices service API instance.
163+
* @return the Machine Learning service API instance.
165164
*/
166-
public static MachineLearningServicesManager authenticate(TokenCredential credential, AzureProfile profile) {
165+
public static MachineLearningManager authenticate(TokenCredential credential, AzureProfile profile) {
167166
Objects.requireNonNull(credential, "'credential' cannot be null.");
168167
Objects.requireNonNull(profile, "'profile' cannot be null.");
169168
return configure().authenticate(credential, profile);
170169
}
171170

172171
/**
173-
* Creates an instance of MachineLearningServices service API entry point.
172+
* Creates an instance of Machine Learning service API entry point.
174173
*
175174
* @param httpPipeline the {@link HttpPipeline} configured with Azure authentication credential.
176175
* @param profile the Azure profile for client.
177-
* @return the MachineLearningServices service API instance.
176+
* @return the Machine Learning service API instance.
178177
*/
179-
public static MachineLearningServicesManager authenticate(HttpPipeline httpPipeline, AzureProfile profile) {
178+
public static MachineLearningManager authenticate(HttpPipeline httpPipeline, AzureProfile profile) {
180179
Objects.requireNonNull(httpPipeline, "'httpPipeline' cannot be null.");
181180
Objects.requireNonNull(profile, "'profile' cannot be null.");
182-
return new MachineLearningServicesManager(httpPipeline, profile, null);
181+
return new MachineLearningManager(httpPipeline, profile, null);
183182
}
184183

185184
/**
186-
* Gets a Configurable instance that can be used to create MachineLearningServicesManager with optional
187-
* configuration.
185+
* Gets a Configurable instance that can be used to create MachineLearningManager with optional configuration.
188186
*
189187
* @return the Configurable instance allowing configurations.
190188
*/
191189
public static Configurable configure() {
192-
return new MachineLearningServicesManager.Configurable();
190+
return new MachineLearningManager.Configurable();
193191
}
194192

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

294292
/**
295-
* Creates an instance of MachineLearningServices service API entry point.
293+
* Creates an instance of Machine Learning service API entry point.
296294
*
297295
* @param credential the credential to use.
298296
* @param profile the Azure profile for client.
299-
* @return the MachineLearningServices service API instance.
297+
* @return the Machine Learning service API instance.
300298
*/
301-
public MachineLearningServicesManager authenticate(TokenCredential credential, AzureProfile profile) {
299+
public MachineLearningManager authenticate(TokenCredential credential, AzureProfile profile) {
302300
Objects.requireNonNull(credential, "'credential' cannot be null.");
303301
Objects.requireNonNull(profile, "'profile' cannot be null.");
304302

@@ -308,7 +306,7 @@ public MachineLearningServicesManager authenticate(TokenCredential credential, A
308306
.append("-")
309307
.append("com.azure.resourcemanager.machinelearning")
310308
.append("/")
311-
.append("1.0.0-beta.1");
309+
.append("1.0.0-beta.2");
312310
if (!Configuration.getGlobalConfiguration().get("AZURE_TELEMETRY_DISABLED", false)) {
313311
userAgentBuilder
314312
.append(" (")
@@ -361,7 +359,7 @@ public MachineLearningServicesManager authenticate(TokenCredential credential, A
361359
.httpClient(httpClient)
362360
.policies(policies.toArray(new HttpPipelinePolicy[0]))
363361
.build();
364-
return new MachineLearningServicesManager(httpPipeline, profile, defaultPollInterval);
362+
return new MachineLearningManager(httpPipeline, profile, defaultPollInterval);
365363
}
366364
}
367365

sdk/machinelearning/azure-resourcemanager-machinelearning/src/main/java/com/azure/resourcemanager/machinelearning/implementation/AmlOperationImpl.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@
1111
public final class AmlOperationImpl implements AmlOperation {
1212
private AmlOperationInner innerObject;
1313

14-
private final com.azure.resourcemanager.machinelearning.MachineLearningServicesManager serviceManager;
14+
private final com.azure.resourcemanager.machinelearning.MachineLearningManager serviceManager;
1515

1616
AmlOperationImpl(
1717
AmlOperationInner innerObject,
18-
com.azure.resourcemanager.machinelearning.MachineLearningServicesManager serviceManager) {
18+
com.azure.resourcemanager.machinelearning.MachineLearningManager serviceManager) {
1919
this.innerObject = innerObject;
2020
this.serviceManager = serviceManager;
2121
}
@@ -36,7 +36,7 @@ public AmlOperationInner innerModel() {
3636
return this.innerObject;
3737
}
3838

39-
private com.azure.resourcemanager.machinelearning.MachineLearningServicesManager manager() {
39+
private com.azure.resourcemanager.machinelearning.MachineLearningManager manager() {
4040
return this.serviceManager;
4141
}
4242
}

sdk/machinelearning/azure-resourcemanager-machinelearning/src/main/java/com/azure/resourcemanager/machinelearning/implementation/AmlUserFeatureImpl.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@
1010
public final class AmlUserFeatureImpl implements AmlUserFeature {
1111
private AmlUserFeatureInner innerObject;
1212

13-
private final com.azure.resourcemanager.machinelearning.MachineLearningServicesManager serviceManager;
13+
private final com.azure.resourcemanager.machinelearning.MachineLearningManager serviceManager;
1414

1515
AmlUserFeatureImpl(
1616
AmlUserFeatureInner innerObject,
17-
com.azure.resourcemanager.machinelearning.MachineLearningServicesManager serviceManager) {
17+
com.azure.resourcemanager.machinelearning.MachineLearningManager serviceManager) {
1818
this.innerObject = innerObject;
1919
this.serviceManager = serviceManager;
2020
}
@@ -35,7 +35,7 @@ public AmlUserFeatureInner innerModel() {
3535
return this.innerObject;
3636
}
3737

38-
private com.azure.resourcemanager.machinelearning.MachineLearningServicesManager manager() {
38+
private com.azure.resourcemanager.machinelearning.MachineLearningManager manager() {
3939
return this.serviceManager;
4040
}
4141
}

sdk/machinelearning/azure-resourcemanager-machinelearning/src/main/java/com/azure/resourcemanager/machinelearning/implementation/BatchDeploymentDataImpl.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ public final class BatchDeploymentDataImpl
2323
implements BatchDeploymentData, BatchDeploymentData.Definition, BatchDeploymentData.Update {
2424
private BatchDeploymentDataInner innerObject;
2525

26-
private final com.azure.resourcemanager.machinelearning.MachineLearningServicesManager serviceManager;
26+
private final com.azure.resourcemanager.machinelearning.MachineLearningManager serviceManager;
2727

2828
public String id() {
2929
return this.innerModel().id();
@@ -86,7 +86,7 @@ public BatchDeploymentDataInner innerModel() {
8686
return this.innerObject;
8787
}
8888

89-
private com.azure.resourcemanager.machinelearning.MachineLearningServicesManager manager() {
89+
private com.azure.resourcemanager.machinelearning.MachineLearningManager manager() {
9090
return this.serviceManager;
9191
}
9292

@@ -129,7 +129,7 @@ public BatchDeploymentData create(Context context) {
129129
}
130130

131131
BatchDeploymentDataImpl(
132-
String name, com.azure.resourcemanager.machinelearning.MachineLearningServicesManager serviceManager) {
132+
String name, com.azure.resourcemanager.machinelearning.MachineLearningManager serviceManager) {
133133
this.innerObject = new BatchDeploymentDataInner();
134134
this.serviceManager = serviceManager;
135135
this.deploymentName = name;
@@ -160,7 +160,7 @@ public BatchDeploymentData apply(Context context) {
160160

161161
BatchDeploymentDataImpl(
162162
BatchDeploymentDataInner innerObject,
163-
com.azure.resourcemanager.machinelearning.MachineLearningServicesManager serviceManager) {
163+
com.azure.resourcemanager.machinelearning.MachineLearningManager serviceManager) {
164164
this.innerObject = innerObject;
165165
this.serviceManager = serviceManager;
166166
this.resourceGroupName = Utils.getValueFromIdByName(innerObject.id(), "resourceGroups");

sdk/machinelearning/azure-resourcemanager-machinelearning/src/main/java/com/azure/resourcemanager/machinelearning/implementation/BatchDeploymentsImpl.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,11 @@ public final class BatchDeploymentsImpl implements BatchDeployments {
1919

2020
private final BatchDeploymentsClient innerClient;
2121

22-
private final com.azure.resourcemanager.machinelearning.MachineLearningServicesManager serviceManager;
22+
private final com.azure.resourcemanager.machinelearning.MachineLearningManager serviceManager;
2323

2424
public BatchDeploymentsImpl(
2525
BatchDeploymentsClient innerClient,
26-
com.azure.resourcemanager.machinelearning.MachineLearningServicesManager serviceManager) {
26+
com.azure.resourcemanager.machinelearning.MachineLearningManager serviceManager) {
2727
this.innerClient = innerClient;
2828
this.serviceManager = serviceManager;
2929
}
@@ -227,7 +227,7 @@ private BatchDeploymentsClient serviceClient() {
227227
return this.innerClient;
228228
}
229229

230-
private com.azure.resourcemanager.machinelearning.MachineLearningServicesManager manager() {
230+
private com.azure.resourcemanager.machinelearning.MachineLearningManager manager() {
231231
return this.serviceManager;
232232
}
233233

sdk/machinelearning/azure-resourcemanager-machinelearning/src/main/java/com/azure/resourcemanager/machinelearning/implementation/BatchEndpointDataImpl.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ public final class BatchEndpointDataImpl
2424
implements BatchEndpointData, BatchEndpointData.Definition, BatchEndpointData.Update {
2525
private BatchEndpointDataInner innerObject;
2626

27-
private final com.azure.resourcemanager.machinelearning.MachineLearningServicesManager serviceManager;
27+
private final com.azure.resourcemanager.machinelearning.MachineLearningManager serviceManager;
2828

2929
public String id() {
3030
return this.innerModel().id();
@@ -83,7 +83,7 @@ public BatchEndpointDataInner innerModel() {
8383
return this.innerObject;
8484
}
8585

86-
private com.azure.resourcemanager.machinelearning.MachineLearningServicesManager manager() {
86+
private com.azure.resourcemanager.machinelearning.MachineLearningManager manager() {
8787
return this.serviceManager;
8888
}
8989

@@ -120,7 +120,7 @@ public BatchEndpointData create(Context context) {
120120
}
121121

122122
BatchEndpointDataImpl(
123-
String name, com.azure.resourcemanager.machinelearning.MachineLearningServicesManager serviceManager) {
123+
String name, com.azure.resourcemanager.machinelearning.MachineLearningManager serviceManager) {
124124
this.innerObject = new BatchEndpointDataInner();
125125
this.serviceManager = serviceManager;
126126
this.endpointName = name;
@@ -151,7 +151,7 @@ public BatchEndpointData apply(Context context) {
151151

152152
BatchEndpointDataImpl(
153153
BatchEndpointDataInner innerObject,
154-
com.azure.resourcemanager.machinelearning.MachineLearningServicesManager serviceManager) {
154+
com.azure.resourcemanager.machinelearning.MachineLearningManager serviceManager) {
155155
this.innerObject = innerObject;
156156
this.serviceManager = serviceManager;
157157
this.resourceGroupName = Utils.getValueFromIdByName(innerObject.id(), "resourceGroups");

0 commit comments

Comments
 (0)