Skip to content
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.3 (Unreleased)
## 1.0.0-beta.1 (2021-10-04)

- 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-11-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
5 changes: 2 additions & 3 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-2021-11-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.2</version>
<version>1.0.0-beta.3</version>
</dependency>
```
[//]: # ({x-version-update-end})
Expand Down Expand Up @@ -74,7 +74,6 @@ See [API design][design] for general introduction on design and key concepts on

## Examples

[Code snippets and samples](https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/azurearcdata/azure-resourcemanager-azurearcdata/SAMPLE.md)


## Troubleshooting
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,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-2021-11-01.</description>
<url>https://github.com/Azure/azure-sdk-for-java</url>

<licenses>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ public AzureArcDataManager authenticate(TokenCredential credential, AzureProfile
.append("-")
.append("com.azure.resourcemanager.azurearcdata")
.append("/")
.append("1.0.0-beta.2");
.append("1.0.0-beta.1");
if (!Configuration.getGlobalConfiguration().get("AZURE_TELEMETRY_DISABLED", false)) {
userAgentBuilder
.append(" (")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ public DataControllersClient getDataControllers() {
this.defaultPollInterval = defaultPollInterval;
this.subscriptionId = subscriptionId;
this.endpoint = endpoint;
this.apiVersion = "2021-08-01";
this.apiVersion = "2021-11-01";
this.operations = new OperationsClientImpl(this);
this.sqlManagedInstances = new SqlManagedInstancesClientImpl(this);
this.sqlServerInstances = new SqlServerInstancesClientImpl(this);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,19 +48,33 @@ public final class DataControllerProperties {
private OffsetDateTime lastUploadedDate;

/*
* Username and password for basic login authentication.
* Deprecated. Azure Arc Data Services data controller no longer expose any
* endpoint. All traffic are exposed through Kubernetes native API.
*/
@JsonProperty(value = "basicLoginInformation")
private BasicLoginInformation basicLoginInformation;

/*
* Login credential for metrics dashboard on the Kubernetes cluster.
*/
@JsonProperty(value = "metricsDashboardCredential")
private BasicLoginInformation metricsDashboardCredential;

/*
* Login credential for logs dashboard on the Kubernetes cluster.
*/
@JsonProperty(value = "logsDashboardCredential")
private BasicLoginInformation logsDashboardCredential;

/*
* Log analytics workspace id and primary key
*/
@JsonProperty(value = "logAnalyticsWorkspaceConfig")
private LogAnalyticsWorkspaceConfig logAnalyticsWorkspaceConfig;

/*
* Service principal for uploading billing, metrics and logs.
* Deprecated. Service principal is deprecated in favor of Arc Kubernetes
* service extension managed identity.
*/
@JsonProperty(value = "uploadServicePrincipal")
private UploadServicePrincipal uploadServicePrincipal;
Expand Down Expand Up @@ -186,7 +200,8 @@ public DataControllerProperties withLastUploadedDate(OffsetDateTime lastUploaded
}

/**
* Get the basicLoginInformation property: Username and password for basic login authentication.
* Get the basicLoginInformation property: Deprecated. Azure Arc Data Services data controller no longer expose any
* endpoint. All traffic are exposed through Kubernetes native API.
*
* @return the basicLoginInformation value.
*/
Expand All @@ -195,7 +210,8 @@ public BasicLoginInformation basicLoginInformation() {
}

/**
* Set the basicLoginInformation property: Username and password for basic login authentication.
* Set the basicLoginInformation property: Deprecated. Azure Arc Data Services data controller no longer expose any
* endpoint. All traffic are exposed through Kubernetes native API.
*
* @param basicLoginInformation the basicLoginInformation value to set.
* @return the DataControllerProperties object itself.
Expand All @@ -205,6 +221,46 @@ public DataControllerProperties withBasicLoginInformation(BasicLoginInformation
return this;
}

/**
* Get the metricsDashboardCredential property: Login credential for metrics dashboard on the Kubernetes cluster.
*
* @return the metricsDashboardCredential value.
*/
public BasicLoginInformation metricsDashboardCredential() {
return this.metricsDashboardCredential;
}

/**
* Set the metricsDashboardCredential property: Login credential for metrics dashboard on the Kubernetes cluster.
*
* @param metricsDashboardCredential the metricsDashboardCredential value to set.
* @return the DataControllerProperties object itself.
*/
public DataControllerProperties withMetricsDashboardCredential(BasicLoginInformation metricsDashboardCredential) {
this.metricsDashboardCredential = metricsDashboardCredential;
return this;
}

/**
* Get the logsDashboardCredential property: Login credential for logs dashboard on the Kubernetes cluster.
*
* @return the logsDashboardCredential value.
*/
public BasicLoginInformation logsDashboardCredential() {
return this.logsDashboardCredential;
}

/**
* Set the logsDashboardCredential property: Login credential for logs dashboard on the Kubernetes cluster.
*
* @param logsDashboardCredential the logsDashboardCredential value to set.
* @return the DataControllerProperties object itself.
*/
public DataControllerProperties withLogsDashboardCredential(BasicLoginInformation logsDashboardCredential) {
this.logsDashboardCredential = logsDashboardCredential;
return this;
}

/**
* Get the logAnalyticsWorkspaceConfig property: Log analytics workspace id and primary key.
*
Expand All @@ -227,7 +283,8 @@ public DataControllerProperties withLogAnalyticsWorkspaceConfig(
}

/**
* Get the uploadServicePrincipal property: Service principal for uploading billing, metrics and logs.
* Get the uploadServicePrincipal property: Deprecated. Service principal is deprecated in favor of Arc Kubernetes
* service extension managed identity.
*
* @return the uploadServicePrincipal value.
*/
Expand All @@ -236,7 +293,8 @@ public UploadServicePrincipal uploadServicePrincipal() {
}

/**
* Set the uploadServicePrincipal property: Service principal for uploading billing, metrics and logs.
* Set the uploadServicePrincipal property: Deprecated. Service principal is deprecated in favor of Arc Kubernetes
* service extension managed identity.
*
* @param uploadServicePrincipal the uploadServicePrincipal value to set.
* @return the DataControllerProperties object itself.
Expand Down Expand Up @@ -314,6 +372,12 @@ public void validate() {
if (basicLoginInformation() != null) {
basicLoginInformation().validate();
}
if (metricsDashboardCredential() != null) {
metricsDashboardCredential().validate();
}
if (logsDashboardCredential() != null) {
logsDashboardCredential().validate();
}
if (logAnalyticsWorkspaceConfig() != null) {
logAnalyticsWorkspaceConfig().validate();
}
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Loading