Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[AutoPR azure-resourcemanager-azurearcdata] [Hub Generated] Publish private branch 'dev/alzahedi/update_arc_sql_mi_spec' #5717

Closed
Closed
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
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# Release History

## 1.0.0-beta.4 (Unreleased)
## 1.0.0-beta.1 (2023-06-07)

- Azure Resource Manager AzureArcData client library for Java. This package contains Microsoft Azure SDK for AzureArcData Management SDK. The AzureArcData management API provides a RESTful set of web APIs to manage Azure Data Services on Azure Arc Resources. Package tag package-preview-2023-01. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt).

### Features Added

Expand Down
4 changes: 2 additions & 2 deletions sdk/azurearcdata/azure-resourcemanager-azurearcdata/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Azure Resource Manager AzureArcData client library for Java.

This package contains Microsoft Azure SDK for AzureArcData Management SDK. The AzureArcData management API provides a RESTful set of web APIs to manage Azure Data Services on Azure Arc Resources. Package tag package-2021-08-01. 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 AzureArcData Management SDK. The AzureArcData management API provides a RESTful set of web APIs to manage Azure Data Services on Azure Arc Resources. Package tag package-preview-2023-01. 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-azurearcdata</artifactId>
<version>1.0.0-beta.3</version>
<version>1.0.0-beta.4</version>
</dependency>
```
[//]: # ({x-version-update-end})
Expand Down
713 changes: 689 additions & 24 deletions sdk/azurearcdata/azure-resourcemanager-azurearcdata/SAMPLE.md

Large diffs are not rendered by default.

10 changes: 8 additions & 2 deletions sdk/azurearcdata/azure-resourcemanager-azurearcdata/pom.xml
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
<!--
~ Copyright (c) Microsoft Corporation. All rights reserved.
~ 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>
<parent>
Expand All @@ -13,7 +18,7 @@
<packaging>jar</packaging>

<name>Microsoft Azure SDK for AzureArcData Management</name>
<description>This package contains Microsoft Azure SDK for AzureArcData Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. The AzureArcData management API provides a RESTful set of web APIs to manage Azure Data Services on Azure Arc Resources. Package tag package-2021-08-01.</description>
<description>This package contains Microsoft Azure SDK for AzureArcData Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. The AzureArcData management API provides a RESTful set of web APIs to manage Azure Data Services on Azure Arc Resources. Package tag package-preview-2023-01.</description>
<url>https://github.com/Azure/azure-sdk-for-java</url>

<licenses>
Expand All @@ -38,7 +43,8 @@
</developers>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<jacoco.skip>true</jacoco.skip>
<jacoco.min.linecoverage>0</jacoco.min.linecoverage>
<jacoco.min.branchcoverage>0</jacoco.min.branchcoverage>
</properties>
<dependencies>
<dependency>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,22 @@
import com.azure.core.util.Configuration;
import com.azure.core.util.logging.ClientLogger;
import com.azure.resourcemanager.azurearcdata.fluent.AzureArcDataManagementClient;
import com.azure.resourcemanager.azurearcdata.implementation.ActiveDirectoryConnectorsImpl;
import com.azure.resourcemanager.azurearcdata.implementation.AzureArcDataManagementClientBuilder;
import com.azure.resourcemanager.azurearcdata.implementation.DataControllersImpl;
import com.azure.resourcemanager.azurearcdata.implementation.FailoverGroupsImpl;
import com.azure.resourcemanager.azurearcdata.implementation.OperationsImpl;
import com.azure.resourcemanager.azurearcdata.implementation.PostgresInstancesImpl;
import com.azure.resourcemanager.azurearcdata.implementation.SqlManagedInstancesImpl;
import com.azure.resourcemanager.azurearcdata.implementation.SqlServerDatabasesImpl;
import com.azure.resourcemanager.azurearcdata.implementation.SqlServerInstancesImpl;
import com.azure.resourcemanager.azurearcdata.models.ActiveDirectoryConnectors;
import com.azure.resourcemanager.azurearcdata.models.DataControllers;
import com.azure.resourcemanager.azurearcdata.models.FailoverGroups;
import com.azure.resourcemanager.azurearcdata.models.Operations;
import com.azure.resourcemanager.azurearcdata.models.PostgresInstances;
import com.azure.resourcemanager.azurearcdata.models.SqlManagedInstances;
import com.azure.resourcemanager.azurearcdata.models.SqlServerDatabases;
import com.azure.resourcemanager.azurearcdata.models.SqlServerInstances;
import java.time.Duration;
import java.time.temporal.ChronoUnit;
Expand All @@ -49,10 +57,18 @@ public final class AzureArcDataManager {

private SqlManagedInstances sqlManagedInstances;

private FailoverGroups failoverGroups;

private SqlServerInstances sqlServerInstances;

private DataControllers dataControllers;

private ActiveDirectoryConnectors activeDirectoryConnectors;

private PostgresInstances postgresInstances;

private SqlServerDatabases sqlServerDatabases;

private final AzureArcDataManagementClient clientObject;

private AzureArcDataManager(HttpPipeline httpPipeline, AzureProfile profile, Duration defaultPollInterval) {
Expand Down Expand Up @@ -218,7 +234,7 @@ public AzureArcDataManager authenticate(TokenCredential credential, AzureProfile
.append("-")
.append("com.azure.resourcemanager.azurearcdata")
.append("/")
.append("1.0.0-beta.3");
.append("1.0.0-beta.1");
if (!Configuration.getGlobalConfiguration().get("AZURE_TELEMETRY_DISABLED", false)) {
userAgentBuilder
.append(" (")
Expand Down Expand Up @@ -299,6 +315,18 @@ public SqlManagedInstances sqlManagedInstances() {
return sqlManagedInstances;
}

/**
* Gets the resource collection API of FailoverGroups. It manages FailoverGroupResource.
*
* @return Resource collection API of FailoverGroups.
*/
public FailoverGroups failoverGroups() {
if (this.failoverGroups == null) {
this.failoverGroups = new FailoverGroupsImpl(clientObject.getFailoverGroups(), this);
}
return failoverGroups;
}

/**
* Gets the resource collection API of SqlServerInstances. It manages SqlServerInstance.
*
Expand All @@ -323,6 +351,43 @@ public DataControllers dataControllers() {
return dataControllers;
}

/**
* Gets the resource collection API of ActiveDirectoryConnectors. It manages ActiveDirectoryConnectorResource.
*
* @return Resource collection API of ActiveDirectoryConnectors.
*/
public ActiveDirectoryConnectors activeDirectoryConnectors() {
if (this.activeDirectoryConnectors == null) {
this.activeDirectoryConnectors =
new ActiveDirectoryConnectorsImpl(clientObject.getActiveDirectoryConnectors(), this);
}
return activeDirectoryConnectors;
}

/**
* Gets the resource collection API of PostgresInstances. It manages PostgresInstance.
*
* @return Resource collection API of PostgresInstances.
*/
public PostgresInstances postgresInstances() {
if (this.postgresInstances == null) {
this.postgresInstances = new PostgresInstancesImpl(clientObject.getPostgresInstances(), this);
}
return postgresInstances;
}

/**
* Gets the resource collection API of SqlServerDatabases. It manages SqlServerDatabaseResource.
*
* @return Resource collection API of SqlServerDatabases.
*/
public SqlServerDatabases sqlServerDatabases() {
if (this.sqlServerDatabases == null) {
this.sqlServerDatabases = new SqlServerDatabasesImpl(clientObject.getSqlServerDatabases(), this);
}
return sqlServerDatabases;
}

/**
* @return Wrapped service client AzureArcDataManagementClient providing direct access to the underlying
* auto-generated API implementation, based on Azure REST API.
Expand Down
Loading