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/v2018_06_01] [Datafactory] Add one new connector and new properties into three connectors #4652

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,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.datafactory.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.datafactory.v2018_06_01.implementation.LinkedServiceInner;

/**
* Azure Database for MariaDB linked service.
*/
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "type")
@JsonTypeName("AzureMariaDB")
@JsonFlatten
public class AzureMariaDBLinkedService extends LinkedServiceInner {
/**
* An ODBC connection string. Type: string, SecureString or
* AzureKeyVaultSecretReference.
*/
@JsonProperty(value = "typeProperties.connectionString")
private Object connectionString;

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

/**
* 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 an ODBC connection string. Type: string, SecureString or AzureKeyVaultSecretReference.
*
* @return the connectionString value
*/
public Object connectionString() {
return this.connectionString;
}

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

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

/**
* Set the Azure key vault secret reference of password in connection string.
*
* @param pwd the pwd value to set
* @return the AzureMariaDBLinkedService object itself.
*/
public AzureMariaDBLinkedService withPwd(AzureKeyVaultSecretReference pwd) {
this.pwd = pwd;
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 AzureMariaDBLinkedService object itself.
*/
public AzureMariaDBLinkedService withEncryptedCredential(Object encryptedCredential) {
this.encryptedCredential = encryptedCredential;
return this;
}

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
/**
* 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.datafactory.v2018_06_01;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonTypeInfo;
import com.fasterxml.jackson.annotation.JsonTypeName;

/**
* A copy activity Azure MariaDB source.
*/
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "type")
@JsonTypeName("AzureMariaDBSource")
public class AzureMariaDBSource extends CopySource {
/**
* A query to retrieve data from source. Type: string (or Expression with
* resultType string).
*/
@JsonProperty(value = "query")
private Object query;

/**
* Get a query to retrieve data from source. Type: string (or Expression with resultType string).
*
* @return the query value
*/
public Object query() {
return this.query;
}

/**
* Set a query to retrieve data from source. Type: string (or Expression with resultType string).
*
* @param query the query value to set
* @return the AzureMariaDBSource object itself.
*/
public AzureMariaDBSource withQuery(Object query) {
this.query = query;
return this;
}

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
/**
* 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.datafactory.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.datafactory.v2018_06_01.implementation.DatasetInner;

/**
* Azure Database for MariaDB dataset.
*/
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "type")
@JsonTypeName("AzureMariaDBTable")
@JsonFlatten
public class AzureMariaDBTableDataset extends DatasetInner {
/**
* The table name. Type: string (or Expression with resultType string).
*/
@JsonProperty(value = "typeProperties.tableName")
private Object tableName;

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

/**
* Set the table name. Type: string (or Expression with resultType string).
*
* @param tableName the tableName value to set
* @return the AzureMariaDBTableDataset object itself.
*/
public AzureMariaDBTableDataset withTableName(Object tableName) {
this.tableName = tableName;
return this;
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
@JsonSubTypes.Type(name = "PhoenixSource", value = PhoenixSource.class),
@JsonSubTypes.Type(name = "PaypalSource", value = PaypalSource.class),
@JsonSubTypes.Type(name = "MarketoSource", value = MarketoSource.class),
@JsonSubTypes.Type(name = "AzureMariaDBSource", value = AzureMariaDBSource.class),
@JsonSubTypes.Type(name = "MariaDBSource", value = MariaDBSource.class),
@JsonSubTypes.Type(name = "MagentoSource", value = MagentoSource.class),
@JsonSubTypes.Type(name = "JiraSource", value = JiraSource.class),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

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

import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonTypeInfo;
import com.fasterxml.jackson.annotation.JsonTypeName;

Expand All @@ -17,4 +18,139 @@
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "type")
@JsonTypeName("Office365Source")
public class Office365Source extends CopySource {
/**
* The groups containing all the users. Type: array of strings (or
* Expression with resultType array of strings).
*/
@JsonProperty(value = "allowedGroups")
private Object allowedGroups;

/**
* The user scope uri. Type: string (or Expression with resultType string).
*/
@JsonProperty(value = "userScopeFilterUri")
private Object userScopeFilterUri;

/**
* The Column to apply the <paramref name="StartTime"/> and
* <paramref name="EndTime"/>. Type: string (or Expression with
* resultType string).
*/
@JsonProperty(value = "dateFilterColumn")
private Object dateFilterColumn;

/**
* Start time of the requested range for this dataset. Type: string (or
* Expression with resultType string).
*/
@JsonProperty(value = "startTime")
private Object startTime;

/**
* End time of the requested range for thsi dataset. Type: string (or
* Expression with resultType string).
*/
@JsonProperty(value = "endTime")
private Object endTime;

/**
* Get the groups containing all the users. Type: array of strings (or Expression with resultType array of strings).
*
* @return the allowedGroups value
*/
public Object allowedGroups() {
return this.allowedGroups;
}

/**
* Set the groups containing all the users. Type: array of strings (or Expression with resultType array of strings).
*
* @param allowedGroups the allowedGroups value to set
* @return the Office365Source object itself.
*/
public Office365Source withAllowedGroups(Object allowedGroups) {
this.allowedGroups = allowedGroups;
return this;
}

/**
* Get the user scope uri. Type: string (or Expression with resultType string).
*
* @return the userScopeFilterUri value
*/
public Object userScopeFilterUri() {
return this.userScopeFilterUri;
}

/**
* Set the user scope uri. Type: string (or Expression with resultType string).
*
* @param userScopeFilterUri the userScopeFilterUri value to set
* @return the Office365Source object itself.
*/
public Office365Source withUserScopeFilterUri(Object userScopeFilterUri) {
this.userScopeFilterUri = userScopeFilterUri;
return this;
}

/**
* Get the Column to apply the <paramref name="StartTime"/> and <paramref name="EndTime"/>. Type: string (or Expression with resultType string).
*
* @return the dateFilterColumn value
*/
public Object dateFilterColumn() {
return this.dateFilterColumn;
}

/**
* Set the Column to apply the <paramref name="StartTime"/> and <paramref name="EndTime"/>. Type: string (or Expression with resultType string).
*
* @param dateFilterColumn the dateFilterColumn value to set
* @return the Office365Source object itself.
*/
public Office365Source withDateFilterColumn(Object dateFilterColumn) {
this.dateFilterColumn = dateFilterColumn;
return this;
}

/**
* Get start time of the requested range for this dataset. Type: string (or Expression with resultType string).
*
* @return the startTime value
*/
public Object startTime() {
return this.startTime;
}

/**
* Set start time of the requested range for this dataset. Type: string (or Expression with resultType string).
*
* @param startTime the startTime value to set
* @return the Office365Source object itself.
*/
public Office365Source withStartTime(Object startTime) {
this.startTime = startTime;
return this;
}

/**
* Get end time of the requested range for thsi dataset. Type: string (or Expression with resultType string).
*
* @return the endTime value
*/
public Object endTime() {
return this.endTime;
}

/**
* Set end time of the requested range for thsi dataset. Type: string (or Expression with resultType string).
*
* @param endTime the endTime value to set
* @return the Office365Source object itself.
*/
public Office365Source withEndTime(Object endTime) {
this.endTime = endTime;
return this;
}

}
Loading