Skip to content

Commit

Permalink
CodeGen from PR 29230 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
Merge 309c68f3be6e755397b44d175e78a15c43a43f91 into c3cc9abe085093ba880ee3eeb792edb4fa789553
  • Loading branch information
SDKAuto committed May 27, 2024
1 parent e9aae76 commit 4915a58
Show file tree
Hide file tree
Showing 834 changed files with 5,425 additions and 40,016 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# Release History

## 1.0.0-beta.29 (Unreleased)
## 1.0.0-beta.1 (2024-05-27)

- 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.28</version>
<version>1.0.0-beta.29</version>
</dependency>
```
[//]: # ({x-version-update-end})
Expand Down
2 changes: 1 addition & 1 deletion sdk/datafactory/azure-resourcemanager-datafactory/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-core-test</artifactId>
<version>1.26.0-beta.1</version> <!-- {x-version-update;unreleased_com.azure:azure-core-test;dependency} -->
<version>1.25.0</version> <!-- {x-version-update;com.azure:azure-core-test;dependency} -->
<scope>test</scope>
</dependency>
<dependency>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ public DataFactoryManager authenticate(TokenCredential credential, AzureProfile
.append("-")
.append("com.azure.resourcemanager.datafactory")
.append("/")
.append("1.0.0-beta.28");
.append("1.0.0-beta.1");
if (!Configuration.getGlobalConfiguration().get("AZURE_TELEMETRY_DISABLED", false)) {
userAgentBuilder.append(" (")
.append(Configuration.getGlobalConfiguration().get("java.version"))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,22 +5,29 @@
package com.azure.resourcemanager.datafactory.fluent.models;

import com.azure.core.annotation.Fluent;
import com.azure.core.util.logging.ClientLogger;
import com.azure.resourcemanager.datafactory.models.AmazonRdsForSqlAuthenticationType;
import com.azure.resourcemanager.datafactory.models.SecretBase;
import com.azure.resourcemanager.datafactory.models.SqlAlwaysEncryptedProperties;
import com.azure.resourcemanager.datafactory.models.SqlServerBaseLinkedServiceTypeProperties;
import com.fasterxml.jackson.annotation.JsonProperty;

/**
* Amazon Rds for SQL Server linked service properties.
*/
@Fluent
public final class AmazonRdsForSqlServerLinkedServiceTypeProperties {
public final class AmazonRdsForSqlServerLinkedServiceTypeProperties extends SqlServerBaseLinkedServiceTypeProperties {
/*
* The connection string. Type: string, SecureString or AzureKeyVaultSecretReference.
*/
@JsonProperty(value = "connectionString", required = true)
@JsonProperty(value = "connectionString")
private Object connectionString;

/*
* The type used for authentication. Type: string.
*/
@JsonProperty(value = "authenticationType")
private AmazonRdsForSqlAuthenticationType authenticationType;

/*
* The on-premises Windows authentication user name. Type: string (or Expression with resultType string).
*/
Expand Down Expand Up @@ -73,6 +80,27 @@ public AmazonRdsForSqlServerLinkedServiceTypeProperties withConnectionString(Obj
return this;
}

/**
* Get the authenticationType property: The type used for authentication. Type: string.
*
* @return the authenticationType value.
*/
public AmazonRdsForSqlAuthenticationType authenticationType() {
return this.authenticationType;
}

/**
* Set the authenticationType property: The type used for authentication. Type: string.
*
* @param authenticationType the authenticationType value to set.
* @return the AmazonRdsForSqlServerLinkedServiceTypeProperties object itself.
*/
public AmazonRdsForSqlServerLinkedServiceTypeProperties
withAuthenticationType(AmazonRdsForSqlAuthenticationType authenticationType) {
this.authenticationType = authenticationType;
return this;
}

/**
* Get the username property: The on-premises Windows authentication user name. Type: string (or Expression with
* resultType string).
Expand Down Expand Up @@ -158,24 +186,191 @@ public SqlAlwaysEncryptedProperties alwaysEncryptedSettings() {
return this;
}

/**
* {@inheritDoc}
*/
@Override
public AmazonRdsForSqlServerLinkedServiceTypeProperties withServer(Object server) {
super.withServer(server);
return this;
}

/**
* {@inheritDoc}
*/
@Override
public AmazonRdsForSqlServerLinkedServiceTypeProperties withDatabase(Object database) {
super.withDatabase(database);
return this;
}

/**
* {@inheritDoc}
*/
@Override
public AmazonRdsForSqlServerLinkedServiceTypeProperties withEncrypt(Object encrypt) {
super.withEncrypt(encrypt);
return this;
}

/**
* {@inheritDoc}
*/
@Override
public AmazonRdsForSqlServerLinkedServiceTypeProperties withTrustServerCertificate(Object trustServerCertificate) {
super.withTrustServerCertificate(trustServerCertificate);
return this;
}

/**
* {@inheritDoc}
*/
@Override
public AmazonRdsForSqlServerLinkedServiceTypeProperties withHostnameInCertificate(Object hostnameInCertificate) {
super.withHostnameInCertificate(hostnameInCertificate);
return this;
}

/**
* {@inheritDoc}
*/
@Override
public AmazonRdsForSqlServerLinkedServiceTypeProperties withApplicationIntent(Object applicationIntent) {
super.withApplicationIntent(applicationIntent);
return this;
}

/**
* {@inheritDoc}
*/
@Override
public AmazonRdsForSqlServerLinkedServiceTypeProperties withConnectTimeout(Object connectTimeout) {
super.withConnectTimeout(connectTimeout);
return this;
}

/**
* {@inheritDoc}
*/
@Override
public AmazonRdsForSqlServerLinkedServiceTypeProperties withConnectRetryCount(Object connectRetryCount) {
super.withConnectRetryCount(connectRetryCount);
return this;
}

/**
* {@inheritDoc}
*/
@Override
public AmazonRdsForSqlServerLinkedServiceTypeProperties withConnectRetryInterval(Object connectRetryInterval) {
super.withConnectRetryInterval(connectRetryInterval);
return this;
}

/**
* {@inheritDoc}
*/
@Override
public AmazonRdsForSqlServerLinkedServiceTypeProperties withLoadBalanceTimeout(Object loadBalanceTimeout) {
super.withLoadBalanceTimeout(loadBalanceTimeout);
return this;
}

/**
* {@inheritDoc}
*/
@Override
public AmazonRdsForSqlServerLinkedServiceTypeProperties withCommandTimeout(Object commandTimeout) {
super.withCommandTimeout(commandTimeout);
return this;
}

/**
* {@inheritDoc}
*/
@Override
public AmazonRdsForSqlServerLinkedServiceTypeProperties withIntegratedSecurity(Object integratedSecurity) {
super.withIntegratedSecurity(integratedSecurity);
return this;
}

/**
* {@inheritDoc}
*/
@Override
public AmazonRdsForSqlServerLinkedServiceTypeProperties withFailoverPartner(Object failoverPartner) {
super.withFailoverPartner(failoverPartner);
return this;
}

/**
* {@inheritDoc}
*/
@Override
public AmazonRdsForSqlServerLinkedServiceTypeProperties withMaxPoolSize(Object maxPoolSize) {
super.withMaxPoolSize(maxPoolSize);
return this;
}

/**
* {@inheritDoc}
*/
@Override
public AmazonRdsForSqlServerLinkedServiceTypeProperties withMinPoolSize(Object minPoolSize) {
super.withMinPoolSize(minPoolSize);
return this;
}

/**
* {@inheritDoc}
*/
@Override
public AmazonRdsForSqlServerLinkedServiceTypeProperties
withMultipleActiveResultSets(Object multipleActiveResultSets) {
super.withMultipleActiveResultSets(multipleActiveResultSets);
return this;
}

/**
* {@inheritDoc}
*/
@Override
public AmazonRdsForSqlServerLinkedServiceTypeProperties withMultiSubnetFailover(Object multiSubnetFailover) {
super.withMultiSubnetFailover(multiSubnetFailover);
return this;
}

/**
* {@inheritDoc}
*/
@Override
public AmazonRdsForSqlServerLinkedServiceTypeProperties withPacketSize(Object packetSize) {
super.withPacketSize(packetSize);
return this;
}

/**
* {@inheritDoc}
*/
@Override
public AmazonRdsForSqlServerLinkedServiceTypeProperties withPooling(Object pooling) {
super.withPooling(pooling);
return this;
}

/**
* Validates the instance.
*
* @throws IllegalArgumentException thrown if the instance is not valid.
*/
@Override
public void validate() {
if (connectionString() == null) {
throw LOGGER.atError()
.log(new IllegalArgumentException(
"Missing required property connectionString in model AmazonRdsForSqlServerLinkedServiceTypeProperties"));
}
super.validate();
if (password() != null) {
password().validate();
}
if (alwaysEncryptedSettings() != null) {
alwaysEncryptedSettings().validate();
}
}

private static final ClientLogger LOGGER = new ClientLogger(AmazonRdsForSqlServerLinkedServiceTypeProperties.class);
}
Loading

0 comments on commit 4915a58

Please sign in to comment.