Skip to content

Commit ec74dbc

Browse files
author
SDKAuto
committed
CodeGen from PR 11884 in Azure/azure-rest-api-specs
Merge 3710c2b2c02a06a45869a75248eda927fe4a9225 into 7dddc4bf1e402b6e6737c132ecf05b74e2b53b08
1 parent 33362b5 commit ec74dbc

File tree

231 files changed

+34364
-24
lines changed

Some content is hidden

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

231 files changed

+34364
-24
lines changed

eng/versioning/external_dependencies.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,7 @@ org.springframework.kafka:spring-kafka;2.5.7.RELEASE
110110
org.springframework.security:spring-security-config;5.3.5.RELEASE
111111
org.springframework.security:spring-security-core;5.3.5.RELEASE
112112
org.springframework.security:spring-security-oauth2-client;5.3.5.RELEASE
113+
org.springframework.security:spring-security-oauth2-resource-server;5.3.5.RELEASE
113114
org.springframework.security:spring-security-oauth2-core;5.3.5.RELEASE
114115
org.springframework.security:spring-security-oauth2-jose;5.3.5.RELEASE
115116
org.springframework.security:spring-security-web;5.3.5.RELEASE

eng/versioning/version_client.txt

Lines changed: 21 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -40,17 +40,22 @@ com.azure:azure-ai-anomalydetector;3.0.0-beta.1;3.0.0-beta.2
4040
com.azure:azure-ai-formrecognizer;3.0.3;3.1.0-beta.2
4141
com.azure:azure-ai-metricsadvisor;1.0.0-beta.2;1.0.0-beta.3
4242
com.azure:azure-ai-textanalytics;5.0.1;5.1.0-beta.4
43+
com.azure:azure-analytics-synapse-accesscontrol;1.0.0-beta.1;1.0.0-beta.2
44+
com.azure:azure-analytics-synapse-artifacts;1.0.0-beta.1;1.0.0-beta.2
45+
com.azure:azure-analytics-synapse-spark;1.0.0-beta.1;1.0.0-beta.2
46+
com.azure:azure-analytics-synapse-managedprivateendpoints;1.0.0-beta.1;1.0.0-beta.1
47+
com.azure:azure-analytics-synapse-monitoring;1.0.0-beta.1;1.0.0-beta.1
4348
com.azure:azure-communication-chat;1.0.0-beta.3;1.0.0-beta.4
4449
com.azure:azure-communication-common;1.0.0-beta.3;1.0.0-beta.4
4550
com.azure:azure-communication-administration;1.0.0-beta.3;1.0.0-beta.4
4651
com.azure:azure-communication-sms;1.0.0-beta.3;1.0.0-beta.4
47-
com.azure:azure-core;1.10.0;1.11.0
48-
com.azure:azure-core-amqp;1.6.0;1.7.0-beta.3
52+
com.azure:azure-core;1.11.0;1.12.0-beta.1
53+
com.azure:azure-core-amqp;2.0.0;2.1.0-beta.1
4954
com.azure:azure-core-amqp-experimental;1.0.0-beta.1;1.0.0-beta.1
5055
com.azure:azure-core-experimental;1.0.0-beta.8;1.0.0-beta.9
5156
com.azure:azure-core-http-jdk-httpclient;1.0.0-beta.1;1.0.0-beta.1
52-
com.azure:azure-core-http-netty;1.6.3;1.7.0
53-
com.azure:azure-core-http-okhttp;1.3.3;1.4.0
57+
com.azure:azure-core-http-netty;1.7.0;1.8.0-beta.1
58+
com.azure:azure-core-http-okhttp;1.4.0;1.5.0-beta.1
5459
com.azure:azure-core-management;1.0.0;1.1.0-beta.1
5560
com.azure:azure-core-serializer-avro-apache;1.0.0-beta.5;1.0.0-beta.6
5661
com.azure:azure-core-serializer-avro-jackson;1.0.0-beta.1;1.0.0-beta.2
@@ -68,12 +73,12 @@ com.azure:azure-data-schemaregistry-avro;1.0.0-beta.4;1.0.0-beta.5
6873
com.azure:azure-data-tables;12.0.0-beta.3;12.0.0-beta.4
6974
com.azure:azure-digitaltwins-core;1.0.1;1.1.0-beta.1
7075
com.azure:azure-e2e;1.0.0-beta.1;1.0.0-beta.1
71-
com.azure:azure-identity;1.2.0;1.3.0-beta.1
76+
com.azure:azure-identity;1.2.0;1.2.1
7277
com.azure:azure-identity-perf;1.0.0-beta.1;1.0.0-beta.1
7378
com.azure:azure-messaging-eventgrid;2.0.0-beta.3;2.0.0-beta.4
7479
com.azure:azure-messaging-eventhubs;5.3.1;5.4.0-beta.2
7580
com.azure:azure-messaging-eventhubs-checkpointstore-blob;1.3.1;1.4.0-beta.2
76-
com.azure:azure-messaging-servicebus;7.0.0-beta.7;7.0.0-beta.8
81+
com.azure:azure-messaging-servicebus;7.0.0;7.1.0-beta.1
7782
com.azure:azure-messaging-servicebus-track1-perf;1.0.0-beta.1;1.0.0-beta.1
7883
com.azure:azure-messaging-servicebus-track2-perf;1.0.0-beta.1;1.0.0-beta.1
7984
com.azure:azure-search-documents;11.1.2;11.2.0-beta.4
@@ -86,17 +91,17 @@ com.azure:azure-security-keyvault-secrets;4.2.3;4.3.0-beta.3
8691
com.azure:azure-sdk-template;1.2.1-beta.2;1.2.1-beta.16
8792
com.azure:azure-spring-data-cosmos;3.1.0;3.2.0-beta.1
8893
com.azure:azure-spring-data-cosmos-test;3.0.0-beta.1;3.0.0-beta.1
89-
com.azure:azure-storage-blob;12.9.0;12.10.0-beta.1
90-
com.azure:azure-storage-blob-batch;12.7.0;12.8.0-beta.1
94+
com.azure:azure-storage-blob;12.9.0;12.10.0-beta.2
95+
com.azure:azure-storage-blob-batch;12.7.0;12.8.0-beta.2
9196
com.azure:azure-storage-blob-changefeed;12.0.0-beta.4;12.0.0-beta.5
92-
com.azure:azure-storage-blob-cryptography;12.9.0;12.10.0-beta.1
97+
com.azure:azure-storage-blob-cryptography;12.9.0;12.10.0-beta.2
9398
com.azure:azure-storage-blob-nio;12.0.0-beta.2;12.0.0-beta.3
94-
com.azure:azure-storage-common;12.9.0;12.10.0-beta.1
95-
com.azure:azure-storage-file-share;12.7.0;12.8.0-beta.1
96-
com.azure:azure-storage-file-datalake;12.3.0;12.4.0-beta.1
97-
com.azure:azure-storage-internal-avro;12.0.1;12.1.0-beta.1
99+
com.azure:azure-storage-common;12.9.0;12.10.0-beta.2
100+
com.azure:azure-storage-file-share;12.7.0;12.8.0-beta.2
101+
com.azure:azure-storage-file-datalake;12.3.0;12.4.0-beta.2
102+
com.azure:azure-storage-internal-avro;12.0.1;12.0.2-beta.2
98103
com.azure:azure-storage-perf;1.0.0-beta.1;1.0.0-beta.1
99-
com.azure:azure-storage-queue;12.7.0;12.8.0-beta.1
104+
com.azure:azure-storage-queue;12.7.0;12.8.0-beta.2
100105
com.azure:perf-test-core;1.0.0-beta.1;1.0.0-beta.1
101106
com.azure.spring:azure-spring-boot-starter-active-directory-b2c;3.0.0-beta.1;3.0.0-beta.2
102107
com.azure.spring:azure-spring-boot-starter-active-directory;3.0.0-beta.1;3.0.0-beta.2
@@ -168,6 +173,7 @@ com.azure.resourcemanager:azure-resourcemanager-sql;2.1.0;2.2.0-beta.1
168173
com.azure.resourcemanager:azure-resourcemanager-storage;2.1.0;2.2.0-beta.1
169174
com.azure.resourcemanager:azure-resourcemanager-trafficmanager;2.1.0;2.2.0-beta.1
170175
com.azure.resourcemanager:azure-resourcemanager-test;2.0.0-beta.1;2.0.0-beta.1
176+
com.azure.resourcemanager:azure-resourcemanager-mariadb;1.0.0-beta.1;1.0.0-beta.1
171177
com.microsoft:microsoft-opentelemetry-exporter-azuremonitor;1.0.0-beta.1;1.0.0-beta.2
172178

173179

@@ -176,9 +182,7 @@ com.microsoft:microsoft-opentelemetry-exporter-azuremonitor;1.0.0-beta.1;1.0.0-b
176182
# Format;
177183
# unreleased_<groupId>:<artifactId>;dependency-version
178184
# note: The unreleased dependencies will not be manipulated with the automatic PR creation code.
179-
unreleased_com.azure:azure-core;1.11.0
180-
unreleased_com.azure:azure-core-amqp;1.7.0-beta.3
181-
unreleased_com.azure:azure-messaging-servicebus;7.0.0-beta.7
185+
unreleased_com.azure:azure-messaging-servicebus;7.0.0
182186

183187
# Released Beta dependencies: Copy the entry from above, prepend "beta_", remove the current
184188
# version and set the version to the released beta. Released beta dependencies are only valid
@@ -188,4 +192,3 @@ unreleased_com.azure:azure-messaging-servicebus;7.0.0-beta.7
188192
# beta_<groupId>:<artifactId>;dependency-version
189193
# note: Released beta versions will not be manipulated with the automatic PR creation code.
190194
beta_com.azure:azure-security-keyvault-keys;4.3.0-beta.1
191-
beta_com.azure:azure-core-amqp;1.7.0-beta.2

eng/versioning/version_data.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ com.microsoft.azure:azure-keyvault-cryptography;1.2.4;1.3.0-beta.1
3434
com.microsoft.azure:azure-keyvault-extensions;1.2.4;1.3.0-beta.1
3535
com.microsoft.azure:azure-keyvault-test;1.2.3;1.2.4
3636
com.microsoft.azure:azure-keyvault-webkey;1.2.4;1.3.0-beta.1
37-
com.microsoft.azure:azure-servicebus;3.5.0;3.5.1
37+
com.microsoft.azure:azure-servicebus;3.5.1;3.6.0-beta.1
3838
com.microsoft.azure:azure-storage-blob;11.0.2;11.0.2
3939
com.microsoft.azure.msi_auth_token_provider:azure-authentication-msi-token-provider;1.1.0-beta.1;1.1.0-beta.1
4040
com.microsoft.azure:azure-eventgrid;1.4.0-beta.1;1.4.0-beta.1

pom.xml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,35 +9,37 @@
99
<version>1.0.0</version><!-- Need not change for every release-->
1010
<modules>
1111
<module>common/perf-test-core</module>
12-
<module>eng/jacoco-test-coverage</module>
1312
<module>eng/code-quality-reports</module>
13+
<module>eng/jacoco-test-coverage</module>
1414
<module>sdk/anomalydetector</module>
1515
<module>sdk/appconfiguration</module>
1616
<module>sdk/authorization</module>
1717
<module>sdk/batch</module>
1818
<module>sdk/boms</module>
19-
<module>sdk/core</module>
20-
<module>sdk/cosmos</module>
2119
<module>sdk/cognitiveservices</module>
2220
<module>sdk/communication</module>
21+
<module>sdk/core</module>
22+
<module>sdk/cosmos</module>
2323
<module>sdk/digitaltwins</module>
2424
<module>sdk/eventgrid</module>
2525
<module>sdk/eventhubs</module>
2626
<module>sdk/formrecognizer</module>
2727
<module>sdk/identity</module>
2828
<module>sdk/keyvault</module>
2929
<module>sdk/loganalytics</module>
30+
<module>sdk/mariadb</module>
3031
<module>sdk/mediaservices</module>
31-
<module>sdk/monitor</module>
3232
<module>sdk/metricsadvisor</module>
33+
<module>sdk/monitor</module>
3334
<module>sdk/resourcemanager</module>
3435
<module>sdk/schemaregistry</module>
3536
<module>sdk/search</module>
3637
<module>sdk/servicebus</module>
38+
<module>sdk/spring</module>
3739
<module>sdk/storage</module>
40+
<module>sdk/synapse</module>
3841
<module>sdk/tables</module>
3942
<module>sdk/template</module>
4043
<module>sdk/textanalytics</module>
41-
<module>sdk/spring</module>
4244
</modules>
4345
</project>
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Release History
2+
3+
## 1.0.0-beta.1 (2020-12-10)
4+
5+
- Azure Resource Manager MariaDB client library for Java. This package contains Microsoft Azure SDK for MariaDB Management SDK. The Microsoft Azure management API provides create, read, update, and delete functionality for Azure MariaDB resources including servers, databases, firewall rules, VNET rules, log files and configurations with new business model. Package tag package-2020-01-01. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt).
Lines changed: 84 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,84 @@
1+
# Azure Resource Manager MariaDB client library for Java
2+
3+
Azure Resource Manager MariaDB client library for Java.
4+
5+
This package contains Microsoft Azure SDK for MariaDB Management SDK. The Microsoft Azure management API provides create, read, update, and delete functionality for Azure MariaDB resources including servers, databases, firewall rules, VNET rules, log files and configurations with new business model. Package tag package-2020-01-01. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt).
6+
7+
## Getting started
8+
9+
### Prerequisites
10+
11+
- [Java Development Kit (JDK)][jdk] with version 8 or above
12+
- [Azure Subscription][azure_subscription]
13+
14+
### Adding the package to your product
15+
16+
```xml
17+
<dependency>
18+
<groupId>com.azure.resourcemanager</groupId>
19+
<artifactId>azure-resourcemanager-mariadb</artifactId>
20+
<version>1.0.0-beta.1</version>
21+
</dependency>
22+
```
23+
24+
### Include the recommended packages
25+
26+
Azure Management Libraries require a `TokenCredential` implementation for authentication and an `HttpClient` implementation for HTTP client.
27+
28+
[Azure Identity][azure_identity] package and [Azure Core Netty HTTP][azure_core_http_netty] package provide the default implementation.
29+
30+
### Authentication
31+
32+
By default, Azure Active Directory token authentication depends on correct configure of following environment variables.
33+
34+
- `AZURE_CLIENT_ID` for Azure client ID.
35+
- `AZURE_TENANT_ID` for Azure tenant ID.
36+
- `AZURE_CLIENT_SECRET` or `AZURE_CLIENT_CERTIFICATE_PATH` for client secret or client certificate.
37+
38+
In addition, Azure subscription ID can be configured via environment variable `AZURE_SUBSCRIPTION_ID`.
39+
40+
With above configuration, `azure` client can be authenticated by following code:
41+
42+
[//]: # ({x-version-update-start;com.azure.resourcemanager:azure-resourcemanager-mariadb;current})
43+
```java
44+
AzureProfile profile = new AzureProfile(AzureEnvironment.AZURE);
45+
TokenCredential credential = new DefaultAzureCredentialBuilder()
46+
.authorityHost(profile.getEnvironment().getActiveDirectoryEndpoint())
47+
.build();
48+
MariaDBManager manager = MariaDBManager
49+
.authenticate(credential, profile);
50+
```
51+
[//]: # ({x-version-update-end})
52+
53+
The sample code assumes global Azure. Please change `AzureEnvironment.AZURE` variable if otherwise.
54+
55+
See [Authentication][authenticate] for more options.
56+
57+
## Key concepts
58+
59+
See [API design][design] for general introduction on design and key concepts on Azure Management Libraries.
60+
61+
## Examples
62+
63+
## Troubleshooting
64+
65+
## Next steps
66+
67+
## Contributing
68+
69+
If you would like to become an active contributor to this project please follow the instructions provided in [Microsoft
70+
Azure Projects Contribution Guidelines](http://azure.github.io/guidelines.html).
71+
72+
1. Fork it
73+
1. Create your feature branch (`git checkout -b my-new-feature`)
74+
1. Commit your changes (`git commit -am 'Add some feature'`)
75+
1. Push to the branch (`git push origin my-new-feature`)
76+
1. Create new Pull Request
77+
78+
<!-- LINKS -->
79+
[jdk]: https://docs.microsoft.com/java/azure/jdk/
80+
[azure_subscription]: https://azure.microsoft.com/free/
81+
[azure_identity]: https://github.com/Azure/azure-sdk-for-java/blob/master/sdk/identity/azure-identity
82+
[azure_core_http_netty]: https://github.com/Azure/azure-sdk-for-java/blob/master/sdk/core/azure-core-http-netty
83+
[authenticate]: https://github.com/Azure/azure-sdk-for-java/blob/master/sdk/resourcemanager/docs/AUTH.md
84+
[design]: https://github.com/Azure/azure-sdk-for-java/blob/master/sdk/resourcemanager/docs/DESIGN.md
Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
<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">
2+
<modelVersion>4.0.0</modelVersion>
3+
<parent>
4+
<groupId>com.azure</groupId>
5+
<artifactId>azure-client-sdk-parent</artifactId>
6+
<version>1.7.0</version> <!-- {x-version-update;com.azure:azure-client-sdk-parent;current} -->
7+
<relativePath>../../parents/azure-client-sdk-parent</relativePath>
8+
</parent>
9+
10+
<groupId>com.azure.resourcemanager</groupId>
11+
<artifactId>azure-resourcemanager-mariadb</artifactId>
12+
<version>1.0.0-beta.1</version> <!-- {x-version-update;com.azure.resourcemanager:azure-resourcemanager-mariadb;current} -->
13+
<packaging>jar</packaging>
14+
15+
<name>Microsoft Azure SDK for MariaDB Management</name>
16+
<description>This package contains Microsoft Azure SDK for MariaDB Management SDK. The Microsoft Azure management API provides create, read, update, and delete functionality for Azure MariaDB resources including servers, databases, firewall rules, VNET rules, log files and configurations with new business model. Package tag package-2020-01-01. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt</description>
17+
<url>https://github.com/Azure/azure-sdk-for-java</url>
18+
19+
<licenses>
20+
<license>
21+
<name>The MIT License (MIT)</name>
22+
<url>http://opensource.org/licenses/MIT</url>
23+
<distribution>repo</distribution>
24+
</license>
25+
</licenses>
26+
27+
<scm>
28+
<url>https://github.com/Azure/azure-sdk-for-java</url>
29+
<connection>scm:git:[email protected]:Azure/azure-sdk-for-java.git</connection>
30+
<developerConnection>scm:git:[email protected]:Azure/azure-sdk-for-java.git</developerConnection>
31+
<tag>HEAD</tag>
32+
</scm>
33+
<developers>
34+
<developer>
35+
<id>microsoft</id>
36+
<name>Microsoft</name>
37+
</developer>
38+
</developers>
39+
<properties>
40+
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
41+
<legal><![CDATA[[INFO] Any downloads listed may be third party software. Microsoft grants you no rights for third party software.]]></legal>
42+
</properties>
43+
<dependencies>
44+
<dependency>
45+
<groupId>com.azure</groupId>
46+
<artifactId>azure-core-management</artifactId>
47+
<version>1.0.0</version> <!-- {x-version-update;com.azure:azure-core-management;dependency} -->
48+
</dependency>
49+
</dependencies>
50+
<build>
51+
<plugins>
52+
<plugin>
53+
<groupId>org.jacoco</groupId>
54+
<artifactId>jacoco-maven-plugin</artifactId>
55+
<version>0.8.5</version> <!-- {x-version-update;org.jacoco:jacoco-maven-plugin;external_dependency} -->
56+
<configuration>
57+
<skip>true</skip>
58+
</configuration>
59+
</plugin>
60+
</plugins>
61+
</build>
62+
</project>

0 commit comments

Comments
 (0)