Skip to content

Commit 4db536d

Browse files
author
SDKAuto
committed
CodeGen from PR 23042 in Azure/azure-rest-api-specs
Merge b802718f41a7690b7b0ea1db9f5eecbb6e48f5eb into f5b686a367376e34ad92d7c9e7e6848aa53b77f4
1 parent fd5541f commit 4db536d

File tree

510 files changed

+769
-22827
lines changed

Some content is hidden

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

510 files changed

+769
-22827
lines changed

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
# Release History
22

3-
## 1.1.0-beta.1 (Unreleased)
3+
## 1.0.0-beta.1 (2023-03-22)
4+
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-2023-04. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt).
46

57
### Features Added
68

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Azure Resource Manager Machine Learning client library for Java.
44

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-10. 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-2023-04. 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</version>
35+
<version>1.1.0-beta.1</version>
3636
</dependency>
3737
```
3838
[//]: # ({x-version-update-end})

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

Lines changed: 168 additions & 147 deletions
Large diffs are not rendered by default.

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

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
<!--
2+
~ Copyright (c) Microsoft Corporation. All rights reserved.
3+
~ Licensed under the MIT License.
4+
~ Code generated by Microsoft (R) AutoRest Code Generator.
5+
-->
16
<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">
27
<modelVersion>4.0.0</modelVersion>
38
<parent>
@@ -13,7 +18,7 @@
1318
<packaging>jar</packaging>
1419

1520
<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-10.</description>
21+
<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-2023-04.</description>
1722
<url>https://github.com/Azure/azure-sdk-for-java</url>
1823

1924
<licenses>
@@ -38,7 +43,8 @@
3843
</developers>
3944
<properties>
4045
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
41-
<jacoco.skip>true</jacoco.skip>
46+
<jacoco.min.linecoverage>0</jacoco.min.linecoverage>
47+
<jacoco.min.branchcoverage>0</jacoco.min.branchcoverage>
4248
</properties>
4349
<dependencies>
4450
<dependency>

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,7 @@ public MachineLearningManager authenticate(TokenCredential credential, AzureProf
310310
.append("-")
311311
.append("com.azure.resourcemanager.machinelearning")
312312
.append("/")
313-
.append("1.0.0");
313+
.append("1.0.0-beta.1");
314314
if (!Configuration.getGlobalConfiguration().get("AZURE_TELEMETRY_DISABLED", false)) {
315315
userAgentBuilder
316316
.append(" (")

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -480,7 +480,7 @@ public WorkspaceFeaturesClient getWorkspaceFeatures() {
480480
this.defaultPollInterval = defaultPollInterval;
481481
this.subscriptionId = subscriptionId;
482482
this.endpoint = endpoint;
483-
this.apiVersion = "2022-10-01";
483+
this.apiVersion = "2023-04-01";
484484
this.operations = new OperationsClientImpl(this);
485485
this.workspaces = new WorkspacesClientImpl(this);
486486
this.usages = new UsagesClientImpl(this);

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

Lines changed: 5 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -68,9 +68,7 @@ public final class BatchDeploymentsClientImpl implements BatchDeploymentsClient
6868
public interface BatchDeploymentsService {
6969
@Headers({"Content-Type: application/json"})
7070
@Get(
71-
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers"
72-
+ "/Microsoft.MachineLearningServices/workspaces/{workspaceName}/batchEndpoints/{endpointName}"
73-
+ "/deployments")
71+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/batchEndpoints/{endpointName}/deployments")
7472
@ExpectedResponses({200})
7573
@UnexpectedResponseExceptionType(ManagementException.class)
7674
Mono<Response<BatchDeploymentTrackedResourceArmPaginatedResult>> list(
@@ -88,9 +86,7 @@ Mono<Response<BatchDeploymentTrackedResourceArmPaginatedResult>> list(
8886

8987
@Headers({"Content-Type: application/json"})
9088
@Delete(
91-
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers"
92-
+ "/Microsoft.MachineLearningServices/workspaces/{workspaceName}/batchEndpoints/{endpointName}"
93-
+ "/deployments/{deploymentName}")
89+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/batchEndpoints/{endpointName}/deployments/{deploymentName}")
9490
@ExpectedResponses({200, 202, 204})
9591
@UnexpectedResponseExceptionType(ManagementException.class)
9692
Mono<Response<Flux<ByteBuffer>>> delete(
@@ -106,9 +102,7 @@ Mono<Response<Flux<ByteBuffer>>> delete(
106102

107103
@Headers({"Content-Type: application/json"})
108104
@Get(
109-
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers"
110-
+ "/Microsoft.MachineLearningServices/workspaces/{workspaceName}/batchEndpoints/{endpointName}"
111-
+ "/deployments/{deploymentName}")
105+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/batchEndpoints/{endpointName}/deployments/{deploymentName}")
112106
@ExpectedResponses({200})
113107
@UnexpectedResponseExceptionType(ManagementException.class)
114108
Mono<Response<BatchDeploymentInner>> get(
@@ -124,9 +118,7 @@ Mono<Response<BatchDeploymentInner>> get(
124118

125119
@Headers({"Content-Type: application/json"})
126120
@Patch(
127-
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers"
128-
+ "/Microsoft.MachineLearningServices/workspaces/{workspaceName}/batchEndpoints/{endpointName}"
129-
+ "/deployments/{deploymentName}")
121+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/batchEndpoints/{endpointName}/deployments/{deploymentName}")
130122
@ExpectedResponses({200, 202})
131123
@UnexpectedResponseExceptionType(ManagementException.class)
132124
Mono<Response<Flux<ByteBuffer>>> update(
@@ -143,9 +135,7 @@ Mono<Response<Flux<ByteBuffer>>> update(
143135

144136
@Headers({"Content-Type: application/json"})
145137
@Put(
146-
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers"
147-
+ "/Microsoft.MachineLearningServices/workspaces/{workspaceName}/batchEndpoints/{endpointName}"
148-
+ "/deployments/{deploymentName}")
138+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/batchEndpoints/{endpointName}/deployments/{deploymentName}")
149139
@ExpectedResponses({200, 201})
150140
@UnexpectedResponseExceptionType(ManagementException.class)
151141
Mono<Response<Flux<ByteBuffer>>> createOrUpdate(

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

Lines changed: 6 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,7 @@ public final class BatchEndpointsClientImpl implements BatchEndpointsClient {
7070
public interface BatchEndpointsService {
7171
@Headers({"Content-Type: application/json"})
7272
@Get(
73-
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers"
74-
+ "/Microsoft.MachineLearningServices/workspaces/{workspaceName}/batchEndpoints")
73+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/batchEndpoints")
7574
@ExpectedResponses({200})
7675
@UnexpectedResponseExceptionType(ManagementException.class)
7776
Mono<Response<BatchEndpointTrackedResourceArmPaginatedResult>> list(
@@ -87,8 +86,7 @@ Mono<Response<BatchEndpointTrackedResourceArmPaginatedResult>> list(
8786

8887
@Headers({"Content-Type: application/json"})
8988
@Delete(
90-
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers"
91-
+ "/Microsoft.MachineLearningServices/workspaces/{workspaceName}/batchEndpoints/{endpointName}")
89+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/batchEndpoints/{endpointName}")
9290
@ExpectedResponses({200, 202, 204})
9391
@UnexpectedResponseExceptionType(ManagementException.class)
9492
Mono<Response<Flux<ByteBuffer>>> delete(
@@ -103,8 +101,7 @@ Mono<Response<Flux<ByteBuffer>>> delete(
103101

104102
@Headers({"Content-Type: application/json"})
105103
@Get(
106-
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers"
107-
+ "/Microsoft.MachineLearningServices/workspaces/{workspaceName}/batchEndpoints/{endpointName}")
104+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/batchEndpoints/{endpointName}")
108105
@ExpectedResponses({200})
109106
@UnexpectedResponseExceptionType(ManagementException.class)
110107
Mono<Response<BatchEndpointInner>> get(
@@ -119,8 +116,7 @@ Mono<Response<BatchEndpointInner>> get(
119116

120117
@Headers({"Content-Type: application/json"})
121118
@Patch(
122-
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers"
123-
+ "/Microsoft.MachineLearningServices/workspaces/{workspaceName}/batchEndpoints/{endpointName}")
119+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/batchEndpoints/{endpointName}")
124120
@ExpectedResponses({200, 202})
125121
@UnexpectedResponseExceptionType(ManagementException.class)
126122
Mono<Response<Flux<ByteBuffer>>> update(
@@ -136,8 +132,7 @@ Mono<Response<Flux<ByteBuffer>>> update(
136132

137133
@Headers({"Content-Type: application/json"})
138134
@Put(
139-
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers"
140-
+ "/Microsoft.MachineLearningServices/workspaces/{workspaceName}/batchEndpoints/{endpointName}")
135+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/batchEndpoints/{endpointName}")
141136
@ExpectedResponses({200, 201})
142137
@UnexpectedResponseExceptionType(ManagementException.class)
143138
Mono<Response<Flux<ByteBuffer>>> createOrUpdate(
@@ -153,9 +148,7 @@ Mono<Response<Flux<ByteBuffer>>> createOrUpdate(
153148

154149
@Headers({"Content-Type: application/json"})
155150
@Post(
156-
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers"
157-
+ "/Microsoft.MachineLearningServices/workspaces/{workspaceName}/batchEndpoints/{endpointName}"
158-
+ "/listkeys")
151+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/batchEndpoints/{endpointName}/listkeys")
159152
@ExpectedResponses({200})
160153
@UnexpectedResponseExceptionType(ManagementException.class)
161154
Mono<Response<EndpointAuthKeysInner>> listKeys(

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

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,7 @@ public final class CodeContainersClientImpl implements CodeContainersClient {
6161
public interface CodeContainersService {
6262
@Headers({"Content-Type: application/json"})
6363
@Get(
64-
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers"
65-
+ "/Microsoft.MachineLearningServices/workspaces/{workspaceName}/codes")
64+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/codes")
6665
@ExpectedResponses({200})
6766
@UnexpectedResponseExceptionType(ManagementException.class)
6867
Mono<Response<CodeContainerResourceArmPaginatedResult>> list(
@@ -77,8 +76,7 @@ Mono<Response<CodeContainerResourceArmPaginatedResult>> list(
7776

7877
@Headers({"Content-Type: application/json"})
7978
@Delete(
80-
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers"
81-
+ "/Microsoft.MachineLearningServices/workspaces/{workspaceName}/codes/{name}")
79+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/codes/{name}")
8280
@ExpectedResponses({200, 204})
8381
@UnexpectedResponseExceptionType(ManagementException.class)
8482
Mono<Response<Void>> delete(
@@ -93,8 +91,7 @@ Mono<Response<Void>> delete(
9391

9492
@Headers({"Content-Type: application/json"})
9593
@Get(
96-
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers"
97-
+ "/Microsoft.MachineLearningServices/workspaces/{workspaceName}/codes/{name}")
94+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/codes/{name}")
9895
@ExpectedResponses({200})
9996
@UnexpectedResponseExceptionType(ManagementException.class)
10097
Mono<Response<CodeContainerInner>> get(
@@ -109,8 +106,7 @@ Mono<Response<CodeContainerInner>> get(
109106

110107
@Headers({"Content-Type: application/json"})
111108
@Put(
112-
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers"
113-
+ "/Microsoft.MachineLearningServices/workspaces/{workspaceName}/codes/{name}")
109+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/codes/{name}")
114110
@ExpectedResponses({200, 201})
115111
@UnexpectedResponseExceptionType(ManagementException.class)
116112
Mono<Response<CodeContainerInner>> createOrUpdate(

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

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,7 @@ public final class CodeVersionsClientImpl implements CodeVersionsClient {
6161
public interface CodeVersionsService {
6262
@Headers({"Content-Type: application/json"})
6363
@Get(
64-
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers"
65-
+ "/Microsoft.MachineLearningServices/workspaces/{workspaceName}/codes/{name}/versions")
64+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/codes/{name}/versions")
6665
@ExpectedResponses({200})
6766
@UnexpectedResponseExceptionType(ManagementException.class)
6867
Mono<Response<CodeVersionResourceArmPaginatedResult>> list(
@@ -80,8 +79,7 @@ Mono<Response<CodeVersionResourceArmPaginatedResult>> list(
8079

8180
@Headers({"Content-Type: application/json"})
8281
@Delete(
83-
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers"
84-
+ "/Microsoft.MachineLearningServices/workspaces/{workspaceName}/codes/{name}/versions/{version}")
82+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/codes/{name}/versions/{version}")
8583
@ExpectedResponses({200, 204})
8684
@UnexpectedResponseExceptionType(ManagementException.class)
8785
Mono<Response<Void>> delete(
@@ -97,8 +95,7 @@ Mono<Response<Void>> delete(
9795

9896
@Headers({"Content-Type: application/json"})
9997
@Get(
100-
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers"
101-
+ "/Microsoft.MachineLearningServices/workspaces/{workspaceName}/codes/{name}/versions/{version}")
98+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/codes/{name}/versions/{version}")
10299
@ExpectedResponses({200})
103100
@UnexpectedResponseExceptionType(ManagementException.class)
104101
Mono<Response<CodeVersionInner>> get(
@@ -114,8 +111,7 @@ Mono<Response<CodeVersionInner>> get(
114111

115112
@Headers({"Content-Type: application/json"})
116113
@Put(
117-
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers"
118-
+ "/Microsoft.MachineLearningServices/workspaces/{workspaceName}/codes/{name}/versions/{version}")
114+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/codes/{name}/versions/{version}")
119115
@ExpectedResponses({200, 201})
120116
@UnexpectedResponseExceptionType(ManagementException.class)
121117
Mono<Response<CodeVersionInner>> createOrUpdate(

0 commit comments

Comments
 (0)