Skip to content

Commit 3d3d60a

Browse files
mgmt, streamanalytics on api-version 2020-03 (#43695)
* regen streamanalytics on tag package-pure-2020-03 * changelog
1 parent bc36d88 commit 3d3d60a

File tree

351 files changed

+2047
-16926
lines changed

Some content is hidden

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

351 files changed

+2047
-16926
lines changed

eng/versioning/version_client.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -361,7 +361,7 @@ com.azure.resourcemanager:azure-resourcemanager-deploymentmanager;1.0.0-beta.2;1
361361
com.azure.resourcemanager:azure-resourcemanager-notificationhubs;1.0.0;1.1.0-beta.1
362362
com.azure.resourcemanager:azure-resourcemanager-marketplaceordering;1.0.0;1.1.0-beta.1
363363
com.azure.resourcemanager:azure-resourcemanager-timeseriesinsights;1.0.0;1.1.0-beta.1
364-
com.azure.resourcemanager:azure-resourcemanager-streamanalytics;1.0.0-beta.4;1.0.0-beta.5
364+
com.azure.resourcemanager:azure-resourcemanager-streamanalytics;1.0.0-beta.4;1.0.0
365365
com.azure.resourcemanager:azure-resourcemanager-operationsmanagement;1.0.0-beta.3;1.0.0-beta.4
366366
com.azure.resourcemanager:azure-resourcemanager-batch;2.0.0;2.1.0-beta.1
367367
com.azure.resourcemanager:azure-resourcemanager-datalakeanalytics;1.0.0;1.1.0-beta.1

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

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,13 @@
11
# Release History
22

3-
## 1.0.0-beta.5 (Unreleased)
3+
## 1.0.0 (2025-01-03)
44

5-
### Features Added
6-
7-
### Breaking Changes
8-
9-
### Bugs Fixed
5+
- Azure Resource Manager StreamAnalytics client library for Java. This package contains Microsoft Azure SDK for StreamAnalytics Management SDK. Stream Analytics Client. Package tag package-pure-2020-03. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt).
106

117
### Other Changes
128

9+
- Release for Azure Resource Manager StreamAnalytics client library for Java.
10+
1311
## 1.0.0-beta.4 (2024-10-31)
1412

1513
- Azure Resource Manager StreamAnalytics client library for Java. This package contains Microsoft Azure SDK for StreamAnalytics Management SDK. Stream Analytics Client. Package tag package-2021-10-preview. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt).

sdk/streamanalytics/azure-resourcemanager-streamanalytics/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 StreamAnalytics client library for Java.
44

5-
This package contains Microsoft Azure SDK for StreamAnalytics Management SDK. Stream Analytics Client. Package tag package-2021-10-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 StreamAnalytics Management SDK. Stream Analytics Client. Package tag package-pure-2020-03. 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-streamanalytics</artifactId>
35-
<version>1.0.0-beta.4</version>
35+
<version>1.0.0</version>
3636
</dependency>
3737
```
3838
[//]: # ({x-version-update-end})

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

Lines changed: 288 additions & 871 deletions
Large diffs are not rendered by default.

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

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<!--
22
~ Copyright (c) Microsoft Corporation. All rights reserved.
3-
~ Licensed under the MIT License.
4-
~ Code generated by Microsoft (R) AutoRest Code Generator.
3+
Licensed under the MIT License.
4+
Code generated by Microsoft (R) AutoRest Code Generator.
55
-->
66
<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">
77
<modelVersion>4.0.0</modelVersion>
@@ -14,11 +14,11 @@
1414

1515
<groupId>com.azure.resourcemanager</groupId>
1616
<artifactId>azure-resourcemanager-streamanalytics</artifactId>
17-
<version>1.0.0-beta.5</version> <!-- {x-version-update;com.azure.resourcemanager:azure-resourcemanager-streamanalytics;current} -->
17+
<version>1.0.0</version> <!-- {x-version-update;com.azure.resourcemanager:azure-resourcemanager-streamanalytics;current} -->
1818
<packaging>jar</packaging>
1919

2020
<name>Microsoft Azure SDK for StreamAnalytics Management</name>
21-
<description>This package contains Microsoft Azure SDK for StreamAnalytics Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. Stream Analytics Client. Package tag package-2021-10-preview.</description>
21+
<description>This package contains Microsoft Azure SDK for StreamAnalytics Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. Stream Analytics Client. Package tag package-pure-2020-03.</description>
2222
<url>https://github.com/Azure/azure-sdk-for-java</url>
2323

2424
<licenses>
@@ -45,7 +45,6 @@
4545
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
4646
<jacoco.min.linecoverage>0</jacoco.min.linecoverage>
4747
<jacoco.min.branchcoverage>0</jacoco.min.branchcoverage>
48-
<revapi.skip>true</revapi.skip>
4948
<spotless.skip>false</spotless.skip>
5049
</properties>
5150
<dependencies>

sdk/streamanalytics/azure-resourcemanager-streamanalytics/src/main/java/com/azure/resourcemanager/streamanalytics/StreamAnalyticsManager.java

Lines changed: 38 additions & 54 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
import com.azure.core.http.HttpPipelinePosition;
1212
import com.azure.core.http.policy.AddDatePolicy;
1313
import com.azure.core.http.policy.AddHeadersFromContextPolicy;
14+
import com.azure.core.http.policy.BearerTokenAuthenticationPolicy;
1415
import com.azure.core.http.policy.HttpLogOptions;
1516
import com.azure.core.http.policy.HttpLoggingPolicy;
1617
import com.azure.core.http.policy.HttpPipelinePolicy;
@@ -19,7 +20,6 @@
1920
import com.azure.core.http.policy.RetryOptions;
2021
import com.azure.core.http.policy.RetryPolicy;
2122
import com.azure.core.http.policy.UserAgentPolicy;
22-
import com.azure.core.management.http.policy.ArmChallengeAuthenticationPolicy;
2323
import com.azure.core.management.profile.AzureProfile;
2424
import com.azure.core.util.Configuration;
2525
import com.azure.core.util.logging.ClientLogger;
@@ -30,7 +30,6 @@
3030
import com.azure.resourcemanager.streamanalytics.implementation.OperationsImpl;
3131
import com.azure.resourcemanager.streamanalytics.implementation.OutputsImpl;
3232
import com.azure.resourcemanager.streamanalytics.implementation.PrivateEndpointsImpl;
33-
import com.azure.resourcemanager.streamanalytics.implementation.SkusImpl;
3433
import com.azure.resourcemanager.streamanalytics.implementation.StreamAnalyticsManagementClientBuilder;
3534
import com.azure.resourcemanager.streamanalytics.implementation.StreamingJobsImpl;
3635
import com.azure.resourcemanager.streamanalytics.implementation.SubscriptionsImpl;
@@ -41,7 +40,6 @@
4140
import com.azure.resourcemanager.streamanalytics.models.Operations;
4241
import com.azure.resourcemanager.streamanalytics.models.Outputs;
4342
import com.azure.resourcemanager.streamanalytics.models.PrivateEndpoints;
44-
import com.azure.resourcemanager.streamanalytics.models.Skus;
4543
import com.azure.resourcemanager.streamanalytics.models.StreamingJobs;
4644
import com.azure.resourcemanager.streamanalytics.models.Subscriptions;
4745
import com.azure.resourcemanager.streamanalytics.models.Transformations;
@@ -57,22 +55,20 @@
5755
* Stream Analytics Client.
5856
*/
5957
public final class StreamAnalyticsManager {
60-
private Functions functions;
58+
private Operations operations;
59+
60+
private StreamingJobs streamingJobs;
6161

6262
private Inputs inputs;
6363

6464
private Outputs outputs;
6565

66-
private Operations operations;
67-
68-
private StreamingJobs streamingJobs;
66+
private Transformations transformations;
6967

70-
private Skus skus;
68+
private Functions functions;
7169

7270
private Subscriptions subscriptions;
7371

74-
private Transformations transformations;
75-
7672
private Clusters clusters;
7773

7874
private PrivateEndpoints privateEndpoints;
@@ -241,7 +237,7 @@ public StreamAnalyticsManager authenticate(TokenCredential credential, AzureProf
241237
.append("-")
242238
.append("com.azure.resourcemanager.streamanalytics")
243239
.append("/")
244-
.append("1.0.0-beta.4");
240+
.append("1.0.0");
245241
if (!Configuration.getGlobalConfiguration().get("AZURE_TELEMETRY_DISABLED", false)) {
246242
userAgentBuilder.append(" (")
247243
.append(Configuration.getGlobalConfiguration().get("java.version"))
@@ -274,7 +270,7 @@ public StreamAnalyticsManager authenticate(TokenCredential credential, AzureProf
274270
HttpPolicyProviders.addBeforeRetryPolicies(policies);
275271
policies.add(retryPolicy);
276272
policies.add(new AddDatePolicy());
277-
policies.add(new ArmChallengeAuthenticationPolicy(credential, scopes.toArray(new String[0])));
273+
policies.add(new BearerTokenAuthenticationPolicy(credential, scopes.toArray(new String[0])));
278274
policies.addAll(this.policies.stream()
279275
.filter(p -> p.getPipelinePosition() == HttpPipelinePosition.PER_RETRY)
280276
.collect(Collectors.toList()));
@@ -288,15 +284,27 @@ public StreamAnalyticsManager authenticate(TokenCredential credential, AzureProf
288284
}
289285

290286
/**
291-
* Gets the resource collection API of Functions. It manages Function.
287+
* Gets the resource collection API of Operations.
292288
*
293-
* @return Resource collection API of Functions.
289+
* @return Resource collection API of Operations.
294290
*/
295-
public Functions functions() {
296-
if (this.functions == null) {
297-
this.functions = new FunctionsImpl(clientObject.getFunctions(), this);
291+
public Operations operations() {
292+
if (this.operations == null) {
293+
this.operations = new OperationsImpl(clientObject.getOperations(), this);
298294
}
299-
return functions;
295+
return operations;
296+
}
297+
298+
/**
299+
* Gets the resource collection API of StreamingJobs. It manages StreamingJob.
300+
*
301+
* @return Resource collection API of StreamingJobs.
302+
*/
303+
public StreamingJobs streamingJobs() {
304+
if (this.streamingJobs == null) {
305+
this.streamingJobs = new StreamingJobsImpl(clientObject.getStreamingJobs(), this);
306+
}
307+
return streamingJobs;
300308
}
301309

302310
/**
@@ -324,39 +332,27 @@ public Outputs outputs() {
324332
}
325333

326334
/**
327-
* Gets the resource collection API of Operations.
328-
*
329-
* @return Resource collection API of Operations.
330-
*/
331-
public Operations operations() {
332-
if (this.operations == null) {
333-
this.operations = new OperationsImpl(clientObject.getOperations(), this);
334-
}
335-
return operations;
336-
}
337-
338-
/**
339-
* Gets the resource collection API of StreamingJobs. It manages StreamingJob.
335+
* Gets the resource collection API of Transformations. It manages Transformation.
340336
*
341-
* @return Resource collection API of StreamingJobs.
337+
* @return Resource collection API of Transformations.
342338
*/
343-
public StreamingJobs streamingJobs() {
344-
if (this.streamingJobs == null) {
345-
this.streamingJobs = new StreamingJobsImpl(clientObject.getStreamingJobs(), this);
339+
public Transformations transformations() {
340+
if (this.transformations == null) {
341+
this.transformations = new TransformationsImpl(clientObject.getTransformations(), this);
346342
}
347-
return streamingJobs;
343+
return transformations;
348344
}
349345

350346
/**
351-
* Gets the resource collection API of Skus.
347+
* Gets the resource collection API of Functions. It manages Function.
352348
*
353-
* @return Resource collection API of Skus.
349+
* @return Resource collection API of Functions.
354350
*/
355-
public Skus skus() {
356-
if (this.skus == null) {
357-
this.skus = new SkusImpl(clientObject.getSkus(), this);
351+
public Functions functions() {
352+
if (this.functions == null) {
353+
this.functions = new FunctionsImpl(clientObject.getFunctions(), this);
358354
}
359-
return skus;
355+
return functions;
360356
}
361357

362358
/**
@@ -371,18 +367,6 @@ public Subscriptions subscriptions() {
371367
return subscriptions;
372368
}
373369

374-
/**
375-
* Gets the resource collection API of Transformations. It manages Transformation.
376-
*
377-
* @return Resource collection API of Transformations.
378-
*/
379-
public Transformations transformations() {
380-
if (this.transformations == null) {
381-
this.transformations = new TransformationsImpl(clientObject.getTransformations(), this);
382-
}
383-
return transformations;
384-
}
385-
386370
/**
387371
* Gets the resource collection API of Clusters. It manages Cluster.
388372
*

sdk/streamanalytics/azure-resourcemanager-streamanalytics/src/main/java/com/azure/resourcemanager/streamanalytics/fluent/SkusClient.java

Lines changed: 0 additions & 45 deletions
This file was deleted.

sdk/streamanalytics/azure-resourcemanager-streamanalytics/src/main/java/com/azure/resourcemanager/streamanalytics/fluent/StreamAnalyticsManagementClient.java

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,13 @@ public interface StreamAnalyticsManagementClient {
2525
*/
2626
String getEndpoint();
2727

28+
/**
29+
* Gets Api Version.
30+
*
31+
* @return the apiVersion value.
32+
*/
33+
String getApiVersion();
34+
2835
/**
2936
* Gets The HTTP pipeline to send requests through.
3037
*
@@ -40,11 +47,18 @@ public interface StreamAnalyticsManagementClient {
4047
Duration getDefaultPollInterval();
4148

4249
/**
43-
* Gets the FunctionsClient object to access its operations.
50+
* Gets the OperationsClient object to access its operations.
4451
*
45-
* @return the FunctionsClient object.
52+
* @return the OperationsClient object.
4653
*/
47-
FunctionsClient getFunctions();
54+
OperationsClient getOperations();
55+
56+
/**
57+
* Gets the StreamingJobsClient object to access its operations.
58+
*
59+
* @return the StreamingJobsClient object.
60+
*/
61+
StreamingJobsClient getStreamingJobs();
4862

4963
/**
5064
* Gets the InputsClient object to access its operations.
@@ -61,25 +75,18 @@ public interface StreamAnalyticsManagementClient {
6175
OutputsClient getOutputs();
6276

6377
/**
64-
* Gets the OperationsClient object to access its operations.
65-
*
66-
* @return the OperationsClient object.
67-
*/
68-
OperationsClient getOperations();
69-
70-
/**
71-
* Gets the StreamingJobsClient object to access its operations.
78+
* Gets the TransformationsClient object to access its operations.
7279
*
73-
* @return the StreamingJobsClient object.
80+
* @return the TransformationsClient object.
7481
*/
75-
StreamingJobsClient getStreamingJobs();
82+
TransformationsClient getTransformations();
7683

7784
/**
78-
* Gets the SkusClient object to access its operations.
85+
* Gets the FunctionsClient object to access its operations.
7986
*
80-
* @return the SkusClient object.
87+
* @return the FunctionsClient object.
8188
*/
82-
SkusClient getSkus();
89+
FunctionsClient getFunctions();
8390

8491
/**
8592
* Gets the SubscriptionsClient object to access its operations.
@@ -88,13 +95,6 @@ public interface StreamAnalyticsManagementClient {
8895
*/
8996
SubscriptionsClient getSubscriptions();
9097

91-
/**
92-
* Gets the TransformationsClient object to access its operations.
93-
*
94-
* @return the TransformationsClient object.
95-
*/
96-
TransformationsClient getTransformations();
97-
9898
/**
9999
* Gets the ClustersClient object to access its operations.
100100
*

0 commit comments

Comments
 (0)