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.10 (Unreleased)
## 1.0.0-beta.1 (2022-01-05)

- Azure Resource Manager DataFactory client library for Java. This package contains Microsoft Azure SDK for DataFactory Management SDK. The Azure Data Factory V2 management API provides a RESTful set of web services that interact with Azure Data Factory V2 services. Package tag package-2018-06. 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
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ Various documentation is available to help you get started
<dependency>
<groupId>com.azure.resourcemanager</groupId>
<artifactId>azure-resourcemanager-datafactory</artifactId>
<version>1.0.0-beta.9</version>
<version>1.0.0-beta.10</version>
</dependency>
```
[//]: # ({x-version-update-end})
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ public DataFactoryManager authenticate(TokenCredential credential, AzureProfile
.append("-")
.append("com.azure.resourcemanager.datafactory")
.append("/")
.append("1.0.0-beta.9");
.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 @@ -75,6 +75,26 @@ public final class AzureBlobFSLinkedServiceTypeProperties {
@JsonProperty(value = "credential")
private CredentialReference credential;

/*
* The service principal credential type to use in Server-To-Server
* authentication. 'ServicePrincipalKey' for key/secret,
* 'ServicePrincipalCert' for certificate. Type: string (or Expression with
* resultType string).
*/
@JsonProperty(value = "servicePrincipalCredentialType")
private Object servicePrincipalCredentialType;

/*
* The credential of the service principal object in Azure Active
* Directory. If servicePrincipalCredentialType is 'ServicePrincipalKey',
* servicePrincipalCredential can be SecureString or
* AzureKeyVaultSecretReference. If servicePrincipalCredentialType is
* 'ServicePrincipalCert', servicePrincipalCredential can only be
* AzureKeyVaultSecretReference.
*/
@JsonProperty(value = "servicePrincipalCredential")
private SecretBase servicePrincipalCredential;

/**
* Get the url property: Endpoint for the Azure Data Lake Storage Gen2 service. Type: string (or Expression with
* resultType string).
Expand Down Expand Up @@ -251,6 +271,58 @@ public AzureBlobFSLinkedServiceTypeProperties withCredential(CredentialReference
return this;
}

/**
* Get the servicePrincipalCredentialType property: The service principal credential type to use in Server-To-Server
* authentication. 'ServicePrincipalKey' for key/secret, 'ServicePrincipalCert' for certificate. Type: string (or
* Expression with resultType string).
*
* @return the servicePrincipalCredentialType value.
*/
public Object servicePrincipalCredentialType() {
return this.servicePrincipalCredentialType;
}

/**
* Set the servicePrincipalCredentialType property: The service principal credential type to use in Server-To-Server
* authentication. 'ServicePrincipalKey' for key/secret, 'ServicePrincipalCert' for certificate. Type: string (or
* Expression with resultType string).
*
* @param servicePrincipalCredentialType the servicePrincipalCredentialType value to set.
* @return the AzureBlobFSLinkedServiceTypeProperties object itself.
*/
public AzureBlobFSLinkedServiceTypeProperties withServicePrincipalCredentialType(
Object servicePrincipalCredentialType) {
this.servicePrincipalCredentialType = servicePrincipalCredentialType;
return this;
}

/**
* Get the servicePrincipalCredential property: The credential of the service principal object in Azure Active
* Directory. If servicePrincipalCredentialType is 'ServicePrincipalKey', servicePrincipalCredential can be
* SecureString or AzureKeyVaultSecretReference. If servicePrincipalCredentialType is 'ServicePrincipalCert',
* servicePrincipalCredential can only be AzureKeyVaultSecretReference.
*
* @return the servicePrincipalCredential value.
*/
public SecretBase servicePrincipalCredential() {
return this.servicePrincipalCredential;
}

/**
* Set the servicePrincipalCredential property: The credential of the service principal object in Azure Active
* Directory. If servicePrincipalCredentialType is 'ServicePrincipalKey', servicePrincipalCredential can be
* SecureString or AzureKeyVaultSecretReference. If servicePrincipalCredentialType is 'ServicePrincipalCert',
* servicePrincipalCredential can only be AzureKeyVaultSecretReference.
*
* @param servicePrincipalCredential the servicePrincipalCredential value to set.
* @return the AzureBlobFSLinkedServiceTypeProperties object itself.
*/
public AzureBlobFSLinkedServiceTypeProperties withServicePrincipalCredential(
SecretBase servicePrincipalCredential) {
this.servicePrincipalCredential = servicePrincipalCredential;
return this;
}

/**
* Validates the instance.
*
Expand All @@ -269,5 +341,8 @@ public void validate() {
if (credential() != null) {
credential().validate();
}
if (servicePrincipalCredential() != null) {
servicePrincipalCredential().validate();
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

import com.azure.core.annotation.Fluent;
import com.azure.core.util.logging.ClientLogger;
import com.azure.resourcemanager.datafactory.models.CredentialReference;
import com.azure.resourcemanager.datafactory.models.SecretBase;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;
Expand Down Expand Up @@ -46,6 +47,19 @@ public final class AzureDatabricksDetltaLakeLinkedServiceTypeProperties {
@JsonProperty(value = "encryptedCredential")
private Object encryptedCredential;

/*
* The credential reference containing authentication information.
*/
@JsonProperty(value = "credential")
private CredentialReference credential;

/*
* Workspace resource id for databricks REST API. Type: string (or
* Expression with resultType string).
*/
@JsonProperty(value = "workspaceResourceId")
private Object workspaceResourceId;

/**
* Get the domain property: &lt;REGION&gt;.azuredatabricks.net, domain name of your Databricks deployment. Type:
* string (or Expression with resultType string).
Expand Down Expand Up @@ -136,6 +150,48 @@ public AzureDatabricksDetltaLakeLinkedServiceTypeProperties withEncryptedCredent
return this;
}

/**
* Get the credential property: The credential reference containing authentication information.
*
* @return the credential value.
*/
public CredentialReference credential() {
return this.credential;
}

/**
* Set the credential property: The credential reference containing authentication information.
*
* @param credential the credential value to set.
* @return the AzureDatabricksDetltaLakeLinkedServiceTypeProperties object itself.
*/
public AzureDatabricksDetltaLakeLinkedServiceTypeProperties withCredential(CredentialReference credential) {
this.credential = credential;
return this;
}

/**
* Get the workspaceResourceId property: Workspace resource id for databricks REST API. Type: string (or Expression
* with resultType string).
*
* @return the workspaceResourceId value.
*/
public Object workspaceResourceId() {
return this.workspaceResourceId;
}

/**
* Set the workspaceResourceId property: Workspace resource id for databricks REST API. Type: string (or Expression
* with resultType string).
*
* @param workspaceResourceId the workspaceResourceId value to set.
* @return the AzureDatabricksDetltaLakeLinkedServiceTypeProperties object itself.
*/
public AzureDatabricksDetltaLakeLinkedServiceTypeProperties withWorkspaceResourceId(Object workspaceResourceId) {
this.workspaceResourceId = workspaceResourceId;
return this;
}

/**
* Validates the instance.
*
Expand All @@ -152,5 +208,8 @@ public void validate() {
if (accessToken() != null) {
accessToken().validate();
}
if (credential() != null) {
credential().validate();
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
import com.azure.core.util.logging.ClientLogger;
import com.azure.resourcemanager.datafactory.models.CosmosDbConnectionMode;
import com.azure.resourcemanager.datafactory.models.CosmosDbServicePrincipalCredentialType;
import com.azure.resourcemanager.datafactory.models.CredentialReference;
import com.azure.resourcemanager.datafactory.models.SecretBase;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;
Expand Down Expand Up @@ -104,6 +105,12 @@ public final class CosmosDbLinkedServiceTypeProperties {
@JsonProperty(value = "encryptedCredential")
private Object encryptedCredential;

/*
* The credential reference containing authentication information.
*/
@JsonProperty(value = "credential")
private CredentialReference credential;

/**
* Get the connectionString property: The connection string. Type: string, SecureString or
* AzureKeyVaultSecretReference.
Expand Down Expand Up @@ -353,6 +360,26 @@ public CosmosDbLinkedServiceTypeProperties withEncryptedCredential(Object encryp
return this;
}

/**
* Get the credential property: The credential reference containing authentication information.
*
* @return the credential value.
*/
public CredentialReference credential() {
return this.credential;
}

/**
* Set the credential property: The credential reference containing authentication information.
*
* @param credential the credential value to set.
* @return the CosmosDbLinkedServiceTypeProperties object itself.
*/
public CosmosDbLinkedServiceTypeProperties withCredential(CredentialReference credential) {
this.credential = credential;
return this;
}

/**
* Validates the instance.
*
Expand All @@ -365,5 +392,8 @@ public void validate() {
if (servicePrincipalCredential() != null) {
servicePrincipalCredential().validate();
}
if (credential() != null) {
credential().validate();
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

import com.azure.core.annotation.Fluent;
import com.azure.core.util.logging.ClientLogger;
import com.azure.resourcemanager.datafactory.models.CredentialReference;
import com.azure.resourcemanager.datafactory.models.SecretBase;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;
Expand Down Expand Up @@ -114,6 +115,12 @@ public final class DynamicsLinkedServiceTypeProperties {
@JsonProperty(value = "encryptedCredential")
private Object encryptedCredential;

/*
* The credential reference containing authentication information.
*/
@JsonProperty(value = "credential")
private CredentialReference credential;

/**
* Get the deploymentType property: The deployment type of the Dynamics instance. 'Online' for Dynamics Online and
* 'OnPremisesWithIfd' for Dynamics on-premises with Ifd. Type: string (or Expression with resultType string).
Expand Down Expand Up @@ -387,6 +394,26 @@ public DynamicsLinkedServiceTypeProperties withEncryptedCredential(Object encryp
return this;
}

/**
* Get the credential property: The credential reference containing authentication information.
*
* @return the credential value.
*/
public CredentialReference credential() {
return this.credential;
}

/**
* Set the credential property: The credential reference containing authentication information.
*
* @param credential the credential value to set.
* @return the DynamicsLinkedServiceTypeProperties object itself.
*/
public DynamicsLinkedServiceTypeProperties withCredential(CredentialReference credential) {
this.credential = credential;
return this;
}

/**
* Validates the instance.
*
Expand All @@ -411,5 +438,8 @@ public void validate() {
if (servicePrincipalCredential() != null) {
servicePrincipalCredential().validate();
}
if (credential() != null) {
credential().validate();
}
}
}
Loading