Skip to content
Merged
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
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion eng/versioning/version_client.txt
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,7 @@ com.azure.resourcemanager:azure-resourcemanager-deploymentmanager;1.0.0-beta.2;1
com.azure.resourcemanager:azure-resourcemanager-notificationhubs;1.0.0;1.1.0-beta.1
com.azure.resourcemanager:azure-resourcemanager-marketplaceordering;1.0.0;1.1.0-beta.1
com.azure.resourcemanager:azure-resourcemanager-timeseriesinsights;1.0.0;1.1.0-beta.1
com.azure.resourcemanager:azure-resourcemanager-streamanalytics;1.0.0-beta.4;1.0.0-beta.5
com.azure.resourcemanager:azure-resourcemanager-streamanalytics;1.0.0-beta.4;1.0.0
com.azure.resourcemanager:azure-resourcemanager-operationsmanagement;1.0.0-beta.3;1.0.0-beta.4
com.azure.resourcemanager:azure-resourcemanager-batch;2.0.0;2.1.0-beta.1
com.azure.resourcemanager:azure-resourcemanager-datalakeanalytics;1.0.0;1.1.0-beta.1
Expand Down
Original file line number Diff line number Diff line change
@@ -1,15 +1,13 @@
# Release History

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

### Features Added

### Breaking Changes

### Bugs Fixed
- 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).

### Other Changes

- Release for Azure Resource Manager StreamAnalytics client library for Java.

## 1.0.0-beta.4 (2024-10-31)

- 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).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

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).
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).

## 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-streamanalytics</artifactId>
<version>1.0.0-beta.4</version>
<version>1.0.0</version>
</dependency>
```
[//]: # ({x-version-update-end})
Expand Down
1,159 changes: 288 additions & 871 deletions sdk/streamanalytics/azure-resourcemanager-streamanalytics/SAMPLE.md

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!--
~ Copyright (c) Microsoft Corporation. All rights reserved.
~ Licensed under the MIT License.
~ Code generated by Microsoft (R) AutoRest Code Generator.
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>
Expand All @@ -14,11 +14,11 @@

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

<name>Microsoft Azure SDK for StreamAnalytics Management</name>
<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>
<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>
<url>https://github.com/Azure/azure-sdk-for-java</url>

<licenses>
Expand All @@ -45,7 +45,6 @@
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<jacoco.min.linecoverage>0</jacoco.min.linecoverage>
<jacoco.min.branchcoverage>0</jacoco.min.branchcoverage>
<revapi.skip>true</revapi.skip>
<spotless.skip>false</spotless.skip>
</properties>
<dependencies>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
import com.azure.core.http.HttpPipelinePosition;
import com.azure.core.http.policy.AddDatePolicy;
import com.azure.core.http.policy.AddHeadersFromContextPolicy;
import com.azure.core.http.policy.BearerTokenAuthenticationPolicy;
import com.azure.core.http.policy.HttpLogOptions;
import com.azure.core.http.policy.HttpLoggingPolicy;
import com.azure.core.http.policy.HttpPipelinePolicy;
Expand All @@ -19,7 +20,6 @@
import com.azure.core.http.policy.RetryOptions;
import com.azure.core.http.policy.RetryPolicy;
import com.azure.core.http.policy.UserAgentPolicy;
import com.azure.core.management.http.policy.ArmChallengeAuthenticationPolicy;
import com.azure.core.management.profile.AzureProfile;
import com.azure.core.util.Configuration;
import com.azure.core.util.logging.ClientLogger;
Expand All @@ -30,7 +30,6 @@
import com.azure.resourcemanager.streamanalytics.implementation.OperationsImpl;
import com.azure.resourcemanager.streamanalytics.implementation.OutputsImpl;
import com.azure.resourcemanager.streamanalytics.implementation.PrivateEndpointsImpl;
import com.azure.resourcemanager.streamanalytics.implementation.SkusImpl;
import com.azure.resourcemanager.streamanalytics.implementation.StreamAnalyticsManagementClientBuilder;
import com.azure.resourcemanager.streamanalytics.implementation.StreamingJobsImpl;
import com.azure.resourcemanager.streamanalytics.implementation.SubscriptionsImpl;
Expand All @@ -41,7 +40,6 @@
import com.azure.resourcemanager.streamanalytics.models.Operations;
import com.azure.resourcemanager.streamanalytics.models.Outputs;
import com.azure.resourcemanager.streamanalytics.models.PrivateEndpoints;
import com.azure.resourcemanager.streamanalytics.models.Skus;
import com.azure.resourcemanager.streamanalytics.models.StreamingJobs;
import com.azure.resourcemanager.streamanalytics.models.Subscriptions;
import com.azure.resourcemanager.streamanalytics.models.Transformations;
Expand All @@ -57,22 +55,20 @@
* Stream Analytics Client.
*/
public final class StreamAnalyticsManager {
private Functions functions;
private Operations operations;

private StreamingJobs streamingJobs;

private Inputs inputs;

private Outputs outputs;

private Operations operations;

private StreamingJobs streamingJobs;
private Transformations transformations;

private Skus skus;
private Functions functions;

private Subscriptions subscriptions;

private Transformations transformations;

private Clusters clusters;

private PrivateEndpoints privateEndpoints;
Expand Down Expand Up @@ -241,7 +237,7 @@ public StreamAnalyticsManager authenticate(TokenCredential credential, AzureProf
.append("-")
.append("com.azure.resourcemanager.streamanalytics")
.append("/")
.append("1.0.0-beta.4");
.append("1.0.0");
if (!Configuration.getGlobalConfiguration().get("AZURE_TELEMETRY_DISABLED", false)) {
userAgentBuilder.append(" (")
.append(Configuration.getGlobalConfiguration().get("java.version"))
Expand Down Expand Up @@ -274,7 +270,7 @@ public StreamAnalyticsManager authenticate(TokenCredential credential, AzureProf
HttpPolicyProviders.addBeforeRetryPolicies(policies);
policies.add(retryPolicy);
policies.add(new AddDatePolicy());
policies.add(new ArmChallengeAuthenticationPolicy(credential, scopes.toArray(new String[0])));
policies.add(new BearerTokenAuthenticationPolicy(credential, scopes.toArray(new String[0])));
policies.addAll(this.policies.stream()
.filter(p -> p.getPipelinePosition() == HttpPipelinePosition.PER_RETRY)
.collect(Collectors.toList()));
Expand All @@ -288,15 +284,27 @@ public StreamAnalyticsManager authenticate(TokenCredential credential, AzureProf
}

/**
* Gets the resource collection API of Functions. It manages Function.
* Gets the resource collection API of Operations.
*
* @return Resource collection API of Functions.
* @return Resource collection API of Operations.
*/
public Functions functions() {
if (this.functions == null) {
this.functions = new FunctionsImpl(clientObject.getFunctions(), this);
public Operations operations() {
if (this.operations == null) {
this.operations = new OperationsImpl(clientObject.getOperations(), this);
}
return functions;
return operations;
}

/**
* Gets the resource collection API of StreamingJobs. It manages StreamingJob.
*
* @return Resource collection API of StreamingJobs.
*/
public StreamingJobs streamingJobs() {
if (this.streamingJobs == null) {
this.streamingJobs = new StreamingJobsImpl(clientObject.getStreamingJobs(), this);
}
return streamingJobs;
}

/**
Expand Down Expand Up @@ -324,39 +332,27 @@ public Outputs outputs() {
}

/**
* Gets the resource collection API of Operations.
*
* @return Resource collection API of Operations.
*/
public Operations operations() {
if (this.operations == null) {
this.operations = new OperationsImpl(clientObject.getOperations(), this);
}
return operations;
}

/**
* Gets the resource collection API of StreamingJobs. It manages StreamingJob.
* Gets the resource collection API of Transformations. It manages Transformation.
*
* @return Resource collection API of StreamingJobs.
* @return Resource collection API of Transformations.
*/
public StreamingJobs streamingJobs() {
if (this.streamingJobs == null) {
this.streamingJobs = new StreamingJobsImpl(clientObject.getStreamingJobs(), this);
public Transformations transformations() {
if (this.transformations == null) {
this.transformations = new TransformationsImpl(clientObject.getTransformations(), this);
}
return streamingJobs;
return transformations;
}

/**
* Gets the resource collection API of Skus.
* Gets the resource collection API of Functions. It manages Function.
*
* @return Resource collection API of Skus.
* @return Resource collection API of Functions.
*/
public Skus skus() {
if (this.skus == null) {
this.skus = new SkusImpl(clientObject.getSkus(), this);
public Functions functions() {
if (this.functions == null) {
this.functions = new FunctionsImpl(clientObject.getFunctions(), this);
}
return skus;
return functions;
}

/**
Expand All @@ -371,18 +367,6 @@ public Subscriptions subscriptions() {
return subscriptions;
}

/**
* Gets the resource collection API of Transformations. It manages Transformation.
*
* @return Resource collection API of Transformations.
*/
public Transformations transformations() {
if (this.transformations == null) {
this.transformations = new TransformationsImpl(clientObject.getTransformations(), this);
}
return transformations;
}

/**
* Gets the resource collection API of Clusters. It manages Cluster.
*
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,13 @@ public interface StreamAnalyticsManagementClient {
*/
String getEndpoint();

/**
* Gets Api Version.
*
* @return the apiVersion value.
*/
String getApiVersion();

/**
* Gets The HTTP pipeline to send requests through.
*
Expand All @@ -40,11 +47,18 @@ public interface StreamAnalyticsManagementClient {
Duration getDefaultPollInterval();

/**
* Gets the FunctionsClient object to access its operations.
* Gets the OperationsClient object to access its operations.
*
* @return the FunctionsClient object.
* @return the OperationsClient object.
*/
FunctionsClient getFunctions();
OperationsClient getOperations();

/**
* Gets the StreamingJobsClient object to access its operations.
*
* @return the StreamingJobsClient object.
*/
StreamingJobsClient getStreamingJobs();

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

/**
* Gets the OperationsClient object to access its operations.
*
* @return the OperationsClient object.
*/
OperationsClient getOperations();

/**
* Gets the StreamingJobsClient object to access its operations.
* Gets the TransformationsClient object to access its operations.
*
* @return the StreamingJobsClient object.
* @return the TransformationsClient object.
*/
StreamingJobsClient getStreamingJobs();
TransformationsClient getTransformations();

/**
* Gets the SkusClient object to access its operations.
* Gets the FunctionsClient object to access its operations.
*
* @return the SkusClient object.
* @return the FunctionsClient object.
*/
SkusClient getSkus();
FunctionsClient getFunctions();

/**
* Gets the SubscriptionsClient object to access its operations.
Expand All @@ -88,13 +95,6 @@ public interface StreamAnalyticsManagementClient {
*/
SubscriptionsClient getSubscriptions();

/**
* Gets the TransformationsClient object to access its operations.
*
* @return the TransformationsClient object.
*/
TransformationsClient getTransformations();

/**
* Gets the ClustersClient object to access its operations.
*
Expand Down
Loading
Loading