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 datafactory/resource-manager] support teradata dataset in adf #4335

Merged
Merged
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
@@ -0,0 +1,186 @@
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
*/

package com.microsoft.azure.management.datafactoryv2.v2018_06_01;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonTypeInfo;
import com.fasterxml.jackson.annotation.JsonTypeName;
import com.microsoft.rest.serializer.JsonFlatten;
import com.microsoft.azure.management.datafactoryv2.v2018_06_01.implementation.LinkedServiceInner;

/**
* Azure SQL Managed Instance linked service.
*/
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "type")
@JsonTypeName("AzureSqlMI")
@JsonFlatten
public class AzureSqlMILinkedService extends LinkedServiceInner {
/**
* The connection string. Type: string, SecureString or
* AzureKeyVaultSecretReference.
*/
@JsonProperty(value = "typeProperties.connectionString", required = true)
private Object connectionString;

/**
* The Azure key vault secret reference of password in connection string.
*/
@JsonProperty(value = "typeProperties.password")
private AzureKeyVaultSecretReference password;

/**
* The ID of the service principal used to authenticate against Azure SQL
* Managed Instance. Type: string (or Expression with resultType string).
*/
@JsonProperty(value = "typeProperties.servicePrincipalId")
private Object servicePrincipalId;

/**
* The key of the service principal used to authenticate against Azure SQL
* Managed Instance.
*/
@JsonProperty(value = "typeProperties.servicePrincipalKey")
private SecretBase servicePrincipalKey;

/**
* The name or ID of the tenant to which the service principal belongs.
* Type: string (or Expression with resultType string).
*/
@JsonProperty(value = "typeProperties.tenant")
private Object tenant;

/**
* The encrypted credential used for authentication. Credentials are
* encrypted using the integration runtime credential manager. Type: string
* (or Expression with resultType string).
*/
@JsonProperty(value = "typeProperties.encryptedCredential")
private Object encryptedCredential;

/**
* Get the connection string. Type: string, SecureString or AzureKeyVaultSecretReference.
*
* @return the connectionString value
*/
public Object connectionString() {
return this.connectionString;
}

/**
* Set the connection string. Type: string, SecureString or AzureKeyVaultSecretReference.
*
* @param connectionString the connectionString value to set
* @return the AzureSqlMILinkedService object itself.
*/
public AzureSqlMILinkedService withConnectionString(Object connectionString) {
this.connectionString = connectionString;
return this;
}

/**
* Get the Azure key vault secret reference of password in connection string.
*
* @return the password value
*/
public AzureKeyVaultSecretReference password() {
return this.password;
}

/**
* Set the Azure key vault secret reference of password in connection string.
*
* @param password the password value to set
* @return the AzureSqlMILinkedService object itself.
*/
public AzureSqlMILinkedService withPassword(AzureKeyVaultSecretReference password) {
this.password = password;
return this;
}

/**
* Get the ID of the service principal used to authenticate against Azure SQL Managed Instance. Type: string (or Expression with resultType string).
*
* @return the servicePrincipalId value
*/
public Object servicePrincipalId() {
return this.servicePrincipalId;
}

/**
* Set the ID of the service principal used to authenticate against Azure SQL Managed Instance. Type: string (or Expression with resultType string).
*
* @param servicePrincipalId the servicePrincipalId value to set
* @return the AzureSqlMILinkedService object itself.
*/
public AzureSqlMILinkedService withServicePrincipalId(Object servicePrincipalId) {
this.servicePrincipalId = servicePrincipalId;
return this;
}

/**
* Get the key of the service principal used to authenticate against Azure SQL Managed Instance.
*
* @return the servicePrincipalKey value
*/
public SecretBase servicePrincipalKey() {
return this.servicePrincipalKey;
}

/**
* Set the key of the service principal used to authenticate against Azure SQL Managed Instance.
*
* @param servicePrincipalKey the servicePrincipalKey value to set
* @return the AzureSqlMILinkedService object itself.
*/
public AzureSqlMILinkedService withServicePrincipalKey(SecretBase servicePrincipalKey) {
this.servicePrincipalKey = servicePrincipalKey;
return this;
}

/**
* Get the name or ID of the tenant to which the service principal belongs. Type: string (or Expression with resultType string).
*
* @return the tenant value
*/
public Object tenant() {
return this.tenant;
}

/**
* Set the name or ID of the tenant to which the service principal belongs. Type: string (or Expression with resultType string).
*
* @param tenant the tenant value to set
* @return the AzureSqlMILinkedService object itself.
*/
public AzureSqlMILinkedService withTenant(Object tenant) {
this.tenant = tenant;
return this;
}

/**
* Get the encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).
*
* @return the encryptedCredential value
*/
public Object encryptedCredential() {
return this.encryptedCredential;
}

/**
* Set the encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).
*
* @param encryptedCredential the encryptedCredential value to set
* @return the AzureSqlMILinkedService object itself.
*/
public AzureSqlMILinkedService withEncryptedCredential(Object encryptedCredential) {
this.encryptedCredential = encryptedCredential;
return this;
}

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,105 @@
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
*/

package com.microsoft.azure.management.datafactoryv2.v2018_06_01;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonTypeInfo;
import com.fasterxml.jackson.annotation.JsonTypeName;
import com.microsoft.rest.serializer.JsonFlatten;
import com.microsoft.azure.management.datafactoryv2.v2018_06_01.implementation.DatasetInner;

/**
* The Azure SQL Managed Instance dataset.
*/
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "type")
@JsonTypeName("AzureSqlMITable")
@JsonFlatten
public class AzureSqlMITableDataset extends DatasetInner {
/**
* This property will be retired. Please consider using schema + table
* properties instead.
*/
@JsonProperty(value = "typeProperties.tableName")
private Object tableName;

/**
* The schema name of the Azure SQL Managed Instance. Type: string (or
* Expression with resultType string).
*/
@JsonProperty(value = "typeProperties.schema")
private Object azureSqlMITableDatasetSchema;

/**
* The table name of the Azure SQL Managed Instance dataset. Type: string
* (or Expression with resultType string).
*/
@JsonProperty(value = "typeProperties.table")
private Object table;

/**
* Get this property will be retired. Please consider using schema + table properties instead.
*
* @return the tableName value
*/
public Object tableName() {
return this.tableName;
}

/**
* Set this property will be retired. Please consider using schema + table properties instead.
*
* @param tableName the tableName value to set
* @return the AzureSqlMITableDataset object itself.
*/
public AzureSqlMITableDataset withTableName(Object tableName) {
this.tableName = tableName;
return this;
}

/**
* Get the schema name of the Azure SQL Managed Instance. Type: string (or Expression with resultType string).
*
* @return the azureSqlMITableDatasetSchema value
*/
public Object azureSqlMITableDatasetSchema() {
return this.azureSqlMITableDatasetSchema;
}

/**
* Set the schema name of the Azure SQL Managed Instance. Type: string (or Expression with resultType string).
*
* @param azureSqlMITableDatasetSchema the azureSqlMITableDatasetSchema value to set
* @return the AzureSqlMITableDataset object itself.
*/
public AzureSqlMITableDataset withAzureSqlMITableDatasetSchema(Object azureSqlMITableDatasetSchema) {
this.azureSqlMITableDatasetSchema = azureSqlMITableDatasetSchema;
return this;
}

/**
* Get the table name of the Azure SQL Managed Instance dataset. Type: string (or Expression with resultType string).
*
* @return the table value
*/
public Object table() {
return this.table;
}

/**
* Set the table name of the Azure SQL Managed Instance dataset. Type: string (or Expression with resultType string).
*
* @param table the table value to set
* @return the AzureSqlMITableDataset object itself.
*/
public AzureSqlMITableDataset withTable(Object table) {
this.table = table;
return this;
}

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
*/

package com.microsoft.azure.management.datafactoryv2.v2018_06_01;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonTypeInfo;
import com.fasterxml.jackson.annotation.JsonTypeName;
import com.microsoft.rest.serializer.JsonFlatten;
import com.microsoft.azure.management.datafactoryv2.v2018_06_01.implementation.DatasetInner;

/**
* The Common Data Service for Apps entity dataset.
*/
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "type")
@JsonTypeName("CommonDataServiceForAppsEntity")
@JsonFlatten
public class CommonDataServiceForAppsEntityDataset extends DatasetInner {
/**
* The logical name of the entity. Type: string (or Expression with
* resultType string).
*/
@JsonProperty(value = "typeProperties.entityName")
private Object entityName;

/**
* Get the logical name of the entity. Type: string (or Expression with resultType string).
*
* @return the entityName value
*/
public Object entityName() {
return this.entityName;
}

/**
* Set the logical name of the entity. Type: string (or Expression with resultType string).
*
* @param entityName the entityName value to set
* @return the CommonDataServiceForAppsEntityDataset object itself.
*/
public CommonDataServiceForAppsEntityDataset withEntityName(Object entityName) {
this.entityName = entityName;
return this;
}

}
Loading