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 azure-mgmt-datafactory] Haorsun/azurecloudtype #1643

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
Expand Up @@ -2277,6 +2277,11 @@ class AzureBlobFSLinkedService(LinkedService):
:param tenant: The name or ID of the tenant to which the service principal
belongs. Type: string (or Expression with resultType string).
:type tenant: object
:param azure_cloud_type: Indicates the azure cloud type of the service
principle auth. Allowed values are AzurePublic, AzureChina,
AzureUsGovernment, AzureGermany. Default value is the data factory
regions’ cloud type. Type: string (or Expression with resultType string).
:type azure_cloud_type: object
:param encrypted_credential: The encrypted credential used for
authentication. Credentials are encrypted using the integration runtime
credential manager. Type: string (or Expression with resultType string).
Expand All @@ -2300,6 +2305,7 @@ class AzureBlobFSLinkedService(LinkedService):
'service_principal_id': {'key': 'typeProperties.servicePrincipalId', 'type': 'object'},
'service_principal_key': {'key': 'typeProperties.servicePrincipalKey', 'type': 'SecretBase'},
'tenant': {'key': 'typeProperties.tenant', 'type': 'object'},
'azure_cloud_type': {'key': 'typeProperties.azureCloudType', 'type': 'object'},
'encrypted_credential': {'key': 'typeProperties.encryptedCredential', 'type': 'object'},
}

Expand All @@ -2310,6 +2316,7 @@ def __init__(self, **kwargs):
self.service_principal_id = kwargs.get('service_principal_id', None)
self.service_principal_key = kwargs.get('service_principal_key', None)
self.tenant = kwargs.get('tenant', None)
self.azure_cloud_type = kwargs.get('azure_cloud_type', None)
self.encrypted_credential = kwargs.get('encrypted_credential', None)
self.type = 'AzureBlobFS'

Expand Down Expand Up @@ -2676,6 +2683,11 @@ class AzureBlobStorageLinkedService(LinkedService):
:param tenant: The name or ID of the tenant to which the service principal
belongs. Type: string (or Expression with resultType string).
:type tenant: object
:param azure_cloud_type: Indicates the azure cloud type of the service
principle auth. Allowed values are AzurePublic, AzureChina,
AzureUsGovernment, AzureGermany. Default value is the data factory
regions’ cloud type. Type: string (or Expression with resultType string).
:type azure_cloud_type: object
:param encrypted_credential: The encrypted credential used for
authentication. Credentials are encrypted using the integration runtime
credential manager. Type: string (or Expression with resultType string).
Expand All @@ -2701,6 +2713,7 @@ class AzureBlobStorageLinkedService(LinkedService):
'service_principal_id': {'key': 'typeProperties.servicePrincipalId', 'type': 'object'},
'service_principal_key': {'key': 'typeProperties.servicePrincipalKey', 'type': 'SecretBase'},
'tenant': {'key': 'typeProperties.tenant', 'type': 'object'},
'azure_cloud_type': {'key': 'typeProperties.azureCloudType', 'type': 'object'},
'encrypted_credential': {'key': 'typeProperties.encryptedCredential', 'type': 'str'},
}

Expand All @@ -2714,6 +2727,7 @@ def __init__(self, **kwargs):
self.service_principal_id = kwargs.get('service_principal_id', None)
self.service_principal_key = kwargs.get('service_principal_key', None)
self.tenant = kwargs.get('tenant', None)
self.azure_cloud_type = kwargs.get('azure_cloud_type', None)
self.encrypted_credential = kwargs.get('encrypted_credential', None)
self.type = 'AzureBlobStorage'

Expand Down Expand Up @@ -3600,6 +3614,11 @@ class AzureDataLakeStoreLinkedService(LinkedService):
:param tenant: The name or ID of the tenant to which the service principal
belongs. Type: string (or Expression with resultType string).
:type tenant: object
:param azure_cloud_type: Indicates the azure cloud type of the service
principle auth. Allowed values are AzurePublic, AzureChina,
AzureUsGovernment, AzureGermany. Default value is the data factory
regions’ cloud type. Type: string (or Expression with resultType string).
:type azure_cloud_type: object
:param account_name: Data Lake Store account name. Type: string (or
Expression with resultType string).
:type account_name: object
Expand Down Expand Up @@ -3633,6 +3652,7 @@ class AzureDataLakeStoreLinkedService(LinkedService):
'service_principal_id': {'key': 'typeProperties.servicePrincipalId', 'type': 'object'},
'service_principal_key': {'key': 'typeProperties.servicePrincipalKey', 'type': 'SecretBase'},
'tenant': {'key': 'typeProperties.tenant', 'type': 'object'},
'azure_cloud_type': {'key': 'typeProperties.azureCloudType', 'type': 'object'},
'account_name': {'key': 'typeProperties.accountName', 'type': 'object'},
'subscription_id': {'key': 'typeProperties.subscriptionId', 'type': 'object'},
'resource_group_name': {'key': 'typeProperties.resourceGroupName', 'type': 'object'},
Expand All @@ -3645,6 +3665,7 @@ def __init__(self, **kwargs):
self.service_principal_id = kwargs.get('service_principal_id', None)
self.service_principal_key = kwargs.get('service_principal_key', None)
self.tenant = kwargs.get('tenant', None)
self.azure_cloud_type = kwargs.get('azure_cloud_type', None)
self.account_name = kwargs.get('account_name', None)
self.subscription_id = kwargs.get('subscription_id', None)
self.resource_group_name = kwargs.get('resource_group_name', None)
Expand Down Expand Up @@ -3973,6 +3994,9 @@ class AzureFileStorageLinkedService(LinkedService):
with accountKey/sasToken. Type: string (or Expression with resultType
string).
:type file_share: object
:param snapshot: The azure file share snapshot version. Type: string (or
Expression with resultType string).
:type snapshot: object
:param encrypted_credential: The encrypted credential used for
authentication. Credentials are encrypted using the integration runtime
credential manager. Type: string (or Expression with resultType string).
Expand All @@ -3998,6 +4022,7 @@ class AzureFileStorageLinkedService(LinkedService):
'sas_uri': {'key': 'typeProperties.sasUri', 'type': 'object'},
'sas_token': {'key': 'typeProperties.sasToken', 'type': 'AzureKeyVaultSecretReference'},
'file_share': {'key': 'typeProperties.fileShare', 'type': 'object'},
'snapshot': {'key': 'typeProperties.snapshot', 'type': 'object'},
'encrypted_credential': {'key': 'typeProperties.encryptedCredential', 'type': 'object'},
}

Expand All @@ -4011,6 +4036,7 @@ def __init__(self, **kwargs):
self.sas_uri = kwargs.get('sas_uri', None)
self.sas_token = kwargs.get('sas_token', None)
self.file_share = kwargs.get('file_share', None)
self.snapshot = kwargs.get('snapshot', None)
self.encrypted_credential = kwargs.get('encrypted_credential', None)
self.type = 'AzureFileStorage'

Expand Down Expand Up @@ -5704,6 +5730,11 @@ class AzureSqlDatabaseLinkedService(LinkedService):
:param tenant: The name or ID of the tenant to which the service principal
belongs. Type: string (or Expression with resultType string).
:type tenant: object
:param azure_cloud_type: Indicates the azure cloud type of the service
principle auth. Allowed values are AzurePublic, AzureChina,
AzureUsGovernment, AzureGermany. Default value is the data factory
regions’ cloud type. Type: string (or Expression with resultType string).
:type azure_cloud_type: object
:param encrypted_credential: The encrypted credential used for
authentication. Credentials are encrypted using the integration runtime
credential manager. Type: string (or Expression with resultType string).
Expand All @@ -5727,6 +5758,7 @@ class AzureSqlDatabaseLinkedService(LinkedService):
'service_principal_id': {'key': 'typeProperties.servicePrincipalId', 'type': 'object'},
'service_principal_key': {'key': 'typeProperties.servicePrincipalKey', 'type': 'SecretBase'},
'tenant': {'key': 'typeProperties.tenant', 'type': 'object'},
'azure_cloud_type': {'key': 'typeProperties.azureCloudType', 'type': 'object'},
'encrypted_credential': {'key': 'typeProperties.encryptedCredential', 'type': 'object'},
}

Expand All @@ -5737,6 +5769,7 @@ def __init__(self, **kwargs):
self.service_principal_id = kwargs.get('service_principal_id', None)
self.service_principal_key = kwargs.get('service_principal_key', None)
self.tenant = kwargs.get('tenant', None)
self.azure_cloud_type = kwargs.get('azure_cloud_type', None)
self.encrypted_credential = kwargs.get('encrypted_credential', None)
self.type = 'AzureSqlDatabase'

Expand Down Expand Up @@ -5780,6 +5813,11 @@ class AzureSqlDWLinkedService(LinkedService):
:param tenant: The name or ID of the tenant to which the service principal
belongs. Type: string (or Expression with resultType string).
:type tenant: object
:param azure_cloud_type: Indicates the azure cloud type of the service
principle auth. Allowed values are AzurePublic, AzureChina,
AzureUsGovernment, AzureGermany. Default value is the data factory
regions’ cloud type. Type: string (or Expression with resultType string).
:type azure_cloud_type: object
:param encrypted_credential: The encrypted credential used for
authentication. Credentials are encrypted using the integration runtime
credential manager. Type: string (or Expression with resultType string).
Expand All @@ -5803,6 +5841,7 @@ class AzureSqlDWLinkedService(LinkedService):
'service_principal_id': {'key': 'typeProperties.servicePrincipalId', 'type': 'object'},
'service_principal_key': {'key': 'typeProperties.servicePrincipalKey', 'type': 'SecretBase'},
'tenant': {'key': 'typeProperties.tenant', 'type': 'object'},
'azure_cloud_type': {'key': 'typeProperties.azureCloudType', 'type': 'object'},
'encrypted_credential': {'key': 'typeProperties.encryptedCredential', 'type': 'object'},
}

Expand All @@ -5813,6 +5852,7 @@ def __init__(self, **kwargs):
self.service_principal_id = kwargs.get('service_principal_id', None)
self.service_principal_key = kwargs.get('service_principal_key', None)
self.tenant = kwargs.get('tenant', None)
self.azure_cloud_type = kwargs.get('azure_cloud_type', None)
self.encrypted_credential = kwargs.get('encrypted_credential', None)
self.type = 'AzureSqlDW'

Expand Down Expand Up @@ -5925,6 +5965,11 @@ class AzureSqlMILinkedService(LinkedService):
:param tenant: The name or ID of the tenant to which the service principal
belongs. Type: string (or Expression with resultType string).
:type tenant: object
:param azure_cloud_type: Indicates the azure cloud type of the service
principle auth. Allowed values are AzurePublic, AzureChina,
AzureUsGovernment, AzureGermany. Default value is the data factory
regions’ cloud type. Type: string (or Expression with resultType string).
:type azure_cloud_type: object
:param encrypted_credential: The encrypted credential used for
authentication. Credentials are encrypted using the integration runtime
credential manager. Type: string (or Expression with resultType string).
Expand All @@ -5948,6 +5993,7 @@ class AzureSqlMILinkedService(LinkedService):
'service_principal_id': {'key': 'typeProperties.servicePrincipalId', 'type': 'object'},
'service_principal_key': {'key': 'typeProperties.servicePrincipalKey', 'type': 'SecretBase'},
'tenant': {'key': 'typeProperties.tenant', 'type': 'object'},
'azure_cloud_type': {'key': 'typeProperties.azureCloudType', 'type': 'object'},
'encrypted_credential': {'key': 'typeProperties.encryptedCredential', 'type': 'object'},
}

Expand All @@ -5958,6 +6004,7 @@ def __init__(self, **kwargs):
self.service_principal_id = kwargs.get('service_principal_id', None)
self.service_principal_key = kwargs.get('service_principal_key', None)
self.tenant = kwargs.get('tenant', None)
self.azure_cloud_type = kwargs.get('azure_cloud_type', None)
self.encrypted_credential = kwargs.get('encrypted_credential', None)
self.type = 'AzureSqlMI'

Expand Down Expand Up @@ -21262,6 +21309,11 @@ class ODataLinkedService(LinkedService):
application registered in Azure Active Directory. Type: string (or
Expression with resultType string).
:type service_principal_id: object
:param azure_cloud_type: Indicates the azure cloud type of the service
principle auth. Allowed values are AzurePublic, AzureChina,
AzureUsGovernment, AzureGermany. Default value is the data factory
regions’ cloud type. Type: string (or Expression with resultType string).
:type azure_cloud_type: object
:param aad_resource_id: Specify the resource you are requesting
authorization to use Directory. Type: string (or Expression with
resultType string).
Expand Down Expand Up @@ -21310,6 +21362,7 @@ class ODataLinkedService(LinkedService):
'password': {'key': 'typeProperties.password', 'type': 'SecretBase'},
'tenant': {'key': 'typeProperties.tenant', 'type': 'object'},
'service_principal_id': {'key': 'typeProperties.servicePrincipalId', 'type': 'object'},
'azure_cloud_type': {'key': 'typeProperties.azureCloudType', 'type': 'object'},
'aad_resource_id': {'key': 'typeProperties.aadResourceId', 'type': 'object'},
'aad_service_principal_credential_type': {'key': 'typeProperties.aadServicePrincipalCredentialType', 'type': 'str'},
'service_principal_key': {'key': 'typeProperties.servicePrincipalKey', 'type': 'SecretBase'},
Expand All @@ -21326,6 +21379,7 @@ def __init__(self, **kwargs):
self.password = kwargs.get('password', None)
self.tenant = kwargs.get('tenant', None)
self.service_principal_id = kwargs.get('service_principal_id', None)
self.azure_cloud_type = kwargs.get('azure_cloud_type', None)
self.aad_resource_id = kwargs.get('aad_resource_id', None)
self.aad_service_principal_credential_type = kwargs.get('aad_service_principal_credential_type', None)
self.service_principal_key = kwargs.get('service_principal_key', None)
Expand Down Expand Up @@ -25087,6 +25141,11 @@ class RestServiceLinkedService(LinkedService):
AadServicePrincipal authentication type under which your application
resides.
:type tenant: object
:param azure_cloud_type: Indicates the azure cloud type of the service
principle auth. Allowed values are AzurePublic, AzureChina,
AzureUsGovernment, AzureGermany. Default value is the data factory
regions’ cloud type. Type: string (or Expression with resultType string).
:type azure_cloud_type: object
:param aad_resource_id: The resource you are requesting authorization to
use.
:type aad_resource_id: object
Expand Down Expand Up @@ -25117,6 +25176,7 @@ class RestServiceLinkedService(LinkedService):
'service_principal_id': {'key': 'typeProperties.servicePrincipalId', 'type': 'object'},
'service_principal_key': {'key': 'typeProperties.servicePrincipalKey', 'type': 'SecretBase'},
'tenant': {'key': 'typeProperties.tenant', 'type': 'object'},
'azure_cloud_type': {'key': 'typeProperties.azureCloudType', 'type': 'object'},
'aad_resource_id': {'key': 'typeProperties.aadResourceId', 'type': 'object'},
'encrypted_credential': {'key': 'typeProperties.encryptedCredential', 'type': 'object'},
}
Expand All @@ -25131,6 +25191,7 @@ def __init__(self, **kwargs):
self.service_principal_id = kwargs.get('service_principal_id', None)
self.service_principal_key = kwargs.get('service_principal_key', None)
self.tenant = kwargs.get('tenant', None)
self.azure_cloud_type = kwargs.get('azure_cloud_type', None)
self.aad_resource_id = kwargs.get('aad_resource_id', None)
self.encrypted_credential = kwargs.get('encrypted_credential', None)
self.type = 'RestService'
Expand Down
Loading