Source code for azure.synapse.artifacts.models._models_py3

# coding=utf-8
# --------------------------------------------------------------------------
# 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.
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------

import datetime
from typing import Dict, List, Optional, Union

from azure.core.exceptions import HttpResponseError
import msrest.serialization

from ._artifacts_client_enums import *


[docs]class Activity(msrest.serialization.Model): """A pipeline activity. You probably want to use the sub-classes and not this class directly. Known sub-classes are: ControlActivity, ExecutionActivity, SqlPoolStoredProcedureActivity. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param name: Required. Activity name. :type name: str :param type: Required. Type of activity.Constant filled by server. :type type: str :param description: Activity description. :type description: str :param depends_on: Activity depends on condition. :type depends_on: list[~azure.synapse.artifacts.models.ActivityDependency] :param user_properties: Activity user properties. :type user_properties: list[~azure.synapse.artifacts.models.UserProperty] """ _validation = { 'name': {'required': True}, 'type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'name': {'key': 'name', 'type': 'str'}, 'type': {'key': 'type', 'type': 'str'}, 'description': {'key': 'description', 'type': 'str'}, 'depends_on': {'key': 'dependsOn', 'type': '[ActivityDependency]'}, 'user_properties': {'key': 'userProperties', 'type': '[UserProperty]'}, } _subtype_map = { 'type': {'Container': 'ControlActivity', 'Execution': 'ExecutionActivity', 'SqlPoolStoredProcedure': 'SqlPoolStoredProcedureActivity'} } def __init__( self, *, name: str, additional_properties: Optional[Dict[str, object]] = None, description: Optional[str] = None, depends_on: Optional[List["ActivityDependency"]] = None, user_properties: Optional[List["UserProperty"]] = None, **kwargs ): super(Activity, self).__init__(**kwargs) self.additional_properties = additional_properties self.name = name self.type = 'Activity' # type: str self.description = description self.depends_on = depends_on self.user_properties = user_properties
[docs]class ActivityDependency(msrest.serialization.Model): """Activity dependency information. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param activity: Required. Activity name. :type activity: str :param dependency_conditions: Required. Match-Condition for the dependency. :type dependency_conditions: list[str or ~azure.synapse.artifacts.models.DependencyCondition] """ _validation = { 'activity': {'required': True}, 'dependency_conditions': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'activity': {'key': 'activity', 'type': 'str'}, 'dependency_conditions': {'key': 'dependencyConditions', 'type': '[str]'}, } def __init__( self, *, activity: str, dependency_conditions: List[Union[str, "DependencyCondition"]], additional_properties: Optional[Dict[str, object]] = None, **kwargs ): super(ActivityDependency, self).__init__(**kwargs) self.additional_properties = additional_properties self.activity = activity self.dependency_conditions = dependency_conditions
[docs]class ActivityPolicy(msrest.serialization.Model): """Execution policy for an activity. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param timeout: Specifies the timeout for the activity to run. The default timeout is 7 days. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type timeout: object :param retry: Maximum ordinary retry attempts. Default is 0. Type: integer (or Expression with resultType integer), minimum: 0. :type retry: object :param retry_interval_in_seconds: Interval between each retry attempt (in seconds). The default is 30 sec. :type retry_interval_in_seconds: int :param secure_input: When set to true, Input from activity is considered as secure and will not be logged to monitoring. :type secure_input: bool :param secure_output: When set to true, Output from activity is considered as secure and will not be logged to monitoring. :type secure_output: bool """ _validation = { 'retry_interval_in_seconds': {'maximum': 86400, 'minimum': 30}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'timeout': {'key': 'timeout', 'type': 'object'}, 'retry': {'key': 'retry', 'type': 'object'}, 'retry_interval_in_seconds': {'key': 'retryIntervalInSeconds', 'type': 'int'}, 'secure_input': {'key': 'secureInput', 'type': 'bool'}, 'secure_output': {'key': 'secureOutput', 'type': 'bool'}, } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, timeout: Optional[object] = None, retry: Optional[object] = None, retry_interval_in_seconds: Optional[int] = None, secure_input: Optional[bool] = None, secure_output: Optional[bool] = None, **kwargs ): super(ActivityPolicy, self).__init__(**kwargs) self.additional_properties = additional_properties self.timeout = timeout self.retry = retry self.retry_interval_in_seconds = retry_interval_in_seconds self.secure_input = secure_input self.secure_output = secure_output
[docs]class ActivityRun(msrest.serialization.Model): """Information about an activity run in a pipeline. Variables are only populated by the server, and will be ignored when sending a request. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :ivar pipeline_name: The name of the pipeline. :vartype pipeline_name: str :ivar pipeline_run_id: The id of the pipeline run. :vartype pipeline_run_id: str :ivar activity_name: The name of the activity. :vartype activity_name: str :ivar activity_type: The type of the activity. :vartype activity_type: str :ivar activity_run_id: The id of the activity run. :vartype activity_run_id: str :ivar linked_service_name: The name of the compute linked service. :vartype linked_service_name: str :ivar status: The status of the activity run. :vartype status: str :ivar activity_run_start: The start time of the activity run in 'ISO 8601' format. :vartype activity_run_start: ~datetime.datetime :ivar activity_run_end: The end time of the activity run in 'ISO 8601' format. :vartype activity_run_end: ~datetime.datetime :ivar duration_in_ms: The duration of the activity run. :vartype duration_in_ms: int :ivar input: The input for the activity. :vartype input: object :ivar output: The output for the activity. :vartype output: object :ivar error: The error if any from the activity run. :vartype error: object """ _validation = { 'pipeline_name': {'readonly': True}, 'pipeline_run_id': {'readonly': True}, 'activity_name': {'readonly': True}, 'activity_type': {'readonly': True}, 'activity_run_id': {'readonly': True}, 'linked_service_name': {'readonly': True}, 'status': {'readonly': True}, 'activity_run_start': {'readonly': True}, 'activity_run_end': {'readonly': True}, 'duration_in_ms': {'readonly': True}, 'input': {'readonly': True}, 'output': {'readonly': True}, 'error': {'readonly': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'pipeline_name': {'key': 'pipelineName', 'type': 'str'}, 'pipeline_run_id': {'key': 'pipelineRunId', 'type': 'str'}, 'activity_name': {'key': 'activityName', 'type': 'str'}, 'activity_type': {'key': 'activityType', 'type': 'str'}, 'activity_run_id': {'key': 'activityRunId', 'type': 'str'}, 'linked_service_name': {'key': 'linkedServiceName', 'type': 'str'}, 'status': {'key': 'status', 'type': 'str'}, 'activity_run_start': {'key': 'activityRunStart', 'type': 'iso-8601'}, 'activity_run_end': {'key': 'activityRunEnd', 'type': 'iso-8601'}, 'duration_in_ms': {'key': 'durationInMs', 'type': 'int'}, 'input': {'key': 'input', 'type': 'object'}, 'output': {'key': 'output', 'type': 'object'}, 'error': {'key': 'error', 'type': 'object'}, } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, **kwargs ): super(ActivityRun, self).__init__(**kwargs) self.additional_properties = additional_properties self.pipeline_name = None self.pipeline_run_id = None self.activity_name = None self.activity_type = None self.activity_run_id = None self.linked_service_name = None self.status = None self.activity_run_start = None self.activity_run_end = None self.duration_in_ms = None self.input = None self.output = None self.error = None
[docs]class ActivityRunsQueryResponse(msrest.serialization.Model): """A list activity runs. All required parameters must be populated in order to send to Azure. :param value: Required. List of activity runs. :type value: list[~azure.synapse.artifacts.models.ActivityRun] :param continuation_token: The continuation token for getting the next page of results, if any remaining results exist, null otherwise. :type continuation_token: str """ _validation = { 'value': {'required': True}, } _attribute_map = { 'value': {'key': 'value', 'type': '[ActivityRun]'}, 'continuation_token': {'key': 'continuationToken', 'type': 'str'}, } def __init__( self, *, value: List["ActivityRun"], continuation_token: Optional[str] = None, **kwargs ): super(ActivityRunsQueryResponse, self).__init__(**kwargs) self.value = value self.continuation_token = continuation_token
[docs]class AddDataFlowToDebugSessionResponse(msrest.serialization.Model): """Response body structure for starting data flow debug session. :param job_version: The ID of data flow debug job version. :type job_version: str """ _attribute_map = { 'job_version': {'key': 'jobVersion', 'type': 'str'}, } def __init__( self, *, job_version: Optional[str] = None, **kwargs ): super(AddDataFlowToDebugSessionResponse, self).__init__(**kwargs) self.job_version = job_version
[docs]class AdditionalColumns(msrest.serialization.Model): """Specify the column name and value of additional columns. :param name: Additional column name. Type: string (or Expression with resultType string). :type name: object :param value: Additional column value. Type: string (or Expression with resultType string). :type value: object """ _attribute_map = { 'name': {'key': 'name', 'type': 'object'}, 'value': {'key': 'value', 'type': 'object'}, } def __init__( self, *, name: Optional[object] = None, value: Optional[object] = None, **kwargs ): super(AdditionalColumns, self).__init__(**kwargs) self.name = name self.value = value
[docs]class LinkedService(msrest.serialization.Model): """The Azure Synapse nested object which contains the information and credential which can be used to connect with related store or compute resource. You probably want to use the sub-classes and not this class directly. Known sub-classes are: AmazonMWSLinkedService, AmazonRedshiftLinkedService, AmazonS3LinkedService, AzureBatchLinkedService, AzureBlobFSLinkedService, AzureBlobStorageLinkedService, AzureDataExplorerLinkedService, AzureDataLakeAnalyticsLinkedService, AzureDataLakeStoreLinkedService, AzureDatabricksLinkedService, AzureDatabricksDeltaLakeLinkedService, AzureFileStorageLinkedService, AzureFunctionLinkedService, AzureKeyVaultLinkedService, AzureMLLinkedService, AzureMLServiceLinkedService, AzureMariaDBLinkedService, AzureMySqlLinkedService, AzurePostgreSqlLinkedService, AzureSearchLinkedService, AzureSqlDWLinkedService, AzureSqlDatabaseLinkedService, AzureSqlMILinkedService, AzureStorageLinkedService, AzureTableStorageLinkedService, CassandraLinkedService, CommonDataServiceForAppsLinkedService, ConcurLinkedService, CosmosDbLinkedService, CosmosDbMongoDbApiLinkedService, CouchbaseLinkedService, CustomDataSourceLinkedService, Db2LinkedService, DrillLinkedService, DynamicsLinkedService, DynamicsAXLinkedService, DynamicsCrmLinkedService, EloquaLinkedService, FileServerLinkedService, FtpServerLinkedService, GoogleAdWordsLinkedService, GoogleBigQueryLinkedService, GoogleCloudStorageLinkedService, GreenplumLinkedService, HBaseLinkedService, HDInsightLinkedService, HDInsightOnDemandLinkedService, HdfsLinkedService, HiveLinkedService, HttpLinkedService, HubspotLinkedService, ImpalaLinkedService, InformixLinkedService, JiraLinkedService, MagentoLinkedService, MariaDBLinkedService, MarketoLinkedService, MicrosoftAccessLinkedService, MongoDbLinkedService, MongoDbAtlasLinkedService, MongoDbV2LinkedService, MySqlLinkedService, NetezzaLinkedService, ODataLinkedService, OdbcLinkedService, Office365LinkedService, OracleLinkedService, OracleServiceCloudLinkedService, PaypalLinkedService, PhoenixLinkedService, PostgreSqlLinkedService, PrestoLinkedService, QuickBooksLinkedService, ResponsysLinkedService, RestServiceLinkedService, SalesforceLinkedService, SalesforceMarketingCloudLinkedService, SalesforceServiceCloudLinkedService, SapBWLinkedService, SapCloudForCustomerLinkedService, SapEccLinkedService, SapHanaLinkedService, SapOpenHubLinkedService, SapTableLinkedService, ServiceNowLinkedService, SftpServerLinkedService, SharePointOnlineListLinkedService, ShopifyLinkedService, SnowflakeLinkedService, SparkLinkedService, SqlServerLinkedService, SquareLinkedService, SybaseLinkedService, TeradataLinkedService, VerticaLinkedService, WebLinkedService, XeroLinkedService, ZohoLinkedService. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. :type connect_via: ~azure.synapse.artifacts.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. :type parameters: dict[str, ~azure.synapse.artifacts.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] """ _validation = { 'type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'connect_via': {'key': 'connectVia', 'type': 'IntegrationRuntimeReference'}, 'description': {'key': 'description', 'type': 'str'}, 'parameters': {'key': 'parameters', 'type': '{ParameterSpecification}'}, 'annotations': {'key': 'annotations', 'type': '[object]'}, } _subtype_map = { 'type': {'AmazonMWS': 'AmazonMWSLinkedService', 'AmazonRedshift': 'AmazonRedshiftLinkedService', 'AmazonS3': 'AmazonS3LinkedService', 'AzureBatch': 'AzureBatchLinkedService', 'AzureBlobFS': 'AzureBlobFSLinkedService', 'AzureBlobStorage': 'AzureBlobStorageLinkedService', 'AzureDataExplorer': 'AzureDataExplorerLinkedService', 'AzureDataLakeAnalytics': 'AzureDataLakeAnalyticsLinkedService', 'AzureDataLakeStore': 'AzureDataLakeStoreLinkedService', 'AzureDatabricks': 'AzureDatabricksLinkedService', 'AzureDatabricksDeltaLake': 'AzureDatabricksDeltaLakeLinkedService', 'AzureFileStorage': 'AzureFileStorageLinkedService', 'AzureFunction': 'AzureFunctionLinkedService', 'AzureKeyVault': 'AzureKeyVaultLinkedService', 'AzureML': 'AzureMLLinkedService', 'AzureMLService': 'AzureMLServiceLinkedService', 'AzureMariaDB': 'AzureMariaDBLinkedService', 'AzureMySql': 'AzureMySqlLinkedService', 'AzurePostgreSql': 'AzurePostgreSqlLinkedService', 'AzureSearch': 'AzureSearchLinkedService', 'AzureSqlDW': 'AzureSqlDWLinkedService', 'AzureSqlDatabase': 'AzureSqlDatabaseLinkedService', 'AzureSqlMI': 'AzureSqlMILinkedService', 'AzureStorage': 'AzureStorageLinkedService', 'AzureTableStorage': 'AzureTableStorageLinkedService', 'Cassandra': 'CassandraLinkedService', 'CommonDataServiceForApps': 'CommonDataServiceForAppsLinkedService', 'Concur': 'ConcurLinkedService', 'CosmosDb': 'CosmosDbLinkedService', 'CosmosDbMongoDbApi': 'CosmosDbMongoDbApiLinkedService', 'Couchbase': 'CouchbaseLinkedService', 'CustomDataSource': 'CustomDataSourceLinkedService', 'Db2': 'Db2LinkedService', 'Drill': 'DrillLinkedService', 'Dynamics': 'DynamicsLinkedService', 'DynamicsAX': 'DynamicsAXLinkedService', 'DynamicsCrm': 'DynamicsCrmLinkedService', 'Eloqua': 'EloquaLinkedService', 'FileServer': 'FileServerLinkedService', 'FtpServer': 'FtpServerLinkedService', 'GoogleAdWords': 'GoogleAdWordsLinkedService', 'GoogleBigQuery': 'GoogleBigQueryLinkedService', 'GoogleCloudStorage': 'GoogleCloudStorageLinkedService', 'Greenplum': 'GreenplumLinkedService', 'HBase': 'HBaseLinkedService', 'HDInsight': 'HDInsightLinkedService', 'HDInsightOnDemand': 'HDInsightOnDemandLinkedService', 'Hdfs': 'HdfsLinkedService', 'Hive': 'HiveLinkedService', 'HttpServer': 'HttpLinkedService', 'Hubspot': 'HubspotLinkedService', 'Impala': 'ImpalaLinkedService', 'Informix': 'InformixLinkedService', 'Jira': 'JiraLinkedService', 'Magento': 'MagentoLinkedService', 'MariaDB': 'MariaDBLinkedService', 'Marketo': 'MarketoLinkedService', 'MicrosoftAccess': 'MicrosoftAccessLinkedService', 'MongoDb': 'MongoDbLinkedService', 'MongoDbAtlas': 'MongoDbAtlasLinkedService', 'MongoDbV2': 'MongoDbV2LinkedService', 'MySql': 'MySqlLinkedService', 'Netezza': 'NetezzaLinkedService', 'OData': 'ODataLinkedService', 'Odbc': 'OdbcLinkedService', 'Office365': 'Office365LinkedService', 'Oracle': 'OracleLinkedService', 'OracleServiceCloud': 'OracleServiceCloudLinkedService', 'Paypal': 'PaypalLinkedService', 'Phoenix': 'PhoenixLinkedService', 'PostgreSql': 'PostgreSqlLinkedService', 'Presto': 'PrestoLinkedService', 'QuickBooks': 'QuickBooksLinkedService', 'Responsys': 'ResponsysLinkedService', 'RestService': 'RestServiceLinkedService', 'Salesforce': 'SalesforceLinkedService', 'SalesforceMarketingCloud': 'SalesforceMarketingCloudLinkedService', 'SalesforceServiceCloud': 'SalesforceServiceCloudLinkedService', 'SapBW': 'SapBWLinkedService', 'SapCloudForCustomer': 'SapCloudForCustomerLinkedService', 'SapEcc': 'SapEccLinkedService', 'SapHana': 'SapHanaLinkedService', 'SapOpenHub': 'SapOpenHubLinkedService', 'SapTable': 'SapTableLinkedService', 'ServiceNow': 'ServiceNowLinkedService', 'Sftp': 'SftpServerLinkedService', 'SharePointOnlineList': 'SharePointOnlineListLinkedService', 'Shopify': 'ShopifyLinkedService', 'Snowflake': 'SnowflakeLinkedService', 'Spark': 'SparkLinkedService', 'SqlServer': 'SqlServerLinkedService', 'Square': 'SquareLinkedService', 'Sybase': 'SybaseLinkedService', 'Teradata': 'TeradataLinkedService', 'Vertica': 'VerticaLinkedService', 'Web': 'WebLinkedService', 'Xero': 'XeroLinkedService', 'Zoho': 'ZohoLinkedService'} } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, connect_via: Optional["IntegrationRuntimeReference"] = None, description: Optional[str] = None, parameters: Optional[Dict[str, "ParameterSpecification"]] = None, annotations: Optional[List[object]] = None, **kwargs ): super(LinkedService, self).__init__(**kwargs) self.additional_properties = additional_properties self.type = 'LinkedService' # type: str self.connect_via = connect_via self.description = description self.parameters = parameters self.annotations = annotations
[docs]class AmazonMWSLinkedService(LinkedService): """Amazon Marketplace Web Service linked service. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. :type connect_via: ~azure.synapse.artifacts.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. :type parameters: dict[str, ~azure.synapse.artifacts.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param endpoint: Required. The endpoint of the Amazon MWS server, (i.e. mws.amazonservices.com). :type endpoint: object :param marketplace_id: Required. The Amazon Marketplace ID you want to retrieve data from. To retrieve data from multiple Marketplace IDs, separate them with a comma (,). (i.e. A2EUQ1WTGCTBG2). :type marketplace_id: object :param seller_id: Required. The Amazon seller ID. :type seller_id: object :param mws_auth_token: The Amazon MWS authentication token. :type mws_auth_token: ~azure.synapse.artifacts.models.SecretBase :param access_key_id: Required. The access key id used to access data. :type access_key_id: object :param secret_key: The secret key used to access data. :type secret_key: ~azure.synapse.artifacts.models.SecretBase :param use_encrypted_endpoints: Specifies whether the data source endpoints are encrypted using HTTPS. The default value is true. :type use_encrypted_endpoints: object :param use_host_verification: Specifies whether to require the host name in the server's certificate to match the host name of the server when connecting over SSL. The default value is true. :type use_host_verification: object :param use_peer_verification: Specifies whether to verify the identity of the server when connecting over SSL. The default value is true. :type use_peer_verification: 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). :type encrypted_credential: object """ _validation = { 'type': {'required': True}, 'endpoint': {'required': True}, 'marketplace_id': {'required': True}, 'seller_id': {'required': True}, 'access_key_id': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'connect_via': {'key': 'connectVia', 'type': 'IntegrationRuntimeReference'}, 'description': {'key': 'description', 'type': 'str'}, 'parameters': {'key': 'parameters', 'type': '{ParameterSpecification}'}, 'annotations': {'key': 'annotations', 'type': '[object]'}, 'endpoint': {'key': 'typeProperties.endpoint', 'type': 'object'}, 'marketplace_id': {'key': 'typeProperties.marketplaceID', 'type': 'object'}, 'seller_id': {'key': 'typeProperties.sellerID', 'type': 'object'}, 'mws_auth_token': {'key': 'typeProperties.mwsAuthToken', 'type': 'SecretBase'}, 'access_key_id': {'key': 'typeProperties.accessKeyId', 'type': 'object'}, 'secret_key': {'key': 'typeProperties.secretKey', 'type': 'SecretBase'}, 'use_encrypted_endpoints': {'key': 'typeProperties.useEncryptedEndpoints', 'type': 'object'}, 'use_host_verification': {'key': 'typeProperties.useHostVerification', 'type': 'object'}, 'use_peer_verification': {'key': 'typeProperties.usePeerVerification', 'type': 'object'}, 'encrypted_credential': {'key': 'typeProperties.encryptedCredential', 'type': 'object'}, } def __init__( self, *, endpoint: object, marketplace_id: object, seller_id: object, access_key_id: object, additional_properties: Optional[Dict[str, object]] = None, connect_via: Optional["IntegrationRuntimeReference"] = None, description: Optional[str] = None, parameters: Optional[Dict[str, "ParameterSpecification"]] = None, annotations: Optional[List[object]] = None, mws_auth_token: Optional["SecretBase"] = None, secret_key: Optional["SecretBase"] = None, use_encrypted_endpoints: Optional[object] = None, use_host_verification: Optional[object] = None, use_peer_verification: Optional[object] = None, encrypted_credential: Optional[object] = None, **kwargs ): super(AmazonMWSLinkedService, self).__init__(additional_properties=additional_properties, connect_via=connect_via, description=description, parameters=parameters, annotations=annotations, **kwargs) self.type = 'AmazonMWS' # type: str self.endpoint = endpoint self.marketplace_id = marketplace_id self.seller_id = seller_id self.mws_auth_token = mws_auth_token self.access_key_id = access_key_id self.secret_key = secret_key self.use_encrypted_endpoints = use_encrypted_endpoints self.use_host_verification = use_host_verification self.use_peer_verification = use_peer_verification self.encrypted_credential = encrypted_credential
[docs]class Dataset(msrest.serialization.Model): """The Azure Data Factory nested object which identifies data within different data stores, such as tables, files, folders, and documents. You probably want to use the sub-classes and not this class directly. Known sub-classes are: AmazonMWSObjectDataset, AmazonRedshiftTableDataset, AmazonS3Dataset, AvroDataset, AzureBlobDataset, AzureBlobFSDataset, AzureDataExplorerTableDataset, AzureDataLakeStoreDataset, AzureDatabricksDeltaLakeDataset, AzureMariaDBTableDataset, AzureMySqlTableDataset, AzurePostgreSqlTableDataset, AzureSearchIndexDataset, AzureSqlDWTableDataset, AzureSqlMITableDataset, AzureSqlTableDataset, AzureTableDataset, BinaryDataset, CassandraTableDataset, CommonDataServiceForAppsEntityDataset, ConcurObjectDataset, CosmosDbMongoDbApiCollectionDataset, CosmosDbSqlApiCollectionDataset, CouchbaseTableDataset, CustomDataset, Db2TableDataset, DelimitedTextDataset, DocumentDbCollectionDataset, DrillTableDataset, DynamicsAXResourceDataset, DynamicsCrmEntityDataset, DynamicsEntityDataset, EloquaObjectDataset, ExcelDataset, FileShareDataset, GoogleAdWordsObjectDataset, GoogleBigQueryObjectDataset, GreenplumTableDataset, HBaseObjectDataset, HiveObjectDataset, HttpDataset, HubspotObjectDataset, ImpalaObjectDataset, InformixTableDataset, JiraObjectDataset, JsonDataset, MagentoObjectDataset, MariaDBTableDataset, MarketoObjectDataset, MicrosoftAccessTableDataset, MongoDbAtlasCollectionDataset, MongoDbCollectionDataset, MongoDbV2CollectionDataset, MySqlTableDataset, NetezzaTableDataset, ODataResourceDataset, OdbcTableDataset, Office365Dataset, OracleServiceCloudObjectDataset, OracleTableDataset, OrcDataset, ParquetDataset, PaypalObjectDataset, PhoenixObjectDataset, PostgreSqlTableDataset, PrestoObjectDataset, QuickBooksObjectDataset, RelationalTableDataset, ResponsysObjectDataset, RestResourceDataset, SalesforceMarketingCloudObjectDataset, SalesforceObjectDataset, SalesforceServiceCloudObjectDataset, SapBwCubeDataset, SapCloudForCustomerResourceDataset, SapEccResourceDataset, SapHanaTableDataset, SapOpenHubTableDataset, SapTableResourceDataset, ServiceNowObjectDataset, SharePointOnlineListResourceDataset, ShopifyObjectDataset, SnowflakeDataset, SparkObjectDataset, SqlServerTableDataset, SquareObjectDataset, SybaseTableDataset, TeradataTableDataset, VerticaTableDataset, WebTableDataset, XeroObjectDataset, XmlDataset, ZohoObjectDataset. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Type of dataset.Constant filled by server. :type type: str :param description: Dataset description. :type description: str :param structure: Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. :type structure: object :param schema: Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. :type linked_service_name: ~azure.synapse.artifacts.models.LinkedServiceReference :param parameters: Parameters for dataset. :type parameters: dict[str, ~azure.synapse.artifacts.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. :type folder: ~azure.synapse.artifacts.models.DatasetFolder """ _validation = { 'type': {'required': True}, 'linked_service_name': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'description': {'key': 'description', 'type': 'str'}, 'structure': {'key': 'structure', 'type': 'object'}, 'schema': {'key': 'schema', 'type': 'object'}, 'linked_service_name': {'key': 'linkedServiceName', 'type': 'LinkedServiceReference'}, 'parameters': {'key': 'parameters', 'type': '{ParameterSpecification}'}, 'annotations': {'key': 'annotations', 'type': '[object]'}, 'folder': {'key': 'folder', 'type': 'DatasetFolder'}, } _subtype_map = { 'type': {'AmazonMWSObject': 'AmazonMWSObjectDataset', 'AmazonRedshiftTable': 'AmazonRedshiftTableDataset', 'AmazonS3Object': 'AmazonS3Dataset', 'Avro': 'AvroDataset', 'AzureBlob': 'AzureBlobDataset', 'AzureBlobFSFile': 'AzureBlobFSDataset', 'AzureDataExplorerTable': 'AzureDataExplorerTableDataset', 'AzureDataLakeStoreFile': 'AzureDataLakeStoreDataset', 'AzureDatabricksDeltaLakeDataset': 'AzureDatabricksDeltaLakeDataset', 'AzureMariaDBTable': 'AzureMariaDBTableDataset', 'AzureMySqlTable': 'AzureMySqlTableDataset', 'AzurePostgreSqlTable': 'AzurePostgreSqlTableDataset', 'AzureSearchIndex': 'AzureSearchIndexDataset', 'AzureSqlDWTable': 'AzureSqlDWTableDataset', 'AzureSqlMITable': 'AzureSqlMITableDataset', 'AzureSqlTable': 'AzureSqlTableDataset', 'AzureTable': 'AzureTableDataset', 'Binary': 'BinaryDataset', 'CassandraTable': 'CassandraTableDataset', 'CommonDataServiceForAppsEntity': 'CommonDataServiceForAppsEntityDataset', 'ConcurObject': 'ConcurObjectDataset', 'CosmosDbMongoDbApiCollection': 'CosmosDbMongoDbApiCollectionDataset', 'CosmosDbSqlApiCollection': 'CosmosDbSqlApiCollectionDataset', 'CouchbaseTable': 'CouchbaseTableDataset', 'CustomDataset': 'CustomDataset', 'Db2Table': 'Db2TableDataset', 'DelimitedText': 'DelimitedTextDataset', 'DocumentDbCollection': 'DocumentDbCollectionDataset', 'DrillTable': 'DrillTableDataset', 'DynamicsAXResource': 'DynamicsAXResourceDataset', 'DynamicsCrmEntity': 'DynamicsCrmEntityDataset', 'DynamicsEntity': 'DynamicsEntityDataset', 'EloquaObject': 'EloquaObjectDataset', 'Excel': 'ExcelDataset', 'FileShare': 'FileShareDataset', 'GoogleAdWordsObject': 'GoogleAdWordsObjectDataset', 'GoogleBigQueryObject': 'GoogleBigQueryObjectDataset', 'GreenplumTable': 'GreenplumTableDataset', 'HBaseObject': 'HBaseObjectDataset', 'HiveObject': 'HiveObjectDataset', 'HttpFile': 'HttpDataset', 'HubspotObject': 'HubspotObjectDataset', 'ImpalaObject': 'ImpalaObjectDataset', 'InformixTable': 'InformixTableDataset', 'JiraObject': 'JiraObjectDataset', 'Json': 'JsonDataset', 'MagentoObject': 'MagentoObjectDataset', 'MariaDBTable': 'MariaDBTableDataset', 'MarketoObject': 'MarketoObjectDataset', 'MicrosoftAccessTable': 'MicrosoftAccessTableDataset', 'MongoDbAtlasCollection': 'MongoDbAtlasCollectionDataset', 'MongoDbCollection': 'MongoDbCollectionDataset', 'MongoDbV2Collection': 'MongoDbV2CollectionDataset', 'MySqlTable': 'MySqlTableDataset', 'NetezzaTable': 'NetezzaTableDataset', 'ODataResource': 'ODataResourceDataset', 'OdbcTable': 'OdbcTableDataset', 'Office365Table': 'Office365Dataset', 'OracleServiceCloudObject': 'OracleServiceCloudObjectDataset', 'OracleTable': 'OracleTableDataset', 'Orc': 'OrcDataset', 'Parquet': 'ParquetDataset', 'PaypalObject': 'PaypalObjectDataset', 'PhoenixObject': 'PhoenixObjectDataset', 'PostgreSqlTable': 'PostgreSqlTableDataset', 'PrestoObject': 'PrestoObjectDataset', 'QuickBooksObject': 'QuickBooksObjectDataset', 'RelationalTable': 'RelationalTableDataset', 'ResponsysObject': 'ResponsysObjectDataset', 'RestResource': 'RestResourceDataset', 'SalesforceMarketingCloudObject': 'SalesforceMarketingCloudObjectDataset', 'SalesforceObject': 'SalesforceObjectDataset', 'SalesforceServiceCloudObject': 'SalesforceServiceCloudObjectDataset', 'SapBwCube': 'SapBwCubeDataset', 'SapCloudForCustomerResource': 'SapCloudForCustomerResourceDataset', 'SapEccResource': 'SapEccResourceDataset', 'SapHanaTable': 'SapHanaTableDataset', 'SapOpenHubTable': 'SapOpenHubTableDataset', 'SapTableResource': 'SapTableResourceDataset', 'ServiceNowObject': 'ServiceNowObjectDataset', 'SharePointOnlineListResource': 'SharePointOnlineListResourceDataset', 'ShopifyObject': 'ShopifyObjectDataset', 'SnowflakeTable': 'SnowflakeDataset', 'SparkObject': 'SparkObjectDataset', 'SqlServerTable': 'SqlServerTableDataset', 'SquareObject': 'SquareObjectDataset', 'SybaseTable': 'SybaseTableDataset', 'TeradataTable': 'TeradataTableDataset', 'VerticaTable': 'VerticaTableDataset', 'WebTable': 'WebTableDataset', 'XeroObject': 'XeroObjectDataset', 'Xml': 'XmlDataset', 'ZohoObject': 'ZohoObjectDataset'} } def __init__( self, *, linked_service_name: "LinkedServiceReference", additional_properties: Optional[Dict[str, object]] = None, description: Optional[str] = None, structure: Optional[object] = None, schema: Optional[object] = None, parameters: Optional[Dict[str, "ParameterSpecification"]] = None, annotations: Optional[List[object]] = None, folder: Optional["DatasetFolder"] = None, **kwargs ): super(Dataset, self).__init__(**kwargs) self.additional_properties = additional_properties self.type = 'Dataset' # type: str self.description = description self.structure = structure self.schema = schema self.linked_service_name = linked_service_name self.parameters = parameters self.annotations = annotations self.folder = folder
[docs]class AmazonMWSObjectDataset(Dataset): """Amazon Marketplace Web Service dataset. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Type of dataset.Constant filled by server. :type type: str :param description: Dataset description. :type description: str :param structure: Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. :type structure: object :param schema: Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. :type linked_service_name: ~azure.synapse.artifacts.models.LinkedServiceReference :param parameters: Parameters for dataset. :type parameters: dict[str, ~azure.synapse.artifacts.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. :type folder: ~azure.synapse.artifacts.models.DatasetFolder :param table_name: The table name. Type: string (or Expression with resultType string). :type table_name: object """ _validation = { 'type': {'required': True}, 'linked_service_name': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'description': {'key': 'description', 'type': 'str'}, 'structure': {'key': 'structure', 'type': 'object'}, 'schema': {'key': 'schema', 'type': 'object'}, 'linked_service_name': {'key': 'linkedServiceName', 'type': 'LinkedServiceReference'}, 'parameters': {'key': 'parameters', 'type': '{ParameterSpecification}'}, 'annotations': {'key': 'annotations', 'type': '[object]'}, 'folder': {'key': 'folder', 'type': 'DatasetFolder'}, 'table_name': {'key': 'typeProperties.tableName', 'type': 'object'}, } def __init__( self, *, linked_service_name: "LinkedServiceReference", additional_properties: Optional[Dict[str, object]] = None, description: Optional[str] = None, structure: Optional[object] = None, schema: Optional[object] = None, parameters: Optional[Dict[str, "ParameterSpecification"]] = None, annotations: Optional[List[object]] = None, folder: Optional["DatasetFolder"] = None, table_name: Optional[object] = None, **kwargs ): super(AmazonMWSObjectDataset, self).__init__(additional_properties=additional_properties, description=description, structure=structure, schema=schema, linked_service_name=linked_service_name, parameters=parameters, annotations=annotations, folder=folder, **kwargs) self.type = 'AmazonMWSObject' # type: str self.table_name = table_name
[docs]class CopySource(msrest.serialization.Model): """A copy activity source. You probably want to use the sub-classes and not this class directly. Known sub-classes are: AvroSource, AzureBlobFSSource, AzureDataExplorerSource, AzureDataLakeStoreSource, AzureDatabricksDeltaLakeSource, BinarySource, BlobSource, CommonDataServiceForAppsSource, CosmosDbMongoDbApiSource, CosmosDbSqlApiSource, DelimitedTextSource, DocumentDbCollectionSource, DynamicsCrmSource, DynamicsSource, ExcelSource, FileSystemSource, HdfsSource, HttpSource, JsonSource, MicrosoftAccessSource, MongoDbAtlasSource, MongoDbSource, MongoDbV2Source, ODataSource, Office365Source, OracleSource, OrcSource, ParquetSource, RelationalSource, RestSource, SalesforceServiceCloudSource, SharePointOnlineListSource, SnowflakeSource, TabularSource, WebSource, XmlSource. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Copy source type.Constant filled by server. :type type: str :param source_retry_count: Source retry count. Type: integer (or Expression with resultType integer). :type source_retry_count: object :param source_retry_wait: Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type source_retry_wait: object :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object """ _validation = { 'type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, } _subtype_map = { 'type': {'AvroSource': 'AvroSource', 'AzureBlobFSSource': 'AzureBlobFSSource', 'AzureDataExplorerSource': 'AzureDataExplorerSource', 'AzureDataLakeStoreSource': 'AzureDataLakeStoreSource', 'AzureDatabricksDeltaLakeSource': 'AzureDatabricksDeltaLakeSource', 'BinarySource': 'BinarySource', 'BlobSource': 'BlobSource', 'CommonDataServiceForAppsSource': 'CommonDataServiceForAppsSource', 'CosmosDbMongoDbApiSource': 'CosmosDbMongoDbApiSource', 'CosmosDbSqlApiSource': 'CosmosDbSqlApiSource', 'DelimitedTextSource': 'DelimitedTextSource', 'DocumentDbCollectionSource': 'DocumentDbCollectionSource', 'DynamicsCrmSource': 'DynamicsCrmSource', 'DynamicsSource': 'DynamicsSource', 'ExcelSource': 'ExcelSource', 'FileSystemSource': 'FileSystemSource', 'HdfsSource': 'HdfsSource', 'HttpSource': 'HttpSource', 'JsonSource': 'JsonSource', 'MicrosoftAccessSource': 'MicrosoftAccessSource', 'MongoDbAtlasSource': 'MongoDbAtlasSource', 'MongoDbSource': 'MongoDbSource', 'MongoDbV2Source': 'MongoDbV2Source', 'ODataSource': 'ODataSource', 'Office365Source': 'Office365Source', 'OracleSource': 'OracleSource', 'OrcSource': 'OrcSource', 'ParquetSource': 'ParquetSource', 'RelationalSource': 'RelationalSource', 'RestSource': 'RestSource', 'SalesforceServiceCloudSource': 'SalesforceServiceCloudSource', 'SharePointOnlineListSource': 'SharePointOnlineListSource', 'SnowflakeSource': 'SnowflakeSource', 'TabularSource': 'TabularSource', 'WebSource': 'WebSource', 'XmlSource': 'XmlSource'} } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, source_retry_count: Optional[object] = None, source_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, **kwargs ): super(CopySource, self).__init__(**kwargs) self.additional_properties = additional_properties self.type = 'CopySource' # type: str self.source_retry_count = source_retry_count self.source_retry_wait = source_retry_wait self.max_concurrent_connections = max_concurrent_connections
[docs]class TabularSource(CopySource): """Copy activity sources of tabular type. You probably want to use the sub-classes and not this class directly. Known sub-classes are: AmazonMWSSource, AmazonRedshiftSource, AzureMariaDBSource, AzureMySqlSource, AzurePostgreSqlSource, AzureSqlSource, AzureTableSource, CassandraSource, ConcurSource, CouchbaseSource, Db2Source, DrillSource, DynamicsAXSource, EloquaSource, GoogleAdWordsSource, GoogleBigQuerySource, GreenplumSource, HBaseSource, HiveSource, HubspotSource, ImpalaSource, InformixSource, JiraSource, MagentoSource, MariaDBSource, MarketoSource, MySqlSource, NetezzaSource, OdbcSource, OracleServiceCloudSource, PaypalSource, PhoenixSource, PostgreSqlSource, PrestoSource, QuickBooksSource, ResponsysSource, SalesforceMarketingCloudSource, SalesforceSource, SapBwSource, SapCloudForCustomerSource, SapEccSource, SapHanaSource, SapOpenHubSource, SapTableSource, ServiceNowSource, ShopifySource, SparkSource, SqlDWSource, SqlMISource, SqlServerSource, SqlSource, SquareSource, SybaseSource, TeradataSource, VerticaSource, XeroSource, ZohoSource. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Copy source type.Constant filled by server. :type type: str :param source_retry_count: Source retry count. Type: integer (or Expression with resultType integer). :type source_retry_count: object :param source_retry_wait: Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type source_retry_wait: object :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object :param query_timeout: Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type query_timeout: object :param additional_columns: Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects). :type additional_columns: list[~azure.synapse.artifacts.models.AdditionalColumns] """ _validation = { 'type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, } _subtype_map = { 'type': {'AmazonMWSSource': 'AmazonMWSSource', 'AmazonRedshiftSource': 'AmazonRedshiftSource', 'AzureMariaDBSource': 'AzureMariaDBSource', 'AzureMySqlSource': 'AzureMySqlSource', 'AzurePostgreSqlSource': 'AzurePostgreSqlSource', 'AzureSqlSource': 'AzureSqlSource', 'AzureTableSource': 'AzureTableSource', 'CassandraSource': 'CassandraSource', 'ConcurSource': 'ConcurSource', 'CouchbaseSource': 'CouchbaseSource', 'Db2Source': 'Db2Source', 'DrillSource': 'DrillSource', 'DynamicsAXSource': 'DynamicsAXSource', 'EloquaSource': 'EloquaSource', 'GoogleAdWordsSource': 'GoogleAdWordsSource', 'GoogleBigQuerySource': 'GoogleBigQuerySource', 'GreenplumSource': 'GreenplumSource', 'HBaseSource': 'HBaseSource', 'HiveSource': 'HiveSource', 'HubspotSource': 'HubspotSource', 'ImpalaSource': 'ImpalaSource', 'InformixSource': 'InformixSource', 'JiraSource': 'JiraSource', 'MagentoSource': 'MagentoSource', 'MariaDBSource': 'MariaDBSource', 'MarketoSource': 'MarketoSource', 'MySqlSource': 'MySqlSource', 'NetezzaSource': 'NetezzaSource', 'OdbcSource': 'OdbcSource', 'OracleServiceCloudSource': 'OracleServiceCloudSource', 'PaypalSource': 'PaypalSource', 'PhoenixSource': 'PhoenixSource', 'PostgreSqlSource': 'PostgreSqlSource', 'PrestoSource': 'PrestoSource', 'QuickBooksSource': 'QuickBooksSource', 'ResponsysSource': 'ResponsysSource', 'SalesforceMarketingCloudSource': 'SalesforceMarketingCloudSource', 'SalesforceSource': 'SalesforceSource', 'SapBwSource': 'SapBwSource', 'SapCloudForCustomerSource': 'SapCloudForCustomerSource', 'SapEccSource': 'SapEccSource', 'SapHanaSource': 'SapHanaSource', 'SapOpenHubSource': 'SapOpenHubSource', 'SapTableSource': 'SapTableSource', 'ServiceNowSource': 'ServiceNowSource', 'ShopifySource': 'ShopifySource', 'SparkSource': 'SparkSource', 'SqlDWSource': 'SqlDWSource', 'SqlMISource': 'SqlMISource', 'SqlServerSource': 'SqlServerSource', 'SqlSource': 'SqlSource', 'SquareSource': 'SquareSource', 'SybaseSource': 'SybaseSource', 'TeradataSource': 'TeradataSource', 'VerticaSource': 'VerticaSource', 'XeroSource': 'XeroSource', 'ZohoSource': 'ZohoSource'} } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, source_retry_count: Optional[object] = None, source_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, query_timeout: Optional[object] = None, additional_columns: Optional[List["AdditionalColumns"]] = None, **kwargs ): super(TabularSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, **kwargs) self.type = 'TabularSource' # type: str self.query_timeout = query_timeout self.additional_columns = additional_columns
[docs]class AmazonMWSSource(TabularSource): """A copy activity Amazon Marketplace Web Service source. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Copy source type.Constant filled by server. :type type: str :param source_retry_count: Source retry count. Type: integer (or Expression with resultType integer). :type source_retry_count: object :param source_retry_wait: Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type source_retry_wait: object :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object :param query_timeout: Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type query_timeout: object :param additional_columns: Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects). :type additional_columns: list[~azure.synapse.artifacts.models.AdditionalColumns] :param query: A query to retrieve data from source. Type: string (or Expression with resultType string). :type query: object """ _validation = { 'type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, 'query': {'key': 'query', 'type': 'object'}, } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, source_retry_count: Optional[object] = None, source_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, query_timeout: Optional[object] = None, additional_columns: Optional[List["AdditionalColumns"]] = None, query: Optional[object] = None, **kwargs ): super(AmazonMWSSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, query_timeout=query_timeout, additional_columns=additional_columns, **kwargs) self.type = 'AmazonMWSSource' # type: str self.query = query
[docs]class AmazonRedshiftLinkedService(LinkedService): """Linked service for Amazon Redshift. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. :type connect_via: ~azure.synapse.artifacts.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. :type parameters: dict[str, ~azure.synapse.artifacts.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param server: Required. The name of the Amazon Redshift server. Type: string (or Expression with resultType string). :type server: object :param username: The username of the Amazon Redshift source. Type: string (or Expression with resultType string). :type username: object :param password: The password of the Amazon Redshift source. :type password: ~azure.synapse.artifacts.models.SecretBase :param database: Required. The database name of the Amazon Redshift source. Type: string (or Expression with resultType string). :type database: object :param port: The TCP port number that the Amazon Redshift server uses to listen for client connections. The default value is 5439. Type: integer (or Expression with resultType integer). :type port: 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). :type encrypted_credential: object """ _validation = { 'type': {'required': True}, 'server': {'required': True}, 'database': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'connect_via': {'key': 'connectVia', 'type': 'IntegrationRuntimeReference'}, 'description': {'key': 'description', 'type': 'str'}, 'parameters': {'key': 'parameters', 'type': '{ParameterSpecification}'}, 'annotations': {'key': 'annotations', 'type': '[object]'}, 'server': {'key': 'typeProperties.server', 'type': 'object'}, 'username': {'key': 'typeProperties.username', 'type': 'object'}, 'password': {'key': 'typeProperties.password', 'type': 'SecretBase'}, 'database': {'key': 'typeProperties.database', 'type': 'object'}, 'port': {'key': 'typeProperties.port', 'type': 'object'}, 'encrypted_credential': {'key': 'typeProperties.encryptedCredential', 'type': 'object'}, } def __init__( self, *, server: object, database: object, additional_properties: Optional[Dict[str, object]] = None, connect_via: Optional["IntegrationRuntimeReference"] = None, description: Optional[str] = None, parameters: Optional[Dict[str, "ParameterSpecification"]] = None, annotations: Optional[List[object]] = None, username: Optional[object] = None, password: Optional["SecretBase"] = None, port: Optional[object] = None, encrypted_credential: Optional[object] = None, **kwargs ): super(AmazonRedshiftLinkedService, self).__init__(additional_properties=additional_properties, connect_via=connect_via, description=description, parameters=parameters, annotations=annotations, **kwargs) self.type = 'AmazonRedshift' # type: str self.server = server self.username = username self.password = password self.database = database self.port = port self.encrypted_credential = encrypted_credential
[docs]class AmazonRedshiftSource(TabularSource): """A copy activity source for Amazon Redshift Source. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Copy source type.Constant filled by server. :type type: str :param source_retry_count: Source retry count. Type: integer (or Expression with resultType integer). :type source_retry_count: object :param source_retry_wait: Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type source_retry_wait: object :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object :param query_timeout: Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type query_timeout: object :param additional_columns: Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects). :type additional_columns: list[~azure.synapse.artifacts.models.AdditionalColumns] :param query: Database query. Type: string (or Expression with resultType string). :type query: object :param redshift_unload_settings: The Amazon S3 settings needed for the interim Amazon S3 when copying from Amazon Redshift with unload. With this, data from Amazon Redshift source will be unloaded into S3 first and then copied into the targeted sink from the interim S3. :type redshift_unload_settings: ~azure.synapse.artifacts.models.RedshiftUnloadSettings """ _validation = { 'type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, 'query': {'key': 'query', 'type': 'object'}, 'redshift_unload_settings': {'key': 'redshiftUnloadSettings', 'type': 'RedshiftUnloadSettings'}, } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, source_retry_count: Optional[object] = None, source_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, query_timeout: Optional[object] = None, additional_columns: Optional[List["AdditionalColumns"]] = None, query: Optional[object] = None, redshift_unload_settings: Optional["RedshiftUnloadSettings"] = None, **kwargs ): super(AmazonRedshiftSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, query_timeout=query_timeout, additional_columns=additional_columns, **kwargs) self.type = 'AmazonRedshiftSource' # type: str self.query = query self.redshift_unload_settings = redshift_unload_settings
[docs]class AmazonRedshiftTableDataset(Dataset): """The Amazon Redshift table dataset. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Type of dataset.Constant filled by server. :type type: str :param description: Dataset description. :type description: str :param structure: Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. :type structure: object :param schema: Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. :type linked_service_name: ~azure.synapse.artifacts.models.LinkedServiceReference :param parameters: Parameters for dataset. :type parameters: dict[str, ~azure.synapse.artifacts.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. :type folder: ~azure.synapse.artifacts.models.DatasetFolder :param table_name: This property will be retired. Please consider using schema + table properties instead. :type table_name: object :param table: The Amazon Redshift table name. Type: string (or Expression with resultType string). :type table: object :param schema_type_properties_schema: The Amazon Redshift schema name. Type: string (or Expression with resultType string). :type schema_type_properties_schema: object """ _validation = { 'type': {'required': True}, 'linked_service_name': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'description': {'key': 'description', 'type': 'str'}, 'structure': {'key': 'structure', 'type': 'object'}, 'schema': {'key': 'schema', 'type': 'object'}, 'linked_service_name': {'key': 'linkedServiceName', 'type': 'LinkedServiceReference'}, 'parameters': {'key': 'parameters', 'type': '{ParameterSpecification}'}, 'annotations': {'key': 'annotations', 'type': '[object]'}, 'folder': {'key': 'folder', 'type': 'DatasetFolder'}, 'table_name': {'key': 'typeProperties.tableName', 'type': 'object'}, 'table': {'key': 'typeProperties.table', 'type': 'object'}, 'schema_type_properties_schema': {'key': 'typeProperties.schema', 'type': 'object'}, } def __init__( self, *, linked_service_name: "LinkedServiceReference", additional_properties: Optional[Dict[str, object]] = None, description: Optional[str] = None, structure: Optional[object] = None, schema: Optional[object] = None, parameters: Optional[Dict[str, "ParameterSpecification"]] = None, annotations: Optional[List[object]] = None, folder: Optional["DatasetFolder"] = None, table_name: Optional[object] = None, table: Optional[object] = None, schema_type_properties_schema: Optional[object] = None, **kwargs ): super(AmazonRedshiftTableDataset, self).__init__(additional_properties=additional_properties, description=description, structure=structure, schema=schema, linked_service_name=linked_service_name, parameters=parameters, annotations=annotations, folder=folder, **kwargs) self.type = 'AmazonRedshiftTable' # type: str self.table_name = table_name self.table = table self.schema_type_properties_schema = schema_type_properties_schema
[docs]class AmazonS3Dataset(Dataset): """A single Amazon Simple Storage Service (S3) object or a set of S3 objects. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Type of dataset.Constant filled by server. :type type: str :param description: Dataset description. :type description: str :param structure: Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. :type structure: object :param schema: Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. :type linked_service_name: ~azure.synapse.artifacts.models.LinkedServiceReference :param parameters: Parameters for dataset. :type parameters: dict[str, ~azure.synapse.artifacts.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. :type folder: ~azure.synapse.artifacts.models.DatasetFolder :param bucket_name: Required. The name of the Amazon S3 bucket. Type: string (or Expression with resultType string). :type bucket_name: object :param key: The key of the Amazon S3 object. Type: string (or Expression with resultType string). :type key: object :param prefix: The prefix filter for the S3 object name. Type: string (or Expression with resultType string). :type prefix: object :param version: The version for the S3 object. Type: string (or Expression with resultType string). :type version: object :param modified_datetime_start: The start of S3 object's modified datetime. Type: string (or Expression with resultType string). :type modified_datetime_start: object :param modified_datetime_end: The end of S3 object's modified datetime. Type: string (or Expression with resultType string). :type modified_datetime_end: object :param format: The format of files. :type format: ~azure.synapse.artifacts.models.DatasetStorageFormat :param compression: The data compression method used for the Amazon S3 object. :type compression: ~azure.synapse.artifacts.models.DatasetCompression """ _validation = { 'type': {'required': True}, 'linked_service_name': {'required': True}, 'bucket_name': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'description': {'key': 'description', 'type': 'str'}, 'structure': {'key': 'structure', 'type': 'object'}, 'schema': {'key': 'schema', 'type': 'object'}, 'linked_service_name': {'key': 'linkedServiceName', 'type': 'LinkedServiceReference'}, 'parameters': {'key': 'parameters', 'type': '{ParameterSpecification}'}, 'annotations': {'key': 'annotations', 'type': '[object]'}, 'folder': {'key': 'folder', 'type': 'DatasetFolder'}, 'bucket_name': {'key': 'typeProperties.bucketName', 'type': 'object'}, 'key': {'key': 'typeProperties.key', 'type': 'object'}, 'prefix': {'key': 'typeProperties.prefix', 'type': 'object'}, 'version': {'key': 'typeProperties.version', 'type': 'object'}, 'modified_datetime_start': {'key': 'typeProperties.modifiedDatetimeStart', 'type': 'object'}, 'modified_datetime_end': {'key': 'typeProperties.modifiedDatetimeEnd', 'type': 'object'}, 'format': {'key': 'typeProperties.format', 'type': 'DatasetStorageFormat'}, 'compression': {'key': 'typeProperties.compression', 'type': 'DatasetCompression'}, } def __init__( self, *, linked_service_name: "LinkedServiceReference", bucket_name: object, additional_properties: Optional[Dict[str, object]] = None, description: Optional[str] = None, structure: Optional[object] = None, schema: Optional[object] = None, parameters: Optional[Dict[str, "ParameterSpecification"]] = None, annotations: Optional[List[object]] = None, folder: Optional["DatasetFolder"] = None, key: Optional[object] = None, prefix: Optional[object] = None, version: Optional[object] = None, modified_datetime_start: Optional[object] = None, modified_datetime_end: Optional[object] = None, format: Optional["DatasetStorageFormat"] = None, compression: Optional["DatasetCompression"] = None, **kwargs ): super(AmazonS3Dataset, self).__init__(additional_properties=additional_properties, description=description, structure=structure, schema=schema, linked_service_name=linked_service_name, parameters=parameters, annotations=annotations, folder=folder, **kwargs) self.type = 'AmazonS3Object' # type: str self.bucket_name = bucket_name self.key = key self.prefix = prefix self.version = version self.modified_datetime_start = modified_datetime_start self.modified_datetime_end = modified_datetime_end self.format = format self.compression = compression
[docs]class AmazonS3LinkedService(LinkedService): """Linked service for Amazon S3. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. :type connect_via: ~azure.synapse.artifacts.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. :type parameters: dict[str, ~azure.synapse.artifacts.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param authentication_type: The authentication type of S3. Allowed value: AccessKey (default) or TemporarySecurityCredentials. Type: string (or Expression with resultType string). :type authentication_type: object :param access_key_id: The access key identifier of the Amazon S3 Identity and Access Management (IAM) user. Type: string (or Expression with resultType string). :type access_key_id: object :param secret_access_key: The secret access key of the Amazon S3 Identity and Access Management (IAM) user. :type secret_access_key: ~azure.synapse.artifacts.models.SecretBase :param service_url: This value specifies the endpoint to access with the S3 Connector. This is an optional property; change it only if you want to try a different service endpoint or want to switch between https and http. Type: string (or Expression with resultType string). :type service_url: object :param session_token: The session token for the S3 temporary security credential. :type session_token: ~azure.synapse.artifacts.models.SecretBase :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). :type encrypted_credential: object """ _validation = { 'type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'connect_via': {'key': 'connectVia', 'type': 'IntegrationRuntimeReference'}, 'description': {'key': 'description', 'type': 'str'}, 'parameters': {'key': 'parameters', 'type': '{ParameterSpecification}'}, 'annotations': {'key': 'annotations', 'type': '[object]'}, 'authentication_type': {'key': 'typeProperties.authenticationType', 'type': 'object'}, 'access_key_id': {'key': 'typeProperties.accessKeyId', 'type': 'object'}, 'secret_access_key': {'key': 'typeProperties.secretAccessKey', 'type': 'SecretBase'}, 'service_url': {'key': 'typeProperties.serviceUrl', 'type': 'object'}, 'session_token': {'key': 'typeProperties.sessionToken', 'type': 'SecretBase'}, 'encrypted_credential': {'key': 'typeProperties.encryptedCredential', 'type': 'object'}, } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, connect_via: Optional["IntegrationRuntimeReference"] = None, description: Optional[str] = None, parameters: Optional[Dict[str, "ParameterSpecification"]] = None, annotations: Optional[List[object]] = None, authentication_type: Optional[object] = None, access_key_id: Optional[object] = None, secret_access_key: Optional["SecretBase"] = None, service_url: Optional[object] = None, session_token: Optional["SecretBase"] = None, encrypted_credential: Optional[object] = None, **kwargs ): super(AmazonS3LinkedService, self).__init__(additional_properties=additional_properties, connect_via=connect_via, description=description, parameters=parameters, annotations=annotations, **kwargs) self.type = 'AmazonS3' # type: str self.authentication_type = authentication_type self.access_key_id = access_key_id self.secret_access_key = secret_access_key self.service_url = service_url self.session_token = session_token self.encrypted_credential = encrypted_credential
[docs]class DatasetLocation(msrest.serialization.Model): """Dataset location. You probably want to use the sub-classes and not this class directly. Known sub-classes are: AmazonS3Location, AzureBlobFSLocation, AzureBlobStorageLocation, AzureDataLakeStoreLocation, AzureFileStorageLocation, FileServerLocation, FtpServerLocation, GoogleCloudStorageLocation, HdfsLocation, HttpServerLocation, SftpLocation. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Type of dataset storage location.Constant filled by server. :type type: str :param folder_path: Specify the folder path of dataset. Type: string (or Expression with resultType string). :type folder_path: object :param file_name: Specify the file name of dataset. Type: string (or Expression with resultType string). :type file_name: object """ _validation = { 'type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'folder_path': {'key': 'folderPath', 'type': 'object'}, 'file_name': {'key': 'fileName', 'type': 'object'}, } _subtype_map = { 'type': {'AmazonS3Location': 'AmazonS3Location', 'AzureBlobFSLocation': 'AzureBlobFSLocation', 'AzureBlobStorageLocation': 'AzureBlobStorageLocation', 'AzureDataLakeStoreLocation': 'AzureDataLakeStoreLocation', 'AzureFileStorageLocation': 'AzureFileStorageLocation', 'FileServerLocation': 'FileServerLocation', 'FtpServerLocation': 'FtpServerLocation', 'GoogleCloudStorageLocation': 'GoogleCloudStorageLocation', 'HdfsLocation': 'HdfsLocation', 'HttpServerLocation': 'HttpServerLocation', 'SftpLocation': 'SftpLocation'} } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, folder_path: Optional[object] = None, file_name: Optional[object] = None, **kwargs ): super(DatasetLocation, self).__init__(**kwargs) self.additional_properties = additional_properties self.type = 'DatasetLocation' # type: str self.folder_path = folder_path self.file_name = file_name
[docs]class AmazonS3Location(DatasetLocation): """The location of amazon S3 dataset. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Type of dataset storage location.Constant filled by server. :type type: str :param folder_path: Specify the folder path of dataset. Type: string (or Expression with resultType string). :type folder_path: object :param file_name: Specify the file name of dataset. Type: string (or Expression with resultType string). :type file_name: object :param bucket_name: Specify the bucketName of amazon S3. Type: string (or Expression with resultType string). :type bucket_name: object :param version: Specify the version of amazon S3. Type: string (or Expression with resultType string). :type version: object """ _validation = { 'type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'folder_path': {'key': 'folderPath', 'type': 'object'}, 'file_name': {'key': 'fileName', 'type': 'object'}, 'bucket_name': {'key': 'bucketName', 'type': 'object'}, 'version': {'key': 'version', 'type': 'object'}, } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, folder_path: Optional[object] = None, file_name: Optional[object] = None, bucket_name: Optional[object] = None, version: Optional[object] = None, **kwargs ): super(AmazonS3Location, self).__init__(additional_properties=additional_properties, folder_path=folder_path, file_name=file_name, **kwargs) self.type = 'AmazonS3Location' # type: str self.bucket_name = bucket_name self.version = version
[docs]class StoreReadSettings(msrest.serialization.Model): """Connector read setting. You probably want to use the sub-classes and not this class directly. Known sub-classes are: AmazonS3ReadSettings, AzureBlobFSReadSettings, AzureBlobStorageReadSettings, AzureDataLakeStoreReadSettings, AzureFileStorageReadSettings, FileServerReadSettings, FtpReadSettings, GoogleCloudStorageReadSettings, HdfsReadSettings, HttpReadSettings, SftpReadSettings. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. The read setting type.Constant filled by server. :type type: str :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object """ _validation = { 'type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, } _subtype_map = { 'type': {'AmazonS3ReadSettings': 'AmazonS3ReadSettings', 'AzureBlobFSReadSettings': 'AzureBlobFSReadSettings', 'AzureBlobStorageReadSettings': 'AzureBlobStorageReadSettings', 'AzureDataLakeStoreReadSettings': 'AzureDataLakeStoreReadSettings', 'AzureFileStorageReadSettings': 'AzureFileStorageReadSettings', 'FileServerReadSettings': 'FileServerReadSettings', 'FtpReadSettings': 'FtpReadSettings', 'GoogleCloudStorageReadSettings': 'GoogleCloudStorageReadSettings', 'HdfsReadSettings': 'HdfsReadSettings', 'HttpReadSettings': 'HttpReadSettings', 'SftpReadSettings': 'SftpReadSettings'} } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, max_concurrent_connections: Optional[object] = None, **kwargs ): super(StoreReadSettings, self).__init__(**kwargs) self.additional_properties = additional_properties self.type = 'StoreReadSettings' # type: str self.max_concurrent_connections = max_concurrent_connections
[docs]class AmazonS3ReadSettings(StoreReadSettings): """Azure data lake store read settings. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. The read setting type.Constant filled by server. :type type: str :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object :param recursive: If true, files under the folder path will be read recursively. Default is true. Type: boolean (or Expression with resultType boolean). :type recursive: object :param wildcard_folder_path: AmazonS3 wildcardFolderPath. Type: string (or Expression with resultType string). :type wildcard_folder_path: object :param wildcard_file_name: AmazonS3 wildcardFileName. Type: string (or Expression with resultType string). :type wildcard_file_name: object :param prefix: The prefix filter for the S3 object name. Type: string (or Expression with resultType string). :type prefix: object :param file_list_path: Point to a text file that lists each file (relative path to the path configured in the dataset) that you want to copy. Type: string (or Expression with resultType string). :type file_list_path: object :param enable_partition_discovery: Indicates whether to enable partition discovery. :type enable_partition_discovery: bool :param partition_root_path: Specify the root path where partition discovery starts from. Type: string (or Expression with resultType string). :type partition_root_path: object :param delete_files_after_completion: Indicates whether the source files need to be deleted after copy completion. Default is false. Type: boolean (or Expression with resultType boolean). :type delete_files_after_completion: object :param modified_datetime_start: The start of file's modified datetime. Type: string (or Expression with resultType string). :type modified_datetime_start: object :param modified_datetime_end: The end of file's modified datetime. Type: string (or Expression with resultType string). :type modified_datetime_end: object """ _validation = { 'type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'recursive': {'key': 'recursive', 'type': 'object'}, 'wildcard_folder_path': {'key': 'wildcardFolderPath', 'type': 'object'}, 'wildcard_file_name': {'key': 'wildcardFileName', 'type': 'object'}, 'prefix': {'key': 'prefix', 'type': 'object'}, 'file_list_path': {'key': 'fileListPath', 'type': 'object'}, 'enable_partition_discovery': {'key': 'enablePartitionDiscovery', 'type': 'bool'}, 'partition_root_path': {'key': 'partitionRootPath', 'type': 'object'}, 'delete_files_after_completion': {'key': 'deleteFilesAfterCompletion', 'type': 'object'}, 'modified_datetime_start': {'key': 'modifiedDatetimeStart', 'type': 'object'}, 'modified_datetime_end': {'key': 'modifiedDatetimeEnd', 'type': 'object'}, } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, max_concurrent_connections: Optional[object] = None, recursive: Optional[object] = None, wildcard_folder_path: Optional[object] = None, wildcard_file_name: Optional[object] = None, prefix: Optional[object] = None, file_list_path: Optional[object] = None, enable_partition_discovery: Optional[bool] = None, partition_root_path: Optional[object] = None, delete_files_after_completion: Optional[object] = None, modified_datetime_start: Optional[object] = None, modified_datetime_end: Optional[object] = None, **kwargs ): super(AmazonS3ReadSettings, self).__init__(additional_properties=additional_properties, max_concurrent_connections=max_concurrent_connections, **kwargs) self.type = 'AmazonS3ReadSettings' # type: str self.recursive = recursive self.wildcard_folder_path = wildcard_folder_path self.wildcard_file_name = wildcard_file_name self.prefix = prefix self.file_list_path = file_list_path self.enable_partition_discovery = enable_partition_discovery self.partition_root_path = partition_root_path self.delete_files_after_completion = delete_files_after_completion self.modified_datetime_start = modified_datetime_start self.modified_datetime_end = modified_datetime_end
[docs]class ControlActivity(Activity): """Base class for all control activities like IfCondition, ForEach , Until. You probably want to use the sub-classes and not this class directly. Known sub-classes are: AppendVariableActivity, ExecutePipelineActivity, FilterActivity, ForEachActivity, IfConditionActivity, SetVariableActivity, SwitchActivity, UntilActivity, ValidationActivity, WaitActivity, WebHookActivity. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param name: Required. Activity name. :type name: str :param type: Required. Type of activity.Constant filled by server. :type type: str :param description: Activity description. :type description: str :param depends_on: Activity depends on condition. :type depends_on: list[~azure.synapse.artifacts.models.ActivityDependency] :param user_properties: Activity user properties. :type user_properties: list[~azure.synapse.artifacts.models.UserProperty] """ _validation = { 'name': {'required': True}, 'type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'name': {'key': 'name', 'type': 'str'}, 'type': {'key': 'type', 'type': 'str'}, 'description': {'key': 'description', 'type': 'str'}, 'depends_on': {'key': 'dependsOn', 'type': '[ActivityDependency]'}, 'user_properties': {'key': 'userProperties', 'type': '[UserProperty]'}, } _subtype_map = { 'type': {'AppendVariable': 'AppendVariableActivity', 'ExecutePipeline': 'ExecutePipelineActivity', 'Filter': 'FilterActivity', 'ForEach': 'ForEachActivity', 'IfCondition': 'IfConditionActivity', 'SetVariable': 'SetVariableActivity', 'Switch': 'SwitchActivity', 'Until': 'UntilActivity', 'Validation': 'ValidationActivity', 'Wait': 'WaitActivity', 'WebHook': 'WebHookActivity'} } def __init__( self, *, name: str, additional_properties: Optional[Dict[str, object]] = None, description: Optional[str] = None, depends_on: Optional[List["ActivityDependency"]] = None, user_properties: Optional[List["UserProperty"]] = None, **kwargs ): super(ControlActivity, self).__init__(additional_properties=additional_properties, name=name, description=description, depends_on=depends_on, user_properties=user_properties, **kwargs) self.type = 'Container' # type: str
[docs]class AppendVariableActivity(ControlActivity): """Append value for a Variable of type Array. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param name: Required. Activity name. :type name: str :param type: Required. Type of activity.Constant filled by server. :type type: str :param description: Activity description. :type description: str :param depends_on: Activity depends on condition. :type depends_on: list[~azure.synapse.artifacts.models.ActivityDependency] :param user_properties: Activity user properties. :type user_properties: list[~azure.synapse.artifacts.models.UserProperty] :param variable_name: Name of the variable whose value needs to be appended to. :type variable_name: str :param value: Value to be appended. Could be a static value or Expression. :type value: object """ _validation = { 'name': {'required': True}, 'type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'name': {'key': 'name', 'type': 'str'}, 'type': {'key': 'type', 'type': 'str'}, 'description': {'key': 'description', 'type': 'str'}, 'depends_on': {'key': 'dependsOn', 'type': '[ActivityDependency]'}, 'user_properties': {'key': 'userProperties', 'type': '[UserProperty]'}, 'variable_name': {'key': 'typeProperties.variableName', 'type': 'str'}, 'value': {'key': 'typeProperties.value', 'type': 'object'}, } def __init__( self, *, name: str, additional_properties: Optional[Dict[str, object]] = None, description: Optional[str] = None, depends_on: Optional[List["ActivityDependency"]] = None, user_properties: Optional[List["UserProperty"]] = None, variable_name: Optional[str] = None, value: Optional[object] = None, **kwargs ): super(AppendVariableActivity, self).__init__(additional_properties=additional_properties, name=name, description=description, depends_on=depends_on, user_properties=user_properties, **kwargs) self.type = 'AppendVariable' # type: str self.variable_name = variable_name self.value = value
[docs]class ArtifactRenameRequest(msrest.serialization.Model): """Request body structure for rename artifact. :param new_name: New name of the artifact. :type new_name: str """ _validation = { 'new_name': {'max_length': 260, 'min_length': 1, 'pattern': r'^[A-Za-z0-9_][^<>*#.%&:\\+?/]*$'}, } _attribute_map = { 'new_name': {'key': 'newName', 'type': 'str'}, } def __init__( self, *, new_name: Optional[str] = None, **kwargs ): super(ArtifactRenameRequest, self).__init__(**kwargs) self.new_name = new_name
[docs]class AutoPauseProperties(msrest.serialization.Model): """Auto-pausing properties of a Big Data pool powered by Apache Spark. :param delay_in_minutes: Number of minutes of idle time before the Big Data pool is automatically paused. :type delay_in_minutes: int :param enabled: Whether auto-pausing is enabled for the Big Data pool. :type enabled: bool """ _attribute_map = { 'delay_in_minutes': {'key': 'delayInMinutes', 'type': 'int'}, 'enabled': {'key': 'enabled', 'type': 'bool'}, } def __init__( self, *, delay_in_minutes: Optional[int] = None, enabled: Optional[bool] = None, **kwargs ): super(AutoPauseProperties, self).__init__(**kwargs) self.delay_in_minutes = delay_in_minutes self.enabled = enabled
[docs]class AutoScaleProperties(msrest.serialization.Model): """Auto-scaling properties of a Big Data pool powered by Apache Spark. :param min_node_count: The minimum number of nodes the Big Data pool can support. :type min_node_count: int :param enabled: Whether automatic scaling is enabled for the Big Data pool. :type enabled: bool :param max_node_count: The maximum number of nodes the Big Data pool can support. :type max_node_count: int """ _attribute_map = { 'min_node_count': {'key': 'minNodeCount', 'type': 'int'}, 'enabled': {'key': 'enabled', 'type': 'bool'}, 'max_node_count': {'key': 'maxNodeCount', 'type': 'int'}, } def __init__( self, *, min_node_count: Optional[int] = None, enabled: Optional[bool] = None, max_node_count: Optional[int] = None, **kwargs ): super(AutoScaleProperties, self).__init__(**kwargs) self.min_node_count = min_node_count self.enabled = enabled self.max_node_count = max_node_count
[docs]class AvroDataset(Dataset): """Avro dataset. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Type of dataset.Constant filled by server. :type type: str :param description: Dataset description. :type description: str :param structure: Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. :type structure: object :param schema: Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. :type linked_service_name: ~azure.synapse.artifacts.models.LinkedServiceReference :param parameters: Parameters for dataset. :type parameters: dict[str, ~azure.synapse.artifacts.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. :type folder: ~azure.synapse.artifacts.models.DatasetFolder :param location: The location of the avro storage. :type location: ~azure.synapse.artifacts.models.DatasetLocation :param avro_compression_codec: A string from AvroCompressionCodecEnum or an expression. :type avro_compression_codec: object :param avro_compression_level: :type avro_compression_level: int """ _validation = { 'type': {'required': True}, 'linked_service_name': {'required': True}, 'avro_compression_level': {'maximum': 9, 'minimum': 1}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'description': {'key': 'description', 'type': 'str'}, 'structure': {'key': 'structure', 'type': 'object'}, 'schema': {'key': 'schema', 'type': 'object'}, 'linked_service_name': {'key': 'linkedServiceName', 'type': 'LinkedServiceReference'}, 'parameters': {'key': 'parameters', 'type': '{ParameterSpecification}'}, 'annotations': {'key': 'annotations', 'type': '[object]'}, 'folder': {'key': 'folder', 'type': 'DatasetFolder'}, 'location': {'key': 'typeProperties.location', 'type': 'DatasetLocation'}, 'avro_compression_codec': {'key': 'typeProperties.avroCompressionCodec', 'type': 'object'}, 'avro_compression_level': {'key': 'typeProperties.avroCompressionLevel', 'type': 'int'}, } def __init__( self, *, linked_service_name: "LinkedServiceReference", additional_properties: Optional[Dict[str, object]] = None, description: Optional[str] = None, structure: Optional[object] = None, schema: Optional[object] = None, parameters: Optional[Dict[str, "ParameterSpecification"]] = None, annotations: Optional[List[object]] = None, folder: Optional["DatasetFolder"] = None, location: Optional["DatasetLocation"] = None, avro_compression_codec: Optional[object] = None, avro_compression_level: Optional[int] = None, **kwargs ): super(AvroDataset, self).__init__(additional_properties=additional_properties, description=description, structure=structure, schema=schema, linked_service_name=linked_service_name, parameters=parameters, annotations=annotations, folder=folder, **kwargs) self.type = 'Avro' # type: str self.location = location self.avro_compression_codec = avro_compression_codec self.avro_compression_level = avro_compression_level
[docs]class DatasetStorageFormat(msrest.serialization.Model): """The format definition of a storage. You probably want to use the sub-classes and not this class directly. Known sub-classes are: AvroFormat, JsonFormat, OrcFormat, ParquetFormat, TextFormat. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Type of dataset storage format.Constant filled by server. :type type: str :param serializer: Serializer. Type: string (or Expression with resultType string). :type serializer: object :param deserializer: Deserializer. Type: string (or Expression with resultType string). :type deserializer: object """ _validation = { 'type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'serializer': {'key': 'serializer', 'type': 'object'}, 'deserializer': {'key': 'deserializer', 'type': 'object'}, } _subtype_map = { 'type': {'AvroFormat': 'AvroFormat', 'JsonFormat': 'JsonFormat', 'OrcFormat': 'OrcFormat', 'ParquetFormat': 'ParquetFormat', 'TextFormat': 'TextFormat'} } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, serializer: Optional[object] = None, deserializer: Optional[object] = None, **kwargs ): super(DatasetStorageFormat, self).__init__(**kwargs) self.additional_properties = additional_properties self.type = 'DatasetStorageFormat' # type: str self.serializer = serializer self.deserializer = deserializer
[docs]class AvroFormat(DatasetStorageFormat): """The data stored in Avro format. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Type of dataset storage format.Constant filled by server. :type type: str :param serializer: Serializer. Type: string (or Expression with resultType string). :type serializer: object :param deserializer: Deserializer. Type: string (or Expression with resultType string). :type deserializer: object """ _validation = { 'type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'serializer': {'key': 'serializer', 'type': 'object'}, 'deserializer': {'key': 'deserializer', 'type': 'object'}, } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, serializer: Optional[object] = None, deserializer: Optional[object] = None, **kwargs ): super(AvroFormat, self).__init__(additional_properties=additional_properties, serializer=serializer, deserializer=deserializer, **kwargs) self.type = 'AvroFormat' # type: str
[docs]class CopySink(msrest.serialization.Model): """A copy activity sink. You probably want to use the sub-classes and not this class directly. Known sub-classes are: AvroSink, AzureBlobFSSink, AzureDataExplorerSink, AzureDataLakeStoreSink, AzureDatabricksDeltaLakeSink, AzureMySqlSink, AzurePostgreSqlSink, AzureQueueSink, AzureSearchIndexSink, AzureSqlSink, AzureTableSink, BinarySink, BlobSink, CommonDataServiceForAppsSink, CosmosDbMongoDbApiSink, CosmosDbSqlApiSink, DelimitedTextSink, DocumentDbCollectionSink, DynamicsCrmSink, DynamicsSink, FileSystemSink, InformixSink, JsonSink, MicrosoftAccessSink, OdbcSink, OracleSink, OrcSink, ParquetSink, RestSink, SalesforceServiceCloudSink, SalesforceSink, SapCloudForCustomerSink, SnowflakeSink, SqlDWSink, SqlMISink, SqlServerSink, SqlSink. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Copy sink type.Constant filled by server. :type type: str :param write_batch_size: Write batch size. Type: integer (or Expression with resultType integer), minimum: 0. :type write_batch_size: object :param write_batch_timeout: Write batch timeout. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type write_batch_timeout: object :param sink_retry_count: Sink retry count. Type: integer (or Expression with resultType integer). :type sink_retry_count: object :param sink_retry_wait: Sink retry wait. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type sink_retry_wait: object :param max_concurrent_connections: The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object """ _validation = { 'type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'write_batch_size': {'key': 'writeBatchSize', 'type': 'object'}, 'write_batch_timeout': {'key': 'writeBatchTimeout', 'type': 'object'}, 'sink_retry_count': {'key': 'sinkRetryCount', 'type': 'object'}, 'sink_retry_wait': {'key': 'sinkRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, } _subtype_map = { 'type': {'AvroSink': 'AvroSink', 'AzureBlobFSSink': 'AzureBlobFSSink', 'AzureDataExplorerSink': 'AzureDataExplorerSink', 'AzureDataLakeStoreSink': 'AzureDataLakeStoreSink', 'AzureDatabricksDeltaLakeSink': 'AzureDatabricksDeltaLakeSink', 'AzureMySqlSink': 'AzureMySqlSink', 'AzurePostgreSqlSink': 'AzurePostgreSqlSink', 'AzureQueueSink': 'AzureQueueSink', 'AzureSearchIndexSink': 'AzureSearchIndexSink', 'AzureSqlSink': 'AzureSqlSink', 'AzureTableSink': 'AzureTableSink', 'BinarySink': 'BinarySink', 'BlobSink': 'BlobSink', 'CommonDataServiceForAppsSink': 'CommonDataServiceForAppsSink', 'CosmosDbMongoDbApiSink': 'CosmosDbMongoDbApiSink', 'CosmosDbSqlApiSink': 'CosmosDbSqlApiSink', 'DelimitedTextSink': 'DelimitedTextSink', 'DocumentDbCollectionSink': 'DocumentDbCollectionSink', 'DynamicsCrmSink': 'DynamicsCrmSink', 'DynamicsSink': 'DynamicsSink', 'FileSystemSink': 'FileSystemSink', 'InformixSink': 'InformixSink', 'JsonSink': 'JsonSink', 'MicrosoftAccessSink': 'MicrosoftAccessSink', 'OdbcSink': 'OdbcSink', 'OracleSink': 'OracleSink', 'OrcSink': 'OrcSink', 'ParquetSink': 'ParquetSink', 'RestSink': 'RestSink', 'SalesforceServiceCloudSink': 'SalesforceServiceCloudSink', 'SalesforceSink': 'SalesforceSink', 'SapCloudForCustomerSink': 'SapCloudForCustomerSink', 'SnowflakeSink': 'SnowflakeSink', 'SqlDWSink': 'SqlDWSink', 'SqlMISink': 'SqlMISink', 'SqlServerSink': 'SqlServerSink', 'SqlSink': 'SqlSink'} } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, write_batch_size: Optional[object] = None, write_batch_timeout: Optional[object] = None, sink_retry_count: Optional[object] = None, sink_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, **kwargs ): super(CopySink, self).__init__(**kwargs) self.additional_properties = additional_properties self.type = 'CopySink' # type: str self.write_batch_size = write_batch_size self.write_batch_timeout = write_batch_timeout self.sink_retry_count = sink_retry_count self.sink_retry_wait = sink_retry_wait self.max_concurrent_connections = max_concurrent_connections
[docs]class AvroSink(CopySink): """A copy activity Avro sink. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Copy sink type.Constant filled by server. :type type: str :param write_batch_size: Write batch size. Type: integer (or Expression with resultType integer), minimum: 0. :type write_batch_size: object :param write_batch_timeout: Write batch timeout. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type write_batch_timeout: object :param sink_retry_count: Sink retry count. Type: integer (or Expression with resultType integer). :type sink_retry_count: object :param sink_retry_wait: Sink retry wait. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type sink_retry_wait: object :param max_concurrent_connections: The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object :param store_settings: Avro store settings. :type store_settings: ~azure.synapse.artifacts.models.StoreWriteSettings :param format_settings: Avro format settings. :type format_settings: ~azure.synapse.artifacts.models.AvroWriteSettings """ _validation = { 'type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'write_batch_size': {'key': 'writeBatchSize', 'type': 'object'}, 'write_batch_timeout': {'key': 'writeBatchTimeout', 'type': 'object'}, 'sink_retry_count': {'key': 'sinkRetryCount', 'type': 'object'}, 'sink_retry_wait': {'key': 'sinkRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'store_settings': {'key': 'storeSettings', 'type': 'StoreWriteSettings'}, 'format_settings': {'key': 'formatSettings', 'type': 'AvroWriteSettings'}, } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, write_batch_size: Optional[object] = None, write_batch_timeout: Optional[object] = None, sink_retry_count: Optional[object] = None, sink_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, store_settings: Optional["StoreWriteSettings"] = None, format_settings: Optional["AvroWriteSettings"] = None, **kwargs ): super(AvroSink, self).__init__(additional_properties=additional_properties, write_batch_size=write_batch_size, write_batch_timeout=write_batch_timeout, sink_retry_count=sink_retry_count, sink_retry_wait=sink_retry_wait, max_concurrent_connections=max_concurrent_connections, **kwargs) self.type = 'AvroSink' # type: str self.store_settings = store_settings self.format_settings = format_settings
[docs]class AvroSource(CopySource): """A copy activity Avro source. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Copy source type.Constant filled by server. :type type: str :param source_retry_count: Source retry count. Type: integer (or Expression with resultType integer). :type source_retry_count: object :param source_retry_wait: Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type source_retry_wait: object :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object :param store_settings: Avro store settings. :type store_settings: ~azure.synapse.artifacts.models.StoreReadSettings :param additional_columns: Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects). :type additional_columns: list[~azure.synapse.artifacts.models.AdditionalColumns] """ _validation = { 'type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'store_settings': {'key': 'storeSettings', 'type': 'StoreReadSettings'}, 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, source_retry_count: Optional[object] = None, source_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, store_settings: Optional["StoreReadSettings"] = None, additional_columns: Optional[List["AdditionalColumns"]] = None, **kwargs ): super(AvroSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, **kwargs) self.type = 'AvroSource' # type: str self.store_settings = store_settings self.additional_columns = additional_columns
[docs]class FormatWriteSettings(msrest.serialization.Model): """Format write settings. You probably want to use the sub-classes and not this class directly. Known sub-classes are: AvroWriteSettings, DelimitedTextWriteSettings, JsonWriteSettings, OrcWriteSettings, ParquetWriteSettings. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. The write setting type.Constant filled by server. :type type: str """ _validation = { 'type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, } _subtype_map = { 'type': {'AvroWriteSettings': 'AvroWriteSettings', 'DelimitedTextWriteSettings': 'DelimitedTextWriteSettings', 'JsonWriteSettings': 'JsonWriteSettings', 'OrcWriteSettings': 'OrcWriteSettings', 'ParquetWriteSettings': 'ParquetWriteSettings'} } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, **kwargs ): super(FormatWriteSettings, self).__init__(**kwargs) self.additional_properties = additional_properties self.type = 'FormatWriteSettings' # type: str
[docs]class AvroWriteSettings(FormatWriteSettings): """Avro write settings. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. The write setting type.Constant filled by server. :type type: str :param record_name: Top level record name in write result, which is required in AVRO spec. :type record_name: str :param record_namespace: Record namespace in the write result. :type record_namespace: str :param max_rows_per_file: Limit the written file's row count to be smaller than or equal to the specified count. Type: integer (or Expression with resultType integer). :type max_rows_per_file: object :param file_name_prefix: Specifies the file name pattern :code:`<fileNamePrefix>`_:code:`<fileIndex>`.:code:`<fileExtension>` when copy from non-file based store without partitionOptions. Type: string (or Expression with resultType string). :type file_name_prefix: object """ _validation = { 'type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'record_name': {'key': 'recordName', 'type': 'str'}, 'record_namespace': {'key': 'recordNamespace', 'type': 'str'}, 'max_rows_per_file': {'key': 'maxRowsPerFile', 'type': 'object'}, 'file_name_prefix': {'key': 'fileNamePrefix', 'type': 'object'}, } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, record_name: Optional[str] = None, record_namespace: Optional[str] = None, max_rows_per_file: Optional[object] = None, file_name_prefix: Optional[object] = None, **kwargs ): super(AvroWriteSettings, self).__init__(additional_properties=additional_properties, **kwargs) self.type = 'AvroWriteSettings' # type: str self.record_name = record_name self.record_namespace = record_namespace self.max_rows_per_file = max_rows_per_file self.file_name_prefix = file_name_prefix
[docs]class AzureBatchLinkedService(LinkedService): """Azure Batch linked service. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. :type connect_via: ~azure.synapse.artifacts.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. :type parameters: dict[str, ~azure.synapse.artifacts.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param account_name: Required. The Azure Batch account name. Type: string (or Expression with resultType string). :type account_name: object :param access_key: The Azure Batch account access key. :type access_key: ~azure.synapse.artifacts.models.SecretBase :param batch_uri: Required. The Azure Batch URI. Type: string (or Expression with resultType string). :type batch_uri: object :param pool_name: Required. The Azure Batch pool name. Type: string (or Expression with resultType string). :type pool_name: object :param linked_service_name: Required. The Azure Storage linked service reference. :type linked_service_name: ~azure.synapse.artifacts.models.LinkedServiceReference :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). :type encrypted_credential: object """ _validation = { 'type': {'required': True}, 'account_name': {'required': True}, 'batch_uri': {'required': True}, 'pool_name': {'required': True}, 'linked_service_name': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'connect_via': {'key': 'connectVia', 'type': 'IntegrationRuntimeReference'}, 'description': {'key': 'description', 'type': 'str'}, 'parameters': {'key': 'parameters', 'type': '{ParameterSpecification}'}, 'annotations': {'key': 'annotations', 'type': '[object]'}, 'account_name': {'key': 'typeProperties.accountName', 'type': 'object'}, 'access_key': {'key': 'typeProperties.accessKey', 'type': 'SecretBase'}, 'batch_uri': {'key': 'typeProperties.batchUri', 'type': 'object'}, 'pool_name': {'key': 'typeProperties.poolName', 'type': 'object'}, 'linked_service_name': {'key': 'typeProperties.linkedServiceName', 'type': 'LinkedServiceReference'}, 'encrypted_credential': {'key': 'typeProperties.encryptedCredential', 'type': 'object'}, } def __init__( self, *, account_name: object, batch_uri: object, pool_name: object, linked_service_name: "LinkedServiceReference", additional_properties: Optional[Dict[str, object]] = None, connect_via: Optional["IntegrationRuntimeReference"] = None, description: Optional[str] = None, parameters: Optional[Dict[str, "ParameterSpecification"]] = None, annotations: Optional[List[object]] = None, access_key: Optional["SecretBase"] = None, encrypted_credential: Optional[object] = None, **kwargs ): super(AzureBatchLinkedService, self).__init__(additional_properties=additional_properties, connect_via=connect_via, description=description, parameters=parameters, annotations=annotations, **kwargs) self.type = 'AzureBatch' # type: str self.account_name = account_name self.access_key = access_key self.batch_uri = batch_uri self.pool_name = pool_name self.linked_service_name = linked_service_name self.encrypted_credential = encrypted_credential
[docs]class AzureBlobDataset(Dataset): """The Azure Blob storage. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Type of dataset.Constant filled by server. :type type: str :param description: Dataset description. :type description: str :param structure: Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. :type structure: object :param schema: Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. :type linked_service_name: ~azure.synapse.artifacts.models.LinkedServiceReference :param parameters: Parameters for dataset. :type parameters: dict[str, ~azure.synapse.artifacts.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. :type folder: ~azure.synapse.artifacts.models.DatasetFolder :param folder_path: The path of the Azure Blob storage. Type: string (or Expression with resultType string). :type folder_path: object :param table_root_location: The root of blob path. Type: string (or Expression with resultType string). :type table_root_location: object :param file_name: The name of the Azure Blob. Type: string (or Expression with resultType string). :type file_name: object :param modified_datetime_start: The start of Azure Blob's modified datetime. Type: string (or Expression with resultType string). :type modified_datetime_start: object :param modified_datetime_end: The end of Azure Blob's modified datetime. Type: string (or Expression with resultType string). :type modified_datetime_end: object :param format: The format of the Azure Blob storage. :type format: ~azure.synapse.artifacts.models.DatasetStorageFormat :param compression: The data compression method used for the blob storage. :type compression: ~azure.synapse.artifacts.models.DatasetCompression """ _validation = { 'type': {'required': True}, 'linked_service_name': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'description': {'key': 'description', 'type': 'str'}, 'structure': {'key': 'structure', 'type': 'object'}, 'schema': {'key': 'schema', 'type': 'object'}, 'linked_service_name': {'key': 'linkedServiceName', 'type': 'LinkedServiceReference'}, 'parameters': {'key': 'parameters', 'type': '{ParameterSpecification}'}, 'annotations': {'key': 'annotations', 'type': '[object]'}, 'folder': {'key': 'folder', 'type': 'DatasetFolder'}, 'folder_path': {'key': 'typeProperties.folderPath', 'type': 'object'}, 'table_root_location': {'key': 'typeProperties.tableRootLocation', 'type': 'object'}, 'file_name': {'key': 'typeProperties.fileName', 'type': 'object'}, 'modified_datetime_start': {'key': 'typeProperties.modifiedDatetimeStart', 'type': 'object'}, 'modified_datetime_end': {'key': 'typeProperties.modifiedDatetimeEnd', 'type': 'object'}, 'format': {'key': 'typeProperties.format', 'type': 'DatasetStorageFormat'}, 'compression': {'key': 'typeProperties.compression', 'type': 'DatasetCompression'}, } def __init__( self, *, linked_service_name: "LinkedServiceReference", additional_properties: Optional[Dict[str, object]] = None, description: Optional[str] = None, structure: Optional[object] = None, schema: Optional[object] = None, parameters: Optional[Dict[str, "ParameterSpecification"]] = None, annotations: Optional[List[object]] = None, folder: Optional["DatasetFolder"] = None, folder_path: Optional[object] = None, table_root_location: Optional[object] = None, file_name: Optional[object] = None, modified_datetime_start: Optional[object] = None, modified_datetime_end: Optional[object] = None, format: Optional["DatasetStorageFormat"] = None, compression: Optional["DatasetCompression"] = None, **kwargs ): super(AzureBlobDataset, self).__init__(additional_properties=additional_properties, description=description, structure=structure, schema=schema, linked_service_name=linked_service_name, parameters=parameters, annotations=annotations, folder=folder, **kwargs) self.type = 'AzureBlob' # type: str self.folder_path = folder_path self.table_root_location = table_root_location self.file_name = file_name self.modified_datetime_start = modified_datetime_start self.modified_datetime_end = modified_datetime_end self.format = format self.compression = compression
[docs]class AzureBlobFSDataset(Dataset): """The Azure Data Lake Storage Gen2 storage. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Type of dataset.Constant filled by server. :type type: str :param description: Dataset description. :type description: str :param structure: Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. :type structure: object :param schema: Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. :type linked_service_name: ~azure.synapse.artifacts.models.LinkedServiceReference :param parameters: Parameters for dataset. :type parameters: dict[str, ~azure.synapse.artifacts.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. :type folder: ~azure.synapse.artifacts.models.DatasetFolder :param folder_path: The path of the Azure Data Lake Storage Gen2 storage. Type: string (or Expression with resultType string). :type folder_path: object :param file_name: The name of the Azure Data Lake Storage Gen2. Type: string (or Expression with resultType string). :type file_name: object :param format: The format of the Azure Data Lake Storage Gen2 storage. :type format: ~azure.synapse.artifacts.models.DatasetStorageFormat :param compression: The data compression method used for the blob storage. :type compression: ~azure.synapse.artifacts.models.DatasetCompression """ _validation = { 'type': {'required': True}, 'linked_service_name': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'description': {'key': 'description', 'type': 'str'}, 'structure': {'key': 'structure', 'type': 'object'}, 'schema': {'key': 'schema', 'type': 'object'}, 'linked_service_name': {'key': 'linkedServiceName', 'type': 'LinkedServiceReference'}, 'parameters': {'key': 'parameters', 'type': '{ParameterSpecification}'}, 'annotations': {'key': 'annotations', 'type': '[object]'}, 'folder': {'key': 'folder', 'type': 'DatasetFolder'}, 'folder_path': {'key': 'typeProperties.folderPath', 'type': 'object'}, 'file_name': {'key': 'typeProperties.fileName', 'type': 'object'}, 'format': {'key': 'typeProperties.format', 'type': 'DatasetStorageFormat'}, 'compression': {'key': 'typeProperties.compression', 'type': 'DatasetCompression'}, } def __init__( self, *, linked_service_name: "LinkedServiceReference", additional_properties: Optional[Dict[str, object]] = None, description: Optional[str] = None, structure: Optional[object] = None, schema: Optional[object] = None, parameters: Optional[Dict[str, "ParameterSpecification"]] = None, annotations: Optional[List[object]] = None, folder: Optional["DatasetFolder"] = None, folder_path: Optional[object] = None, file_name: Optional[object] = None, format: Optional["DatasetStorageFormat"] = None, compression: Optional["DatasetCompression"] = None, **kwargs ): super(AzureBlobFSDataset, self).__init__(additional_properties=additional_properties, description=description, structure=structure, schema=schema, linked_service_name=linked_service_name, parameters=parameters, annotations=annotations, folder=folder, **kwargs) self.type = 'AzureBlobFSFile' # type: str self.folder_path = folder_path self.file_name = file_name self.format = format self.compression = compression
[docs]class AzureBlobFSLinkedService(LinkedService): """Azure Data Lake Storage Gen2 linked service. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. :type connect_via: ~azure.synapse.artifacts.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. :type parameters: dict[str, ~azure.synapse.artifacts.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param url: Required. Endpoint for the Azure Data Lake Storage Gen2 service. Type: string (or Expression with resultType string). :type url: object :param account_key: Account key for the Azure Data Lake Storage Gen2 service. Type: string (or Expression with resultType string). :type account_key: object :param service_principal_id: The ID of the application used to authenticate against the Azure Data Lake Storage Gen2 account. Type: string (or Expression with resultType string). :type service_principal_id: object :param service_principal_key: The Key of the application used to authenticate against the Azure Data Lake Storage Gen2 account. :type service_principal_key: ~azure.synapse.artifacts.models.SecretBase :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). :type encrypted_credential: object """ _validation = { 'type': {'required': True}, 'url': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'connect_via': {'key': 'connectVia', 'type': 'IntegrationRuntimeReference'}, 'description': {'key': 'description', 'type': 'str'}, 'parameters': {'key': 'parameters', 'type': '{ParameterSpecification}'}, 'annotations': {'key': 'annotations', 'type': '[object]'}, 'url': {'key': 'typeProperties.url', 'type': 'object'}, 'account_key': {'key': 'typeProperties.accountKey', 'type': 'object'}, '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'}, } def __init__( self, *, url: object, additional_properties: Optional[Dict[str, object]] = None, connect_via: Optional["IntegrationRuntimeReference"] = None, description: Optional[str] = None, parameters: Optional[Dict[str, "ParameterSpecification"]] = None, annotations: Optional[List[object]] = None, account_key: Optional[object] = None, service_principal_id: Optional[object] = None, service_principal_key: Optional["SecretBase"] = None, tenant: Optional[object] = None, azure_cloud_type: Optional[object] = None, encrypted_credential: Optional[object] = None, **kwargs ): super(AzureBlobFSLinkedService, self).__init__(additional_properties=additional_properties, connect_via=connect_via, description=description, parameters=parameters, annotations=annotations, **kwargs) self.type = 'AzureBlobFS' # type: str self.url = url self.account_key = account_key self.service_principal_id = service_principal_id self.service_principal_key = service_principal_key self.tenant = tenant self.azure_cloud_type = azure_cloud_type self.encrypted_credential = encrypted_credential
[docs]class AzureBlobFSLocation(DatasetLocation): """The location of azure blobFS dataset. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Type of dataset storage location.Constant filled by server. :type type: str :param folder_path: Specify the folder path of dataset. Type: string (or Expression with resultType string). :type folder_path: object :param file_name: Specify the file name of dataset. Type: string (or Expression with resultType string). :type file_name: object :param file_system: Specify the fileSystem of azure blobFS. Type: string (or Expression with resultType string). :type file_system: object """ _validation = { 'type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'folder_path': {'key': 'folderPath', 'type': 'object'}, 'file_name': {'key': 'fileName', 'type': 'object'}, 'file_system': {'key': 'fileSystem', 'type': 'object'}, } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, folder_path: Optional[object] = None, file_name: Optional[object] = None, file_system: Optional[object] = None, **kwargs ): super(AzureBlobFSLocation, self).__init__(additional_properties=additional_properties, folder_path=folder_path, file_name=file_name, **kwargs) self.type = 'AzureBlobFSLocation' # type: str self.file_system = file_system
[docs]class AzureBlobFSReadSettings(StoreReadSettings): """Azure blobFS read settings. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. The read setting type.Constant filled by server. :type type: str :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object :param recursive: If true, files under the folder path will be read recursively. Default is true. Type: boolean (or Expression with resultType boolean). :type recursive: object :param wildcard_folder_path: Azure blobFS wildcardFolderPath. Type: string (or Expression with resultType string). :type wildcard_folder_path: object :param wildcard_file_name: Azure blobFS wildcardFileName. Type: string (or Expression with resultType string). :type wildcard_file_name: object :param file_list_path: Point to a text file that lists each file (relative path to the path configured in the dataset) that you want to copy. Type: string (or Expression with resultType string). :type file_list_path: object :param enable_partition_discovery: Indicates whether to enable partition discovery. :type enable_partition_discovery: bool :param partition_root_path: Specify the root path where partition discovery starts from. Type: string (or Expression with resultType string). :type partition_root_path: object :param delete_files_after_completion: Indicates whether the source files need to be deleted after copy completion. Default is false. Type: boolean (or Expression with resultType boolean). :type delete_files_after_completion: object :param modified_datetime_start: The start of file's modified datetime. Type: string (or Expression with resultType string). :type modified_datetime_start: object :param modified_datetime_end: The end of file's modified datetime. Type: string (or Expression with resultType string). :type modified_datetime_end: object """ _validation = { 'type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'recursive': {'key': 'recursive', 'type': 'object'}, 'wildcard_folder_path': {'key': 'wildcardFolderPath', 'type': 'object'}, 'wildcard_file_name': {'key': 'wildcardFileName', 'type': 'object'}, 'file_list_path': {'key': 'fileListPath', 'type': 'object'}, 'enable_partition_discovery': {'key': 'enablePartitionDiscovery', 'type': 'bool'}, 'partition_root_path': {'key': 'partitionRootPath', 'type': 'object'}, 'delete_files_after_completion': {'key': 'deleteFilesAfterCompletion', 'type': 'object'}, 'modified_datetime_start': {'key': 'modifiedDatetimeStart', 'type': 'object'}, 'modified_datetime_end': {'key': 'modifiedDatetimeEnd', 'type': 'object'}, } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, max_concurrent_connections: Optional[object] = None, recursive: Optional[object] = None, wildcard_folder_path: Optional[object] = None, wildcard_file_name: Optional[object] = None, file_list_path: Optional[object] = None, enable_partition_discovery: Optional[bool] = None, partition_root_path: Optional[object] = None, delete_files_after_completion: Optional[object] = None, modified_datetime_start: Optional[object] = None, modified_datetime_end: Optional[object] = None, **kwargs ): super(AzureBlobFSReadSettings, self).__init__(additional_properties=additional_properties, max_concurrent_connections=max_concurrent_connections, **kwargs) self.type = 'AzureBlobFSReadSettings' # type: str self.recursive = recursive self.wildcard_folder_path = wildcard_folder_path self.wildcard_file_name = wildcard_file_name self.file_list_path = file_list_path self.enable_partition_discovery = enable_partition_discovery self.partition_root_path = partition_root_path self.delete_files_after_completion = delete_files_after_completion self.modified_datetime_start = modified_datetime_start self.modified_datetime_end = modified_datetime_end
[docs]class AzureBlobFSSink(CopySink): """A copy activity Azure Data Lake Storage Gen2 sink. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Copy sink type.Constant filled by server. :type type: str :param write_batch_size: Write batch size. Type: integer (or Expression with resultType integer), minimum: 0. :type write_batch_size: object :param write_batch_timeout: Write batch timeout. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type write_batch_timeout: object :param sink_retry_count: Sink retry count. Type: integer (or Expression with resultType integer). :type sink_retry_count: object :param sink_retry_wait: Sink retry wait. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type sink_retry_wait: object :param max_concurrent_connections: The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object :param copy_behavior: The type of copy behavior for copy sink. :type copy_behavior: object """ _validation = { 'type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'write_batch_size': {'key': 'writeBatchSize', 'type': 'object'}, 'write_batch_timeout': {'key': 'writeBatchTimeout', 'type': 'object'}, 'sink_retry_count': {'key': 'sinkRetryCount', 'type': 'object'}, 'sink_retry_wait': {'key': 'sinkRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'copy_behavior': {'key': 'copyBehavior', 'type': 'object'}, } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, write_batch_size: Optional[object] = None, write_batch_timeout: Optional[object] = None, sink_retry_count: Optional[object] = None, sink_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, copy_behavior: Optional[object] = None, **kwargs ): super(AzureBlobFSSink, self).__init__(additional_properties=additional_properties, write_batch_size=write_batch_size, write_batch_timeout=write_batch_timeout, sink_retry_count=sink_retry_count, sink_retry_wait=sink_retry_wait, max_concurrent_connections=max_concurrent_connections, **kwargs) self.type = 'AzureBlobFSSink' # type: str self.copy_behavior = copy_behavior
[docs]class AzureBlobFSSource(CopySource): """A copy activity Azure BlobFS source. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Copy source type.Constant filled by server. :type type: str :param source_retry_count: Source retry count. Type: integer (or Expression with resultType integer). :type source_retry_count: object :param source_retry_wait: Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type source_retry_wait: object :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object :param treat_empty_as_null: Treat empty as null. Type: boolean (or Expression with resultType boolean). :type treat_empty_as_null: object :param skip_header_line_count: Number of header lines to skip from each blob. Type: integer (or Expression with resultType integer). :type skip_header_line_count: object :param recursive: If true, files under the folder path will be read recursively. Default is true. Type: boolean (or Expression with resultType boolean). :type recursive: object """ _validation = { 'type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'treat_empty_as_null': {'key': 'treatEmptyAsNull', 'type': 'object'}, 'skip_header_line_count': {'key': 'skipHeaderLineCount', 'type': 'object'}, 'recursive': {'key': 'recursive', 'type': 'object'}, } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, source_retry_count: Optional[object] = None, source_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, treat_empty_as_null: Optional[object] = None, skip_header_line_count: Optional[object] = None, recursive: Optional[object] = None, **kwargs ): super(AzureBlobFSSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, **kwargs) self.type = 'AzureBlobFSSource' # type: str self.treat_empty_as_null = treat_empty_as_null self.skip_header_line_count = skip_header_line_count self.recursive = recursive
[docs]class StoreWriteSettings(msrest.serialization.Model): """Connector write settings. You probably want to use the sub-classes and not this class directly. Known sub-classes are: AzureBlobFSWriteSettings, AzureBlobStorageWriteSettings, AzureDataLakeStoreWriteSettings, AzureFileStorageWriteSettings, FileServerWriteSettings, SftpWriteSettings. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. The write setting type.Constant filled by server. :type type: str :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object :param copy_behavior: The type of copy behavior for copy sink. :type copy_behavior: object """ _validation = { 'type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'copy_behavior': {'key': 'copyBehavior', 'type': 'object'}, } _subtype_map = { 'type': {'AzureBlobFSWriteSettings': 'AzureBlobFSWriteSettings', 'AzureBlobStorageWriteSettings': 'AzureBlobStorageWriteSettings', 'AzureDataLakeStoreWriteSettings': 'AzureDataLakeStoreWriteSettings', 'AzureFileStorageWriteSettings': 'AzureFileStorageWriteSettings', 'FileServerWriteSettings': 'FileServerWriteSettings', 'SftpWriteSettings': 'SftpWriteSettings'} } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, max_concurrent_connections: Optional[object] = None, copy_behavior: Optional[object] = None, **kwargs ): super(StoreWriteSettings, self).__init__(**kwargs) self.additional_properties = additional_properties self.type = 'StoreWriteSettings' # type: str self.max_concurrent_connections = max_concurrent_connections self.copy_behavior = copy_behavior
[docs]class AzureBlobFSWriteSettings(StoreWriteSettings): """Azure blobFS write settings. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. The write setting type.Constant filled by server. :type type: str :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object :param copy_behavior: The type of copy behavior for copy sink. :type copy_behavior: object :param block_size_in_mb: Indicates the block size(MB) when writing data to blob. Type: integer (or Expression with resultType integer). :type block_size_in_mb: object """ _validation = { 'type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'copy_behavior': {'key': 'copyBehavior', 'type': 'object'}, 'block_size_in_mb': {'key': 'blockSizeInMB', 'type': 'object'}, } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, max_concurrent_connections: Optional[object] = None, copy_behavior: Optional[object] = None, block_size_in_mb: Optional[object] = None, **kwargs ): super(AzureBlobFSWriteSettings, self).__init__(additional_properties=additional_properties, max_concurrent_connections=max_concurrent_connections, copy_behavior=copy_behavior, **kwargs) self.type = 'AzureBlobFSWriteSettings' # type: str self.block_size_in_mb = block_size_in_mb
[docs]class AzureBlobStorageLinkedService(LinkedService): """The azure blob storage linked service. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. :type connect_via: ~azure.synapse.artifacts.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. :type parameters: dict[str, ~azure.synapse.artifacts.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param connection_string: The connection string. It is mutually exclusive with sasUri, serviceEndpoint property. Type: string, SecureString or AzureKeyVaultSecretReference. :type connection_string: object :param account_key: The Azure key vault secret reference of accountKey in connection string. :type account_key: ~azure.synapse.artifacts.models.AzureKeyVaultSecretReference :param sas_uri: SAS URI of the Azure Blob Storage resource. It is mutually exclusive with connectionString, serviceEndpoint property. Type: string, SecureString or AzureKeyVaultSecretReference. :type sas_uri: object :param sas_token: The Azure key vault secret reference of sasToken in sas uri. :type sas_token: ~azure.synapse.artifacts.models.AzureKeyVaultSecretReference :param service_endpoint: Blob service endpoint of the Azure Blob Storage resource. It is mutually exclusive with connectionString, sasUri property. :type service_endpoint: str :param service_principal_id: The ID of the service principal used to authenticate against Azure SQL Data Warehouse. Type: string (or Expression with resultType string). :type service_principal_id: object :param service_principal_key: The key of the service principal used to authenticate against Azure SQL Data Warehouse. :type service_principal_key: ~azure.synapse.artifacts.models.SecretBase :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). :type encrypted_credential: str """ _validation = { 'type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'connect_via': {'key': 'connectVia', 'type': 'IntegrationRuntimeReference'}, 'description': {'key': 'description', 'type': 'str'}, 'parameters': {'key': 'parameters', 'type': '{ParameterSpecification}'}, 'annotations': {'key': 'annotations', 'type': '[object]'}, 'connection_string': {'key': 'typeProperties.connectionString', 'type': 'object'}, 'account_key': {'key': 'typeProperties.accountKey', 'type': 'AzureKeyVaultSecretReference'}, 'sas_uri': {'key': 'typeProperties.sasUri', 'type': 'object'}, 'sas_token': {'key': 'typeProperties.sasToken', 'type': 'AzureKeyVaultSecretReference'}, 'service_endpoint': {'key': 'typeProperties.serviceEndpoint', 'type': 'str'}, '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'}, } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, connect_via: Optional["IntegrationRuntimeReference"] = None, description: Optional[str] = None, parameters: Optional[Dict[str, "ParameterSpecification"]] = None, annotations: Optional[List[object]] = None, connection_string: Optional[object] = None, account_key: Optional["AzureKeyVaultSecretReference"] = None, sas_uri: Optional[object] = None, sas_token: Optional["AzureKeyVaultSecretReference"] = None, service_endpoint: Optional[str] = None, service_principal_id: Optional[object] = None, service_principal_key: Optional["SecretBase"] = None, tenant: Optional[object] = None, azure_cloud_type: Optional[object] = None, encrypted_credential: Optional[str] = None, **kwargs ): super(AzureBlobStorageLinkedService, self).__init__(additional_properties=additional_properties, connect_via=connect_via, description=description, parameters=parameters, annotations=annotations, **kwargs) self.type = 'AzureBlobStorage' # type: str self.connection_string = connection_string self.account_key = account_key self.sas_uri = sas_uri self.sas_token = sas_token self.service_endpoint = service_endpoint self.service_principal_id = service_principal_id self.service_principal_key = service_principal_key self.tenant = tenant self.azure_cloud_type = azure_cloud_type self.encrypted_credential = encrypted_credential
[docs]class AzureBlobStorageLocation(DatasetLocation): """The location of azure blob dataset. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Type of dataset storage location.Constant filled by server. :type type: str :param folder_path: Specify the folder path of dataset. Type: string (or Expression with resultType string). :type folder_path: object :param file_name: Specify the file name of dataset. Type: string (or Expression with resultType string). :type file_name: object :param container: Specify the container of azure blob. Type: string (or Expression with resultType string). :type container: object """ _validation = { 'type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'folder_path': {'key': 'folderPath', 'type': 'object'}, 'file_name': {'key': 'fileName', 'type': 'object'}, 'container': {'key': 'container', 'type': 'object'}, } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, folder_path: Optional[object] = None, file_name: Optional[object] = None, container: Optional[object] = None, **kwargs ): super(AzureBlobStorageLocation, self).__init__(additional_properties=additional_properties, folder_path=folder_path, file_name=file_name, **kwargs) self.type = 'AzureBlobStorageLocation' # type: str self.container = container
[docs]class AzureBlobStorageReadSettings(StoreReadSettings): """Azure blob read settings. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. The read setting type.Constant filled by server. :type type: str :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object :param recursive: If true, files under the folder path will be read recursively. Default is true. Type: boolean (or Expression with resultType boolean). :type recursive: object :param wildcard_folder_path: Azure blob wildcardFolderPath. Type: string (or Expression with resultType string). :type wildcard_folder_path: object :param wildcard_file_name: Azure blob wildcardFileName. Type: string (or Expression with resultType string). :type wildcard_file_name: object :param prefix: The prefix filter for the Azure Blob name. Type: string (or Expression with resultType string). :type prefix: object :param file_list_path: Point to a text file that lists each file (relative path to the path configured in the dataset) that you want to copy. Type: string (or Expression with resultType string). :type file_list_path: object :param enable_partition_discovery: Indicates whether to enable partition discovery. :type enable_partition_discovery: bool :param partition_root_path: Specify the root path where partition discovery starts from. Type: string (or Expression with resultType string). :type partition_root_path: object :param delete_files_after_completion: Indicates whether the source files need to be deleted after copy completion. Default is false. Type: boolean (or Expression with resultType boolean). :type delete_files_after_completion: object :param modified_datetime_start: The start of file's modified datetime. Type: string (or Expression with resultType string). :type modified_datetime_start: object :param modified_datetime_end: The end of file's modified datetime. Type: string (or Expression with resultType string). :type modified_datetime_end: object """ _validation = { 'type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'recursive': {'key': 'recursive', 'type': 'object'}, 'wildcard_folder_path': {'key': 'wildcardFolderPath', 'type': 'object'}, 'wildcard_file_name': {'key': 'wildcardFileName', 'type': 'object'}, 'prefix': {'key': 'prefix', 'type': 'object'}, 'file_list_path': {'key': 'fileListPath', 'type': 'object'}, 'enable_partition_discovery': {'key': 'enablePartitionDiscovery', 'type': 'bool'}, 'partition_root_path': {'key': 'partitionRootPath', 'type': 'object'}, 'delete_files_after_completion': {'key': 'deleteFilesAfterCompletion', 'type': 'object'}, 'modified_datetime_start': {'key': 'modifiedDatetimeStart', 'type': 'object'}, 'modified_datetime_end': {'key': 'modifiedDatetimeEnd', 'type': 'object'}, } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, max_concurrent_connections: Optional[object] = None, recursive: Optional[object] = None, wildcard_folder_path: Optional[object] = None, wildcard_file_name: Optional[object] = None, prefix: Optional[object] = None, file_list_path: Optional[object] = None, enable_partition_discovery: Optional[bool] = None, partition_root_path: Optional[object] = None, delete_files_after_completion: Optional[object] = None, modified_datetime_start: Optional[object] = None, modified_datetime_end: Optional[object] = None, **kwargs ): super(AzureBlobStorageReadSettings, self).__init__(additional_properties=additional_properties, max_concurrent_connections=max_concurrent_connections, **kwargs) self.type = 'AzureBlobStorageReadSettings' # type: str self.recursive = recursive self.wildcard_folder_path = wildcard_folder_path self.wildcard_file_name = wildcard_file_name self.prefix = prefix self.file_list_path = file_list_path self.enable_partition_discovery = enable_partition_discovery self.partition_root_path = partition_root_path self.delete_files_after_completion = delete_files_after_completion self.modified_datetime_start = modified_datetime_start self.modified_datetime_end = modified_datetime_end
[docs]class AzureBlobStorageWriteSettings(StoreWriteSettings): """Azure blob write settings. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. The write setting type.Constant filled by server. :type type: str :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object :param copy_behavior: The type of copy behavior for copy sink. :type copy_behavior: object :param block_size_in_mb: Indicates the block size(MB) when writing data to blob. Type: integer (or Expression with resultType integer). :type block_size_in_mb: object """ _validation = { 'type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'copy_behavior': {'key': 'copyBehavior', 'type': 'object'}, 'block_size_in_mb': {'key': 'blockSizeInMB', 'type': 'object'}, } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, max_concurrent_connections: Optional[object] = None, copy_behavior: Optional[object] = None, block_size_in_mb: Optional[object] = None, **kwargs ): super(AzureBlobStorageWriteSettings, self).__init__(additional_properties=additional_properties, max_concurrent_connections=max_concurrent_connections, copy_behavior=copy_behavior, **kwargs) self.type = 'AzureBlobStorageWriteSettings' # type: str self.block_size_in_mb = block_size_in_mb
[docs]class AzureDatabricksDeltaLakeDataset(Dataset): """Azure Databricks Delta Lake dataset. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Type of dataset.Constant filled by server. :type type: str :param description: Dataset description. :type description: str :param structure: Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. :type structure: object :param schema: Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. :type linked_service_name: ~azure.synapse.artifacts.models.LinkedServiceReference :param parameters: Parameters for dataset. :type parameters: dict[str, ~azure.synapse.artifacts.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. :type folder: ~azure.synapse.artifacts.models.DatasetFolder :param table: The name of delta table. Type: string (or Expression with resultType string). :type table: object :param database: The database name of delta table. Type: string (or Expression with resultType string). :type database: object """ _validation = { 'type': {'required': True}, 'linked_service_name': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'description': {'key': 'description', 'type': 'str'}, 'structure': {'key': 'structure', 'type': 'object'}, 'schema': {'key': 'schema', 'type': 'object'}, 'linked_service_name': {'key': 'linkedServiceName', 'type': 'LinkedServiceReference'}, 'parameters': {'key': 'parameters', 'type': '{ParameterSpecification}'}, 'annotations': {'key': 'annotations', 'type': '[object]'}, 'folder': {'key': 'folder', 'type': 'DatasetFolder'}, 'table': {'key': 'typeProperties.table', 'type': 'object'}, 'database': {'key': 'typeProperties.database', 'type': 'object'}, } def __init__( self, *, linked_service_name: "LinkedServiceReference", additional_properties: Optional[Dict[str, object]] = None, description: Optional[str] = None, structure: Optional[object] = None, schema: Optional[object] = None, parameters: Optional[Dict[str, "ParameterSpecification"]] = None, annotations: Optional[List[object]] = None, folder: Optional["DatasetFolder"] = None, table: Optional[object] = None, database: Optional[object] = None, **kwargs ): super(AzureDatabricksDeltaLakeDataset, self).__init__(additional_properties=additional_properties, description=description, structure=structure, schema=schema, linked_service_name=linked_service_name, parameters=parameters, annotations=annotations, folder=folder, **kwargs) self.type = 'AzureDatabricksDeltaLakeDataset' # type: str self.table = table self.database = database
[docs]class ExportSettings(msrest.serialization.Model): """Export command settings. You probably want to use the sub-classes and not this class directly. Known sub-classes are: AzureDatabricksDeltaLakeExportCommand, SnowflakeExportCopyCommand. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. The export setting type.Constant filled by server. :type type: str """ _validation = { 'type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, } _subtype_map = { 'type': {'AzureDatabricksDeltaLakeExportCommand': 'AzureDatabricksDeltaLakeExportCommand', 'SnowflakeExportCopyCommand': 'SnowflakeExportCopyCommand'} } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, **kwargs ): super(ExportSettings, self).__init__(**kwargs) self.additional_properties = additional_properties self.type = 'ExportSettings' # type: str
[docs]class AzureDatabricksDeltaLakeExportCommand(ExportSettings): """Azure Databricks Delta Lake export command settings. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. The export setting type.Constant filled by server. :type type: str :param date_format: Specify the date format for the csv in Azure Databricks Delta Lake Copy. Type: string (or Expression with resultType string). :type date_format: object :param timestamp_format: Specify the timestamp format for the csv in Azure Databricks Delta Lake Copy. Type: string (or Expression with resultType string). :type timestamp_format: object """ _validation = { 'type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'date_format': {'key': 'dateFormat', 'type': 'object'}, 'timestamp_format': {'key': 'timestampFormat', 'type': 'object'}, } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, date_format: Optional[object] = None, timestamp_format: Optional[object] = None, **kwargs ): super(AzureDatabricksDeltaLakeExportCommand, self).__init__(additional_properties=additional_properties, **kwargs) self.type = 'AzureDatabricksDeltaLakeExportCommand' # type: str self.date_format = date_format self.timestamp_format = timestamp_format
[docs]class ImportSettings(msrest.serialization.Model): """Import command settings. You probably want to use the sub-classes and not this class directly. Known sub-classes are: AzureDatabricksDeltaLakeImportCommand, SnowflakeImportCopyCommand. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. The import setting type.Constant filled by server. :type type: str """ _validation = { 'type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, } _subtype_map = { 'type': {'AzureDatabricksDeltaLakeImportCommand': 'AzureDatabricksDeltaLakeImportCommand', 'SnowflakeImportCopyCommand': 'SnowflakeImportCopyCommand'} } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, **kwargs ): super(ImportSettings, self).__init__(**kwargs) self.additional_properties = additional_properties self.type = 'ImportSettings' # type: str
[docs]class AzureDatabricksDeltaLakeImportCommand(ImportSettings): """Azure Databricks Delta Lake import command settings. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. The import setting type.Constant filled by server. :type type: str :param date_format: Specify the date format for csv in Azure Databricks Delta Lake Copy. Type: string (or Expression with resultType string). :type date_format: object :param timestamp_format: Specify the timestamp format for csv in Azure Databricks Delta Lake Copy. Type: string (or Expression with resultType string). :type timestamp_format: object """ _validation = { 'type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'date_format': {'key': 'dateFormat', 'type': 'object'}, 'timestamp_format': {'key': 'timestampFormat', 'type': 'object'}, } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, date_format: Optional[object] = None, timestamp_format: Optional[object] = None, **kwargs ): super(AzureDatabricksDeltaLakeImportCommand, self).__init__(additional_properties=additional_properties, **kwargs) self.type = 'AzureDatabricksDeltaLakeImportCommand' # type: str self.date_format = date_format self.timestamp_format = timestamp_format
[docs]class AzureDatabricksDeltaLakeLinkedService(LinkedService): """Azure Databricks Delta Lake linked service. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. :type connect_via: ~azure.synapse.artifacts.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. :type parameters: dict[str, ~azure.synapse.artifacts.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param domain: Required. :code:`<REGION>`.azuredatabricks.net, domain name of your Databricks deployment. Type: string (or Expression with resultType string). :type domain: object :param access_token: Required. Access token for databricks REST API. Refer to https://docs.azuredatabricks.net/api/latest/authentication.html. Type: string, SecureString or AzureKeyVaultSecretReference. :type access_token: ~azure.synapse.artifacts.models.SecretBase :param cluster_id: The id of an existing interactive cluster that will be used for all runs of this job. Type: string (or Expression with resultType string). :type cluster_id: 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). :type encrypted_credential: object """ _validation = { 'type': {'required': True}, 'domain': {'required': True}, 'access_token': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'connect_via': {'key': 'connectVia', 'type': 'IntegrationRuntimeReference'}, 'description': {'key': 'description', 'type': 'str'}, 'parameters': {'key': 'parameters', 'type': '{ParameterSpecification}'}, 'annotations': {'key': 'annotations', 'type': '[object]'}, 'domain': {'key': 'typeProperties.domain', 'type': 'object'}, 'access_token': {'key': 'typeProperties.accessToken', 'type': 'SecretBase'}, 'cluster_id': {'key': 'typeProperties.clusterId', 'type': 'object'}, 'encrypted_credential': {'key': 'typeProperties.encryptedCredential', 'type': 'object'}, } def __init__( self, *, domain: object, access_token: "SecretBase", additional_properties: Optional[Dict[str, object]] = None, connect_via: Optional["IntegrationRuntimeReference"] = None, description: Optional[str] = None, parameters: Optional[Dict[str, "ParameterSpecification"]] = None, annotations: Optional[List[object]] = None, cluster_id: Optional[object] = None, encrypted_credential: Optional[object] = None, **kwargs ): super(AzureDatabricksDeltaLakeLinkedService, self).__init__(additional_properties=additional_properties, connect_via=connect_via, description=description, parameters=parameters, annotations=annotations, **kwargs) self.type = 'AzureDatabricksDeltaLake' # type: str self.domain = domain self.access_token = access_token self.cluster_id = cluster_id self.encrypted_credential = encrypted_credential
[docs]class AzureDatabricksDeltaLakeSink(CopySink): """A copy activity Azure Databricks Delta Lake sink. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Copy sink type.Constant filled by server. :type type: str :param write_batch_size: Write batch size. Type: integer (or Expression with resultType integer), minimum: 0. :type write_batch_size: object :param write_batch_timeout: Write batch timeout. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type write_batch_timeout: object :param sink_retry_count: Sink retry count. Type: integer (or Expression with resultType integer). :type sink_retry_count: object :param sink_retry_wait: Sink retry wait. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type sink_retry_wait: object :param max_concurrent_connections: The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object :param pre_copy_script: SQL pre-copy script. Type: string (or Expression with resultType string). :type pre_copy_script: object :param import_settings: Azure Databricks Delta Lake import settings. :type import_settings: ~azure.synapse.artifacts.models.AzureDatabricksDeltaLakeImportCommand """ _validation = { 'type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'write_batch_size': {'key': 'writeBatchSize', 'type': 'object'}, 'write_batch_timeout': {'key': 'writeBatchTimeout', 'type': 'object'}, 'sink_retry_count': {'key': 'sinkRetryCount', 'type': 'object'}, 'sink_retry_wait': {'key': 'sinkRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'pre_copy_script': {'key': 'preCopyScript', 'type': 'object'}, 'import_settings': {'key': 'importSettings', 'type': 'AzureDatabricksDeltaLakeImportCommand'}, } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, write_batch_size: Optional[object] = None, write_batch_timeout: Optional[object] = None, sink_retry_count: Optional[object] = None, sink_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, pre_copy_script: Optional[object] = None, import_settings: Optional["AzureDatabricksDeltaLakeImportCommand"] = None, **kwargs ): super(AzureDatabricksDeltaLakeSink, self).__init__(additional_properties=additional_properties, write_batch_size=write_batch_size, write_batch_timeout=write_batch_timeout, sink_retry_count=sink_retry_count, sink_retry_wait=sink_retry_wait, max_concurrent_connections=max_concurrent_connections, **kwargs) self.type = 'AzureDatabricksDeltaLakeSink' # type: str self.pre_copy_script = pre_copy_script self.import_settings = import_settings
[docs]class AzureDatabricksDeltaLakeSource(CopySource): """A copy activity Azure Databricks Delta Lake source. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Copy source type.Constant filled by server. :type type: str :param source_retry_count: Source retry count. Type: integer (or Expression with resultType integer). :type source_retry_count: object :param source_retry_wait: Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type source_retry_wait: object :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object :param query: Azure Databricks Delta Lake Sql query. Type: string (or Expression with resultType string). :type query: object :param export_settings: Azure Databricks Delta Lake export settings. :type export_settings: ~azure.synapse.artifacts.models.AzureDatabricksDeltaLakeExportCommand """ _validation = { 'type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, 'export_settings': {'key': 'exportSettings', 'type': 'AzureDatabricksDeltaLakeExportCommand'}, } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, source_retry_count: Optional[object] = None, source_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, query: Optional[object] = None, export_settings: Optional["AzureDatabricksDeltaLakeExportCommand"] = None, **kwargs ): super(AzureDatabricksDeltaLakeSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, **kwargs) self.type = 'AzureDatabricksDeltaLakeSource' # type: str self.query = query self.export_settings = export_settings
[docs]class AzureDatabricksLinkedService(LinkedService): """Azure Databricks linked service. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. :type connect_via: ~azure.synapse.artifacts.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. :type parameters: dict[str, ~azure.synapse.artifacts.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param domain: Required. :code:`<REGION>`.azuredatabricks.net, domain name of your Databricks deployment. Type: string (or Expression with resultType string). :type domain: object :param access_token: Access token for databricks REST API. Refer to https://docs.azuredatabricks.net/api/latest/authentication.html. Type: string (or Expression with resultType string). :type access_token: ~azure.synapse.artifacts.models.SecretBase :param authentication: Required to specify MSI, if using Workspace resource id for databricks REST API. Type: string (or Expression with resultType string). :type authentication: object :param workspace_resource_id: Workspace resource id for databricks REST API. Type: string (or Expression with resultType string). :type workspace_resource_id: object :param existing_cluster_id: The id of an existing interactive cluster that will be used for all runs of this activity. Type: string (or Expression with resultType string). :type existing_cluster_id: object :param instance_pool_id: The id of an existing instance pool that will be used for all runs of this activity. Type: string (or Expression with resultType string). :type instance_pool_id: object :param new_cluster_version: If not using an existing interactive cluster, this specifies the Spark version of a new job cluster or instance pool nodes created for each run of this activity. Required if instancePoolId is specified. Type: string (or Expression with resultType string). :type new_cluster_version: object :param new_cluster_num_of_worker: If not using an existing interactive cluster, this specifies the number of worker nodes to use for the new job cluster or instance pool. For new job clusters, this a string-formatted Int32, like '1' means numOfWorker is 1 or '1:10' means auto-scale from 1 (min) to 10 (max). For instance pools, this is a string-formatted Int32, and can only specify a fixed number of worker nodes, such as '2'. Required if newClusterVersion is specified. Type: string (or Expression with resultType string). :type new_cluster_num_of_worker: object :param new_cluster_node_type: The node type of the new job cluster. This property is required if newClusterVersion is specified and instancePoolId is not specified. If instancePoolId is specified, this property is ignored. Type: string (or Expression with resultType string). :type new_cluster_node_type: object :param new_cluster_spark_conf: A set of optional, user-specified Spark configuration key-value pairs. :type new_cluster_spark_conf: dict[str, object] :param new_cluster_spark_env_vars: A set of optional, user-specified Spark environment variables key-value pairs. :type new_cluster_spark_env_vars: dict[str, object] :param new_cluster_custom_tags: Additional tags for cluster resources. This property is ignored in instance pool configurations. :type new_cluster_custom_tags: dict[str, object] :param new_cluster_log_destination: Specify a location to deliver Spark driver, worker, and event logs. Type: string (or Expression with resultType string). :type new_cluster_log_destination: object :param new_cluster_driver_node_type: The driver node type for the new job cluster. This property is ignored in instance pool configurations. Type: string (or Expression with resultType string). :type new_cluster_driver_node_type: object :param new_cluster_init_scripts: User-defined initialization scripts for the new cluster. Type: array of strings (or Expression with resultType array of strings). :type new_cluster_init_scripts: object :param new_cluster_enable_elastic_disk: Enable the elastic disk on the new cluster. This property is now ignored, and takes the default elastic disk behavior in Databricks (elastic disks are always enabled). Type: boolean (or Expression with resultType boolean). :type new_cluster_enable_elastic_disk: 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). :type encrypted_credential: object :param policy_id: The policy id for limiting the ability to configure clusters based on a user defined set of rules. Type: string (or Expression with resultType string). :type policy_id: object """ _validation = { 'type': {'required': True}, 'domain': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'connect_via': {'key': 'connectVia', 'type': 'IntegrationRuntimeReference'}, 'description': {'key': 'description', 'type': 'str'}, 'parameters': {'key': 'parameters', 'type': '{ParameterSpecification}'}, 'annotations': {'key': 'annotations', 'type': '[object]'}, 'domain': {'key': 'typeProperties.domain', 'type': 'object'}, 'access_token': {'key': 'typeProperties.accessToken', 'type': 'SecretBase'}, 'authentication': {'key': 'typeProperties.authentication', 'type': 'object'}, 'workspace_resource_id': {'key': 'typeProperties.workspaceResourceId', 'type': 'object'}, 'existing_cluster_id': {'key': 'typeProperties.existingClusterId', 'type': 'object'}, 'instance_pool_id': {'key': 'typeProperties.instancePoolId', 'type': 'object'}, 'new_cluster_version': {'key': 'typeProperties.newClusterVersion', 'type': 'object'}, 'new_cluster_num_of_worker': {'key': 'typeProperties.newClusterNumOfWorker', 'type': 'object'}, 'new_cluster_node_type': {'key': 'typeProperties.newClusterNodeType', 'type': 'object'}, 'new_cluster_spark_conf': {'key': 'typeProperties.newClusterSparkConf', 'type': '{object}'}, 'new_cluster_spark_env_vars': {'key': 'typeProperties.newClusterSparkEnvVars', 'type': '{object}'}, 'new_cluster_custom_tags': {'key': 'typeProperties.newClusterCustomTags', 'type': '{object}'}, 'new_cluster_log_destination': {'key': 'typeProperties.newClusterLogDestination', 'type': 'object'}, 'new_cluster_driver_node_type': {'key': 'typeProperties.newClusterDriverNodeType', 'type': 'object'}, 'new_cluster_init_scripts': {'key': 'typeProperties.newClusterInitScripts', 'type': 'object'}, 'new_cluster_enable_elastic_disk': {'key': 'typeProperties.newClusterEnableElasticDisk', 'type': 'object'}, 'encrypted_credential': {'key': 'typeProperties.encryptedCredential', 'type': 'object'}, 'policy_id': {'key': 'typeProperties.policyId', 'type': 'object'}, } def __init__( self, *, domain: object, additional_properties: Optional[Dict[str, object]] = None, connect_via: Optional["IntegrationRuntimeReference"] = None, description: Optional[str] = None, parameters: Optional[Dict[str, "ParameterSpecification"]] = None, annotations: Optional[List[object]] = None, access_token: Optional["SecretBase"] = None, authentication: Optional[object] = None, workspace_resource_id: Optional[object] = None, existing_cluster_id: Optional[object] = None, instance_pool_id: Optional[object] = None, new_cluster_version: Optional[object] = None, new_cluster_num_of_worker: Optional[object] = None, new_cluster_node_type: Optional[object] = None, new_cluster_spark_conf: Optional[Dict[str, object]] = None, new_cluster_spark_env_vars: Optional[Dict[str, object]] = None, new_cluster_custom_tags: Optional[Dict[str, object]] = None, new_cluster_log_destination: Optional[object] = None, new_cluster_driver_node_type: Optional[object] = None, new_cluster_init_scripts: Optional[object] = None, new_cluster_enable_elastic_disk: Optional[object] = None, encrypted_credential: Optional[object] = None, policy_id: Optional[object] = None, **kwargs ): super(AzureDatabricksLinkedService, self).__init__(additional_properties=additional_properties, connect_via=connect_via, description=description, parameters=parameters, annotations=annotations, **kwargs) self.type = 'AzureDatabricks' # type: str self.domain = domain self.access_token = access_token self.authentication = authentication self.workspace_resource_id = workspace_resource_id self.existing_cluster_id = existing_cluster_id self.instance_pool_id = instance_pool_id self.new_cluster_version = new_cluster_version self.new_cluster_num_of_worker = new_cluster_num_of_worker self.new_cluster_node_type = new_cluster_node_type self.new_cluster_spark_conf = new_cluster_spark_conf self.new_cluster_spark_env_vars = new_cluster_spark_env_vars self.new_cluster_custom_tags = new_cluster_custom_tags self.new_cluster_log_destination = new_cluster_log_destination self.new_cluster_driver_node_type = new_cluster_driver_node_type self.new_cluster_init_scripts = new_cluster_init_scripts self.new_cluster_enable_elastic_disk = new_cluster_enable_elastic_disk self.encrypted_credential = encrypted_credential self.policy_id = policy_id
[docs]class ExecutionActivity(Activity): """Base class for all execution activities. You probably want to use the sub-classes and not this class directly. Known sub-classes are: AzureDataExplorerCommandActivity, AzureFunctionActivity, AzureMLBatchExecutionActivity, AzureMLExecutePipelineActivity, AzureMLUpdateResourceActivity, CopyActivity, CustomActivity, DataLakeAnalyticsUSQLActivity, DatabricksNotebookActivity, DatabricksSparkJarActivity, DatabricksSparkPythonActivity, DeleteActivity, ExecuteDataFlowActivity, ExecuteSSISPackageActivity, GetMetadataActivity, HDInsightHiveActivity, HDInsightMapReduceActivity, HDInsightPigActivity, HDInsightSparkActivity, HDInsightStreamingActivity, LookupActivity, SynapseSparkJobDefinitionActivity, SqlServerStoredProcedureActivity, SynapseNotebookActivity, WebActivity. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param name: Required. Activity name. :type name: str :param type: Required. Type of activity.Constant filled by server. :type type: str :param description: Activity description. :type description: str :param depends_on: Activity depends on condition. :type depends_on: list[~azure.synapse.artifacts.models.ActivityDependency] :param user_properties: Activity user properties. :type user_properties: list[~azure.synapse.artifacts.models.UserProperty] :param linked_service_name: Linked service reference. :type linked_service_name: ~azure.synapse.artifacts.models.LinkedServiceReference :param policy: Activity policy. :type policy: ~azure.synapse.artifacts.models.ActivityPolicy """ _validation = { 'name': {'required': True}, 'type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'name': {'key': 'name', 'type': 'str'}, 'type': {'key': 'type', 'type': 'str'}, 'description': {'key': 'description', 'type': 'str'}, 'depends_on': {'key': 'dependsOn', 'type': '[ActivityDependency]'}, 'user_properties': {'key': 'userProperties', 'type': '[UserProperty]'}, 'linked_service_name': {'key': 'linkedServiceName', 'type': 'LinkedServiceReference'}, 'policy': {'key': 'policy', 'type': 'ActivityPolicy'}, } _subtype_map = { 'type': {'AzureDataExplorerCommand': 'AzureDataExplorerCommandActivity', 'AzureFunctionActivity': 'AzureFunctionActivity', 'AzureMLBatchExecution': 'AzureMLBatchExecutionActivity', 'AzureMLExecutePipeline': 'AzureMLExecutePipelineActivity', 'AzureMLUpdateResource': 'AzureMLUpdateResourceActivity', 'Copy': 'CopyActivity', 'Custom': 'CustomActivity', 'DataLakeAnalyticsU-SQL': 'DataLakeAnalyticsUSQLActivity', 'DatabricksNotebook': 'DatabricksNotebookActivity', 'DatabricksSparkJar': 'DatabricksSparkJarActivity', 'DatabricksSparkPython': 'DatabricksSparkPythonActivity', 'Delete': 'DeleteActivity', 'ExecuteDataFlow': 'ExecuteDataFlowActivity', 'ExecuteSSISPackage': 'ExecuteSSISPackageActivity', 'GetMetadata': 'GetMetadataActivity', 'HDInsightHive': 'HDInsightHiveActivity', 'HDInsightMapReduce': 'HDInsightMapReduceActivity', 'HDInsightPig': 'HDInsightPigActivity', 'HDInsightSpark': 'HDInsightSparkActivity', 'HDInsightStreaming': 'HDInsightStreamingActivity', 'Lookup': 'LookupActivity', 'SparkJob': 'SynapseSparkJobDefinitionActivity', 'SqlServerStoredProcedure': 'SqlServerStoredProcedureActivity', 'SynapseNotebook': 'SynapseNotebookActivity', 'WebActivity': 'WebActivity'} } def __init__( self, *, name: str, additional_properties: Optional[Dict[str, object]] = None, description: Optional[str] = None, depends_on: Optional[List["ActivityDependency"]] = None, user_properties: Optional[List["UserProperty"]] = None, linked_service_name: Optional["LinkedServiceReference"] = None, policy: Optional["ActivityPolicy"] = None, **kwargs ): super(ExecutionActivity, self).__init__(additional_properties=additional_properties, name=name, description=description, depends_on=depends_on, user_properties=user_properties, **kwargs) self.type = 'Execution' # type: str self.linked_service_name = linked_service_name self.policy = policy
[docs]class AzureDataExplorerCommandActivity(ExecutionActivity): """Azure Data Explorer command activity. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param name: Required. Activity name. :type name: str :param type: Required. Type of activity.Constant filled by server. :type type: str :param description: Activity description. :type description: str :param depends_on: Activity depends on condition. :type depends_on: list[~azure.synapse.artifacts.models.ActivityDependency] :param user_properties: Activity user properties. :type user_properties: list[~azure.synapse.artifacts.models.UserProperty] :param linked_service_name: Linked service reference. :type linked_service_name: ~azure.synapse.artifacts.models.LinkedServiceReference :param policy: Activity policy. :type policy: ~azure.synapse.artifacts.models.ActivityPolicy :param command: Required. A control command, according to the Azure Data Explorer command syntax. Type: string (or Expression with resultType string). :type command: object :param command_timeout: Control command timeout. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9]))..). :type command_timeout: object """ _validation = { 'name': {'required': True}, 'type': {'required': True}, 'command': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'name': {'key': 'name', 'type': 'str'}, 'type': {'key': 'type', 'type': 'str'}, 'description': {'key': 'description', 'type': 'str'}, 'depends_on': {'key': 'dependsOn', 'type': '[ActivityDependency]'}, 'user_properties': {'key': 'userProperties', 'type': '[UserProperty]'}, 'linked_service_name': {'key': 'linkedServiceName', 'type': 'LinkedServiceReference'}, 'policy': {'key': 'policy', 'type': 'ActivityPolicy'}, 'command': {'key': 'typeProperties.command', 'type': 'object'}, 'command_timeout': {'key': 'typeProperties.commandTimeout', 'type': 'object'}, } def __init__( self, *, name: str, command: object, additional_properties: Optional[Dict[str, object]] = None, description: Optional[str] = None, depends_on: Optional[List["ActivityDependency"]] = None, user_properties: Optional[List["UserProperty"]] = None, linked_service_name: Optional["LinkedServiceReference"] = None, policy: Optional["ActivityPolicy"] = None, command_timeout: Optional[object] = None, **kwargs ): super(AzureDataExplorerCommandActivity, self).__init__(additional_properties=additional_properties, name=name, description=description, depends_on=depends_on, user_properties=user_properties, linked_service_name=linked_service_name, policy=policy, **kwargs) self.type = 'AzureDataExplorerCommand' # type: str self.command = command self.command_timeout = command_timeout
[docs]class AzureDataExplorerLinkedService(LinkedService): """Azure Data Explorer (Kusto) linked service. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. :type connect_via: ~azure.synapse.artifacts.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. :type parameters: dict[str, ~azure.synapse.artifacts.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param endpoint: Required. The endpoint of Azure Data Explorer (the engine's endpoint). URL will be in the format https://:code:`<clusterName>`.:code:`<regionName>`.kusto.windows.net. Type: string (or Expression with resultType string). :type endpoint: object :param service_principal_id: Required. The ID of the service principal used to authenticate against Azure Data Explorer. Type: string (or Expression with resultType string). :type service_principal_id: object :param service_principal_key: Required. The key of the service principal used to authenticate against Kusto. :type service_principal_key: ~azure.synapse.artifacts.models.SecretBase :param database: Required. Database name for connection. Type: string (or Expression with resultType string). :type database: object :param tenant: Required. The name or ID of the tenant to which the service principal belongs. Type: string (or Expression with resultType string). :type tenant: object """ _validation = { 'type': {'required': True}, 'endpoint': {'required': True}, 'service_principal_id': {'required': True}, 'service_principal_key': {'required': True}, 'database': {'required': True}, 'tenant': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'connect_via': {'key': 'connectVia', 'type': 'IntegrationRuntimeReference'}, 'description': {'key': 'description', 'type': 'str'}, 'parameters': {'key': 'parameters', 'type': '{ParameterSpecification}'}, 'annotations': {'key': 'annotations', 'type': '[object]'}, 'endpoint': {'key': 'typeProperties.endpoint', 'type': 'object'}, 'service_principal_id': {'key': 'typeProperties.servicePrincipalId', 'type': 'object'}, 'service_principal_key': {'key': 'typeProperties.servicePrincipalKey', 'type': 'SecretBase'}, 'database': {'key': 'typeProperties.database', 'type': 'object'}, 'tenant': {'key': 'typeProperties.tenant', 'type': 'object'}, } def __init__( self, *, endpoint: object, service_principal_id: object, service_principal_key: "SecretBase", database: object, tenant: object, additional_properties: Optional[Dict[str, object]] = None, connect_via: Optional["IntegrationRuntimeReference"] = None, description: Optional[str] = None, parameters: Optional[Dict[str, "ParameterSpecification"]] = None, annotations: Optional[List[object]] = None, **kwargs ): super(AzureDataExplorerLinkedService, self).__init__(additional_properties=additional_properties, connect_via=connect_via, description=description, parameters=parameters, annotations=annotations, **kwargs) self.type = 'AzureDataExplorer' # type: str self.endpoint = endpoint self.service_principal_id = service_principal_id self.service_principal_key = service_principal_key self.database = database self.tenant = tenant
[docs]class AzureDataExplorerSink(CopySink): """A copy activity Azure Data Explorer sink. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Copy sink type.Constant filled by server. :type type: str :param write_batch_size: Write batch size. Type: integer (or Expression with resultType integer), minimum: 0. :type write_batch_size: object :param write_batch_timeout: Write batch timeout. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type write_batch_timeout: object :param sink_retry_count: Sink retry count. Type: integer (or Expression with resultType integer). :type sink_retry_count: object :param sink_retry_wait: Sink retry wait. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type sink_retry_wait: object :param max_concurrent_connections: The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object :param ingestion_mapping_name: A name of a pre-created csv mapping that was defined on the target Kusto table. Type: string. :type ingestion_mapping_name: object :param ingestion_mapping_as_json: An explicit column mapping description provided in a json format. Type: string. :type ingestion_mapping_as_json: object :param flush_immediately: If set to true, any aggregation will be skipped. Default is false. Type: boolean. :type flush_immediately: object """ _validation = { 'type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'write_batch_size': {'key': 'writeBatchSize', 'type': 'object'}, 'write_batch_timeout': {'key': 'writeBatchTimeout', 'type': 'object'}, 'sink_retry_count': {'key': 'sinkRetryCount', 'type': 'object'}, 'sink_retry_wait': {'key': 'sinkRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'ingestion_mapping_name': {'key': 'ingestionMappingName', 'type': 'object'}, 'ingestion_mapping_as_json': {'key': 'ingestionMappingAsJson', 'type': 'object'}, 'flush_immediately': {'key': 'flushImmediately', 'type': 'object'}, } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, write_batch_size: Optional[object] = None, write_batch_timeout: Optional[object] = None, sink_retry_count: Optional[object] = None, sink_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, ingestion_mapping_name: Optional[object] = None, ingestion_mapping_as_json: Optional[object] = None, flush_immediately: Optional[object] = None, **kwargs ): super(AzureDataExplorerSink, self).__init__(additional_properties=additional_properties, write_batch_size=write_batch_size, write_batch_timeout=write_batch_timeout, sink_retry_count=sink_retry_count, sink_retry_wait=sink_retry_wait, max_concurrent_connections=max_concurrent_connections, **kwargs) self.type = 'AzureDataExplorerSink' # type: str self.ingestion_mapping_name = ingestion_mapping_name self.ingestion_mapping_as_json = ingestion_mapping_as_json self.flush_immediately = flush_immediately
[docs]class AzureDataExplorerSource(CopySource): """A copy activity Azure Data Explorer (Kusto) source. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Copy source type.Constant filled by server. :type type: str :param source_retry_count: Source retry count. Type: integer (or Expression with resultType integer). :type source_retry_count: object :param source_retry_wait: Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type source_retry_wait: object :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object :param query: Required. Database query. Should be a Kusto Query Language (KQL) query. Type: string (or Expression with resultType string). :type query: object :param no_truncation: The name of the Boolean option that controls whether truncation is applied to result-sets that go beyond a certain row-count limit. :type no_truncation: object :param query_timeout: Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).. :type query_timeout: object :param additional_columns: Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects). :type additional_columns: list[~azure.synapse.artifacts.models.AdditionalColumns] """ _validation = { 'type': {'required': True}, 'query': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, 'no_truncation': {'key': 'noTruncation', 'type': 'object'}, 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, } def __init__( self, *, query: object, additional_properties: Optional[Dict[str, object]] = None, source_retry_count: Optional[object] = None, source_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, no_truncation: Optional[object] = None, query_timeout: Optional[object] = None, additional_columns: Optional[List["AdditionalColumns"]] = None, **kwargs ): super(AzureDataExplorerSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, **kwargs) self.type = 'AzureDataExplorerSource' # type: str self.query = query self.no_truncation = no_truncation self.query_timeout = query_timeout self.additional_columns = additional_columns
[docs]class AzureDataExplorerTableDataset(Dataset): """The Azure Data Explorer (Kusto) dataset. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Type of dataset.Constant filled by server. :type type: str :param description: Dataset description. :type description: str :param structure: Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. :type structure: object :param schema: Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. :type linked_service_name: ~azure.synapse.artifacts.models.LinkedServiceReference :param parameters: Parameters for dataset. :type parameters: dict[str, ~azure.synapse.artifacts.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. :type folder: ~azure.synapse.artifacts.models.DatasetFolder :param table: The table name of the Azure Data Explorer database. Type: string (or Expression with resultType string). :type table: object """ _validation = { 'type': {'required': True}, 'linked_service_name': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'description': {'key': 'description', 'type': 'str'}, 'structure': {'key': 'structure', 'type': 'object'}, 'schema': {'key': 'schema', 'type': 'object'}, 'linked_service_name': {'key': 'linkedServiceName', 'type': 'LinkedServiceReference'}, 'parameters': {'key': 'parameters', 'type': '{ParameterSpecification}'}, 'annotations': {'key': 'annotations', 'type': '[object]'}, 'folder': {'key': 'folder', 'type': 'DatasetFolder'}, 'table': {'key': 'typeProperties.table', 'type': 'object'}, } def __init__( self, *, linked_service_name: "LinkedServiceReference", additional_properties: Optional[Dict[str, object]] = None, description: Optional[str] = None, structure: Optional[object] = None, schema: Optional[object] = None, parameters: Optional[Dict[str, "ParameterSpecification"]] = None, annotations: Optional[List[object]] = None, folder: Optional["DatasetFolder"] = None, table: Optional[object] = None, **kwargs ): super(AzureDataExplorerTableDataset, self).__init__(additional_properties=additional_properties, description=description, structure=structure, schema=schema, linked_service_name=linked_service_name, parameters=parameters, annotations=annotations, folder=folder, **kwargs) self.type = 'AzureDataExplorerTable' # type: str self.table = table
[docs]class AzureDataLakeAnalyticsLinkedService(LinkedService): """Azure Data Lake Analytics linked service. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. :type connect_via: ~azure.synapse.artifacts.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. :type parameters: dict[str, ~azure.synapse.artifacts.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param account_name: Required. The Azure Data Lake Analytics account name. Type: string (or Expression with resultType string). :type account_name: object :param service_principal_id: The ID of the application used to authenticate against the Azure Data Lake Analytics account. Type: string (or Expression with resultType string). :type service_principal_id: object :param service_principal_key: The Key of the application used to authenticate against the Azure Data Lake Analytics account. :type service_principal_key: ~azure.synapse.artifacts.models.SecretBase :param tenant: Required. The name or ID of the tenant to which the service principal belongs. Type: string (or Expression with resultType string). :type tenant: object :param subscription_id: Data Lake Analytics account subscription ID (if different from Data Factory account). Type: string (or Expression with resultType string). :type subscription_id: object :param resource_group_name: Data Lake Analytics account resource group name (if different from Data Factory account). Type: string (or Expression with resultType string). :type resource_group_name: object :param data_lake_analytics_uri: Azure Data Lake Analytics URI Type: string (or Expression with resultType string). :type data_lake_analytics_uri: 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). :type encrypted_credential: object """ _validation = { 'type': {'required': True}, 'account_name': {'required': True}, 'tenant': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'connect_via': {'key': 'connectVia', 'type': 'IntegrationRuntimeReference'}, 'description': {'key': 'description', 'type': 'str'}, 'parameters': {'key': 'parameters', 'type': '{ParameterSpecification}'}, 'annotations': {'key': 'annotations', 'type': '[object]'}, 'account_name': {'key': 'typeProperties.accountName', 'type': 'object'}, 'service_principal_id': {'key': 'typeProperties.servicePrincipalId', 'type': 'object'}, 'service_principal_key': {'key': 'typeProperties.servicePrincipalKey', 'type': 'SecretBase'}, 'tenant': {'key': 'typeProperties.tenant', 'type': 'object'}, 'subscription_id': {'key': 'typeProperties.subscriptionId', 'type': 'object'}, 'resource_group_name': {'key': 'typeProperties.resourceGroupName', 'type': 'object'}, 'data_lake_analytics_uri': {'key': 'typeProperties.dataLakeAnalyticsUri', 'type': 'object'}, 'encrypted_credential': {'key': 'typeProperties.encryptedCredential', 'type': 'object'}, } def __init__( self, *, account_name: object, tenant: object, additional_properties: Optional[Dict[str, object]] = None, connect_via: Optional["IntegrationRuntimeReference"] = None, description: Optional[str] = None, parameters: Optional[Dict[str, "ParameterSpecification"]] = None, annotations: Optional[List[object]] = None, service_principal_id: Optional[object] = None, service_principal_key: Optional["SecretBase"] = None, subscription_id: Optional[object] = None, resource_group_name: Optional[object] = None, data_lake_analytics_uri: Optional[object] = None, encrypted_credential: Optional[object] = None, **kwargs ): super(AzureDataLakeAnalyticsLinkedService, self).__init__(additional_properties=additional_properties, connect_via=connect_via, description=description, parameters=parameters, annotations=annotations, **kwargs) self.type = 'AzureDataLakeAnalytics' # type: str self.account_name = account_name self.service_principal_id = service_principal_id self.service_principal_key = service_principal_key self.tenant = tenant self.subscription_id = subscription_id self.resource_group_name = resource_group_name self.data_lake_analytics_uri = data_lake_analytics_uri self.encrypted_credential = encrypted_credential
[docs]class AzureDataLakeStoreDataset(Dataset): """Azure Data Lake Store dataset. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Type of dataset.Constant filled by server. :type type: str :param description: Dataset description. :type description: str :param structure: Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. :type structure: object :param schema: Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. :type linked_service_name: ~azure.synapse.artifacts.models.LinkedServiceReference :param parameters: Parameters for dataset. :type parameters: dict[str, ~azure.synapse.artifacts.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. :type folder: ~azure.synapse.artifacts.models.DatasetFolder :param folder_path: Path to the folder in the Azure Data Lake Store. Type: string (or Expression with resultType string). :type folder_path: object :param file_name: The name of the file in the Azure Data Lake Store. Type: string (or Expression with resultType string). :type file_name: object :param format: The format of the Data Lake Store. :type format: ~azure.synapse.artifacts.models.DatasetStorageFormat :param compression: The data compression method used for the item(s) in the Azure Data Lake Store. :type compression: ~azure.synapse.artifacts.models.DatasetCompression """ _validation = { 'type': {'required': True}, 'linked_service_name': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'description': {'key': 'description', 'type': 'str'}, 'structure': {'key': 'structure', 'type': 'object'}, 'schema': {'key': 'schema', 'type': 'object'}, 'linked_service_name': {'key': 'linkedServiceName', 'type': 'LinkedServiceReference'}, 'parameters': {'key': 'parameters', 'type': '{ParameterSpecification}'}, 'annotations': {'key': 'annotations', 'type': '[object]'}, 'folder': {'key': 'folder', 'type': 'DatasetFolder'}, 'folder_path': {'key': 'typeProperties.folderPath', 'type': 'object'}, 'file_name': {'key': 'typeProperties.fileName', 'type': 'object'}, 'format': {'key': 'typeProperties.format', 'type': 'DatasetStorageFormat'}, 'compression': {'key': 'typeProperties.compression', 'type': 'DatasetCompression'}, } def __init__( self, *, linked_service_name: "LinkedServiceReference", additional_properties: Optional[Dict[str, object]] = None, description: Optional[str] = None, structure: Optional[object] = None, schema: Optional[object] = None, parameters: Optional[Dict[str, "ParameterSpecification"]] = None, annotations: Optional[List[object]] = None, folder: Optional["DatasetFolder"] = None, folder_path: Optional[object] = None, file_name: Optional[object] = None, format: Optional["DatasetStorageFormat"] = None, compression: Optional["DatasetCompression"] = None, **kwargs ): super(AzureDataLakeStoreDataset, self).__init__(additional_properties=additional_properties, description=description, structure=structure, schema=schema, linked_service_name=linked_service_name, parameters=parameters, annotations=annotations, folder=folder, **kwargs) self.type = 'AzureDataLakeStoreFile' # type: str self.folder_path = folder_path self.file_name = file_name self.format = format self.compression = compression
[docs]class AzureDataLakeStoreLinkedService(LinkedService): """Azure Data Lake Store linked service. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. :type connect_via: ~azure.synapse.artifacts.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. :type parameters: dict[str, ~azure.synapse.artifacts.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param data_lake_store_uri: Required. Data Lake Store service URI. Type: string (or Expression with resultType string). :type data_lake_store_uri: object :param service_principal_id: The ID of the application used to authenticate against the Azure Data Lake Store account. Type: string (or Expression with resultType string). :type service_principal_id: object :param service_principal_key: The Key of the application used to authenticate against the Azure Data Lake Store account. :type service_principal_key: ~azure.synapse.artifacts.models.SecretBase :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 :param subscription_id: Data Lake Store account subscription ID (if different from Data Factory account). Type: string (or Expression with resultType string). :type subscription_id: object :param resource_group_name: Data Lake Store account resource group name (if different from Data Factory account). Type: string (or Expression with resultType string). :type resource_group_name: 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). :type encrypted_credential: object """ _validation = { 'type': {'required': True}, 'data_lake_store_uri': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'connect_via': {'key': 'connectVia', 'type': 'IntegrationRuntimeReference'}, 'description': {'key': 'description', 'type': 'str'}, 'parameters': {'key': 'parameters', 'type': '{ParameterSpecification}'}, 'annotations': {'key': 'annotations', 'type': '[object]'}, 'data_lake_store_uri': {'key': 'typeProperties.dataLakeStoreUri', 'type': 'object'}, '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'}, 'encrypted_credential': {'key': 'typeProperties.encryptedCredential', 'type': 'object'}, } def __init__( self, *, data_lake_store_uri: object, additional_properties: Optional[Dict[str, object]] = None, connect_via: Optional["IntegrationRuntimeReference"] = None, description: Optional[str] = None, parameters: Optional[Dict[str, "ParameterSpecification"]] = None, annotations: Optional[List[object]] = None, service_principal_id: Optional[object] = None, service_principal_key: Optional["SecretBase"] = None, tenant: Optional[object] = None, azure_cloud_type: Optional[object] = None, account_name: Optional[object] = None, subscription_id: Optional[object] = None, resource_group_name: Optional[object] = None, encrypted_credential: Optional[object] = None, **kwargs ): super(AzureDataLakeStoreLinkedService, self).__init__(additional_properties=additional_properties, connect_via=connect_via, description=description, parameters=parameters, annotations=annotations, **kwargs) self.type = 'AzureDataLakeStore' # type: str self.data_lake_store_uri = data_lake_store_uri self.service_principal_id = service_principal_id self.service_principal_key = service_principal_key self.tenant = tenant self.azure_cloud_type = azure_cloud_type self.account_name = account_name self.subscription_id = subscription_id self.resource_group_name = resource_group_name self.encrypted_credential = encrypted_credential
[docs]class AzureDataLakeStoreLocation(DatasetLocation): """The location of azure data lake store dataset. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Type of dataset storage location.Constant filled by server. :type type: str :param folder_path: Specify the folder path of dataset. Type: string (or Expression with resultType string). :type folder_path: object :param file_name: Specify the file name of dataset. Type: string (or Expression with resultType string). :type file_name: object """ _validation = { 'type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'folder_path': {'key': 'folderPath', 'type': 'object'}, 'file_name': {'key': 'fileName', 'type': 'object'}, } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, folder_path: Optional[object] = None, file_name: Optional[object] = None, **kwargs ): super(AzureDataLakeStoreLocation, self).__init__(additional_properties=additional_properties, folder_path=folder_path, file_name=file_name, **kwargs) self.type = 'AzureDataLakeStoreLocation' # type: str
[docs]class AzureDataLakeStoreReadSettings(StoreReadSettings): """Azure data lake store read settings. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. The read setting type.Constant filled by server. :type type: str :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object :param recursive: If true, files under the folder path will be read recursively. Default is true. Type: boolean (or Expression with resultType boolean). :type recursive: object :param wildcard_folder_path: ADLS wildcardFolderPath. Type: string (or Expression with resultType string). :type wildcard_folder_path: object :param wildcard_file_name: ADLS wildcardFileName. Type: string (or Expression with resultType string). :type wildcard_file_name: object :param file_list_path: Point to a text file that lists each file (relative path to the path configured in the dataset) that you want to copy. Type: string (or Expression with resultType string). :type file_list_path: object :param list_after: Lists files after the value (exclusive) based on file/folder names’ lexicographical order. Applies under the folderPath in data set, and filter files/sub-folders under the folderPath. Type: string (or Expression with resultType string). :type list_after: object :param list_before: Lists files before the value (inclusive) based on file/folder names’ lexicographical order. Applies under the folderPath in data set, and filter files/sub-folders under the folderPath. Type: string (or Expression with resultType string). :type list_before: object :param enable_partition_discovery: Indicates whether to enable partition discovery. :type enable_partition_discovery: bool :param partition_root_path: Specify the root path where partition discovery starts from. Type: string (or Expression with resultType string). :type partition_root_path: object :param delete_files_after_completion: Indicates whether the source files need to be deleted after copy completion. Default is false. Type: boolean (or Expression with resultType boolean). :type delete_files_after_completion: object :param modified_datetime_start: The start of file's modified datetime. Type: string (or Expression with resultType string). :type modified_datetime_start: object :param modified_datetime_end: The end of file's modified datetime. Type: string (or Expression with resultType string). :type modified_datetime_end: object """ _validation = { 'type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'recursive': {'key': 'recursive', 'type': 'object'}, 'wildcard_folder_path': {'key': 'wildcardFolderPath', 'type': 'object'}, 'wildcard_file_name': {'key': 'wildcardFileName', 'type': 'object'}, 'file_list_path': {'key': 'fileListPath', 'type': 'object'}, 'list_after': {'key': 'listAfter', 'type': 'object'}, 'list_before': {'key': 'listBefore', 'type': 'object'}, 'enable_partition_discovery': {'key': 'enablePartitionDiscovery', 'type': 'bool'}, 'partition_root_path': {'key': 'partitionRootPath', 'type': 'object'}, 'delete_files_after_completion': {'key': 'deleteFilesAfterCompletion', 'type': 'object'}, 'modified_datetime_start': {'key': 'modifiedDatetimeStart', 'type': 'object'}, 'modified_datetime_end': {'key': 'modifiedDatetimeEnd', 'type': 'object'}, } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, max_concurrent_connections: Optional[object] = None, recursive: Optional[object] = None, wildcard_folder_path: Optional[object] = None, wildcard_file_name: Optional[object] = None, file_list_path: Optional[object] = None, list_after: Optional[object] = None, list_before: Optional[object] = None, enable_partition_discovery: Optional[bool] = None, partition_root_path: Optional[object] = None, delete_files_after_completion: Optional[object] = None, modified_datetime_start: Optional[object] = None, modified_datetime_end: Optional[object] = None, **kwargs ): super(AzureDataLakeStoreReadSettings, self).__init__(additional_properties=additional_properties, max_concurrent_connections=max_concurrent_connections, **kwargs) self.type = 'AzureDataLakeStoreReadSettings' # type: str self.recursive = recursive self.wildcard_folder_path = wildcard_folder_path self.wildcard_file_name = wildcard_file_name self.file_list_path = file_list_path self.list_after = list_after self.list_before = list_before self.enable_partition_discovery = enable_partition_discovery self.partition_root_path = partition_root_path self.delete_files_after_completion = delete_files_after_completion self.modified_datetime_start = modified_datetime_start self.modified_datetime_end = modified_datetime_end
[docs]class AzureDataLakeStoreSink(CopySink): """A copy activity Azure Data Lake Store sink. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Copy sink type.Constant filled by server. :type type: str :param write_batch_size: Write batch size. Type: integer (or Expression with resultType integer), minimum: 0. :type write_batch_size: object :param write_batch_timeout: Write batch timeout. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type write_batch_timeout: object :param sink_retry_count: Sink retry count. Type: integer (or Expression with resultType integer). :type sink_retry_count: object :param sink_retry_wait: Sink retry wait. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type sink_retry_wait: object :param max_concurrent_connections: The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object :param copy_behavior: The type of copy behavior for copy sink. :type copy_behavior: object :param enable_adls_single_file_parallel: Single File Parallel. :type enable_adls_single_file_parallel: object """ _validation = { 'type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'write_batch_size': {'key': 'writeBatchSize', 'type': 'object'}, 'write_batch_timeout': {'key': 'writeBatchTimeout', 'type': 'object'}, 'sink_retry_count': {'key': 'sinkRetryCount', 'type': 'object'}, 'sink_retry_wait': {'key': 'sinkRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'copy_behavior': {'key': 'copyBehavior', 'type': 'object'}, 'enable_adls_single_file_parallel': {'key': 'enableAdlsSingleFileParallel', 'type': 'object'}, } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, write_batch_size: Optional[object] = None, write_batch_timeout: Optional[object] = None, sink_retry_count: Optional[object] = None, sink_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, copy_behavior: Optional[object] = None, enable_adls_single_file_parallel: Optional[object] = None, **kwargs ): super(AzureDataLakeStoreSink, self).__init__(additional_properties=additional_properties, write_batch_size=write_batch_size, write_batch_timeout=write_batch_timeout, sink_retry_count=sink_retry_count, sink_retry_wait=sink_retry_wait, max_concurrent_connections=max_concurrent_connections, **kwargs) self.type = 'AzureDataLakeStoreSink' # type: str self.copy_behavior = copy_behavior self.enable_adls_single_file_parallel = enable_adls_single_file_parallel
[docs]class AzureDataLakeStoreSource(CopySource): """A copy activity Azure Data Lake source. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Copy source type.Constant filled by server. :type type: str :param source_retry_count: Source retry count. Type: integer (or Expression with resultType integer). :type source_retry_count: object :param source_retry_wait: Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type source_retry_wait: object :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object :param recursive: If true, files under the folder path will be read recursively. Default is true. Type: boolean (or Expression with resultType boolean). :type recursive: object """ _validation = { 'type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'recursive': {'key': 'recursive', 'type': 'object'}, } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, source_retry_count: Optional[object] = None, source_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, recursive: Optional[object] = None, **kwargs ): super(AzureDataLakeStoreSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, **kwargs) self.type = 'AzureDataLakeStoreSource' # type: str self.recursive = recursive
[docs]class AzureDataLakeStoreWriteSettings(StoreWriteSettings): """Azure data lake store write settings. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. The write setting type.Constant filled by server. :type type: str :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object :param copy_behavior: The type of copy behavior for copy sink. :type copy_behavior: object :param expiry_date_time: Specifies the expiry time of the written files. The time is applied to the UTC time zone in the format of "2018-12-01T05:00:00Z". Default value is NULL. Type: integer (or Expression with resultType integer). :type expiry_date_time: object """ _validation = { 'type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'copy_behavior': {'key': 'copyBehavior', 'type': 'object'}, 'expiry_date_time': {'key': 'expiryDateTime', 'type': 'object'}, } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, max_concurrent_connections: Optional[object] = None, copy_behavior: Optional[object] = None, expiry_date_time: Optional[object] = None, **kwargs ): super(AzureDataLakeStoreWriteSettings, self).__init__(additional_properties=additional_properties, max_concurrent_connections=max_concurrent_connections, copy_behavior=copy_behavior, **kwargs) self.type = 'AzureDataLakeStoreWriteSettings' # type: str self.expiry_date_time = expiry_date_time
[docs]class Resource(msrest.serialization.Model): """Common fields that are returned in the response for all Azure Resource Manager resources. Variables are only populated by the server, and will be ignored when sending a request. :ivar id: Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. :vartype id: str :ivar name: The name of the resource. :vartype name: str :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts". :vartype type: str """ _validation = { 'id': {'readonly': True}, 'name': {'readonly': True}, 'type': {'readonly': True}, } _attribute_map = { 'id': {'key': 'id', 'type': 'str'}, 'name': {'key': 'name', 'type': 'str'}, 'type': {'key': 'type', 'type': 'str'}, } def __init__( self, **kwargs ): super(Resource, self).__init__(**kwargs) self.id = None self.name = None self.type = None
[docs]class AzureEntityResource(Resource): """The resource model definition for an Azure Resource Manager resource with an etag. Variables are only populated by the server, and will be ignored when sending a request. :ivar id: Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. :vartype id: str :ivar name: The name of the resource. :vartype name: str :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts". :vartype type: str :ivar etag: Resource Etag. :vartype etag: str """ _validation = { 'id': {'readonly': True}, 'name': {'readonly': True}, 'type': {'readonly': True}, 'etag': {'readonly': True}, } _attribute_map = { 'id': {'key': 'id', 'type': 'str'}, 'name': {'key': 'name', 'type': 'str'}, 'type': {'key': 'type', 'type': 'str'}, 'etag': {'key': 'etag', 'type': 'str'}, } def __init__( self, **kwargs ): super(AzureEntityResource, self).__init__(**kwargs) self.etag = None
[docs]class AzureFileStorageLinkedService(LinkedService): """Azure File Storage linked service. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. :type connect_via: ~azure.synapse.artifacts.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. :type parameters: dict[str, ~azure.synapse.artifacts.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param host: Required. Host name of the server. Type: string (or Expression with resultType string). :type host: object :param user_id: User ID to logon the server. Type: string (or Expression with resultType string). :type user_id: object :param password: Password to logon the server. :type password: ~azure.synapse.artifacts.models.SecretBase :param connection_string: The connection string. It is mutually exclusive with sasUri property. Type: string, SecureString or AzureKeyVaultSecretReference. :type connection_string: object :param account_key: The Azure key vault secret reference of accountKey in connection string. :type account_key: ~azure.synapse.artifacts.models.AzureKeyVaultSecretReference :param sas_uri: SAS URI of the Azure File resource. It is mutually exclusive with connectionString property. Type: string, SecureString or AzureKeyVaultSecretReference. :type sas_uri: object :param sas_token: The Azure key vault secret reference of sasToken in sas uri. :type sas_token: ~azure.synapse.artifacts.models.AzureKeyVaultSecretReference :param file_share: The azure file share name. It is required when auth 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). :type encrypted_credential: object """ _validation = { 'type': {'required': True}, 'host': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'connect_via': {'key': 'connectVia', 'type': 'IntegrationRuntimeReference'}, 'description': {'key': 'description', 'type': 'str'}, 'parameters': {'key': 'parameters', 'type': '{ParameterSpecification}'}, 'annotations': {'key': 'annotations', 'type': '[object]'}, 'host': {'key': 'typeProperties.host', 'type': 'object'}, 'user_id': {'key': 'typeProperties.userId', 'type': 'object'}, 'password': {'key': 'typeProperties.password', 'type': 'SecretBase'}, 'connection_string': {'key': 'typeProperties.connectionString', 'type': 'object'}, 'account_key': {'key': 'typeProperties.accountKey', 'type': 'AzureKeyVaultSecretReference'}, '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'}, } def __init__( self, *, host: object, additional_properties: Optional[Dict[str, object]] = None, connect_via: Optional["IntegrationRuntimeReference"] = None, description: Optional[str] = None, parameters: Optional[Dict[str, "ParameterSpecification"]] = None, annotations: Optional[List[object]] = None, user_id: Optional[object] = None, password: Optional["SecretBase"] = None, connection_string: Optional[object] = None, account_key: Optional["AzureKeyVaultSecretReference"] = None, sas_uri: Optional[object] = None, sas_token: Optional["AzureKeyVaultSecretReference"] = None, file_share: Optional[object] = None, snapshot: Optional[object] = None, encrypted_credential: Optional[object] = None, **kwargs ): super(AzureFileStorageLinkedService, self).__init__(additional_properties=additional_properties, connect_via=connect_via, description=description, parameters=parameters, annotations=annotations, **kwargs) self.type = 'AzureFileStorage' # type: str self.host = host self.user_id = user_id self.password = password self.connection_string = connection_string self.account_key = account_key self.sas_uri = sas_uri self.sas_token = sas_token self.file_share = file_share self.snapshot = snapshot self.encrypted_credential = encrypted_credential
[docs]class AzureFileStorageLocation(DatasetLocation): """The location of file server dataset. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Type of dataset storage location.Constant filled by server. :type type: str :param folder_path: Specify the folder path of dataset. Type: string (or Expression with resultType string). :type folder_path: object :param file_name: Specify the file name of dataset. Type: string (or Expression with resultType string). :type file_name: object """ _validation = { 'type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'folder_path': {'key': 'folderPath', 'type': 'object'}, 'file_name': {'key': 'fileName', 'type': 'object'}, } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, folder_path: Optional[object] = None, file_name: Optional[object] = None, **kwargs ): super(AzureFileStorageLocation, self).__init__(additional_properties=additional_properties, folder_path=folder_path, file_name=file_name, **kwargs) self.type = 'AzureFileStorageLocation' # type: str
[docs]class AzureFileStorageReadSettings(StoreReadSettings): """Azure File Storage read settings. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. The read setting type.Constant filled by server. :type type: str :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object :param recursive: If true, files under the folder path will be read recursively. Default is true. Type: boolean (or Expression with resultType boolean). :type recursive: object :param wildcard_folder_path: Azure File Storage wildcardFolderPath. Type: string (or Expression with resultType string). :type wildcard_folder_path: object :param wildcard_file_name: Azure File Storage wildcardFileName. Type: string (or Expression with resultType string). :type wildcard_file_name: object :param prefix: The prefix filter for the Azure File name starting from root path. Type: string (or Expression with resultType string). :type prefix: object :param file_list_path: Point to a text file that lists each file (relative path to the path configured in the dataset) that you want to copy. Type: string (or Expression with resultType string). :type file_list_path: object :param enable_partition_discovery: Indicates whether to enable partition discovery. :type enable_partition_discovery: bool :param partition_root_path: Specify the root path where partition discovery starts from. Type: string (or Expression with resultType string). :type partition_root_path: object :param delete_files_after_completion: Indicates whether the source files need to be deleted after copy completion. Default is false. Type: boolean (or Expression with resultType boolean). :type delete_files_after_completion: object :param modified_datetime_start: The start of file's modified datetime. Type: string (or Expression with resultType string). :type modified_datetime_start: object :param modified_datetime_end: The end of file's modified datetime. Type: string (or Expression with resultType string). :type modified_datetime_end: object """ _validation = { 'type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'recursive': {'key': 'recursive', 'type': 'object'}, 'wildcard_folder_path': {'key': 'wildcardFolderPath', 'type': 'object'}, 'wildcard_file_name': {'key': 'wildcardFileName', 'type': 'object'}, 'prefix': {'key': 'prefix', 'type': 'object'}, 'file_list_path': {'key': 'fileListPath', 'type': 'object'}, 'enable_partition_discovery': {'key': 'enablePartitionDiscovery', 'type': 'bool'}, 'partition_root_path': {'key': 'partitionRootPath', 'type': 'object'}, 'delete_files_after_completion': {'key': 'deleteFilesAfterCompletion', 'type': 'object'}, 'modified_datetime_start': {'key': 'modifiedDatetimeStart', 'type': 'object'}, 'modified_datetime_end': {'key': 'modifiedDatetimeEnd', 'type': 'object'}, } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, max_concurrent_connections: Optional[object] = None, recursive: Optional[object] = None, wildcard_folder_path: Optional[object] = None, wildcard_file_name: Optional[object] = None, prefix: Optional[object] = None, file_list_path: Optional[object] = None, enable_partition_discovery: Optional[bool] = None, partition_root_path: Optional[object] = None, delete_files_after_completion: Optional[object] = None, modified_datetime_start: Optional[object] = None, modified_datetime_end: Optional[object] = None, **kwargs ): super(AzureFileStorageReadSettings, self).__init__(additional_properties=additional_properties, max_concurrent_connections=max_concurrent_connections, **kwargs) self.type = 'AzureFileStorageReadSettings' # type: str self.recursive = recursive self.wildcard_folder_path = wildcard_folder_path self.wildcard_file_name = wildcard_file_name self.prefix = prefix self.file_list_path = file_list_path self.enable_partition_discovery = enable_partition_discovery self.partition_root_path = partition_root_path self.delete_files_after_completion = delete_files_after_completion self.modified_datetime_start = modified_datetime_start self.modified_datetime_end = modified_datetime_end
[docs]class AzureFileStorageWriteSettings(StoreWriteSettings): """Azure File Storage write settings. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. The write setting type.Constant filled by server. :type type: str :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object :param copy_behavior: The type of copy behavior for copy sink. :type copy_behavior: object """ _validation = { 'type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'copy_behavior': {'key': 'copyBehavior', 'type': 'object'}, } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, max_concurrent_connections: Optional[object] = None, copy_behavior: Optional[object] = None, **kwargs ): super(AzureFileStorageWriteSettings, self).__init__(additional_properties=additional_properties, max_concurrent_connections=max_concurrent_connections, copy_behavior=copy_behavior, **kwargs) self.type = 'AzureFileStorageWriteSettings' # type: str
[docs]class AzureFunctionActivity(ExecutionActivity): """Azure Function activity. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param name: Required. Activity name. :type name: str :param type: Required. Type of activity.Constant filled by server. :type type: str :param description: Activity description. :type description: str :param depends_on: Activity depends on condition. :type depends_on: list[~azure.synapse.artifacts.models.ActivityDependency] :param user_properties: Activity user properties. :type user_properties: list[~azure.synapse.artifacts.models.UserProperty] :param linked_service_name: Linked service reference. :type linked_service_name: ~azure.synapse.artifacts.models.LinkedServiceReference :param policy: Activity policy. :type policy: ~azure.synapse.artifacts.models.ActivityPolicy :param method: Required. Rest API method for target endpoint. Possible values include: "GET", "POST", "PUT", "DELETE", "OPTIONS", "HEAD", "TRACE". :type method: str or ~azure.synapse.artifacts.models.AzureFunctionActivityMethod :param function_name: Required. Name of the Function that the Azure Function Activity will call. Type: string (or Expression with resultType string). :type function_name: object :param headers: Represents the headers that will be sent to the request. For example, to set the language and type on a request: "headers" : { "Accept-Language": "en-us", "Content-Type": "application/json" }. Type: string (or Expression with resultType string). :type headers: object :param body: Represents the payload that will be sent to the endpoint. Required for POST/PUT method, not allowed for GET method Type: string (or Expression with resultType string). :type body: object """ _validation = { 'name': {'required': True}, 'type': {'required': True}, 'method': {'required': True}, 'function_name': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'name': {'key': 'name', 'type': 'str'}, 'type': {'key': 'type', 'type': 'str'}, 'description': {'key': 'description', 'type': 'str'}, 'depends_on': {'key': 'dependsOn', 'type': '[ActivityDependency]'}, 'user_properties': {'key': 'userProperties', 'type': '[UserProperty]'}, 'linked_service_name': {'key': 'linkedServiceName', 'type': 'LinkedServiceReference'}, 'policy': {'key': 'policy', 'type': 'ActivityPolicy'}, 'method': {'key': 'typeProperties.method', 'type': 'str'}, 'function_name': {'key': 'typeProperties.functionName', 'type': 'object'}, 'headers': {'key': 'typeProperties.headers', 'type': 'object'}, 'body': {'key': 'typeProperties.body', 'type': 'object'}, } def __init__( self, *, name: str, method: Union[str, "AzureFunctionActivityMethod"], function_name: object, additional_properties: Optional[Dict[str, object]] = None, description: Optional[str] = None, depends_on: Optional[List["ActivityDependency"]] = None, user_properties: Optional[List["UserProperty"]] = None, linked_service_name: Optional["LinkedServiceReference"] = None, policy: Optional["ActivityPolicy"] = None, headers: Optional[object] = None, body: Optional[object] = None, **kwargs ): super(AzureFunctionActivity, self).__init__(additional_properties=additional_properties, name=name, description=description, depends_on=depends_on, user_properties=user_properties, linked_service_name=linked_service_name, policy=policy, **kwargs) self.type = 'AzureFunctionActivity' # type: str self.method = method self.function_name = function_name self.headers = headers self.body = body
[docs]class AzureFunctionLinkedService(LinkedService): """Azure Function linked service. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. :type connect_via: ~azure.synapse.artifacts.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. :type parameters: dict[str, ~azure.synapse.artifacts.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param function_app_url: Required. The endpoint of the Azure Function App. URL will be in the format https://:code:`<accountName>`.azurewebsites.net. :type function_app_url: object :param function_key: Function or Host key for Azure Function App. :type function_key: ~azure.synapse.artifacts.models.SecretBase :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). :type encrypted_credential: object """ _validation = { 'type': {'required': True}, 'function_app_url': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'connect_via': {'key': 'connectVia', 'type': 'IntegrationRuntimeReference'}, 'description': {'key': 'description', 'type': 'str'}, 'parameters': {'key': 'parameters', 'type': '{ParameterSpecification}'}, 'annotations': {'key': 'annotations', 'type': '[object]'}, 'function_app_url': {'key': 'typeProperties.functionAppUrl', 'type': 'object'}, 'function_key': {'key': 'typeProperties.functionKey', 'type': 'SecretBase'}, 'encrypted_credential': {'key': 'typeProperties.encryptedCredential', 'type': 'object'}, } def __init__( self, *, function_app_url: object, additional_properties: Optional[Dict[str, object]] = None, connect_via: Optional["IntegrationRuntimeReference"] = None, description: Optional[str] = None, parameters: Optional[Dict[str, "ParameterSpecification"]] = None, annotations: Optional[List[object]] = None, function_key: Optional["SecretBase"] = None, encrypted_credential: Optional[object] = None, **kwargs ): super(AzureFunctionLinkedService, self).__init__(additional_properties=additional_properties, connect_via=connect_via, description=description, parameters=parameters, annotations=annotations, **kwargs) self.type = 'AzureFunction' # type: str self.function_app_url = function_app_url self.function_key = function_key self.encrypted_credential = encrypted_credential
[docs]class AzureKeyVaultLinkedService(LinkedService): """Azure Key Vault linked service. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. :type connect_via: ~azure.synapse.artifacts.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. :type parameters: dict[str, ~azure.synapse.artifacts.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param base_url: Required. The base URL of the Azure Key Vault. e.g. https://myakv.vault.azure.net Type: string (or Expression with resultType string). :type base_url: object """ _validation = { 'type': {'required': True}, 'base_url': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'connect_via': {'key': 'connectVia', 'type': 'IntegrationRuntimeReference'}, 'description': {'key': 'description', 'type': 'str'}, 'parameters': {'key': 'parameters', 'type': '{ParameterSpecification}'}, 'annotations': {'key': 'annotations', 'type': '[object]'}, 'base_url': {'key': 'typeProperties.baseUrl', 'type': 'object'}, } def __init__( self, *, base_url: object, additional_properties: Optional[Dict[str, object]] = None, connect_via: Optional["IntegrationRuntimeReference"] = None, description: Optional[str] = None, parameters: Optional[Dict[str, "ParameterSpecification"]] = None, annotations: Optional[List[object]] = None, **kwargs ): super(AzureKeyVaultLinkedService, self).__init__(additional_properties=additional_properties, connect_via=connect_via, description=description, parameters=parameters, annotations=annotations, **kwargs) self.type = 'AzureKeyVault' # type: str self.base_url = base_url
[docs]class SecretBase(msrest.serialization.Model): """The base definition of a secret type. You probably want to use the sub-classes and not this class directly. Known sub-classes are: AzureKeyVaultSecretReference, SecureString. All required parameters must be populated in order to send to Azure. :param type: Required. Type of the secret.Constant filled by server. :type type: str """ _validation = { 'type': {'required': True}, } _attribute_map = { 'type': {'key': 'type', 'type': 'str'}, } _subtype_map = { 'type': {'AzureKeyVaultSecret': 'AzureKeyVaultSecretReference', 'SecureString': 'SecureString'} } def __init__( self, **kwargs ): super(SecretBase, self).__init__(**kwargs) self.type = None # type: Optional[str]
[docs]class AzureKeyVaultSecretReference(SecretBase): """Azure Key Vault secret reference. All required parameters must be populated in order to send to Azure. :param type: Required. Type of the secret.Constant filled by server. :type type: str :param store: Required. The Azure Key Vault linked service reference. :type store: ~azure.synapse.artifacts.models.LinkedServiceReference :param secret_name: Required. The name of the secret in Azure Key Vault. Type: string (or Expression with resultType string). :type secret_name: object :param secret_version: The version of the secret in Azure Key Vault. The default value is the latest version of the secret. Type: string (or Expression with resultType string). :type secret_version: object """ _validation = { 'type': {'required': True}, 'store': {'required': True}, 'secret_name': {'required': True}, } _attribute_map = { 'type': {'key': 'type', 'type': 'str'}, 'store': {'key': 'store', 'type': 'LinkedServiceReference'}, 'secret_name': {'key': 'secretName', 'type': 'object'}, 'secret_version': {'key': 'secretVersion', 'type': 'object'}, } def __init__( self, *, store: "LinkedServiceReference", secret_name: object, secret_version: Optional[object] = None, **kwargs ): super(AzureKeyVaultSecretReference, self).__init__(**kwargs) self.type = 'AzureKeyVaultSecret' # type: str self.store = store self.secret_name = secret_name self.secret_version = secret_version
[docs]class AzureMariaDBLinkedService(LinkedService): """Azure Database for MariaDB linked service. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. :type connect_via: ~azure.synapse.artifacts.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. :type parameters: dict[str, ~azure.synapse.artifacts.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param connection_string: An ODBC connection string. Type: string, SecureString or AzureKeyVaultSecretReference. :type connection_string: object :param pwd: The Azure key vault secret reference of password in connection string. :type pwd: ~azure.synapse.artifacts.models.AzureKeyVaultSecretReference :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). :type encrypted_credential: object """ _validation = { 'type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'connect_via': {'key': 'connectVia', 'type': 'IntegrationRuntimeReference'}, 'description': {'key': 'description', 'type': 'str'}, 'parameters': {'key': 'parameters', 'type': '{ParameterSpecification}'}, 'annotations': {'key': 'annotations', 'type': '[object]'}, 'connection_string': {'key': 'typeProperties.connectionString', 'type': 'object'}, 'pwd': {'key': 'typeProperties.pwd', 'type': 'AzureKeyVaultSecretReference'}, 'encrypted_credential': {'key': 'typeProperties.encryptedCredential', 'type': 'object'}, } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, connect_via: Optional["IntegrationRuntimeReference"] = None, description: Optional[str] = None, parameters: Optional[Dict[str, "ParameterSpecification"]] = None, annotations: Optional[List[object]] = None, connection_string: Optional[object] = None, pwd: Optional["AzureKeyVaultSecretReference"] = None, encrypted_credential: Optional[object] = None, **kwargs ): super(AzureMariaDBLinkedService, self).__init__(additional_properties=additional_properties, connect_via=connect_via, description=description, parameters=parameters, annotations=annotations, **kwargs) self.type = 'AzureMariaDB' # type: str self.connection_string = connection_string self.pwd = pwd self.encrypted_credential = encrypted_credential
[docs]class AzureMariaDBSource(TabularSource): """A copy activity Azure MariaDB source. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Copy source type.Constant filled by server. :type type: str :param source_retry_count: Source retry count. Type: integer (or Expression with resultType integer). :type source_retry_count: object :param source_retry_wait: Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type source_retry_wait: object :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object :param query_timeout: Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type query_timeout: object :param additional_columns: Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects). :type additional_columns: list[~azure.synapse.artifacts.models.AdditionalColumns] :param query: A query to retrieve data from source. Type: string (or Expression with resultType string). :type query: object """ _validation = { 'type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, 'query': {'key': 'query', 'type': 'object'}, } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, source_retry_count: Optional[object] = None, source_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, query_timeout: Optional[object] = None, additional_columns: Optional[List["AdditionalColumns"]] = None, query: Optional[object] = None, **kwargs ): super(AzureMariaDBSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, query_timeout=query_timeout, additional_columns=additional_columns, **kwargs) self.type = 'AzureMariaDBSource' # type: str self.query = query
[docs]class AzureMariaDBTableDataset(Dataset): """Azure Database for MariaDB dataset. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Type of dataset.Constant filled by server. :type type: str :param description: Dataset description. :type description: str :param structure: Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. :type structure: object :param schema: Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. :type linked_service_name: ~azure.synapse.artifacts.models.LinkedServiceReference :param parameters: Parameters for dataset. :type parameters: dict[str, ~azure.synapse.artifacts.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. :type folder: ~azure.synapse.artifacts.models.DatasetFolder :param table_name: The table name. Type: string (or Expression with resultType string). :type table_name: object """ _validation = { 'type': {'required': True}, 'linked_service_name': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'description': {'key': 'description', 'type': 'str'}, 'structure': {'key': 'structure', 'type': 'object'}, 'schema': {'key': 'schema', 'type': 'object'}, 'linked_service_name': {'key': 'linkedServiceName', 'type': 'LinkedServiceReference'}, 'parameters': {'key': 'parameters', 'type': '{ParameterSpecification}'}, 'annotations': {'key': 'annotations', 'type': '[object]'}, 'folder': {'key': 'folder', 'type': 'DatasetFolder'}, 'table_name': {'key': 'typeProperties.tableName', 'type': 'object'}, } def __init__( self, *, linked_service_name: "LinkedServiceReference", additional_properties: Optional[Dict[str, object]] = None, description: Optional[str] = None, structure: Optional[object] = None, schema: Optional[object] = None, parameters: Optional[Dict[str, "ParameterSpecification"]] = None, annotations: Optional[List[object]] = None, folder: Optional["DatasetFolder"] = None, table_name: Optional[object] = None, **kwargs ): super(AzureMariaDBTableDataset, self).__init__(additional_properties=additional_properties, description=description, structure=structure, schema=schema, linked_service_name=linked_service_name, parameters=parameters, annotations=annotations, folder=folder, **kwargs) self.type = 'AzureMariaDBTable' # type: str self.table_name = table_name
[docs]class AzureMLBatchExecutionActivity(ExecutionActivity): """Azure ML Batch Execution activity. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param name: Required. Activity name. :type name: str :param type: Required. Type of activity.Constant filled by server. :type type: str :param description: Activity description. :type description: str :param depends_on: Activity depends on condition. :type depends_on: list[~azure.synapse.artifacts.models.ActivityDependency] :param user_properties: Activity user properties. :type user_properties: list[~azure.synapse.artifacts.models.UserProperty] :param linked_service_name: Linked service reference. :type linked_service_name: ~azure.synapse.artifacts.models.LinkedServiceReference :param policy: Activity policy. :type policy: ~azure.synapse.artifacts.models.ActivityPolicy :param global_parameters: Key,Value pairs to be passed to the Azure ML Batch Execution Service endpoint. Keys must match the names of web service parameters defined in the published Azure ML web service. Values will be passed in the GlobalParameters property of the Azure ML batch execution request. :type global_parameters: dict[str, object] :param web_service_outputs: Key,Value pairs, mapping the names of Azure ML endpoint's Web Service Outputs to AzureMLWebServiceFile objects specifying the output Blob locations. This information will be passed in the WebServiceOutputs property of the Azure ML batch execution request. :type web_service_outputs: dict[str, ~azure.synapse.artifacts.models.AzureMLWebServiceFile] :param web_service_inputs: Key,Value pairs, mapping the names of Azure ML endpoint's Web Service Inputs to AzureMLWebServiceFile objects specifying the input Blob locations.. This information will be passed in the WebServiceInputs property of the Azure ML batch execution request. :type web_service_inputs: dict[str, ~azure.synapse.artifacts.models.AzureMLWebServiceFile] """ _validation = { 'name': {'required': True}, 'type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'name': {'key': 'name', 'type': 'str'}, 'type': {'key': 'type', 'type': 'str'}, 'description': {'key': 'description', 'type': 'str'}, 'depends_on': {'key': 'dependsOn', 'type': '[ActivityDependency]'}, 'user_properties': {'key': 'userProperties', 'type': '[UserProperty]'}, 'linked_service_name': {'key': 'linkedServiceName', 'type': 'LinkedServiceReference'}, 'policy': {'key': 'policy', 'type': 'ActivityPolicy'}, 'global_parameters': {'key': 'typeProperties.globalParameters', 'type': '{object}'}, 'web_service_outputs': {'key': 'typeProperties.webServiceOutputs', 'type': '{AzureMLWebServiceFile}'}, 'web_service_inputs': {'key': 'typeProperties.webServiceInputs', 'type': '{AzureMLWebServiceFile}'}, } def __init__( self, *, name: str, additional_properties: Optional[Dict[str, object]] = None, description: Optional[str] = None, depends_on: Optional[List["ActivityDependency"]] = None, user_properties: Optional[List["UserProperty"]] = None, linked_service_name: Optional["LinkedServiceReference"] = None, policy: Optional["ActivityPolicy"] = None, global_parameters: Optional[Dict[str, object]] = None, web_service_outputs: Optional[Dict[str, "AzureMLWebServiceFile"]] = None, web_service_inputs: Optional[Dict[str, "AzureMLWebServiceFile"]] = None, **kwargs ): super(AzureMLBatchExecutionActivity, self).__init__(additional_properties=additional_properties, name=name, description=description, depends_on=depends_on, user_properties=user_properties, linked_service_name=linked_service_name, policy=policy, **kwargs) self.type = 'AzureMLBatchExecution' # type: str self.global_parameters = global_parameters self.web_service_outputs = web_service_outputs self.web_service_inputs = web_service_inputs
[docs]class AzureMLExecutePipelineActivity(ExecutionActivity): """Azure ML Execute Pipeline activity. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param name: Required. Activity name. :type name: str :param type: Required. Type of activity.Constant filled by server. :type type: str :param description: Activity description. :type description: str :param depends_on: Activity depends on condition. :type depends_on: list[~azure.synapse.artifacts.models.ActivityDependency] :param user_properties: Activity user properties. :type user_properties: list[~azure.synapse.artifacts.models.UserProperty] :param linked_service_name: Linked service reference. :type linked_service_name: ~azure.synapse.artifacts.models.LinkedServiceReference :param policy: Activity policy. :type policy: ~azure.synapse.artifacts.models.ActivityPolicy :param ml_pipeline_id: Required. ID of the published Azure ML pipeline. Type: string (or Expression with resultType string). :type ml_pipeline_id: object :param experiment_name: Run history experiment name of the pipeline run. This information will be passed in the ExperimentName property of the published pipeline execution request. Type: string (or Expression with resultType string). :type experiment_name: object :param ml_pipeline_parameters: Key,Value pairs to be passed to the published Azure ML pipeline endpoint. Keys must match the names of pipeline parameters defined in the published pipeline. Values will be passed in the ParameterAssignments property of the published pipeline execution request. Type: object with key value pairs (or Expression with resultType object). :type ml_pipeline_parameters: object :param ml_parent_run_id: The parent Azure ML Service pipeline run id. This information will be passed in the ParentRunId property of the published pipeline execution request. Type: string (or Expression with resultType string). :type ml_parent_run_id: object :param continue_on_step_failure: Whether to continue execution of other steps in the PipelineRun if a step fails. This information will be passed in the continueOnStepFailure property of the published pipeline execution request. Type: boolean (or Expression with resultType boolean). :type continue_on_step_failure: object """ _validation = { 'name': {'required': True}, 'type': {'required': True}, 'ml_pipeline_id': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'name': {'key': 'name', 'type': 'str'}, 'type': {'key': 'type', 'type': 'str'}, 'description': {'key': 'description', 'type': 'str'}, 'depends_on': {'key': 'dependsOn', 'type': '[ActivityDependency]'}, 'user_properties': {'key': 'userProperties', 'type': '[UserProperty]'}, 'linked_service_name': {'key': 'linkedServiceName', 'type': 'LinkedServiceReference'}, 'policy': {'key': 'policy', 'type': 'ActivityPolicy'}, 'ml_pipeline_id': {'key': 'typeProperties.mlPipelineId', 'type': 'object'}, 'experiment_name': {'key': 'typeProperties.experimentName', 'type': 'object'}, 'ml_pipeline_parameters': {'key': 'typeProperties.mlPipelineParameters', 'type': 'object'}, 'ml_parent_run_id': {'key': 'typeProperties.mlParentRunId', 'type': 'object'}, 'continue_on_step_failure': {'key': 'typeProperties.continueOnStepFailure', 'type': 'object'}, } def __init__( self, *, name: str, ml_pipeline_id: object, additional_properties: Optional[Dict[str, object]] = None, description: Optional[str] = None, depends_on: Optional[List["ActivityDependency"]] = None, user_properties: Optional[List["UserProperty"]] = None, linked_service_name: Optional["LinkedServiceReference"] = None, policy: Optional["ActivityPolicy"] = None, experiment_name: Optional[object] = None, ml_pipeline_parameters: Optional[object] = None, ml_parent_run_id: Optional[object] = None, continue_on_step_failure: Optional[object] = None, **kwargs ): super(AzureMLExecutePipelineActivity, self).__init__(additional_properties=additional_properties, name=name, description=description, depends_on=depends_on, user_properties=user_properties, linked_service_name=linked_service_name, policy=policy, **kwargs) self.type = 'AzureMLExecutePipeline' # type: str self.ml_pipeline_id = ml_pipeline_id self.experiment_name = experiment_name self.ml_pipeline_parameters = ml_pipeline_parameters self.ml_parent_run_id = ml_parent_run_id self.continue_on_step_failure = continue_on_step_failure
[docs]class AzureMLLinkedService(LinkedService): """Azure ML Studio Web Service linked service. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. :type connect_via: ~azure.synapse.artifacts.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. :type parameters: dict[str, ~azure.synapse.artifacts.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param ml_endpoint: Required. The Batch Execution REST URL for an Azure ML Studio Web Service endpoint. Type: string (or Expression with resultType string). :type ml_endpoint: object :param api_key: Required. The API key for accessing the Azure ML model endpoint. :type api_key: ~azure.synapse.artifacts.models.SecretBase :param update_resource_endpoint: The Update Resource REST URL for an Azure ML Studio Web Service endpoint. Type: string (or Expression with resultType string). :type update_resource_endpoint: object :param service_principal_id: The ID of the service principal used to authenticate against the ARM-based updateResourceEndpoint of an Azure ML Studio web service. Type: string (or Expression with resultType string). :type service_principal_id: object :param service_principal_key: The key of the service principal used to authenticate against the ARM-based updateResourceEndpoint of an Azure ML Studio web service. :type service_principal_key: ~azure.synapse.artifacts.models.SecretBase :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 encrypted_credential: The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). :type encrypted_credential: object """ _validation = { 'type': {'required': True}, 'ml_endpoint': {'required': True}, 'api_key': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'connect_via': {'key': 'connectVia', 'type': 'IntegrationRuntimeReference'}, 'description': {'key': 'description', 'type': 'str'}, 'parameters': {'key': 'parameters', 'type': '{ParameterSpecification}'}, 'annotations': {'key': 'annotations', 'type': '[object]'}, 'ml_endpoint': {'key': 'typeProperties.mlEndpoint', 'type': 'object'}, 'api_key': {'key': 'typeProperties.apiKey', 'type': 'SecretBase'}, 'update_resource_endpoint': {'key': 'typeProperties.updateResourceEndpoint', 'type': 'object'}, 'service_principal_id': {'key': 'typeProperties.servicePrincipalId', 'type': 'object'}, 'service_principal_key': {'key': 'typeProperties.servicePrincipalKey', 'type': 'SecretBase'}, 'tenant': {'key': 'typeProperties.tenant', 'type': 'object'}, 'encrypted_credential': {'key': 'typeProperties.encryptedCredential', 'type': 'object'}, } def __init__( self, *, ml_endpoint: object, api_key: "SecretBase", additional_properties: Optional[Dict[str, object]] = None, connect_via: Optional["IntegrationRuntimeReference"] = None, description: Optional[str] = None, parameters: Optional[Dict[str, "ParameterSpecification"]] = None, annotations: Optional[List[object]] = None, update_resource_endpoint: Optional[object] = None, service_principal_id: Optional[object] = None, service_principal_key: Optional["SecretBase"] = None, tenant: Optional[object] = None, encrypted_credential: Optional[object] = None, **kwargs ): super(AzureMLLinkedService, self).__init__(additional_properties=additional_properties, connect_via=connect_via, description=description, parameters=parameters, annotations=annotations, **kwargs) self.type = 'AzureML' # type: str self.ml_endpoint = ml_endpoint self.api_key = api_key self.update_resource_endpoint = update_resource_endpoint self.service_principal_id = service_principal_id self.service_principal_key = service_principal_key self.tenant = tenant self.encrypted_credential = encrypted_credential
[docs]class AzureMLServiceLinkedService(LinkedService): """Azure ML Service linked service. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. :type connect_via: ~azure.synapse.artifacts.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. :type parameters: dict[str, ~azure.synapse.artifacts.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param subscription_id: Required. Azure ML Service workspace subscription ID. Type: string (or Expression with resultType string). :type subscription_id: object :param resource_group_name: Required. Azure ML Service workspace resource group name. Type: string (or Expression with resultType string). :type resource_group_name: object :param ml_workspace_name: Required. Azure ML Service workspace name. Type: string (or Expression with resultType string). :type ml_workspace_name: object :param service_principal_id: The ID of the service principal used to authenticate against the endpoint of a published Azure ML Service pipeline. Type: string (or Expression with resultType string). :type service_principal_id: object :param service_principal_key: The key of the service principal used to authenticate against the endpoint of a published Azure ML Service pipeline. :type service_principal_key: ~azure.synapse.artifacts.models.SecretBase :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 encrypted_credential: The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). :type encrypted_credential: object """ _validation = { 'type': {'required': True}, 'subscription_id': {'required': True}, 'resource_group_name': {'required': True}, 'ml_workspace_name': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'connect_via': {'key': 'connectVia', 'type': 'IntegrationRuntimeReference'}, 'description': {'key': 'description', 'type': 'str'}, 'parameters': {'key': 'parameters', 'type': '{ParameterSpecification}'}, 'annotations': {'key': 'annotations', 'type': '[object]'}, 'subscription_id': {'key': 'typeProperties.subscriptionId', 'type': 'object'}, 'resource_group_name': {'key': 'typeProperties.resourceGroupName', 'type': 'object'}, 'ml_workspace_name': {'key': 'typeProperties.mlWorkspaceName', 'type': 'object'}, 'service_principal_id': {'key': 'typeProperties.servicePrincipalId', 'type': 'object'}, 'service_principal_key': {'key': 'typeProperties.servicePrincipalKey', 'type': 'SecretBase'}, 'tenant': {'key': 'typeProperties.tenant', 'type': 'object'}, 'encrypted_credential': {'key': 'typeProperties.encryptedCredential', 'type': 'object'}, } def __init__( self, *, subscription_id: object, resource_group_name: object, ml_workspace_name: object, additional_properties: Optional[Dict[str, object]] = None, connect_via: Optional["IntegrationRuntimeReference"] = None, description: Optional[str] = None, parameters: Optional[Dict[str, "ParameterSpecification"]] = None, annotations: Optional[List[object]] = None, service_principal_id: Optional[object] = None, service_principal_key: Optional["SecretBase"] = None, tenant: Optional[object] = None, encrypted_credential: Optional[object] = None, **kwargs ): super(AzureMLServiceLinkedService, self).__init__(additional_properties=additional_properties, connect_via=connect_via, description=description, parameters=parameters, annotations=annotations, **kwargs) self.type = 'AzureMLService' # type: str self.subscription_id = subscription_id self.resource_group_name = resource_group_name self.ml_workspace_name = ml_workspace_name self.service_principal_id = service_principal_id self.service_principal_key = service_principal_key self.tenant = tenant self.encrypted_credential = encrypted_credential
[docs]class AzureMLUpdateResourceActivity(ExecutionActivity): """Azure ML Update Resource management activity. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param name: Required. Activity name. :type name: str :param type: Required. Type of activity.Constant filled by server. :type type: str :param description: Activity description. :type description: str :param depends_on: Activity depends on condition. :type depends_on: list[~azure.synapse.artifacts.models.ActivityDependency] :param user_properties: Activity user properties. :type user_properties: list[~azure.synapse.artifacts.models.UserProperty] :param linked_service_name: Linked service reference. :type linked_service_name: ~azure.synapse.artifacts.models.LinkedServiceReference :param policy: Activity policy. :type policy: ~azure.synapse.artifacts.models.ActivityPolicy :param trained_model_name: Required. Name of the Trained Model module in the Web Service experiment to be updated. Type: string (or Expression with resultType string). :type trained_model_name: object :param trained_model_linked_service_name: Required. Name of Azure Storage linked service holding the .ilearner file that will be uploaded by the update operation. :type trained_model_linked_service_name: ~azure.synapse.artifacts.models.LinkedServiceReference :param trained_model_file_path: Required. The relative file path in trainedModelLinkedService to represent the .ilearner file that will be uploaded by the update operation. Type: string (or Expression with resultType string). :type trained_model_file_path: object """ _validation = { 'name': {'required': True}, 'type': {'required': True}, 'trained_model_name': {'required': True}, 'trained_model_linked_service_name': {'required': True}, 'trained_model_file_path': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'name': {'key': 'name', 'type': 'str'}, 'type': {'key': 'type', 'type': 'str'}, 'description': {'key': 'description', 'type': 'str'}, 'depends_on': {'key': 'dependsOn', 'type': '[ActivityDependency]'}, 'user_properties': {'key': 'userProperties', 'type': '[UserProperty]'}, 'linked_service_name': {'key': 'linkedServiceName', 'type': 'LinkedServiceReference'}, 'policy': {'key': 'policy', 'type': 'ActivityPolicy'}, 'trained_model_name': {'key': 'typeProperties.trainedModelName', 'type': 'object'}, 'trained_model_linked_service_name': {'key': 'typeProperties.trainedModelLinkedServiceName', 'type': 'LinkedServiceReference'}, 'trained_model_file_path': {'key': 'typeProperties.trainedModelFilePath', 'type': 'object'}, } def __init__( self, *, name: str, trained_model_name: object, trained_model_linked_service_name: "LinkedServiceReference", trained_model_file_path: object, additional_properties: Optional[Dict[str, object]] = None, description: Optional[str] = None, depends_on: Optional[List["ActivityDependency"]] = None, user_properties: Optional[List["UserProperty"]] = None, linked_service_name: Optional["LinkedServiceReference"] = None, policy: Optional["ActivityPolicy"] = None, **kwargs ): super(AzureMLUpdateResourceActivity, self).__init__(additional_properties=additional_properties, name=name, description=description, depends_on=depends_on, user_properties=user_properties, linked_service_name=linked_service_name, policy=policy, **kwargs) self.type = 'AzureMLUpdateResource' # type: str self.trained_model_name = trained_model_name self.trained_model_linked_service_name = trained_model_linked_service_name self.trained_model_file_path = trained_model_file_path
[docs]class AzureMLWebServiceFile(msrest.serialization.Model): """Azure ML WebService Input/Output file. All required parameters must be populated in order to send to Azure. :param file_path: Required. The relative file path, including container name, in the Azure Blob Storage specified by the LinkedService. Type: string (or Expression with resultType string). :type file_path: object :param linked_service_name: Required. Reference to an Azure Storage LinkedService, where Azure ML WebService Input/Output file located. :type linked_service_name: ~azure.synapse.artifacts.models.LinkedServiceReference """ _validation = { 'file_path': {'required': True}, 'linked_service_name': {'required': True}, } _attribute_map = { 'file_path': {'key': 'filePath', 'type': 'object'}, 'linked_service_name': {'key': 'linkedServiceName', 'type': 'LinkedServiceReference'}, } def __init__( self, *, file_path: object, linked_service_name: "LinkedServiceReference", **kwargs ): super(AzureMLWebServiceFile, self).__init__(**kwargs) self.file_path = file_path self.linked_service_name = linked_service_name
[docs]class AzureMySqlLinkedService(LinkedService): """Azure MySQL database linked service. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. :type connect_via: ~azure.synapse.artifacts.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. :type parameters: dict[str, ~azure.synapse.artifacts.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param connection_string: Required. The connection string. Type: string, SecureString or AzureKeyVaultSecretReference. :type connection_string: object :param password: The Azure key vault secret reference of password in connection string. :type password: ~azure.synapse.artifacts.models.AzureKeyVaultSecretReference :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). :type encrypted_credential: object """ _validation = { 'type': {'required': True}, 'connection_string': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'connect_via': {'key': 'connectVia', 'type': 'IntegrationRuntimeReference'}, 'description': {'key': 'description', 'type': 'str'}, 'parameters': {'key': 'parameters', 'type': '{ParameterSpecification}'}, 'annotations': {'key': 'annotations', 'type': '[object]'}, 'connection_string': {'key': 'typeProperties.connectionString', 'type': 'object'}, 'password': {'key': 'typeProperties.password', 'type': 'AzureKeyVaultSecretReference'}, 'encrypted_credential': {'key': 'typeProperties.encryptedCredential', 'type': 'object'}, } def __init__( self, *, connection_string: object, additional_properties: Optional[Dict[str, object]] = None, connect_via: Optional["IntegrationRuntimeReference"] = None, description: Optional[str] = None, parameters: Optional[Dict[str, "ParameterSpecification"]] = None, annotations: Optional[List[object]] = None, password: Optional["AzureKeyVaultSecretReference"] = None, encrypted_credential: Optional[object] = None, **kwargs ): super(AzureMySqlLinkedService, self).__init__(additional_properties=additional_properties, connect_via=connect_via, description=description, parameters=parameters, annotations=annotations, **kwargs) self.type = 'AzureMySql' # type: str self.connection_string = connection_string self.password = password self.encrypted_credential = encrypted_credential
[docs]class AzureMySqlSink(CopySink): """A copy activity Azure MySql sink. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Copy sink type.Constant filled by server. :type type: str :param write_batch_size: Write batch size. Type: integer (or Expression with resultType integer), minimum: 0. :type write_batch_size: object :param write_batch_timeout: Write batch timeout. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type write_batch_timeout: object :param sink_retry_count: Sink retry count. Type: integer (or Expression with resultType integer). :type sink_retry_count: object :param sink_retry_wait: Sink retry wait. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type sink_retry_wait: object :param max_concurrent_connections: The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object :param pre_copy_script: A query to execute before starting the copy. Type: string (or Expression with resultType string). :type pre_copy_script: object """ _validation = { 'type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'write_batch_size': {'key': 'writeBatchSize', 'type': 'object'}, 'write_batch_timeout': {'key': 'writeBatchTimeout', 'type': 'object'}, 'sink_retry_count': {'key': 'sinkRetryCount', 'type': 'object'}, 'sink_retry_wait': {'key': 'sinkRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'pre_copy_script': {'key': 'preCopyScript', 'type': 'object'}, } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, write_batch_size: Optional[object] = None, write_batch_timeout: Optional[object] = None, sink_retry_count: Optional[object] = None, sink_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, pre_copy_script: Optional[object] = None, **kwargs ): super(AzureMySqlSink, self).__init__(additional_properties=additional_properties, write_batch_size=write_batch_size, write_batch_timeout=write_batch_timeout, sink_retry_count=sink_retry_count, sink_retry_wait=sink_retry_wait, max_concurrent_connections=max_concurrent_connections, **kwargs) self.type = 'AzureMySqlSink' # type: str self.pre_copy_script = pre_copy_script
[docs]class AzureMySqlSource(TabularSource): """A copy activity Azure MySQL source. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Copy source type.Constant filled by server. :type type: str :param source_retry_count: Source retry count. Type: integer (or Expression with resultType integer). :type source_retry_count: object :param source_retry_wait: Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type source_retry_wait: object :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object :param query_timeout: Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type query_timeout: object :param additional_columns: Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects). :type additional_columns: list[~azure.synapse.artifacts.models.AdditionalColumns] :param query: Database query. Type: string (or Expression with resultType string). :type query: object """ _validation = { 'type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, 'query': {'key': 'query', 'type': 'object'}, } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, source_retry_count: Optional[object] = None, source_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, query_timeout: Optional[object] = None, additional_columns: Optional[List["AdditionalColumns"]] = None, query: Optional[object] = None, **kwargs ): super(AzureMySqlSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, query_timeout=query_timeout, additional_columns=additional_columns, **kwargs) self.type = 'AzureMySqlSource' # type: str self.query = query
[docs]class AzureMySqlTableDataset(Dataset): """The Azure MySQL database dataset. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Type of dataset.Constant filled by server. :type type: str :param description: Dataset description. :type description: str :param structure: Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. :type structure: object :param schema: Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. :type linked_service_name: ~azure.synapse.artifacts.models.LinkedServiceReference :param parameters: Parameters for dataset. :type parameters: dict[str, ~azure.synapse.artifacts.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. :type folder: ~azure.synapse.artifacts.models.DatasetFolder :param table_name: The Azure MySQL database table name. Type: string (or Expression with resultType string). :type table_name: object :param table: The name of Azure MySQL database table. Type: string (or Expression with resultType string). :type table: object """ _validation = { 'type': {'required': True}, 'linked_service_name': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'description': {'key': 'description', 'type': 'str'}, 'structure': {'key': 'structure', 'type': 'object'}, 'schema': {'key': 'schema', 'type': 'object'}, 'linked_service_name': {'key': 'linkedServiceName', 'type': 'LinkedServiceReference'}, 'parameters': {'key': 'parameters', 'type': '{ParameterSpecification}'}, 'annotations': {'key': 'annotations', 'type': '[object]'}, 'folder': {'key': 'folder', 'type': 'DatasetFolder'}, 'table_name': {'key': 'typeProperties.tableName', 'type': 'object'}, 'table': {'key': 'typeProperties.table', 'type': 'object'}, } def __init__( self, *, linked_service_name: "LinkedServiceReference", additional_properties: Optional[Dict[str, object]] = None, description: Optional[str] = None, structure: Optional[object] = None, schema: Optional[object] = None, parameters: Optional[Dict[str, "ParameterSpecification"]] = None, annotations: Optional[List[object]] = None, folder: Optional["DatasetFolder"] = None, table_name: Optional[object] = None, table: Optional[object] = None, **kwargs ): super(AzureMySqlTableDataset, self).__init__(additional_properties=additional_properties, description=description, structure=structure, schema=schema, linked_service_name=linked_service_name, parameters=parameters, annotations=annotations, folder=folder, **kwargs) self.type = 'AzureMySqlTable' # type: str self.table_name = table_name self.table = table
[docs]class AzurePostgreSqlLinkedService(LinkedService): """Azure PostgreSQL linked service. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. :type connect_via: ~azure.synapse.artifacts.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. :type parameters: dict[str, ~azure.synapse.artifacts.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param connection_string: An ODBC connection string. Type: string, SecureString or AzureKeyVaultSecretReference. :type connection_string: object :param password: The Azure key vault secret reference of password in connection string. :type password: ~azure.synapse.artifacts.models.AzureKeyVaultSecretReference :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). :type encrypted_credential: object """ _validation = { 'type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'connect_via': {'key': 'connectVia', 'type': 'IntegrationRuntimeReference'}, 'description': {'key': 'description', 'type': 'str'}, 'parameters': {'key': 'parameters', 'type': '{ParameterSpecification}'}, 'annotations': {'key': 'annotations', 'type': '[object]'}, 'connection_string': {'key': 'typeProperties.connectionString', 'type': 'object'}, 'password': {'key': 'typeProperties.password', 'type': 'AzureKeyVaultSecretReference'}, 'encrypted_credential': {'key': 'typeProperties.encryptedCredential', 'type': 'object'}, } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, connect_via: Optional["IntegrationRuntimeReference"] = None, description: Optional[str] = None, parameters: Optional[Dict[str, "ParameterSpecification"]] = None, annotations: Optional[List[object]] = None, connection_string: Optional[object] = None, password: Optional["AzureKeyVaultSecretReference"] = None, encrypted_credential: Optional[object] = None, **kwargs ): super(AzurePostgreSqlLinkedService, self).__init__(additional_properties=additional_properties, connect_via=connect_via, description=description, parameters=parameters, annotations=annotations, **kwargs) self.type = 'AzurePostgreSql' # type: str self.connection_string = connection_string self.password = password self.encrypted_credential = encrypted_credential
[docs]class AzurePostgreSqlSink(CopySink): """A copy activity Azure PostgreSQL sink. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Copy sink type.Constant filled by server. :type type: str :param write_batch_size: Write batch size. Type: integer (or Expression with resultType integer), minimum: 0. :type write_batch_size: object :param write_batch_timeout: Write batch timeout. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type write_batch_timeout: object :param sink_retry_count: Sink retry count. Type: integer (or Expression with resultType integer). :type sink_retry_count: object :param sink_retry_wait: Sink retry wait. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type sink_retry_wait: object :param max_concurrent_connections: The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object :param pre_copy_script: A query to execute before starting the copy. Type: string (or Expression with resultType string). :type pre_copy_script: object """ _validation = { 'type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'write_batch_size': {'key': 'writeBatchSize', 'type': 'object'}, 'write_batch_timeout': {'key': 'writeBatchTimeout', 'type': 'object'}, 'sink_retry_count': {'key': 'sinkRetryCount', 'type': 'object'}, 'sink_retry_wait': {'key': 'sinkRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'pre_copy_script': {'key': 'preCopyScript', 'type': 'object'}, } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, write_batch_size: Optional[object] = None, write_batch_timeout: Optional[object] = None, sink_retry_count: Optional[object] = None, sink_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, pre_copy_script: Optional[object] = None, **kwargs ): super(AzurePostgreSqlSink, self).__init__(additional_properties=additional_properties, write_batch_size=write_batch_size, write_batch_timeout=write_batch_timeout, sink_retry_count=sink_retry_count, sink_retry_wait=sink_retry_wait, max_concurrent_connections=max_concurrent_connections, **kwargs) self.type = 'AzurePostgreSqlSink' # type: str self.pre_copy_script = pre_copy_script
[docs]class AzurePostgreSqlSource(TabularSource): """A copy activity Azure PostgreSQL source. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Copy source type.Constant filled by server. :type type: str :param source_retry_count: Source retry count. Type: integer (or Expression with resultType integer). :type source_retry_count: object :param source_retry_wait: Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type source_retry_wait: object :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object :param query_timeout: Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type query_timeout: object :param additional_columns: Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects). :type additional_columns: list[~azure.synapse.artifacts.models.AdditionalColumns] :param query: A query to retrieve data from source. Type: string (or Expression with resultType string). :type query: object """ _validation = { 'type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, 'query': {'key': 'query', 'type': 'object'}, } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, source_retry_count: Optional[object] = None, source_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, query_timeout: Optional[object] = None, additional_columns: Optional[List["AdditionalColumns"]] = None, query: Optional[object] = None, **kwargs ): super(AzurePostgreSqlSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, query_timeout=query_timeout, additional_columns=additional_columns, **kwargs) self.type = 'AzurePostgreSqlSource' # type: str self.query = query
[docs]class AzurePostgreSqlTableDataset(Dataset): """Azure PostgreSQL dataset. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Type of dataset.Constant filled by server. :type type: str :param description: Dataset description. :type description: str :param structure: Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. :type structure: object :param schema: Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. :type linked_service_name: ~azure.synapse.artifacts.models.LinkedServiceReference :param parameters: Parameters for dataset. :type parameters: dict[str, ~azure.synapse.artifacts.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. :type folder: ~azure.synapse.artifacts.models.DatasetFolder :param table_name: The table name of the Azure PostgreSQL database which includes both schema and table. Type: string (or Expression with resultType string). :type table_name: object :param table: The table name of the Azure PostgreSQL database. Type: string (or Expression with resultType string). :type table: object :param schema_type_properties_schema: The schema name of the Azure PostgreSQL database. Type: string (or Expression with resultType string). :type schema_type_properties_schema: object """ _validation = { 'type': {'required': True}, 'linked_service_name': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'description': {'key': 'description', 'type': 'str'}, 'structure': {'key': 'structure', 'type': 'object'}, 'schema': {'key': 'schema', 'type': 'object'}, 'linked_service_name': {'key': 'linkedServiceName', 'type': 'LinkedServiceReference'}, 'parameters': {'key': 'parameters', 'type': '{ParameterSpecification}'}, 'annotations': {'key': 'annotations', 'type': '[object]'}, 'folder': {'key': 'folder', 'type': 'DatasetFolder'}, 'table_name': {'key': 'typeProperties.tableName', 'type': 'object'}, 'table': {'key': 'typeProperties.table', 'type': 'object'}, 'schema_type_properties_schema': {'key': 'typeProperties.schema', 'type': 'object'}, } def __init__( self, *, linked_service_name: "LinkedServiceReference", additional_properties: Optional[Dict[str, object]] = None, description: Optional[str] = None, structure: Optional[object] = None, schema: Optional[object] = None, parameters: Optional[Dict[str, "ParameterSpecification"]] = None, annotations: Optional[List[object]] = None, folder: Optional["DatasetFolder"] = None, table_name: Optional[object] = None, table: Optional[object] = None, schema_type_properties_schema: Optional[object] = None, **kwargs ): super(AzurePostgreSqlTableDataset, self).__init__(additional_properties=additional_properties, description=description, structure=structure, schema=schema, linked_service_name=linked_service_name, parameters=parameters, annotations=annotations, folder=folder, **kwargs) self.type = 'AzurePostgreSqlTable' # type: str self.table_name = table_name self.table = table self.schema_type_properties_schema = schema_type_properties_schema
[docs]class AzureQueueSink(CopySink): """A copy activity Azure Queue sink. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Copy sink type.Constant filled by server. :type type: str :param write_batch_size: Write batch size. Type: integer (or Expression with resultType integer), minimum: 0. :type write_batch_size: object :param write_batch_timeout: Write batch timeout. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type write_batch_timeout: object :param sink_retry_count: Sink retry count. Type: integer (or Expression with resultType integer). :type sink_retry_count: object :param sink_retry_wait: Sink retry wait. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type sink_retry_wait: object :param max_concurrent_connections: The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object """ _validation = { 'type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'write_batch_size': {'key': 'writeBatchSize', 'type': 'object'}, 'write_batch_timeout': {'key': 'writeBatchTimeout', 'type': 'object'}, 'sink_retry_count': {'key': 'sinkRetryCount', 'type': 'object'}, 'sink_retry_wait': {'key': 'sinkRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, write_batch_size: Optional[object] = None, write_batch_timeout: Optional[object] = None, sink_retry_count: Optional[object] = None, sink_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, **kwargs ): super(AzureQueueSink, self).__init__(additional_properties=additional_properties, write_batch_size=write_batch_size, write_batch_timeout=write_batch_timeout, sink_retry_count=sink_retry_count, sink_retry_wait=sink_retry_wait, max_concurrent_connections=max_concurrent_connections, **kwargs) self.type = 'AzureQueueSink' # type: str
[docs]class AzureSearchIndexDataset(Dataset): """The Azure Search Index. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Type of dataset.Constant filled by server. :type type: str :param description: Dataset description. :type description: str :param structure: Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. :type structure: object :param schema: Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. :type linked_service_name: ~azure.synapse.artifacts.models.LinkedServiceReference :param parameters: Parameters for dataset. :type parameters: dict[str, ~azure.synapse.artifacts.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. :type folder: ~azure.synapse.artifacts.models.DatasetFolder :param index_name: Required. The name of the Azure Search Index. Type: string (or Expression with resultType string). :type index_name: object """ _validation = { 'type': {'required': True}, 'linked_service_name': {'required': True}, 'index_name': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'description': {'key': 'description', 'type': 'str'}, 'structure': {'key': 'structure', 'type': 'object'}, 'schema': {'key': 'schema', 'type': 'object'}, 'linked_service_name': {'key': 'linkedServiceName', 'type': 'LinkedServiceReference'}, 'parameters': {'key': 'parameters', 'type': '{ParameterSpecification}'}, 'annotations': {'key': 'annotations', 'type': '[object]'}, 'folder': {'key': 'folder', 'type': 'DatasetFolder'}, 'index_name': {'key': 'typeProperties.indexName', 'type': 'object'}, } def __init__( self, *, linked_service_name: "LinkedServiceReference", index_name: object, additional_properties: Optional[Dict[str, object]] = None, description: Optional[str] = None, structure: Optional[object] = None, schema: Optional[object] = None, parameters: Optional[Dict[str, "ParameterSpecification"]] = None, annotations: Optional[List[object]] = None, folder: Optional["DatasetFolder"] = None, **kwargs ): super(AzureSearchIndexDataset, self).__init__(additional_properties=additional_properties, description=description, structure=structure, schema=schema, linked_service_name=linked_service_name, parameters=parameters, annotations=annotations, folder=folder, **kwargs) self.type = 'AzureSearchIndex' # type: str self.index_name = index_name
[docs]class AzureSearchIndexSink(CopySink): """A copy activity Azure Search Index sink. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Copy sink type.Constant filled by server. :type type: str :param write_batch_size: Write batch size. Type: integer (or Expression with resultType integer), minimum: 0. :type write_batch_size: object :param write_batch_timeout: Write batch timeout. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type write_batch_timeout: object :param sink_retry_count: Sink retry count. Type: integer (or Expression with resultType integer). :type sink_retry_count: object :param sink_retry_wait: Sink retry wait. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type sink_retry_wait: object :param max_concurrent_connections: The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object :param write_behavior: Specify the write behavior when upserting documents into Azure Search Index. Possible values include: "Merge", "Upload". :type write_behavior: str or ~azure.synapse.artifacts.models.AzureSearchIndexWriteBehaviorType """ _validation = { 'type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'write_batch_size': {'key': 'writeBatchSize', 'type': 'object'}, 'write_batch_timeout': {'key': 'writeBatchTimeout', 'type': 'object'}, 'sink_retry_count': {'key': 'sinkRetryCount', 'type': 'object'}, 'sink_retry_wait': {'key': 'sinkRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'write_behavior': {'key': 'writeBehavior', 'type': 'str'}, } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, write_batch_size: Optional[object] = None, write_batch_timeout: Optional[object] = None, sink_retry_count: Optional[object] = None, sink_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, write_behavior: Optional[Union[str, "AzureSearchIndexWriteBehaviorType"]] = None, **kwargs ): super(AzureSearchIndexSink, self).__init__(additional_properties=additional_properties, write_batch_size=write_batch_size, write_batch_timeout=write_batch_timeout, sink_retry_count=sink_retry_count, sink_retry_wait=sink_retry_wait, max_concurrent_connections=max_concurrent_connections, **kwargs) self.type = 'AzureSearchIndexSink' # type: str self.write_behavior = write_behavior
[docs]class AzureSearchLinkedService(LinkedService): """Linked service for Windows Azure Search Service. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. :type connect_via: ~azure.synapse.artifacts.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. :type parameters: dict[str, ~azure.synapse.artifacts.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param url: Required. URL for Azure Search service. Type: string (or Expression with resultType string). :type url: object :param key: Admin Key for Azure Search service. :type key: ~azure.synapse.artifacts.models.SecretBase :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). :type encrypted_credential: object """ _validation = { 'type': {'required': True}, 'url': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'connect_via': {'key': 'connectVia', 'type': 'IntegrationRuntimeReference'}, 'description': {'key': 'description', 'type': 'str'}, 'parameters': {'key': 'parameters', 'type': '{ParameterSpecification}'}, 'annotations': {'key': 'annotations', 'type': '[object]'}, 'url': {'key': 'typeProperties.url', 'type': 'object'}, 'key': {'key': 'typeProperties.key', 'type': 'SecretBase'}, 'encrypted_credential': {'key': 'typeProperties.encryptedCredential', 'type': 'object'}, } def __init__( self, *, url: object, additional_properties: Optional[Dict[str, object]] = None, connect_via: Optional["IntegrationRuntimeReference"] = None, description: Optional[str] = None, parameters: Optional[Dict[str, "ParameterSpecification"]] = None, annotations: Optional[List[object]] = None, key: Optional["SecretBase"] = None, encrypted_credential: Optional[object] = None, **kwargs ): super(AzureSearchLinkedService, self).__init__(additional_properties=additional_properties, connect_via=connect_via, description=description, parameters=parameters, annotations=annotations, **kwargs) self.type = 'AzureSearch' # type: str self.url = url self.key = key self.encrypted_credential = encrypted_credential
[docs]class AzureSqlDatabaseLinkedService(LinkedService): """Microsoft Azure SQL Database linked service. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. :type connect_via: ~azure.synapse.artifacts.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. :type parameters: dict[str, ~azure.synapse.artifacts.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param connection_string: Required. The connection string. Type: string, SecureString or AzureKeyVaultSecretReference. :type connection_string: object :param password: The Azure key vault secret reference of password in connection string. :type password: ~azure.synapse.artifacts.models.AzureKeyVaultSecretReference :param service_principal_id: The ID of the service principal used to authenticate against Azure SQL Database. Type: string (or Expression with resultType string). :type service_principal_id: object :param service_principal_key: The key of the service principal used to authenticate against Azure SQL Database. :type service_principal_key: ~azure.synapse.artifacts.models.SecretBase :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). :type encrypted_credential: object """ _validation = { 'type': {'required': True}, 'connection_string': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'connect_via': {'key': 'connectVia', 'type': 'IntegrationRuntimeReference'}, 'description': {'key': 'description', 'type': 'str'}, 'parameters': {'key': 'parameters', 'type': '{ParameterSpecification}'}, 'annotations': {'key': 'annotations', 'type': '[object]'}, 'connection_string': {'key': 'typeProperties.connectionString', 'type': 'object'}, 'password': {'key': 'typeProperties.password', 'type': 'AzureKeyVaultSecretReference'}, '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'}, } def __init__( self, *, connection_string: object, additional_properties: Optional[Dict[str, object]] = None, connect_via: Optional["IntegrationRuntimeReference"] = None, description: Optional[str] = None, parameters: Optional[Dict[str, "ParameterSpecification"]] = None, annotations: Optional[List[object]] = None, password: Optional["AzureKeyVaultSecretReference"] = None, service_principal_id: Optional[object] = None, service_principal_key: Optional["SecretBase"] = None, tenant: Optional[object] = None, azure_cloud_type: Optional[object] = None, encrypted_credential: Optional[object] = None, **kwargs ): super(AzureSqlDatabaseLinkedService, self).__init__(additional_properties=additional_properties, connect_via=connect_via, description=description, parameters=parameters, annotations=annotations, **kwargs) self.type = 'AzureSqlDatabase' # type: str self.connection_string = connection_string self.password = password self.service_principal_id = service_principal_id self.service_principal_key = service_principal_key self.tenant = tenant self.azure_cloud_type = azure_cloud_type self.encrypted_credential = encrypted_credential
[docs]class AzureSqlDWLinkedService(LinkedService): """Azure SQL Data Warehouse linked service. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. :type connect_via: ~azure.synapse.artifacts.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. :type parameters: dict[str, ~azure.synapse.artifacts.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param connection_string: Required. The connection string. Type: string, SecureString or AzureKeyVaultSecretReference. Type: string, SecureString or AzureKeyVaultSecretReference. :type connection_string: object :param password: The Azure key vault secret reference of password in connection string. :type password: ~azure.synapse.artifacts.models.AzureKeyVaultSecretReference :param service_principal_id: The ID of the service principal used to authenticate against Azure SQL Data Warehouse. Type: string (or Expression with resultType string). :type service_principal_id: object :param service_principal_key: The key of the service principal used to authenticate against Azure SQL Data Warehouse. :type service_principal_key: ~azure.synapse.artifacts.models.SecretBase :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). :type encrypted_credential: object """ _validation = { 'type': {'required': True}, 'connection_string': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'connect_via': {'key': 'connectVia', 'type': 'IntegrationRuntimeReference'}, 'description': {'key': 'description', 'type': 'str'}, 'parameters': {'key': 'parameters', 'type': '{ParameterSpecification}'}, 'annotations': {'key': 'annotations', 'type': '[object]'}, 'connection_string': {'key': 'typeProperties.connectionString', 'type': 'object'}, 'password': {'key': 'typeProperties.password', 'type': 'AzureKeyVaultSecretReference'}, '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'}, } def __init__( self, *, connection_string: object, additional_properties: Optional[Dict[str, object]] = None, connect_via: Optional["IntegrationRuntimeReference"] = None, description: Optional[str] = None, parameters: Optional[Dict[str, "ParameterSpecification"]] = None, annotations: Optional[List[object]] = None, password: Optional["AzureKeyVaultSecretReference"] = None, service_principal_id: Optional[object] = None, service_principal_key: Optional["SecretBase"] = None, tenant: Optional[object] = None, azure_cloud_type: Optional[object] = None, encrypted_credential: Optional[object] = None, **kwargs ): super(AzureSqlDWLinkedService, self).__init__(additional_properties=additional_properties, connect_via=connect_via, description=description, parameters=parameters, annotations=annotations, **kwargs) self.type = 'AzureSqlDW' # type: str self.connection_string = connection_string self.password = password self.service_principal_id = service_principal_id self.service_principal_key = service_principal_key self.tenant = tenant self.azure_cloud_type = azure_cloud_type self.encrypted_credential = encrypted_credential
[docs]class AzureSqlDWTableDataset(Dataset): """The Azure SQL Data Warehouse dataset. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Type of dataset.Constant filled by server. :type type: str :param description: Dataset description. :type description: str :param structure: Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. :type structure: object :param schema: Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. :type linked_service_name: ~azure.synapse.artifacts.models.LinkedServiceReference :param parameters: Parameters for dataset. :type parameters: dict[str, ~azure.synapse.artifacts.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. :type folder: ~azure.synapse.artifacts.models.DatasetFolder :param table_name: This property will be retired. Please consider using schema + table properties instead. :type table_name: object :param schema_type_properties_schema: The schema name of the Azure SQL Data Warehouse. Type: string (or Expression with resultType string). :type schema_type_properties_schema: object :param table: The table name of the Azure SQL Data Warehouse. Type: string (or Expression with resultType string). :type table: object """ _validation = { 'type': {'required': True}, 'linked_service_name': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'description': {'key': 'description', 'type': 'str'}, 'structure': {'key': 'structure', 'type': 'object'}, 'schema': {'key': 'schema', 'type': 'object'}, 'linked_service_name': {'key': 'linkedServiceName', 'type': 'LinkedServiceReference'}, 'parameters': {'key': 'parameters', 'type': '{ParameterSpecification}'}, 'annotations': {'key': 'annotations', 'type': '[object]'}, 'folder': {'key': 'folder', 'type': 'DatasetFolder'}, 'table_name': {'key': 'typeProperties.tableName', 'type': 'object'}, 'schema_type_properties_schema': {'key': 'typeProperties.schema', 'type': 'object'}, 'table': {'key': 'typeProperties.table', 'type': 'object'}, } def __init__( self, *, linked_service_name: "LinkedServiceReference", additional_properties: Optional[Dict[str, object]] = None, description: Optional[str] = None, structure: Optional[object] = None, schema: Optional[object] = None, parameters: Optional[Dict[str, "ParameterSpecification"]] = None, annotations: Optional[List[object]] = None, folder: Optional["DatasetFolder"] = None, table_name: Optional[object] = None, schema_type_properties_schema: Optional[object] = None, table: Optional[object] = None, **kwargs ): super(AzureSqlDWTableDataset, self).__init__(additional_properties=additional_properties, description=description, structure=structure, schema=schema, linked_service_name=linked_service_name, parameters=parameters, annotations=annotations, folder=folder, **kwargs) self.type = 'AzureSqlDWTable' # type: str self.table_name = table_name self.schema_type_properties_schema = schema_type_properties_schema self.table = table
[docs]class AzureSqlMILinkedService(LinkedService): """Azure SQL Managed Instance linked service. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. :type connect_via: ~azure.synapse.artifacts.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. :type parameters: dict[str, ~azure.synapse.artifacts.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param connection_string: Required. The connection string. Type: string, SecureString or AzureKeyVaultSecretReference. :type connection_string: object :param password: The Azure key vault secret reference of password in connection string. :type password: ~azure.synapse.artifacts.models.AzureKeyVaultSecretReference :param service_principal_id: The ID of the service principal used to authenticate against Azure SQL Managed Instance. Type: string (or Expression with resultType string). :type service_principal_id: object :param service_principal_key: The key of the service principal used to authenticate against Azure SQL Managed Instance. :type service_principal_key: ~azure.synapse.artifacts.models.SecretBase :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). :type encrypted_credential: object """ _validation = { 'type': {'required': True}, 'connection_string': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'connect_via': {'key': 'connectVia', 'type': 'IntegrationRuntimeReference'}, 'description': {'key': 'description', 'type': 'str'}, 'parameters': {'key': 'parameters', 'type': '{ParameterSpecification}'}, 'annotations': {'key': 'annotations', 'type': '[object]'}, 'connection_string': {'key': 'typeProperties.connectionString', 'type': 'object'}, 'password': {'key': 'typeProperties.password', 'type': 'AzureKeyVaultSecretReference'}, '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'}, } def __init__( self, *, connection_string: object, additional_properties: Optional[Dict[str, object]] = None, connect_via: Optional["IntegrationRuntimeReference"] = None, description: Optional[str] = None, parameters: Optional[Dict[str, "ParameterSpecification"]] = None, annotations: Optional[List[object]] = None, password: Optional["AzureKeyVaultSecretReference"] = None, service_principal_id: Optional[object] = None, service_principal_key: Optional["SecretBase"] = None, tenant: Optional[object] = None, azure_cloud_type: Optional[object] = None, encrypted_credential: Optional[object] = None, **kwargs ): super(AzureSqlMILinkedService, self).__init__(additional_properties=additional_properties, connect_via=connect_via, description=description, parameters=parameters, annotations=annotations, **kwargs) self.type = 'AzureSqlMI' # type: str self.connection_string = connection_string self.password = password self.service_principal_id = service_principal_id self.service_principal_key = service_principal_key self.tenant = tenant self.azure_cloud_type = azure_cloud_type self.encrypted_credential = encrypted_credential
[docs]class AzureSqlMITableDataset(Dataset): """The Azure SQL Managed Instance dataset. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Type of dataset.Constant filled by server. :type type: str :param description: Dataset description. :type description: str :param structure: Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. :type structure: object :param schema: Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. :type linked_service_name: ~azure.synapse.artifacts.models.LinkedServiceReference :param parameters: Parameters for dataset. :type parameters: dict[str, ~azure.synapse.artifacts.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. :type folder: ~azure.synapse.artifacts.models.DatasetFolder :param table_name: This property will be retired. Please consider using schema + table properties instead. :type table_name: object :param schema_type_properties_schema: The schema name of the Azure SQL Managed Instance. Type: string (or Expression with resultType string). :type schema_type_properties_schema: object :param table: The table name of the Azure SQL Managed Instance dataset. Type: string (or Expression with resultType string). :type table: object """ _validation = { 'type': {'required': True}, 'linked_service_name': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'description': {'key': 'description', 'type': 'str'}, 'structure': {'key': 'structure', 'type': 'object'}, 'schema': {'key': 'schema', 'type': 'object'}, 'linked_service_name': {'key': 'linkedServiceName', 'type': 'LinkedServiceReference'}, 'parameters': {'key': 'parameters', 'type': '{ParameterSpecification}'}, 'annotations': {'key': 'annotations', 'type': '[object]'}, 'folder': {'key': 'folder', 'type': 'DatasetFolder'}, 'table_name': {'key': 'typeProperties.tableName', 'type': 'object'}, 'schema_type_properties_schema': {'key': 'typeProperties.schema', 'type': 'object'}, 'table': {'key': 'typeProperties.table', 'type': 'object'}, } def __init__( self, *, linked_service_name: "LinkedServiceReference", additional_properties: Optional[Dict[str, object]] = None, description: Optional[str] = None, structure: Optional[object] = None, schema: Optional[object] = None, parameters: Optional[Dict[str, "ParameterSpecification"]] = None, annotations: Optional[List[object]] = None, folder: Optional["DatasetFolder"] = None, table_name: Optional[object] = None, schema_type_properties_schema: Optional[object] = None, table: Optional[object] = None, **kwargs ): super(AzureSqlMITableDataset, self).__init__(additional_properties=additional_properties, description=description, structure=structure, schema=schema, linked_service_name=linked_service_name, parameters=parameters, annotations=annotations, folder=folder, **kwargs) self.type = 'AzureSqlMITable' # type: str self.table_name = table_name self.schema_type_properties_schema = schema_type_properties_schema self.table = table
[docs]class AzureSqlSink(CopySink): """A copy activity Azure SQL sink. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Copy sink type.Constant filled by server. :type type: str :param write_batch_size: Write batch size. Type: integer (or Expression with resultType integer), minimum: 0. :type write_batch_size: object :param write_batch_timeout: Write batch timeout. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type write_batch_timeout: object :param sink_retry_count: Sink retry count. Type: integer (or Expression with resultType integer). :type sink_retry_count: object :param sink_retry_wait: Sink retry wait. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type sink_retry_wait: object :param max_concurrent_connections: The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object :param sql_writer_stored_procedure_name: SQL writer stored procedure name. Type: string (or Expression with resultType string). :type sql_writer_stored_procedure_name: object :param sql_writer_table_type: SQL writer table type. Type: string (or Expression with resultType string). :type sql_writer_table_type: object :param pre_copy_script: SQL pre-copy script. Type: string (or Expression with resultType string). :type pre_copy_script: object :param stored_procedure_parameters: SQL stored procedure parameters. :type stored_procedure_parameters: dict[str, ~azure.synapse.artifacts.models.StoredProcedureParameter] :param stored_procedure_table_type_parameter_name: The stored procedure parameter name of the table type. Type: string (or Expression with resultType string). :type stored_procedure_table_type_parameter_name: object :param table_option: The option to handle sink table, such as autoCreate. For now only 'autoCreate' value is supported. Type: string (or Expression with resultType string). :type table_option: object """ _validation = { 'type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'write_batch_size': {'key': 'writeBatchSize', 'type': 'object'}, 'write_batch_timeout': {'key': 'writeBatchTimeout', 'type': 'object'}, 'sink_retry_count': {'key': 'sinkRetryCount', 'type': 'object'}, 'sink_retry_wait': {'key': 'sinkRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'sql_writer_stored_procedure_name': {'key': 'sqlWriterStoredProcedureName', 'type': 'object'}, 'sql_writer_table_type': {'key': 'sqlWriterTableType', 'type': 'object'}, 'pre_copy_script': {'key': 'preCopyScript', 'type': 'object'}, 'stored_procedure_parameters': {'key': 'storedProcedureParameters', 'type': '{StoredProcedureParameter}'}, 'stored_procedure_table_type_parameter_name': {'key': 'storedProcedureTableTypeParameterName', 'type': 'object'}, 'table_option': {'key': 'tableOption', 'type': 'object'}, } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, write_batch_size: Optional[object] = None, write_batch_timeout: Optional[object] = None, sink_retry_count: Optional[object] = None, sink_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, sql_writer_stored_procedure_name: Optional[object] = None, sql_writer_table_type: Optional[object] = None, pre_copy_script: Optional[object] = None, stored_procedure_parameters: Optional[Dict[str, "StoredProcedureParameter"]] = None, stored_procedure_table_type_parameter_name: Optional[object] = None, table_option: Optional[object] = None, **kwargs ): super(AzureSqlSink, self).__init__(additional_properties=additional_properties, write_batch_size=write_batch_size, write_batch_timeout=write_batch_timeout, sink_retry_count=sink_retry_count, sink_retry_wait=sink_retry_wait, max_concurrent_connections=max_concurrent_connections, **kwargs) self.type = 'AzureSqlSink' # type: str self.sql_writer_stored_procedure_name = sql_writer_stored_procedure_name self.sql_writer_table_type = sql_writer_table_type self.pre_copy_script = pre_copy_script self.stored_procedure_parameters = stored_procedure_parameters self.stored_procedure_table_type_parameter_name = stored_procedure_table_type_parameter_name self.table_option = table_option
[docs]class AzureSqlSource(TabularSource): """A copy activity Azure SQL source. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Copy source type.Constant filled by server. :type type: str :param source_retry_count: Source retry count. Type: integer (or Expression with resultType integer). :type source_retry_count: object :param source_retry_wait: Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type source_retry_wait: object :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object :param query_timeout: Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type query_timeout: object :param additional_columns: Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects). :type additional_columns: list[~azure.synapse.artifacts.models.AdditionalColumns] :param sql_reader_query: SQL reader query. Type: string (or Expression with resultType string). :type sql_reader_query: object :param sql_reader_stored_procedure_name: Name of the stored procedure for a SQL Database source. This cannot be used at the same time as SqlReaderQuery. Type: string (or Expression with resultType string). :type sql_reader_stored_procedure_name: object :param stored_procedure_parameters: Value and type setting for stored procedure parameters. Example: "{Parameter1: {value: "1", type: "int"}}". :type stored_procedure_parameters: dict[str, ~azure.synapse.artifacts.models.StoredProcedureParameter] :param produce_additional_types: Which additional types to produce. :type produce_additional_types: object :param partition_option: The partition mechanism that will be used for Sql read in parallel. Possible values include: "None", "PhysicalPartitionsOfTable", "DynamicRange". :type partition_option: object :param partition_settings: The settings that will be leveraged for Sql source partitioning. :type partition_settings: ~azure.synapse.artifacts.models.SqlPartitionSettings """ _validation = { 'type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, 'sql_reader_query': {'key': 'sqlReaderQuery', 'type': 'object'}, 'sql_reader_stored_procedure_name': {'key': 'sqlReaderStoredProcedureName', 'type': 'object'}, 'stored_procedure_parameters': {'key': 'storedProcedureParameters', 'type': '{StoredProcedureParameter}'}, 'produce_additional_types': {'key': 'produceAdditionalTypes', 'type': 'object'}, 'partition_option': {'key': 'partitionOption', 'type': 'object'}, 'partition_settings': {'key': 'partitionSettings', 'type': 'SqlPartitionSettings'}, } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, source_retry_count: Optional[object] = None, source_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, query_timeout: Optional[object] = None, additional_columns: Optional[List["AdditionalColumns"]] = None, sql_reader_query: Optional[object] = None, sql_reader_stored_procedure_name: Optional[object] = None, stored_procedure_parameters: Optional[Dict[str, "StoredProcedureParameter"]] = None, produce_additional_types: Optional[object] = None, partition_option: Optional[object] = None, partition_settings: Optional["SqlPartitionSettings"] = None, **kwargs ): super(AzureSqlSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, query_timeout=query_timeout, additional_columns=additional_columns, **kwargs) self.type = 'AzureSqlSource' # type: str self.sql_reader_query = sql_reader_query self.sql_reader_stored_procedure_name = sql_reader_stored_procedure_name self.stored_procedure_parameters = stored_procedure_parameters self.produce_additional_types = produce_additional_types self.partition_option = partition_option self.partition_settings = partition_settings
[docs]class AzureSqlTableDataset(Dataset): """The Azure SQL Server database dataset. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Type of dataset.Constant filled by server. :type type: str :param description: Dataset description. :type description: str :param structure: Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. :type structure: object :param schema: Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. :type linked_service_name: ~azure.synapse.artifacts.models.LinkedServiceReference :param parameters: Parameters for dataset. :type parameters: dict[str, ~azure.synapse.artifacts.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. :type folder: ~azure.synapse.artifacts.models.DatasetFolder :param table_name: This property will be retired. Please consider using schema + table properties instead. :type table_name: object :param schema_type_properties_schema: The schema name of the Azure SQL database. Type: string (or Expression with resultType string). :type schema_type_properties_schema: object :param table: The table name of the Azure SQL database. Type: string (or Expression with resultType string). :type table: object """ _validation = { 'type': {'required': True}, 'linked_service_name': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'description': {'key': 'description', 'type': 'str'}, 'structure': {'key': 'structure', 'type': 'object'}, 'schema': {'key': 'schema', 'type': 'object'}, 'linked_service_name': {'key': 'linkedServiceName', 'type': 'LinkedServiceReference'}, 'parameters': {'key': 'parameters', 'type': '{ParameterSpecification}'}, 'annotations': {'key': 'annotations', 'type': '[object]'}, 'folder': {'key': 'folder', 'type': 'DatasetFolder'}, 'table_name': {'key': 'typeProperties.tableName', 'type': 'object'}, 'schema_type_properties_schema': {'key': 'typeProperties.schema', 'type': 'object'}, 'table': {'key': 'typeProperties.table', 'type': 'object'}, } def __init__( self, *, linked_service_name: "LinkedServiceReference", additional_properties: Optional[Dict[str, object]] = None, description: Optional[str] = None, structure: Optional[object] = None, schema: Optional[object] = None, parameters: Optional[Dict[str, "ParameterSpecification"]] = None, annotations: Optional[List[object]] = None, folder: Optional["DatasetFolder"] = None, table_name: Optional[object] = None, schema_type_properties_schema: Optional[object] = None, table: Optional[object] = None, **kwargs ): super(AzureSqlTableDataset, self).__init__(additional_properties=additional_properties, description=description, structure=structure, schema=schema, linked_service_name=linked_service_name, parameters=parameters, annotations=annotations, folder=folder, **kwargs) self.type = 'AzureSqlTable' # type: str self.table_name = table_name self.schema_type_properties_schema = schema_type_properties_schema self.table = table
[docs]class AzureStorageLinkedService(LinkedService): """The storage account linked service. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. :type connect_via: ~azure.synapse.artifacts.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. :type parameters: dict[str, ~azure.synapse.artifacts.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param connection_string: The connection string. It is mutually exclusive with sasUri property. Type: string, SecureString or AzureKeyVaultSecretReference. :type connection_string: object :param account_key: The Azure key vault secret reference of accountKey in connection string. :type account_key: ~azure.synapse.artifacts.models.AzureKeyVaultSecretReference :param sas_uri: SAS URI of the Azure Storage resource. It is mutually exclusive with connectionString property. Type: string, SecureString or AzureKeyVaultSecretReference. :type sas_uri: object :param sas_token: The Azure key vault secret reference of sasToken in sas uri. :type sas_token: ~azure.synapse.artifacts.models.AzureKeyVaultSecretReference :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). :type encrypted_credential: str """ _validation = { 'type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'connect_via': {'key': 'connectVia', 'type': 'IntegrationRuntimeReference'}, 'description': {'key': 'description', 'type': 'str'}, 'parameters': {'key': 'parameters', 'type': '{ParameterSpecification}'}, 'annotations': {'key': 'annotations', 'type': '[object]'}, 'connection_string': {'key': 'typeProperties.connectionString', 'type': 'object'}, 'account_key': {'key': 'typeProperties.accountKey', 'type': 'AzureKeyVaultSecretReference'}, 'sas_uri': {'key': 'typeProperties.sasUri', 'type': 'object'}, 'sas_token': {'key': 'typeProperties.sasToken', 'type': 'AzureKeyVaultSecretReference'}, 'encrypted_credential': {'key': 'typeProperties.encryptedCredential', 'type': 'str'}, } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, connect_via: Optional["IntegrationRuntimeReference"] = None, description: Optional[str] = None, parameters: Optional[Dict[str, "ParameterSpecification"]] = None, annotations: Optional[List[object]] = None, connection_string: Optional[object] = None, account_key: Optional["AzureKeyVaultSecretReference"] = None, sas_uri: Optional[object] = None, sas_token: Optional["AzureKeyVaultSecretReference"] = None, encrypted_credential: Optional[str] = None, **kwargs ): super(AzureStorageLinkedService, self).__init__(additional_properties=additional_properties, connect_via=connect_via, description=description, parameters=parameters, annotations=annotations, **kwargs) self.type = 'AzureStorage' # type: str self.connection_string = connection_string self.account_key = account_key self.sas_uri = sas_uri self.sas_token = sas_token self.encrypted_credential = encrypted_credential
[docs]class AzureTableDataset(Dataset): """The Azure Table storage dataset. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Type of dataset.Constant filled by server. :type type: str :param description: Dataset description. :type description: str :param structure: Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. :type structure: object :param schema: Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. :type linked_service_name: ~azure.synapse.artifacts.models.LinkedServiceReference :param parameters: Parameters for dataset. :type parameters: dict[str, ~azure.synapse.artifacts.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. :type folder: ~azure.synapse.artifacts.models.DatasetFolder :param table_name: Required. The table name of the Azure Table storage. Type: string (or Expression with resultType string). :type table_name: object """ _validation = { 'type': {'required': True}, 'linked_service_name': {'required': True}, 'table_name': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'description': {'key': 'description', 'type': 'str'}, 'structure': {'key': 'structure', 'type': 'object'}, 'schema': {'key': 'schema', 'type': 'object'}, 'linked_service_name': {'key': 'linkedServiceName', 'type': 'LinkedServiceReference'}, 'parameters': {'key': 'parameters', 'type': '{ParameterSpecification}'}, 'annotations': {'key': 'annotations', 'type': '[object]'}, 'folder': {'key': 'folder', 'type': 'DatasetFolder'}, 'table_name': {'key': 'typeProperties.tableName', 'type': 'object'}, } def __init__( self, *, linked_service_name: "LinkedServiceReference", table_name: object, additional_properties: Optional[Dict[str, object]] = None, description: Optional[str] = None, structure: Optional[object] = None, schema: Optional[object] = None, parameters: Optional[Dict[str, "ParameterSpecification"]] = None, annotations: Optional[List[object]] = None, folder: Optional["DatasetFolder"] = None, **kwargs ): super(AzureTableDataset, self).__init__(additional_properties=additional_properties, description=description, structure=structure, schema=schema, linked_service_name=linked_service_name, parameters=parameters, annotations=annotations, folder=folder, **kwargs) self.type = 'AzureTable' # type: str self.table_name = table_name
[docs]class AzureTableSink(CopySink): """A copy activity Azure Table sink. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Copy sink type.Constant filled by server. :type type: str :param write_batch_size: Write batch size. Type: integer (or Expression with resultType integer), minimum: 0. :type write_batch_size: object :param write_batch_timeout: Write batch timeout. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type write_batch_timeout: object :param sink_retry_count: Sink retry count. Type: integer (or Expression with resultType integer). :type sink_retry_count: object :param sink_retry_wait: Sink retry wait. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type sink_retry_wait: object :param max_concurrent_connections: The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object :param azure_table_default_partition_key_value: Azure Table default partition key value. Type: string (or Expression with resultType string). :type azure_table_default_partition_key_value: object :param azure_table_partition_key_name: Azure Table partition key name. Type: string (or Expression with resultType string). :type azure_table_partition_key_name: object :param azure_table_row_key_name: Azure Table row key name. Type: string (or Expression with resultType string). :type azure_table_row_key_name: object :param azure_table_insert_type: Azure Table insert type. Type: string (or Expression with resultType string). :type azure_table_insert_type: object """ _validation = { 'type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'write_batch_size': {'key': 'writeBatchSize', 'type': 'object'}, 'write_batch_timeout': {'key': 'writeBatchTimeout', 'type': 'object'}, 'sink_retry_count': {'key': 'sinkRetryCount', 'type': 'object'}, 'sink_retry_wait': {'key': 'sinkRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'azure_table_default_partition_key_value': {'key': 'azureTableDefaultPartitionKeyValue', 'type': 'object'}, 'azure_table_partition_key_name': {'key': 'azureTablePartitionKeyName', 'type': 'object'}, 'azure_table_row_key_name': {'key': 'azureTableRowKeyName', 'type': 'object'}, 'azure_table_insert_type': {'key': 'azureTableInsertType', 'type': 'object'}, } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, write_batch_size: Optional[object] = None, write_batch_timeout: Optional[object] = None, sink_retry_count: Optional[object] = None, sink_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, azure_table_default_partition_key_value: Optional[object] = None, azure_table_partition_key_name: Optional[object] = None, azure_table_row_key_name: Optional[object] = None, azure_table_insert_type: Optional[object] = None, **kwargs ): super(AzureTableSink, self).__init__(additional_properties=additional_properties, write_batch_size=write_batch_size, write_batch_timeout=write_batch_timeout, sink_retry_count=sink_retry_count, sink_retry_wait=sink_retry_wait, max_concurrent_connections=max_concurrent_connections, **kwargs) self.type = 'AzureTableSink' # type: str self.azure_table_default_partition_key_value = azure_table_default_partition_key_value self.azure_table_partition_key_name = azure_table_partition_key_name self.azure_table_row_key_name = azure_table_row_key_name self.azure_table_insert_type = azure_table_insert_type
[docs]class AzureTableSource(TabularSource): """A copy activity Azure Table source. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Copy source type.Constant filled by server. :type type: str :param source_retry_count: Source retry count. Type: integer (or Expression with resultType integer). :type source_retry_count: object :param source_retry_wait: Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type source_retry_wait: object :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object :param query_timeout: Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type query_timeout: object :param additional_columns: Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects). :type additional_columns: list[~azure.synapse.artifacts.models.AdditionalColumns] :param azure_table_source_query: Azure Table source query. Type: string (or Expression with resultType string). :type azure_table_source_query: object :param azure_table_source_ignore_table_not_found: Azure Table source ignore table not found. Type: boolean (or Expression with resultType boolean). :type azure_table_source_ignore_table_not_found: object """ _validation = { 'type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, 'azure_table_source_query': {'key': 'azureTableSourceQuery', 'type': 'object'}, 'azure_table_source_ignore_table_not_found': {'key': 'azureTableSourceIgnoreTableNotFound', 'type': 'object'}, } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, source_retry_count: Optional[object] = None, source_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, query_timeout: Optional[object] = None, additional_columns: Optional[List["AdditionalColumns"]] = None, azure_table_source_query: Optional[object] = None, azure_table_source_ignore_table_not_found: Optional[object] = None, **kwargs ): super(AzureTableSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, query_timeout=query_timeout, additional_columns=additional_columns, **kwargs) self.type = 'AzureTableSource' # type: str self.azure_table_source_query = azure_table_source_query self.azure_table_source_ignore_table_not_found = azure_table_source_ignore_table_not_found
[docs]class AzureTableStorageLinkedService(LinkedService): """The azure table storage linked service. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. :type connect_via: ~azure.synapse.artifacts.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. :type parameters: dict[str, ~azure.synapse.artifacts.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param connection_string: The connection string. It is mutually exclusive with sasUri property. Type: string, SecureString or AzureKeyVaultSecretReference. :type connection_string: object :param account_key: The Azure key vault secret reference of accountKey in connection string. :type account_key: ~azure.synapse.artifacts.models.AzureKeyVaultSecretReference :param sas_uri: SAS URI of the Azure Storage resource. It is mutually exclusive with connectionString property. Type: string, SecureString or AzureKeyVaultSecretReference. :type sas_uri: object :param sas_token: The Azure key vault secret reference of sasToken in sas uri. :type sas_token: ~azure.synapse.artifacts.models.AzureKeyVaultSecretReference :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). :type encrypted_credential: str """ _validation = { 'type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'connect_via': {'key': 'connectVia', 'type': 'IntegrationRuntimeReference'}, 'description': {'key': 'description', 'type': 'str'}, 'parameters': {'key': 'parameters', 'type': '{ParameterSpecification}'}, 'annotations': {'key': 'annotations', 'type': '[object]'}, 'connection_string': {'key': 'typeProperties.connectionString', 'type': 'object'}, 'account_key': {'key': 'typeProperties.accountKey', 'type': 'AzureKeyVaultSecretReference'}, 'sas_uri': {'key': 'typeProperties.sasUri', 'type': 'object'}, 'sas_token': {'key': 'typeProperties.sasToken', 'type': 'AzureKeyVaultSecretReference'}, 'encrypted_credential': {'key': 'typeProperties.encryptedCredential', 'type': 'str'}, } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, connect_via: Optional["IntegrationRuntimeReference"] = None, description: Optional[str] = None, parameters: Optional[Dict[str, "ParameterSpecification"]] = None, annotations: Optional[List[object]] = None, connection_string: Optional[object] = None, account_key: Optional["AzureKeyVaultSecretReference"] = None, sas_uri: Optional[object] = None, sas_token: Optional["AzureKeyVaultSecretReference"] = None, encrypted_credential: Optional[str] = None, **kwargs ): super(AzureTableStorageLinkedService, self).__init__(additional_properties=additional_properties, connect_via=connect_via, description=description, parameters=parameters, annotations=annotations, **kwargs) self.type = 'AzureTableStorage' # type: str self.connection_string = connection_string self.account_key = account_key self.sas_uri = sas_uri self.sas_token = sas_token self.encrypted_credential = encrypted_credential
[docs]class BigDataPoolReference(msrest.serialization.Model): """Big data pool reference. All required parameters must be populated in order to send to Azure. :param type: Required. Big data pool reference type. Possible values include: "BigDataPoolReference". :type type: str or ~azure.synapse.artifacts.models.BigDataPoolReferenceType :param reference_name: Required. Reference big data pool name. :type reference_name: str """ _validation = { 'type': {'required': True}, 'reference_name': {'required': True}, } _attribute_map = { 'type': {'key': 'type', 'type': 'str'}, 'reference_name': {'key': 'referenceName', 'type': 'str'}, } def __init__( self, *, type: Union[str, "BigDataPoolReferenceType"], reference_name: str, **kwargs ): super(BigDataPoolReference, self).__init__(**kwargs) self.type = type self.reference_name = reference_name
[docs]class TrackedResource(Resource): """The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location'. Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. :ivar id: Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. :vartype id: str :ivar name: The name of the resource. :vartype name: str :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts". :vartype type: str :param tags: A set of tags. Resource tags. :type tags: dict[str, str] :param location: Required. The geo-location where the resource lives. :type location: str """ _validation = { 'id': {'readonly': True}, 'name': {'readonly': True}, 'type': {'readonly': True}, 'location': {'required': True}, } _attribute_map = { 'id': {'key': 'id', 'type': 'str'}, 'name': {'key': 'name', 'type': 'str'}, 'type': {'key': 'type', 'type': 'str'}, 'tags': {'key': 'tags', 'type': '{str}'}, 'location': {'key': 'location', 'type': 'str'}, } def __init__( self, *, location: str, tags: Optional[Dict[str, str]] = None, **kwargs ): super(TrackedResource, self).__init__(**kwargs) self.tags = tags self.location = location
[docs]class BigDataPoolResourceInfo(TrackedResource): """A Big Data pool. Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. :ivar id: Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. :vartype id: str :ivar name: The name of the resource. :vartype name: str :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts". :vartype type: str :param tags: A set of tags. Resource tags. :type tags: dict[str, str] :param location: Required. The geo-location where the resource lives. :type location: str :param provisioning_state: The state of the Big Data pool. :type provisioning_state: str :param auto_scale: Auto-scaling properties. :type auto_scale: ~azure.synapse.artifacts.models.AutoScaleProperties :param creation_date: The time when the Big Data pool was created. :type creation_date: ~datetime.datetime :param auto_pause: Auto-pausing properties. :type auto_pause: ~azure.synapse.artifacts.models.AutoPauseProperties :param is_compute_isolation_enabled: Whether compute isolation is required or not. :type is_compute_isolation_enabled: bool :param session_level_packages_enabled: Whether session level packages enabled. :type session_level_packages_enabled: bool :param cache_size: The cache size. :type cache_size: int :param dynamic_executor_allocation: Dynamic Executor Allocation. :type dynamic_executor_allocation: ~azure.synapse.artifacts.models.DynamicExecutorAllocation :param spark_events_folder: The Spark events folder. :type spark_events_folder: str :param node_count: The number of nodes in the Big Data pool. :type node_count: int :param library_requirements: Library version requirements. :type library_requirements: ~azure.synapse.artifacts.models.LibraryRequirements :param custom_libraries: List of custom libraries/packages associated with the spark pool. :type custom_libraries: list[~azure.synapse.artifacts.models.LibraryInfo] :param spark_config_properties: Spark configuration file to specify additional properties. :type spark_config_properties: ~azure.synapse.artifacts.models.LibraryRequirements :param spark_version: The Apache Spark version. :type spark_version: str :param default_spark_log_folder: The default folder where Spark logs will be written. :type default_spark_log_folder: str :param node_size: The level of compute power that each node in the Big Data pool has. Possible values include: "None", "Small", "Medium", "Large", "XLarge", "XXLarge", "XXXLarge". :type node_size: str or ~azure.synapse.artifacts.models.NodeSize :param node_size_family: The kind of nodes that the Big Data pool provides. Possible values include: "None", "MemoryOptimized". :type node_size_family: str or ~azure.synapse.artifacts.models.NodeSizeFamily :ivar last_succeeded_timestamp: The time when the Big Data pool was updated successfully. :vartype last_succeeded_timestamp: ~datetime.datetime """ _validation = { 'id': {'readonly': True}, 'name': {'readonly': True}, 'type': {'readonly': True}, 'location': {'required': True}, 'last_succeeded_timestamp': {'readonly': True}, } _attribute_map = { 'id': {'key': 'id', 'type': 'str'}, 'name': {'key': 'name', 'type': 'str'}, 'type': {'key': 'type', 'type': 'str'}, 'tags': {'key': 'tags', 'type': '{str}'}, 'location': {'key': 'location', 'type': 'str'}, 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, 'auto_scale': {'key': 'properties.autoScale', 'type': 'AutoScaleProperties'}, 'creation_date': {'key': 'properties.creationDate', 'type': 'iso-8601'}, 'auto_pause': {'key': 'properties.autoPause', 'type': 'AutoPauseProperties'}, 'is_compute_isolation_enabled': {'key': 'properties.isComputeIsolationEnabled', 'type': 'bool'}, 'session_level_packages_enabled': {'key': 'properties.sessionLevelPackagesEnabled', 'type': 'bool'}, 'cache_size': {'key': 'properties.cacheSize', 'type': 'int'}, 'dynamic_executor_allocation': {'key': 'properties.dynamicExecutorAllocation', 'type': 'DynamicExecutorAllocation'}, 'spark_events_folder': {'key': 'properties.sparkEventsFolder', 'type': 'str'}, 'node_count': {'key': 'properties.nodeCount', 'type': 'int'}, 'library_requirements': {'key': 'properties.libraryRequirements', 'type': 'LibraryRequirements'}, 'custom_libraries': {'key': 'properties.customLibraries', 'type': '[LibraryInfo]'}, 'spark_config_properties': {'key': 'properties.sparkConfigProperties', 'type': 'LibraryRequirements'}, 'spark_version': {'key': 'properties.sparkVersion', 'type': 'str'}, 'default_spark_log_folder': {'key': 'properties.defaultSparkLogFolder', 'type': 'str'}, 'node_size': {'key': 'properties.nodeSize', 'type': 'str'}, 'node_size_family': {'key': 'properties.nodeSizeFamily', 'type': 'str'}, 'last_succeeded_timestamp': {'key': 'properties.lastSucceededTimestamp', 'type': 'iso-8601'}, } def __init__( self, *, location: str, tags: Optional[Dict[str, str]] = None, provisioning_state: Optional[str] = None, auto_scale: Optional["AutoScaleProperties"] = None, creation_date: Optional[datetime.datetime] = None, auto_pause: Optional["AutoPauseProperties"] = None, is_compute_isolation_enabled: Optional[bool] = None, session_level_packages_enabled: Optional[bool] = None, cache_size: Optional[int] = None, dynamic_executor_allocation: Optional["DynamicExecutorAllocation"] = None, spark_events_folder: Optional[str] = None, node_count: Optional[int] = None, library_requirements: Optional["LibraryRequirements"] = None, custom_libraries: Optional[List["LibraryInfo"]] = None, spark_config_properties: Optional["LibraryRequirements"] = None, spark_version: Optional[str] = None, default_spark_log_folder: Optional[str] = None, node_size: Optional[Union[str, "NodeSize"]] = None, node_size_family: Optional[Union[str, "NodeSizeFamily"]] = None, **kwargs ): super(BigDataPoolResourceInfo, self).__init__(tags=tags, location=location, **kwargs) self.provisioning_state = provisioning_state self.auto_scale = auto_scale self.creation_date = creation_date self.auto_pause = auto_pause self.is_compute_isolation_enabled = is_compute_isolation_enabled self.session_level_packages_enabled = session_level_packages_enabled self.cache_size = cache_size self.dynamic_executor_allocation = dynamic_executor_allocation self.spark_events_folder = spark_events_folder self.node_count = node_count self.library_requirements = library_requirements self.custom_libraries = custom_libraries self.spark_config_properties = spark_config_properties self.spark_version = spark_version self.default_spark_log_folder = default_spark_log_folder self.node_size = node_size self.node_size_family = node_size_family self.last_succeeded_timestamp = None
[docs]class BigDataPoolResourceInfoListResult(msrest.serialization.Model): """Collection of Big Data pool information. :param next_link: Link to the next page of results. :type next_link: str :param value: List of Big Data pools. :type value: list[~azure.synapse.artifacts.models.BigDataPoolResourceInfo] """ _attribute_map = { 'next_link': {'key': 'nextLink', 'type': 'str'}, 'value': {'key': 'value', 'type': '[BigDataPoolResourceInfo]'}, } def __init__( self, *, next_link: Optional[str] = None, value: Optional[List["BigDataPoolResourceInfo"]] = None, **kwargs ): super(BigDataPoolResourceInfoListResult, self).__init__(**kwargs) self.next_link = next_link self.value = value
[docs]class BinaryDataset(Dataset): """Binary dataset. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Type of dataset.Constant filled by server. :type type: str :param description: Dataset description. :type description: str :param structure: Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. :type structure: object :param schema: Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. :type linked_service_name: ~azure.synapse.artifacts.models.LinkedServiceReference :param parameters: Parameters for dataset. :type parameters: dict[str, ~azure.synapse.artifacts.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. :type folder: ~azure.synapse.artifacts.models.DatasetFolder :param location: The location of the Binary storage. :type location: ~azure.synapse.artifacts.models.DatasetLocation :param compression: The data compression method used for the binary dataset. :type compression: ~azure.synapse.artifacts.models.DatasetCompression """ _validation = { 'type': {'required': True}, 'linked_service_name': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'description': {'key': 'description', 'type': 'str'}, 'structure': {'key': 'structure', 'type': 'object'}, 'schema': {'key': 'schema', 'type': 'object'}, 'linked_service_name': {'key': 'linkedServiceName', 'type': 'LinkedServiceReference'}, 'parameters': {'key': 'parameters', 'type': '{ParameterSpecification}'}, 'annotations': {'key': 'annotations', 'type': '[object]'}, 'folder': {'key': 'folder', 'type': 'DatasetFolder'}, 'location': {'key': 'typeProperties.location', 'type': 'DatasetLocation'}, 'compression': {'key': 'typeProperties.compression', 'type': 'DatasetCompression'}, } def __init__( self, *, linked_service_name: "LinkedServiceReference", additional_properties: Optional[Dict[str, object]] = None, description: Optional[str] = None, structure: Optional[object] = None, schema: Optional[object] = None, parameters: Optional[Dict[str, "ParameterSpecification"]] = None, annotations: Optional[List[object]] = None, folder: Optional["DatasetFolder"] = None, location: Optional["DatasetLocation"] = None, compression: Optional["DatasetCompression"] = None, **kwargs ): super(BinaryDataset, self).__init__(additional_properties=additional_properties, description=description, structure=structure, schema=schema, linked_service_name=linked_service_name, parameters=parameters, annotations=annotations, folder=folder, **kwargs) self.type = 'Binary' # type: str self.location = location self.compression = compression
[docs]class FormatReadSettings(msrest.serialization.Model): """Format read settings. You probably want to use the sub-classes and not this class directly. Known sub-classes are: BinaryReadSettings, DelimitedTextReadSettings, JsonReadSettings, XmlReadSettings. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. The read setting type.Constant filled by server. :type type: str """ _validation = { 'type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, } _subtype_map = { 'type': {'BinaryReadSettings': 'BinaryReadSettings', 'DelimitedTextReadSettings': 'DelimitedTextReadSettings', 'JsonReadSettings': 'JsonReadSettings', 'XmlReadSettings': 'XmlReadSettings'} } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, **kwargs ): super(FormatReadSettings, self).__init__(**kwargs) self.additional_properties = additional_properties self.type = 'FormatReadSettings' # type: str
[docs]class BinaryReadSettings(FormatReadSettings): """Binary read settings. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. The read setting type.Constant filled by server. :type type: str :param compression_properties: Compression settings. :type compression_properties: ~azure.synapse.artifacts.models.CompressionReadSettings """ _validation = { 'type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'compression_properties': {'key': 'compressionProperties', 'type': 'CompressionReadSettings'}, } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, compression_properties: Optional["CompressionReadSettings"] = None, **kwargs ): super(BinaryReadSettings, self).__init__(additional_properties=additional_properties, **kwargs) self.type = 'BinaryReadSettings' # type: str self.compression_properties = compression_properties
[docs]class BinarySink(CopySink): """A copy activity Binary sink. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Copy sink type.Constant filled by server. :type type: str :param write_batch_size: Write batch size. Type: integer (or Expression with resultType integer), minimum: 0. :type write_batch_size: object :param write_batch_timeout: Write batch timeout. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type write_batch_timeout: object :param sink_retry_count: Sink retry count. Type: integer (or Expression with resultType integer). :type sink_retry_count: object :param sink_retry_wait: Sink retry wait. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type sink_retry_wait: object :param max_concurrent_connections: The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object :param store_settings: Binary store settings. :type store_settings: ~azure.synapse.artifacts.models.StoreWriteSettings """ _validation = { 'type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'write_batch_size': {'key': 'writeBatchSize', 'type': 'object'}, 'write_batch_timeout': {'key': 'writeBatchTimeout', 'type': 'object'}, 'sink_retry_count': {'key': 'sinkRetryCount', 'type': 'object'}, 'sink_retry_wait': {'key': 'sinkRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'store_settings': {'key': 'storeSettings', 'type': 'StoreWriteSettings'}, } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, write_batch_size: Optional[object] = None, write_batch_timeout: Optional[object] = None, sink_retry_count: Optional[object] = None, sink_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, store_settings: Optional["StoreWriteSettings"] = None, **kwargs ): super(BinarySink, self).__init__(additional_properties=additional_properties, write_batch_size=write_batch_size, write_batch_timeout=write_batch_timeout, sink_retry_count=sink_retry_count, sink_retry_wait=sink_retry_wait, max_concurrent_connections=max_concurrent_connections, **kwargs) self.type = 'BinarySink' # type: str self.store_settings = store_settings
[docs]class BinarySource(CopySource): """A copy activity Binary source. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Copy source type.Constant filled by server. :type type: str :param source_retry_count: Source retry count. Type: integer (or Expression with resultType integer). :type source_retry_count: object :param source_retry_wait: Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type source_retry_wait: object :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object :param store_settings: Binary store settings. :type store_settings: ~azure.synapse.artifacts.models.StoreReadSettings :param format_settings: Binary format settings. :type format_settings: ~azure.synapse.artifacts.models.BinaryReadSettings """ _validation = { 'type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'store_settings': {'key': 'storeSettings', 'type': 'StoreReadSettings'}, 'format_settings': {'key': 'formatSettings', 'type': 'BinaryReadSettings'}, } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, source_retry_count: Optional[object] = None, source_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, store_settings: Optional["StoreReadSettings"] = None, format_settings: Optional["BinaryReadSettings"] = None, **kwargs ): super(BinarySource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, **kwargs) self.type = 'BinarySource' # type: str self.store_settings = store_settings self.format_settings = format_settings
[docs]class Trigger(msrest.serialization.Model): """Azure Synapse nested object which contains information about creating pipeline run. You probably want to use the sub-classes and not this class directly. Known sub-classes are: ChainingTrigger, MultiplePipelineTrigger, RerunTumblingWindowTrigger, TumblingWindowTrigger. Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Trigger type.Constant filled by server. :type type: str :param description: Trigger description. :type description: str :ivar runtime_state: Indicates if trigger is running or not. Updated when Start/Stop APIs are called on the Trigger. Possible values include: "Started", "Stopped", "Disabled". :vartype runtime_state: str or ~azure.synapse.artifacts.models.TriggerRuntimeState :param annotations: List of tags that can be used for describing the trigger. :type annotations: list[object] """ _validation = { 'type': {'required': True}, 'runtime_state': {'readonly': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'description': {'key': 'description', 'type': 'str'}, 'runtime_state': {'key': 'runtimeState', 'type': 'str'}, 'annotations': {'key': 'annotations', 'type': '[object]'}, } _subtype_map = { 'type': {'ChainingTrigger': 'ChainingTrigger', 'MultiplePipelineTrigger': 'MultiplePipelineTrigger', 'RerunTumblingWindowTrigger': 'RerunTumblingWindowTrigger', 'TumblingWindowTrigger': 'TumblingWindowTrigger'} } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, description: Optional[str] = None, annotations: Optional[List[object]] = None, **kwargs ): super(Trigger, self).__init__(**kwargs) self.additional_properties = additional_properties self.type = 'Trigger' # type: str self.description = description self.runtime_state = None self.annotations = annotations
[docs]class MultiplePipelineTrigger(Trigger): """Base class for all triggers that support one to many model for trigger to pipeline. You probably want to use the sub-classes and not this class directly. Known sub-classes are: BlobEventsTrigger, BlobTrigger, CustomEventsTrigger, ScheduleTrigger. Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Trigger type.Constant filled by server. :type type: str :param description: Trigger description. :type description: str :ivar runtime_state: Indicates if trigger is running or not. Updated when Start/Stop APIs are called on the Trigger. Possible values include: "Started", "Stopped", "Disabled". :vartype runtime_state: str or ~azure.synapse.artifacts.models.TriggerRuntimeState :param annotations: List of tags that can be used for describing the trigger. :type annotations: list[object] :param pipelines: Pipelines that need to be started. :type pipelines: list[~azure.synapse.artifacts.models.TriggerPipelineReference] """ _validation = { 'type': {'required': True}, 'runtime_state': {'readonly': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'description': {'key': 'description', 'type': 'str'}, 'runtime_state': {'key': 'runtimeState', 'type': 'str'}, 'annotations': {'key': 'annotations', 'type': '[object]'}, 'pipelines': {'key': 'pipelines', 'type': '[TriggerPipelineReference]'}, } _subtype_map = { 'type': {'BlobEventsTrigger': 'BlobEventsTrigger', 'BlobTrigger': 'BlobTrigger', 'CustomEventsTrigger': 'CustomEventsTrigger', 'ScheduleTrigger': 'ScheduleTrigger'} } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, description: Optional[str] = None, annotations: Optional[List[object]] = None, pipelines: Optional[List["TriggerPipelineReference"]] = None, **kwargs ): super(MultiplePipelineTrigger, self).__init__(additional_properties=additional_properties, description=description, annotations=annotations, **kwargs) self.type = 'MultiplePipelineTrigger' # type: str self.pipelines = pipelines
[docs]class BlobEventsTrigger(MultiplePipelineTrigger): """Trigger that runs every time a Blob event occurs. Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Trigger type.Constant filled by server. :type type: str :param description: Trigger description. :type description: str :ivar runtime_state: Indicates if trigger is running or not. Updated when Start/Stop APIs are called on the Trigger. Possible values include: "Started", "Stopped", "Disabled". :vartype runtime_state: str or ~azure.synapse.artifacts.models.TriggerRuntimeState :param annotations: List of tags that can be used for describing the trigger. :type annotations: list[object] :param pipelines: Pipelines that need to be started. :type pipelines: list[~azure.synapse.artifacts.models.TriggerPipelineReference] :param blob_path_begins_with: The blob path must begin with the pattern provided for trigger to fire. For example, '/records/blobs/december/' will only fire the trigger for blobs in the december folder under the records container. At least one of these must be provided: blobPathBeginsWith, blobPathEndsWith. :type blob_path_begins_with: str :param blob_path_ends_with: The blob path must end with the pattern provided for trigger to fire. For example, 'december/boxes.csv' will only fire the trigger for blobs named boxes in a december folder. At least one of these must be provided: blobPathBeginsWith, blobPathEndsWith. :type blob_path_ends_with: str :param ignore_empty_blobs: If set to true, blobs with zero bytes will be ignored. :type ignore_empty_blobs: bool :param events: Required. The type of events that cause this trigger to fire. :type events: list[str or ~azure.synapse.artifacts.models.BlobEventType] :param scope: Required. The ARM resource ID of the Storage Account. :type scope: str """ _validation = { 'type': {'required': True}, 'runtime_state': {'readonly': True}, 'events': {'required': True}, 'scope': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'description': {'key': 'description', 'type': 'str'}, 'runtime_state': {'key': 'runtimeState', 'type': 'str'}, 'annotations': {'key': 'annotations', 'type': '[object]'}, 'pipelines': {'key': 'pipelines', 'type': '[TriggerPipelineReference]'}, 'blob_path_begins_with': {'key': 'typeProperties.blobPathBeginsWith', 'type': 'str'}, 'blob_path_ends_with': {'key': 'typeProperties.blobPathEndsWith', 'type': 'str'}, 'ignore_empty_blobs': {'key': 'typeProperties.ignoreEmptyBlobs', 'type': 'bool'}, 'events': {'key': 'typeProperties.events', 'type': '[str]'}, 'scope': {'key': 'typeProperties.scope', 'type': 'str'}, } def __init__( self, *, events: List[Union[str, "BlobEventType"]], scope: str, additional_properties: Optional[Dict[str, object]] = None, description: Optional[str] = None, annotations: Optional[List[object]] = None, pipelines: Optional[List["TriggerPipelineReference"]] = None, blob_path_begins_with: Optional[str] = None, blob_path_ends_with: Optional[str] = None, ignore_empty_blobs: Optional[bool] = None, **kwargs ): super(BlobEventsTrigger, self).__init__(additional_properties=additional_properties, description=description, annotations=annotations, pipelines=pipelines, **kwargs) self.type = 'BlobEventsTrigger' # type: str self.blob_path_begins_with = blob_path_begins_with self.blob_path_ends_with = blob_path_ends_with self.ignore_empty_blobs = ignore_empty_blobs self.events = events self.scope = scope
[docs]class BlobSink(CopySink): """A copy activity Azure Blob sink. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Copy sink type.Constant filled by server. :type type: str :param write_batch_size: Write batch size. Type: integer (or Expression with resultType integer), minimum: 0. :type write_batch_size: object :param write_batch_timeout: Write batch timeout. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type write_batch_timeout: object :param sink_retry_count: Sink retry count. Type: integer (or Expression with resultType integer). :type sink_retry_count: object :param sink_retry_wait: Sink retry wait. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type sink_retry_wait: object :param max_concurrent_connections: The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object :param blob_writer_overwrite_files: Blob writer overwrite files. Type: boolean (or Expression with resultType boolean). :type blob_writer_overwrite_files: object :param blob_writer_date_time_format: Blob writer date time format. Type: string (or Expression with resultType string). :type blob_writer_date_time_format: object :param blob_writer_add_header: Blob writer add header. Type: boolean (or Expression with resultType boolean). :type blob_writer_add_header: object :param copy_behavior: The type of copy behavior for copy sink. :type copy_behavior: object """ _validation = { 'type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'write_batch_size': {'key': 'writeBatchSize', 'type': 'object'}, 'write_batch_timeout': {'key': 'writeBatchTimeout', 'type': 'object'}, 'sink_retry_count': {'key': 'sinkRetryCount', 'type': 'object'}, 'sink_retry_wait': {'key': 'sinkRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'blob_writer_overwrite_files': {'key': 'blobWriterOverwriteFiles', 'type': 'object'}, 'blob_writer_date_time_format': {'key': 'blobWriterDateTimeFormat', 'type': 'object'}, 'blob_writer_add_header': {'key': 'blobWriterAddHeader', 'type': 'object'}, 'copy_behavior': {'key': 'copyBehavior', 'type': 'object'}, } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, write_batch_size: Optional[object] = None, write_batch_timeout: Optional[object] = None, sink_retry_count: Optional[object] = None, sink_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, blob_writer_overwrite_files: Optional[object] = None, blob_writer_date_time_format: Optional[object] = None, blob_writer_add_header: Optional[object] = None, copy_behavior: Optional[object] = None, **kwargs ): super(BlobSink, self).__init__(additional_properties=additional_properties, write_batch_size=write_batch_size, write_batch_timeout=write_batch_timeout, sink_retry_count=sink_retry_count, sink_retry_wait=sink_retry_wait, max_concurrent_connections=max_concurrent_connections, **kwargs) self.type = 'BlobSink' # type: str self.blob_writer_overwrite_files = blob_writer_overwrite_files self.blob_writer_date_time_format = blob_writer_date_time_format self.blob_writer_add_header = blob_writer_add_header self.copy_behavior = copy_behavior
[docs]class BlobSource(CopySource): """A copy activity Azure Blob source. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Copy source type.Constant filled by server. :type type: str :param source_retry_count: Source retry count. Type: integer (or Expression with resultType integer). :type source_retry_count: object :param source_retry_wait: Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type source_retry_wait: object :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object :param treat_empty_as_null: Treat empty as null. Type: boolean (or Expression with resultType boolean). :type treat_empty_as_null: object :param skip_header_line_count: Number of header lines to skip from each blob. Type: integer (or Expression with resultType integer). :type skip_header_line_count: object :param recursive: If true, files under the folder path will be read recursively. Default is true. Type: boolean (or Expression with resultType boolean). :type recursive: object """ _validation = { 'type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'treat_empty_as_null': {'key': 'treatEmptyAsNull', 'type': 'object'}, 'skip_header_line_count': {'key': 'skipHeaderLineCount', 'type': 'object'}, 'recursive': {'key': 'recursive', 'type': 'object'}, } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, source_retry_count: Optional[object] = None, source_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, treat_empty_as_null: Optional[object] = None, skip_header_line_count: Optional[object] = None, recursive: Optional[object] = None, **kwargs ): super(BlobSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, **kwargs) self.type = 'BlobSource' # type: str self.treat_empty_as_null = treat_empty_as_null self.skip_header_line_count = skip_header_line_count self.recursive = recursive
[docs]class BlobTrigger(MultiplePipelineTrigger): """Trigger that runs every time the selected Blob container changes. Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Trigger type.Constant filled by server. :type type: str :param description: Trigger description. :type description: str :ivar runtime_state: Indicates if trigger is running or not. Updated when Start/Stop APIs are called on the Trigger. Possible values include: "Started", "Stopped", "Disabled". :vartype runtime_state: str or ~azure.synapse.artifacts.models.TriggerRuntimeState :param annotations: List of tags that can be used for describing the trigger. :type annotations: list[object] :param pipelines: Pipelines that need to be started. :type pipelines: list[~azure.synapse.artifacts.models.TriggerPipelineReference] :param folder_path: Required. The path of the container/folder that will trigger the pipeline. :type folder_path: str :param max_concurrency: Required. The max number of parallel files to handle when it is triggered. :type max_concurrency: int :param linked_service: Required. The Azure Storage linked service reference. :type linked_service: ~azure.synapse.artifacts.models.LinkedServiceReference """ _validation = { 'type': {'required': True}, 'runtime_state': {'readonly': True}, 'folder_path': {'required': True}, 'max_concurrency': {'required': True}, 'linked_service': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'description': {'key': 'description', 'type': 'str'}, 'runtime_state': {'key': 'runtimeState', 'type': 'str'}, 'annotations': {'key': 'annotations', 'type': '[object]'}, 'pipelines': {'key': 'pipelines', 'type': '[TriggerPipelineReference]'}, 'folder_path': {'key': 'typeProperties.folderPath', 'type': 'str'}, 'max_concurrency': {'key': 'typeProperties.maxConcurrency', 'type': 'int'}, 'linked_service': {'key': 'typeProperties.linkedService', 'type': 'LinkedServiceReference'}, } def __init__( self, *, folder_path: str, max_concurrency: int, linked_service: "LinkedServiceReference", additional_properties: Optional[Dict[str, object]] = None, description: Optional[str] = None, annotations: Optional[List[object]] = None, pipelines: Optional[List["TriggerPipelineReference"]] = None, **kwargs ): super(BlobTrigger, self).__init__(additional_properties=additional_properties, description=description, annotations=annotations, pipelines=pipelines, **kwargs) self.type = 'BlobTrigger' # type: str self.folder_path = folder_path self.max_concurrency = max_concurrency self.linked_service = linked_service
[docs]class CassandraLinkedService(LinkedService): """Linked service for Cassandra data source. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. :type connect_via: ~azure.synapse.artifacts.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. :type parameters: dict[str, ~azure.synapse.artifacts.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param host: Required. Host name for connection. Type: string (or Expression with resultType string). :type host: object :param authentication_type: AuthenticationType to be used for connection. Type: string (or Expression with resultType string). :type authentication_type: object :param port: The port for the connection. Type: integer (or Expression with resultType integer). :type port: object :param username: Username for authentication. Type: string (or Expression with resultType string). :type username: object :param password: Password for authentication. :type password: ~azure.synapse.artifacts.models.SecretBase :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). :type encrypted_credential: object """ _validation = { 'type': {'required': True}, 'host': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'connect_via': {'key': 'connectVia', 'type': 'IntegrationRuntimeReference'}, 'description': {'key': 'description', 'type': 'str'}, 'parameters': {'key': 'parameters', 'type': '{ParameterSpecification}'}, 'annotations': {'key': 'annotations', 'type': '[object]'}, 'host': {'key': 'typeProperties.host', 'type': 'object'}, 'authentication_type': {'key': 'typeProperties.authenticationType', 'type': 'object'}, 'port': {'key': 'typeProperties.port', 'type': 'object'}, 'username': {'key': 'typeProperties.username', 'type': 'object'}, 'password': {'key': 'typeProperties.password', 'type': 'SecretBase'}, 'encrypted_credential': {'key': 'typeProperties.encryptedCredential', 'type': 'object'}, } def __init__( self, *, host: object, additional_properties: Optional[Dict[str, object]] = None, connect_via: Optional["IntegrationRuntimeReference"] = None, description: Optional[str] = None, parameters: Optional[Dict[str, "ParameterSpecification"]] = None, annotations: Optional[List[object]] = None, authentication_type: Optional[object] = None, port: Optional[object] = None, username: Optional[object] = None, password: Optional["SecretBase"] = None, encrypted_credential: Optional[object] = None, **kwargs ): super(CassandraLinkedService, self).__init__(additional_properties=additional_properties, connect_via=connect_via, description=description, parameters=parameters, annotations=annotations, **kwargs) self.type = 'Cassandra' # type: str self.host = host self.authentication_type = authentication_type self.port = port self.username = username self.password = password self.encrypted_credential = encrypted_credential
[docs]class CassandraSource(TabularSource): """A copy activity source for a Cassandra database. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Copy source type.Constant filled by server. :type type: str :param source_retry_count: Source retry count. Type: integer (or Expression with resultType integer). :type source_retry_count: object :param source_retry_wait: Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type source_retry_wait: object :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object :param query_timeout: Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type query_timeout: object :param additional_columns: Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects). :type additional_columns: list[~azure.synapse.artifacts.models.AdditionalColumns] :param query: Database query. Should be a SQL-92 query expression or Cassandra Query Language (CQL) command. Type: string (or Expression with resultType string). :type query: object :param consistency_level: The consistency level specifies how many Cassandra servers must respond to a read request before returning data to the client application. Cassandra checks the specified number of Cassandra servers for data to satisfy the read request. Must be one of cassandraSourceReadConsistencyLevels. The default value is 'ONE'. It is case-insensitive. Possible values include: "ALL", "EACH_QUORUM", "QUORUM", "LOCAL_QUORUM", "ONE", "TWO", "THREE", "LOCAL_ONE", "SERIAL", "LOCAL_SERIAL". :type consistency_level: str or ~azure.synapse.artifacts.models.CassandraSourceReadConsistencyLevels """ _validation = { 'type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, 'query': {'key': 'query', 'type': 'object'}, 'consistency_level': {'key': 'consistencyLevel', 'type': 'str'}, } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, source_retry_count: Optional[object] = None, source_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, query_timeout: Optional[object] = None, additional_columns: Optional[List["AdditionalColumns"]] = None, query: Optional[object] = None, consistency_level: Optional[Union[str, "CassandraSourceReadConsistencyLevels"]] = None, **kwargs ): super(CassandraSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, query_timeout=query_timeout, additional_columns=additional_columns, **kwargs) self.type = 'CassandraSource' # type: str self.query = query self.consistency_level = consistency_level
[docs]class CassandraTableDataset(Dataset): """The Cassandra database dataset. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Type of dataset.Constant filled by server. :type type: str :param description: Dataset description. :type description: str :param structure: Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. :type structure: object :param schema: Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. :type linked_service_name: ~azure.synapse.artifacts.models.LinkedServiceReference :param parameters: Parameters for dataset. :type parameters: dict[str, ~azure.synapse.artifacts.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. :type folder: ~azure.synapse.artifacts.models.DatasetFolder :param table_name: The table name of the Cassandra database. Type: string (or Expression with resultType string). :type table_name: object :param keyspace: The keyspace of the Cassandra database. Type: string (or Expression with resultType string). :type keyspace: object """ _validation = { 'type': {'required': True}, 'linked_service_name': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'description': {'key': 'description', 'type': 'str'}, 'structure': {'key': 'structure', 'type': 'object'}, 'schema': {'key': 'schema', 'type': 'object'}, 'linked_service_name': {'key': 'linkedServiceName', 'type': 'LinkedServiceReference'}, 'parameters': {'key': 'parameters', 'type': '{ParameterSpecification}'}, 'annotations': {'key': 'annotations', 'type': '[object]'}, 'folder': {'key': 'folder', 'type': 'DatasetFolder'}, 'table_name': {'key': 'typeProperties.tableName', 'type': 'object'}, 'keyspace': {'key': 'typeProperties.keyspace', 'type': 'object'}, } def __init__( self, *, linked_service_name: "LinkedServiceReference", additional_properties: Optional[Dict[str, object]] = None, description: Optional[str] = None, structure: Optional[object] = None, schema: Optional[object] = None, parameters: Optional[Dict[str, "ParameterSpecification"]] = None, annotations: Optional[List[object]] = None, folder: Optional["DatasetFolder"] = None, table_name: Optional[object] = None, keyspace: Optional[object] = None, **kwargs ): super(CassandraTableDataset, self).__init__(additional_properties=additional_properties, description=description, structure=structure, schema=schema, linked_service_name=linked_service_name, parameters=parameters, annotations=annotations, folder=folder, **kwargs) self.type = 'CassandraTable' # type: str self.table_name = table_name self.keyspace = keyspace
[docs]class ChainingTrigger(Trigger): """Trigger that allows the referenced pipeline to depend on other pipeline runs based on runDimension Name/Value pairs. Upstream pipelines should declare the same runDimension Name and their runs should have the values for those runDimensions. The referenced pipeline run would be triggered if the values for the runDimension match for all upstream pipeline runs. Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Trigger type.Constant filled by server. :type type: str :param description: Trigger description. :type description: str :ivar runtime_state: Indicates if trigger is running or not. Updated when Start/Stop APIs are called on the Trigger. Possible values include: "Started", "Stopped", "Disabled". :vartype runtime_state: str or ~azure.synapse.artifacts.models.TriggerRuntimeState :param annotations: List of tags that can be used for describing the trigger. :type annotations: list[object] :param pipeline: Required. Pipeline for which runs are created when all upstream pipelines complete successfully. :type pipeline: ~azure.synapse.artifacts.models.TriggerPipelineReference :param depends_on: Required. Upstream Pipelines. :type depends_on: list[~azure.synapse.artifacts.models.PipelineReference] :param run_dimension: Required. Run Dimension property that needs to be emitted by upstream pipelines. :type run_dimension: str """ _validation = { 'type': {'required': True}, 'runtime_state': {'readonly': True}, 'pipeline': {'required': True}, 'depends_on': {'required': True}, 'run_dimension': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'description': {'key': 'description', 'type': 'str'}, 'runtime_state': {'key': 'runtimeState', 'type': 'str'}, 'annotations': {'key': 'annotations', 'type': '[object]'}, 'pipeline': {'key': 'pipeline', 'type': 'TriggerPipelineReference'}, 'depends_on': {'key': 'typeProperties.dependsOn', 'type': '[PipelineReference]'}, 'run_dimension': {'key': 'typeProperties.runDimension', 'type': 'str'}, } def __init__( self, *, pipeline: "TriggerPipelineReference", depends_on: List["PipelineReference"], run_dimension: str, additional_properties: Optional[Dict[str, object]] = None, description: Optional[str] = None, annotations: Optional[List[object]] = None, **kwargs ): super(ChainingTrigger, self).__init__(additional_properties=additional_properties, description=description, annotations=annotations, **kwargs) self.type = 'ChainingTrigger' # type: str self.pipeline = pipeline self.depends_on = depends_on self.run_dimension = run_dimension
[docs]class CloudError(msrest.serialization.Model): """The object that defines the structure of an Azure Synapse error response. All required parameters must be populated in order to send to Azure. :param code: Required. Error code. :type code: str :param message: Required. Error message. :type message: str :param target: Property name/path in request associated with error. :type target: str :param details: Array with additional error details. :type details: list[~azure.synapse.artifacts.models.CloudError] """ _validation = { 'code': {'required': True}, 'message': {'required': True}, } _attribute_map = { 'code': {'key': 'error.code', 'type': 'str'}, 'message': {'key': 'error.message', 'type': 'str'}, 'target': {'key': 'error.target', 'type': 'str'}, 'details': {'key': 'error.details', 'type': '[CloudError]'}, } def __init__( self, *, code: str, message: str, target: Optional[str] = None, details: Optional[List["CloudError"]] = None, **kwargs ): super(CloudError, self).__init__(**kwargs) self.code = code self.message = message self.target = target self.details = details
[docs]class CommonDataServiceForAppsEntityDataset(Dataset): """The Common Data Service for Apps entity dataset. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Type of dataset.Constant filled by server. :type type: str :param description: Dataset description. :type description: str :param structure: Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. :type structure: object :param schema: Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. :type linked_service_name: ~azure.synapse.artifacts.models.LinkedServiceReference :param parameters: Parameters for dataset. :type parameters: dict[str, ~azure.synapse.artifacts.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. :type folder: ~azure.synapse.artifacts.models.DatasetFolder :param entity_name: The logical name of the entity. Type: string (or Expression with resultType string). :type entity_name: object """ _validation = { 'type': {'required': True}, 'linked_service_name': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'description': {'key': 'description', 'type': 'str'}, 'structure': {'key': 'structure', 'type': 'object'}, 'schema': {'key': 'schema', 'type': 'object'}, 'linked_service_name': {'key': 'linkedServiceName', 'type': 'LinkedServiceReference'}, 'parameters': {'key': 'parameters', 'type': '{ParameterSpecification}'}, 'annotations': {'key': 'annotations', 'type': '[object]'}, 'folder': {'key': 'folder', 'type': 'DatasetFolder'}, 'entity_name': {'key': 'typeProperties.entityName', 'type': 'object'}, } def __init__( self, *, linked_service_name: "LinkedServiceReference", additional_properties: Optional[Dict[str, object]] = None, description: Optional[str] = None, structure: Optional[object] = None, schema: Optional[object] = None, parameters: Optional[Dict[str, "ParameterSpecification"]] = None, annotations: Optional[List[object]] = None, folder: Optional["DatasetFolder"] = None, entity_name: Optional[object] = None, **kwargs ): super(CommonDataServiceForAppsEntityDataset, self).__init__(additional_properties=additional_properties, description=description, structure=structure, schema=schema, linked_service_name=linked_service_name, parameters=parameters, annotations=annotations, folder=folder, **kwargs) self.type = 'CommonDataServiceForAppsEntity' # type: str self.entity_name = entity_name
[docs]class CommonDataServiceForAppsLinkedService(LinkedService): """Common Data Service for Apps linked service. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. :type connect_via: ~azure.synapse.artifacts.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. :type parameters: dict[str, ~azure.synapse.artifacts.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param deployment_type: Required. The deployment type of the Common Data Service for Apps instance. 'Online' for Common Data Service for Apps Online and 'OnPremisesWithIfd' for Common Data Service for Apps on-premises with Ifd. Type: string (or Expression with resultType string). Possible values include: "Online", "OnPremisesWithIfd". :type deployment_type: str or ~azure.synapse.artifacts.models.DynamicsDeploymentType :param host_name: The host name of the on-premises Common Data Service for Apps server. The property is required for on-prem and not allowed for online. Type: string (or Expression with resultType string). :type host_name: object :param port: The port of on-premises Common Data Service for Apps server. The property is required for on-prem and not allowed for online. Default is 443. Type: integer (or Expression with resultType integer), minimum: 0. :type port: object :param service_uri: The URL to the Microsoft Common Data Service for Apps server. The property is required for on-line and not allowed for on-prem. Type: string (or Expression with resultType string). :type service_uri: object :param organization_name: The organization name of the Common Data Service for Apps instance. The property is required for on-prem and required for online when there are more than one Common Data Service for Apps instances associated with the user. Type: string (or Expression with resultType string). :type organization_name: object :param authentication_type: Required. The authentication type to connect to Common Data Service for Apps server. 'Office365' for online scenario, 'Ifd' for on-premises with Ifd scenario. 'AADServicePrincipal' for Server-To-Server authentication in online scenario. Type: string (or Expression with resultType string). Possible values include: "Office365", "Ifd", "AADServicePrincipal". :type authentication_type: str or ~azure.synapse.artifacts.models.DynamicsAuthenticationType :param username: User name to access the Common Data Service for Apps instance. Type: string (or Expression with resultType string). :type username: object :param password: Password to access the Common Data Service for Apps instance. :type password: ~azure.synapse.artifacts.models.SecretBase :param service_principal_id: The client ID of the application in Azure Active Directory used for Server-To-Server authentication. Type: string (or Expression with resultType string). :type service_principal_id: object :param service_principal_credential_type: A string from ServicePrincipalCredentialEnum or an expression. :type service_principal_credential_type: object :param service_principal_credential: 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. :type service_principal_credential: ~azure.synapse.artifacts.models.SecretBase :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). :type encrypted_credential: object """ _validation = { 'type': {'required': True}, 'deployment_type': {'required': True}, 'authentication_type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'connect_via': {'key': 'connectVia', 'type': 'IntegrationRuntimeReference'}, 'description': {'key': 'description', 'type': 'str'}, 'parameters': {'key': 'parameters', 'type': '{ParameterSpecification}'}, 'annotations': {'key': 'annotations', 'type': '[object]'}, 'deployment_type': {'key': 'typeProperties.deploymentType', 'type': 'str'}, 'host_name': {'key': 'typeProperties.hostName', 'type': 'object'}, 'port': {'key': 'typeProperties.port', 'type': 'object'}, 'service_uri': {'key': 'typeProperties.serviceUri', 'type': 'object'}, 'organization_name': {'key': 'typeProperties.organizationName', 'type': 'object'}, 'authentication_type': {'key': 'typeProperties.authenticationType', 'type': 'str'}, 'username': {'key': 'typeProperties.username', 'type': 'object'}, 'password': {'key': 'typeProperties.password', 'type': 'SecretBase'}, 'service_principal_id': {'key': 'typeProperties.servicePrincipalId', 'type': 'object'}, 'service_principal_credential_type': {'key': 'typeProperties.servicePrincipalCredentialType', 'type': 'object'}, 'service_principal_credential': {'key': 'typeProperties.servicePrincipalCredential', 'type': 'SecretBase'}, 'encrypted_credential': {'key': 'typeProperties.encryptedCredential', 'type': 'object'}, } def __init__( self, *, deployment_type: Union[str, "DynamicsDeploymentType"], authentication_type: Union[str, "DynamicsAuthenticationType"], additional_properties: Optional[Dict[str, object]] = None, connect_via: Optional["IntegrationRuntimeReference"] = None, description: Optional[str] = None, parameters: Optional[Dict[str, "ParameterSpecification"]] = None, annotations: Optional[List[object]] = None, host_name: Optional[object] = None, port: Optional[object] = None, service_uri: Optional[object] = None, organization_name: Optional[object] = None, username: Optional[object] = None, password: Optional["SecretBase"] = None, service_principal_id: Optional[object] = None, service_principal_credential_type: Optional[object] = None, service_principal_credential: Optional["SecretBase"] = None, encrypted_credential: Optional[object] = None, **kwargs ): super(CommonDataServiceForAppsLinkedService, self).__init__(additional_properties=additional_properties, connect_via=connect_via, description=description, parameters=parameters, annotations=annotations, **kwargs) self.type = 'CommonDataServiceForApps' # type: str self.deployment_type = deployment_type self.host_name = host_name self.port = port self.service_uri = service_uri self.organization_name = organization_name self.authentication_type = authentication_type self.username = username self.password = password self.service_principal_id = service_principal_id self.service_principal_credential_type = service_principal_credential_type self.service_principal_credential = service_principal_credential self.encrypted_credential = encrypted_credential
[docs]class CommonDataServiceForAppsSink(CopySink): """A copy activity Common Data Service for Apps sink. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Copy sink type.Constant filled by server. :type type: str :param write_batch_size: Write batch size. Type: integer (or Expression with resultType integer), minimum: 0. :type write_batch_size: object :param write_batch_timeout: Write batch timeout. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type write_batch_timeout: object :param sink_retry_count: Sink retry count. Type: integer (or Expression with resultType integer). :type sink_retry_count: object :param sink_retry_wait: Sink retry wait. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type sink_retry_wait: object :param max_concurrent_connections: The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object :param write_behavior: Required. The write behavior for the operation. Possible values include: "Upsert". :type write_behavior: str or ~azure.synapse.artifacts.models.DynamicsSinkWriteBehavior :param ignore_null_values: The flag indicating whether to ignore null values from input dataset (except key fields) during write operation. Default is false. Type: boolean (or Expression with resultType boolean). :type ignore_null_values: object :param alternate_key_name: The logical name of the alternate key which will be used when upserting records. Type: string (or Expression with resultType string). :type alternate_key_name: object """ _validation = { 'type': {'required': True}, 'write_behavior': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'write_batch_size': {'key': 'writeBatchSize', 'type': 'object'}, 'write_batch_timeout': {'key': 'writeBatchTimeout', 'type': 'object'}, 'sink_retry_count': {'key': 'sinkRetryCount', 'type': 'object'}, 'sink_retry_wait': {'key': 'sinkRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'write_behavior': {'key': 'writeBehavior', 'type': 'str'}, 'ignore_null_values': {'key': 'ignoreNullValues', 'type': 'object'}, 'alternate_key_name': {'key': 'alternateKeyName', 'type': 'object'}, } def __init__( self, *, write_behavior: Union[str, "DynamicsSinkWriteBehavior"], additional_properties: Optional[Dict[str, object]] = None, write_batch_size: Optional[object] = None, write_batch_timeout: Optional[object] = None, sink_retry_count: Optional[object] = None, sink_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, ignore_null_values: Optional[object] = None, alternate_key_name: Optional[object] = None, **kwargs ): super(CommonDataServiceForAppsSink, self).__init__(additional_properties=additional_properties, write_batch_size=write_batch_size, write_batch_timeout=write_batch_timeout, sink_retry_count=sink_retry_count, sink_retry_wait=sink_retry_wait, max_concurrent_connections=max_concurrent_connections, **kwargs) self.type = 'CommonDataServiceForAppsSink' # type: str self.write_behavior = write_behavior self.ignore_null_values = ignore_null_values self.alternate_key_name = alternate_key_name
[docs]class CommonDataServiceForAppsSource(CopySource): """A copy activity Common Data Service for Apps source. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Copy source type.Constant filled by server. :type type: str :param source_retry_count: Source retry count. Type: integer (or Expression with resultType integer). :type source_retry_count: object :param source_retry_wait: Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type source_retry_wait: object :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object :param query: FetchXML is a proprietary query language that is used in Microsoft Common Data Service for Apps (online & on-premises). Type: string (or Expression with resultType string). :type query: object :param additional_columns: Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects). :type additional_columns: list[~azure.synapse.artifacts.models.AdditionalColumns] """ _validation = { 'type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, source_retry_count: Optional[object] = None, source_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, query: Optional[object] = None, additional_columns: Optional[List["AdditionalColumns"]] = None, **kwargs ): super(CommonDataServiceForAppsSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, **kwargs) self.type = 'CommonDataServiceForAppsSource' # type: str self.query = query self.additional_columns = additional_columns
[docs]class CompressionReadSettings(msrest.serialization.Model): """Compression read settings. You probably want to use the sub-classes and not this class directly. Known sub-classes are: TarGZipReadSettings, TarReadSettings, ZipDeflateReadSettings. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. The Compression setting type.Constant filled by server. :type type: str """ _validation = { 'type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, } _subtype_map = { 'type': {'TarGZipReadSettings': 'TarGZipReadSettings', 'TarReadSettings': 'TarReadSettings', 'ZipDeflateReadSettings': 'ZipDeflateReadSettings'} } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, **kwargs ): super(CompressionReadSettings, self).__init__(**kwargs) self.additional_properties = additional_properties self.type = 'CompressionReadSettings' # type: str
[docs]class ConcurLinkedService(LinkedService): """Concur Service linked service. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. :type connect_via: ~azure.synapse.artifacts.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. :type parameters: dict[str, ~azure.synapse.artifacts.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param connection_properties: Properties used to connect to Concur. It is mutually exclusive with any other properties in the linked service. Type: object. :type connection_properties: object :param client_id: Required. Application client_id supplied by Concur App Management. :type client_id: object :param username: Required. The user name that you use to access Concur Service. :type username: object :param password: The password corresponding to the user name that you provided in the username field. :type password: ~azure.synapse.artifacts.models.SecretBase :param use_encrypted_endpoints: Specifies whether the data source endpoints are encrypted using HTTPS. The default value is true. :type use_encrypted_endpoints: object :param use_host_verification: Specifies whether to require the host name in the server's certificate to match the host name of the server when connecting over SSL. The default value is true. :type use_host_verification: object :param use_peer_verification: Specifies whether to verify the identity of the server when connecting over SSL. The default value is true. :type use_peer_verification: 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). :type encrypted_credential: object """ _validation = { 'type': {'required': True}, 'client_id': {'required': True}, 'username': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'connect_via': {'key': 'connectVia', 'type': 'IntegrationRuntimeReference'}, 'description': {'key': 'description', 'type': 'str'}, 'parameters': {'key': 'parameters', 'type': '{ParameterSpecification}'}, 'annotations': {'key': 'annotations', 'type': '[object]'}, 'connection_properties': {'key': 'typeProperties.connectionProperties', 'type': 'object'}, 'client_id': {'key': 'typeProperties.clientId', 'type': 'object'}, 'username': {'key': 'typeProperties.username', 'type': 'object'}, 'password': {'key': 'typeProperties.password', 'type': 'SecretBase'}, 'use_encrypted_endpoints': {'key': 'typeProperties.useEncryptedEndpoints', 'type': 'object'}, 'use_host_verification': {'key': 'typeProperties.useHostVerification', 'type': 'object'}, 'use_peer_verification': {'key': 'typeProperties.usePeerVerification', 'type': 'object'}, 'encrypted_credential': {'key': 'typeProperties.encryptedCredential', 'type': 'object'}, } def __init__( self, *, client_id: object, username: object, additional_properties: Optional[Dict[str, object]] = None, connect_via: Optional["IntegrationRuntimeReference"] = None, description: Optional[str] = None, parameters: Optional[Dict[str, "ParameterSpecification"]] = None, annotations: Optional[List[object]] = None, connection_properties: Optional[object] = None, password: Optional["SecretBase"] = None, use_encrypted_endpoints: Optional[object] = None, use_host_verification: Optional[object] = None, use_peer_verification: Optional[object] = None, encrypted_credential: Optional[object] = None, **kwargs ): super(ConcurLinkedService, self).__init__(additional_properties=additional_properties, connect_via=connect_via, description=description, parameters=parameters, annotations=annotations, **kwargs) self.type = 'Concur' # type: str self.connection_properties = connection_properties self.client_id = client_id self.username = username self.password = password self.use_encrypted_endpoints = use_encrypted_endpoints self.use_host_verification = use_host_verification self.use_peer_verification = use_peer_verification self.encrypted_credential = encrypted_credential
[docs]class ConcurObjectDataset(Dataset): """Concur Service dataset. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Type of dataset.Constant filled by server. :type type: str :param description: Dataset description. :type description: str :param structure: Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. :type structure: object :param schema: Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. :type linked_service_name: ~azure.synapse.artifacts.models.LinkedServiceReference :param parameters: Parameters for dataset. :type parameters: dict[str, ~azure.synapse.artifacts.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. :type folder: ~azure.synapse.artifacts.models.DatasetFolder :param table_name: The table name. Type: string (or Expression with resultType string). :type table_name: object """ _validation = { 'type': {'required': True}, 'linked_service_name': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'description': {'key': 'description', 'type': 'str'}, 'structure': {'key': 'structure', 'type': 'object'}, 'schema': {'key': 'schema', 'type': 'object'}, 'linked_service_name': {'key': 'linkedServiceName', 'type': 'LinkedServiceReference'}, 'parameters': {'key': 'parameters', 'type': '{ParameterSpecification}'}, 'annotations': {'key': 'annotations', 'type': '[object]'}, 'folder': {'key': 'folder', 'type': 'DatasetFolder'}, 'table_name': {'key': 'typeProperties.tableName', 'type': 'object'}, } def __init__( self, *, linked_service_name: "LinkedServiceReference", additional_properties: Optional[Dict[str, object]] = None, description: Optional[str] = None, structure: Optional[object] = None, schema: Optional[object] = None, parameters: Optional[Dict[str, "ParameterSpecification"]] = None, annotations: Optional[List[object]] = None, folder: Optional["DatasetFolder"] = None, table_name: Optional[object] = None, **kwargs ): super(ConcurObjectDataset, self).__init__(additional_properties=additional_properties, description=description, structure=structure, schema=schema, linked_service_name=linked_service_name, parameters=parameters, annotations=annotations, folder=folder, **kwargs) self.type = 'ConcurObject' # type: str self.table_name = table_name
[docs]class ConcurSource(TabularSource): """A copy activity Concur Service source. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Copy source type.Constant filled by server. :type type: str :param source_retry_count: Source retry count. Type: integer (or Expression with resultType integer). :type source_retry_count: object :param source_retry_wait: Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type source_retry_wait: object :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object :param query_timeout: Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type query_timeout: object :param additional_columns: Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects). :type additional_columns: list[~azure.synapse.artifacts.models.AdditionalColumns] :param query: A query to retrieve data from source. Type: string (or Expression with resultType string). :type query: object """ _validation = { 'type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, 'query': {'key': 'query', 'type': 'object'}, } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, source_retry_count: Optional[object] = None, source_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, query_timeout: Optional[object] = None, additional_columns: Optional[List["AdditionalColumns"]] = None, query: Optional[object] = None, **kwargs ): super(ConcurSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, query_timeout=query_timeout, additional_columns=additional_columns, **kwargs) self.type = 'ConcurSource' # type: str self.query = query
[docs]class CopyActivity(ExecutionActivity): """Copy activity. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param name: Required. Activity name. :type name: str :param type: Required. Type of activity.Constant filled by server. :type type: str :param description: Activity description. :type description: str :param depends_on: Activity depends on condition. :type depends_on: list[~azure.synapse.artifacts.models.ActivityDependency] :param user_properties: Activity user properties. :type user_properties: list[~azure.synapse.artifacts.models.UserProperty] :param linked_service_name: Linked service reference. :type linked_service_name: ~azure.synapse.artifacts.models.LinkedServiceReference :param policy: Activity policy. :type policy: ~azure.synapse.artifacts.models.ActivityPolicy :param inputs: List of inputs for the activity. :type inputs: list[~azure.synapse.artifacts.models.DatasetReference] :param outputs: List of outputs for the activity. :type outputs: list[~azure.synapse.artifacts.models.DatasetReference] :param source: Required. Copy activity source. :type source: ~azure.synapse.artifacts.models.CopySource :param sink: Required. Copy activity sink. :type sink: ~azure.synapse.artifacts.models.CopySink :param translator: Copy activity translator. If not specified, tabular translator is used. :type translator: object :param enable_staging: Specifies whether to copy data via an interim staging. Default value is false. Type: boolean (or Expression with resultType boolean). :type enable_staging: object :param staging_settings: Specifies interim staging settings when EnableStaging is true. :type staging_settings: ~azure.synapse.artifacts.models.StagingSettings :param parallel_copies: Maximum number of concurrent sessions opened on the source or sink to avoid overloading the data store. Type: integer (or Expression with resultType integer), minimum: 0. :type parallel_copies: object :param data_integration_units: Maximum number of data integration units that can be used to perform this data movement. Type: integer (or Expression with resultType integer), minimum: 0. :type data_integration_units: object :param enable_skip_incompatible_row: Whether to skip incompatible row. Default value is false. Type: boolean (or Expression with resultType boolean). :type enable_skip_incompatible_row: object :param redirect_incompatible_row_settings: Redirect incompatible row settings when EnableSkipIncompatibleRow is true. :type redirect_incompatible_row_settings: ~azure.synapse.artifacts.models.RedirectIncompatibleRowSettings :param log_storage_settings: (Deprecated. Please use LogSettings) Log storage settings customer need to provide when enabling session log. :type log_storage_settings: ~azure.synapse.artifacts.models.LogStorageSettings :param log_settings: Log settings customer needs provide when enabling log. :type log_settings: ~azure.synapse.artifacts.models.LogSettings :param preserve_rules: Preserve Rules. :type preserve_rules: list[object] :param preserve: Preserve rules. :type preserve: list[object] :param validate_data_consistency: Whether to enable Data Consistency validation. Type: boolean (or Expression with resultType boolean). :type validate_data_consistency: object :param skip_error_file: Specify the fault tolerance for data consistency. :type skip_error_file: ~azure.synapse.artifacts.models.SkipErrorFile """ _validation = { 'name': {'required': True}, 'type': {'required': True}, 'source': {'required': True}, 'sink': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'name': {'key': 'name', 'type': 'str'}, 'type': {'key': 'type', 'type': 'str'}, 'description': {'key': 'description', 'type': 'str'}, 'depends_on': {'key': 'dependsOn', 'type': '[ActivityDependency]'}, 'user_properties': {'key': 'userProperties', 'type': '[UserProperty]'}, 'linked_service_name': {'key': 'linkedServiceName', 'type': 'LinkedServiceReference'}, 'policy': {'key': 'policy', 'type': 'ActivityPolicy'}, 'inputs': {'key': 'inputs', 'type': '[DatasetReference]'}, 'outputs': {'key': 'outputs', 'type': '[DatasetReference]'}, 'source': {'key': 'typeProperties.source', 'type': 'CopySource'}, 'sink': {'key': 'typeProperties.sink', 'type': 'CopySink'}, 'translator': {'key': 'typeProperties.translator', 'type': 'object'}, 'enable_staging': {'key': 'typeProperties.enableStaging', 'type': 'object'}, 'staging_settings': {'key': 'typeProperties.stagingSettings', 'type': 'StagingSettings'}, 'parallel_copies': {'key': 'typeProperties.parallelCopies', 'type': 'object'}, 'data_integration_units': {'key': 'typeProperties.dataIntegrationUnits', 'type': 'object'}, 'enable_skip_incompatible_row': {'key': 'typeProperties.enableSkipIncompatibleRow', 'type': 'object'}, 'redirect_incompatible_row_settings': {'key': 'typeProperties.redirectIncompatibleRowSettings', 'type': 'RedirectIncompatibleRowSettings'}, 'log_storage_settings': {'key': 'typeProperties.logStorageSettings', 'type': 'LogStorageSettings'}, 'log_settings': {'key': 'typeProperties.logSettings', 'type': 'LogSettings'}, 'preserve_rules': {'key': 'typeProperties.preserveRules', 'type': '[object]'}, 'preserve': {'key': 'typeProperties.preserve', 'type': '[object]'}, 'validate_data_consistency': {'key': 'typeProperties.validateDataConsistency', 'type': 'object'}, 'skip_error_file': {'key': 'typeProperties.skipErrorFile', 'type': 'SkipErrorFile'}, } def __init__( self, *, name: str, source: "CopySource", sink: "CopySink", additional_properties: Optional[Dict[str, object]] = None, description: Optional[str] = None, depends_on: Optional[List["ActivityDependency"]] = None, user_properties: Optional[List["UserProperty"]] = None, linked_service_name: Optional["LinkedServiceReference"] = None, policy: Optional["ActivityPolicy"] = None, inputs: Optional[List["DatasetReference"]] = None, outputs: Optional[List["DatasetReference"]] = None, translator: Optional[object] = None, enable_staging: Optional[object] = None, staging_settings: Optional["StagingSettings"] = None, parallel_copies: Optional[object] = None, data_integration_units: Optional[object] = None, enable_skip_incompatible_row: Optional[object] = None, redirect_incompatible_row_settings: Optional["RedirectIncompatibleRowSettings"] = None, log_storage_settings: Optional["LogStorageSettings"] = None, log_settings: Optional["LogSettings"] = None, preserve_rules: Optional[List[object]] = None, preserve: Optional[List[object]] = None, validate_data_consistency: Optional[object] = None, skip_error_file: Optional["SkipErrorFile"] = None, **kwargs ): super(CopyActivity, self).__init__(additional_properties=additional_properties, name=name, description=description, depends_on=depends_on, user_properties=user_properties, linked_service_name=linked_service_name, policy=policy, **kwargs) self.type = 'Copy' # type: str self.inputs = inputs self.outputs = outputs self.source = source self.sink = sink self.translator = translator self.enable_staging = enable_staging self.staging_settings = staging_settings self.parallel_copies = parallel_copies self.data_integration_units = data_integration_units self.enable_skip_incompatible_row = enable_skip_incompatible_row self.redirect_incompatible_row_settings = redirect_incompatible_row_settings self.log_storage_settings = log_storage_settings self.log_settings = log_settings self.preserve_rules = preserve_rules self.preserve = preserve self.validate_data_consistency = validate_data_consistency self.skip_error_file = skip_error_file
[docs]class CopyActivityLogSettings(msrest.serialization.Model): """Settings for copy activity log. :param log_level: Gets or sets the log level, support: Info, Warning. Type: string (or Expression with resultType string). :type log_level: object :param enable_reliable_logging: Specifies whether to enable reliable logging. Type: boolean (or Expression with resultType boolean). :type enable_reliable_logging: object """ _attribute_map = { 'log_level': {'key': 'logLevel', 'type': 'object'}, 'enable_reliable_logging': {'key': 'enableReliableLogging', 'type': 'object'}, } def __init__( self, *, log_level: Optional[object] = None, enable_reliable_logging: Optional[object] = None, **kwargs ): super(CopyActivityLogSettings, self).__init__(**kwargs) self.log_level = log_level self.enable_reliable_logging = enable_reliable_logging
[docs]class CopyTranslator(msrest.serialization.Model): """A copy activity translator. You probably want to use the sub-classes and not this class directly. Known sub-classes are: TabularTranslator. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Copy translator type.Constant filled by server. :type type: str """ _validation = { 'type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, } _subtype_map = { 'type': {'TabularTranslator': 'TabularTranslator'} } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, **kwargs ): super(CopyTranslator, self).__init__(**kwargs) self.additional_properties = additional_properties self.type = 'CopyTranslator' # type: str
[docs]class CosmosDbLinkedService(LinkedService): """Microsoft Azure Cosmos Database (CosmosDB) linked service. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. :type connect_via: ~azure.synapse.artifacts.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. :type parameters: dict[str, ~azure.synapse.artifacts.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param connection_string: The connection string. Type: string, SecureString or AzureKeyVaultSecretReference. :type connection_string: object :param account_endpoint: The endpoint of the Azure CosmosDB account. Type: string (or Expression with resultType string). :type account_endpoint: object :param database: The name of the database. Type: string (or Expression with resultType string). :type database: object :param account_key: The account key of the Azure CosmosDB account. Type: SecureString or AzureKeyVaultSecretReference. :type account_key: ~azure.synapse.artifacts.models.SecretBase :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). :type encrypted_credential: object """ _validation = { 'type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'connect_via': {'key': 'connectVia', 'type': 'IntegrationRuntimeReference'}, 'description': {'key': 'description', 'type': 'str'}, 'parameters': {'key': 'parameters', 'type': '{ParameterSpecification}'}, 'annotations': {'key': 'annotations', 'type': '[object]'}, 'connection_string': {'key': 'typeProperties.connectionString', 'type': 'object'}, 'account_endpoint': {'key': 'typeProperties.accountEndpoint', 'type': 'object'}, 'database': {'key': 'typeProperties.database', 'type': 'object'}, 'account_key': {'key': 'typeProperties.accountKey', 'type': 'SecretBase'}, 'encrypted_credential': {'key': 'typeProperties.encryptedCredential', 'type': 'object'}, } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, connect_via: Optional["IntegrationRuntimeReference"] = None, description: Optional[str] = None, parameters: Optional[Dict[str, "ParameterSpecification"]] = None, annotations: Optional[List[object]] = None, connection_string: Optional[object] = None, account_endpoint: Optional[object] = None, database: Optional[object] = None, account_key: Optional["SecretBase"] = None, encrypted_credential: Optional[object] = None, **kwargs ): super(CosmosDbLinkedService, self).__init__(additional_properties=additional_properties, connect_via=connect_via, description=description, parameters=parameters, annotations=annotations, **kwargs) self.type = 'CosmosDb' # type: str self.connection_string = connection_string self.account_endpoint = account_endpoint self.database = database self.account_key = account_key self.encrypted_credential = encrypted_credential
[docs]class CosmosDbMongoDbApiCollectionDataset(Dataset): """The CosmosDB (MongoDB API) database dataset. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Type of dataset.Constant filled by server. :type type: str :param description: Dataset description. :type description: str :param structure: Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. :type structure: object :param schema: Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. :type linked_service_name: ~azure.synapse.artifacts.models.LinkedServiceReference :param parameters: Parameters for dataset. :type parameters: dict[str, ~azure.synapse.artifacts.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. :type folder: ~azure.synapse.artifacts.models.DatasetFolder :param collection: Required. The collection name of the CosmosDB (MongoDB API) database. Type: string (or Expression with resultType string). :type collection: object """ _validation = { 'type': {'required': True}, 'linked_service_name': {'required': True}, 'collection': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'description': {'key': 'description', 'type': 'str'}, 'structure': {'key': 'structure', 'type': 'object'}, 'schema': {'key': 'schema', 'type': 'object'}, 'linked_service_name': {'key': 'linkedServiceName', 'type': 'LinkedServiceReference'}, 'parameters': {'key': 'parameters', 'type': '{ParameterSpecification}'}, 'annotations': {'key': 'annotations', 'type': '[object]'}, 'folder': {'key': 'folder', 'type': 'DatasetFolder'}, 'collection': {'key': 'typeProperties.collection', 'type': 'object'}, } def __init__( self, *, linked_service_name: "LinkedServiceReference", collection: object, additional_properties: Optional[Dict[str, object]] = None, description: Optional[str] = None, structure: Optional[object] = None, schema: Optional[object] = None, parameters: Optional[Dict[str, "ParameterSpecification"]] = None, annotations: Optional[List[object]] = None, folder: Optional["DatasetFolder"] = None, **kwargs ): super(CosmosDbMongoDbApiCollectionDataset, self).__init__(additional_properties=additional_properties, description=description, structure=structure, schema=schema, linked_service_name=linked_service_name, parameters=parameters, annotations=annotations, folder=folder, **kwargs) self.type = 'CosmosDbMongoDbApiCollection' # type: str self.collection = collection
[docs]class CosmosDbMongoDbApiLinkedService(LinkedService): """Linked service for CosmosDB (MongoDB API) data source. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. :type connect_via: ~azure.synapse.artifacts.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. :type parameters: dict[str, ~azure.synapse.artifacts.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param connection_string: Required. The CosmosDB (MongoDB API) connection string. Type: string, SecureString or AzureKeyVaultSecretReference. Type: string, SecureString or AzureKeyVaultSecretReference. :type connection_string: object :param database: Required. The name of the CosmosDB (MongoDB API) database that you want to access. Type: string (or Expression with resultType string). :type database: object """ _validation = { 'type': {'required': True}, 'connection_string': {'required': True}, 'database': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'connect_via': {'key': 'connectVia', 'type': 'IntegrationRuntimeReference'}, 'description': {'key': 'description', 'type': 'str'}, 'parameters': {'key': 'parameters', 'type': '{ParameterSpecification}'}, 'annotations': {'key': 'annotations', 'type': '[object]'}, 'connection_string': {'key': 'typeProperties.connectionString', 'type': 'object'}, 'database': {'key': 'typeProperties.database', 'type': 'object'}, } def __init__( self, *, connection_string: object, database: object, additional_properties: Optional[Dict[str, object]] = None, connect_via: Optional["IntegrationRuntimeReference"] = None, description: Optional[str] = None, parameters: Optional[Dict[str, "ParameterSpecification"]] = None, annotations: Optional[List[object]] = None, **kwargs ): super(CosmosDbMongoDbApiLinkedService, self).__init__(additional_properties=additional_properties, connect_via=connect_via, description=description, parameters=parameters, annotations=annotations, **kwargs) self.type = 'CosmosDbMongoDbApi' # type: str self.connection_string = connection_string self.database = database
[docs]class CosmosDbMongoDbApiSink(CopySink): """A copy activity sink for a CosmosDB (MongoDB API) database. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Copy sink type.Constant filled by server. :type type: str :param write_batch_size: Write batch size. Type: integer (or Expression with resultType integer), minimum: 0. :type write_batch_size: object :param write_batch_timeout: Write batch timeout. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type write_batch_timeout: object :param sink_retry_count: Sink retry count. Type: integer (or Expression with resultType integer). :type sink_retry_count: object :param sink_retry_wait: Sink retry wait. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type sink_retry_wait: object :param max_concurrent_connections: The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object :param write_behavior: Specifies whether the document with same key to be overwritten (upsert) rather than throw exception (insert). The default value is "insert". Type: string (or Expression with resultType string). Type: string (or Expression with resultType string). :type write_behavior: object """ _validation = { 'type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'write_batch_size': {'key': 'writeBatchSize', 'type': 'object'}, 'write_batch_timeout': {'key': 'writeBatchTimeout', 'type': 'object'}, 'sink_retry_count': {'key': 'sinkRetryCount', 'type': 'object'}, 'sink_retry_wait': {'key': 'sinkRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'write_behavior': {'key': 'writeBehavior', 'type': 'object'}, } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, write_batch_size: Optional[object] = None, write_batch_timeout: Optional[object] = None, sink_retry_count: Optional[object] = None, sink_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, write_behavior: Optional[object] = None, **kwargs ): super(CosmosDbMongoDbApiSink, self).__init__(additional_properties=additional_properties, write_batch_size=write_batch_size, write_batch_timeout=write_batch_timeout, sink_retry_count=sink_retry_count, sink_retry_wait=sink_retry_wait, max_concurrent_connections=max_concurrent_connections, **kwargs) self.type = 'CosmosDbMongoDbApiSink' # type: str self.write_behavior = write_behavior
[docs]class CosmosDbMongoDbApiSource(CopySource): """A copy activity source for a CosmosDB (MongoDB API) database. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Copy source type.Constant filled by server. :type type: str :param source_retry_count: Source retry count. Type: integer (or Expression with resultType integer). :type source_retry_count: object :param source_retry_wait: Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type source_retry_wait: object :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object :param filter: Specifies selection filter using query operators. To return all documents in a collection, omit this parameter or pass an empty document ({}). Type: string (or Expression with resultType string). :type filter: object :param cursor_methods: Cursor methods for Mongodb query. :type cursor_methods: ~azure.synapse.artifacts.models.MongoDbCursorMethodsProperties :param batch_size: Specifies the number of documents to return in each batch of the response from MongoDB instance. In most cases, modifying the batch size will not affect the user or the application. This property's main purpose is to avoid hit the limitation of response size. Type: integer (or Expression with resultType integer). :type batch_size: object :param query_timeout: Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type query_timeout: object :param additional_columns: Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects). :type additional_columns: list[~azure.synapse.artifacts.models.AdditionalColumns] """ _validation = { 'type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'filter': {'key': 'filter', 'type': 'object'}, 'cursor_methods': {'key': 'cursorMethods', 'type': 'MongoDbCursorMethodsProperties'}, 'batch_size': {'key': 'batchSize', 'type': 'object'}, 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, source_retry_count: Optional[object] = None, source_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, filter: Optional[object] = None, cursor_methods: Optional["MongoDbCursorMethodsProperties"] = None, batch_size: Optional[object] = None, query_timeout: Optional[object] = None, additional_columns: Optional[List["AdditionalColumns"]] = None, **kwargs ): super(CosmosDbMongoDbApiSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, **kwargs) self.type = 'CosmosDbMongoDbApiSource' # type: str self.filter = filter self.cursor_methods = cursor_methods self.batch_size = batch_size self.query_timeout = query_timeout self.additional_columns = additional_columns
[docs]class CosmosDbSqlApiCollectionDataset(Dataset): """Microsoft Azure CosmosDB (SQL API) Collection dataset. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Type of dataset.Constant filled by server. :type type: str :param description: Dataset description. :type description: str :param structure: Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. :type structure: object :param schema: Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. :type linked_service_name: ~azure.synapse.artifacts.models.LinkedServiceReference :param parameters: Parameters for dataset. :type parameters: dict[str, ~azure.synapse.artifacts.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. :type folder: ~azure.synapse.artifacts.models.DatasetFolder :param collection_name: Required. CosmosDB (SQL API) collection name. Type: string (or Expression with resultType string). :type collection_name: object """ _validation = { 'type': {'required': True}, 'linked_service_name': {'required': True}, 'collection_name': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'description': {'key': 'description', 'type': 'str'}, 'structure': {'key': 'structure', 'type': 'object'}, 'schema': {'key': 'schema', 'type': 'object'}, 'linked_service_name': {'key': 'linkedServiceName', 'type': 'LinkedServiceReference'}, 'parameters': {'key': 'parameters', 'type': '{ParameterSpecification}'}, 'annotations': {'key': 'annotations', 'type': '[object]'}, 'folder': {'key': 'folder', 'type': 'DatasetFolder'}, 'collection_name': {'key': 'typeProperties.collectionName', 'type': 'object'}, } def __init__( self, *, linked_service_name: "LinkedServiceReference", collection_name: object, additional_properties: Optional[Dict[str, object]] = None, description: Optional[str] = None, structure: Optional[object] = None, schema: Optional[object] = None, parameters: Optional[Dict[str, "ParameterSpecification"]] = None, annotations: Optional[List[object]] = None, folder: Optional["DatasetFolder"] = None, **kwargs ): super(CosmosDbSqlApiCollectionDataset, self).__init__(additional_properties=additional_properties, description=description, structure=structure, schema=schema, linked_service_name=linked_service_name, parameters=parameters, annotations=annotations, folder=folder, **kwargs) self.type = 'CosmosDbSqlApiCollection' # type: str self.collection_name = collection_name
[docs]class CosmosDbSqlApiSink(CopySink): """A copy activity Azure CosmosDB (SQL API) Collection sink. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Copy sink type.Constant filled by server. :type type: str :param write_batch_size: Write batch size. Type: integer (or Expression with resultType integer), minimum: 0. :type write_batch_size: object :param write_batch_timeout: Write batch timeout. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type write_batch_timeout: object :param sink_retry_count: Sink retry count. Type: integer (or Expression with resultType integer). :type sink_retry_count: object :param sink_retry_wait: Sink retry wait. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type sink_retry_wait: object :param max_concurrent_connections: The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object :param write_behavior: Describes how to write data to Azure Cosmos DB. Type: string (or Expression with resultType string). Allowed values: insert and upsert. :type write_behavior: object """ _validation = { 'type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'write_batch_size': {'key': 'writeBatchSize', 'type': 'object'}, 'write_batch_timeout': {'key': 'writeBatchTimeout', 'type': 'object'}, 'sink_retry_count': {'key': 'sinkRetryCount', 'type': 'object'}, 'sink_retry_wait': {'key': 'sinkRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'write_behavior': {'key': 'writeBehavior', 'type': 'object'}, } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, write_batch_size: Optional[object] = None, write_batch_timeout: Optional[object] = None, sink_retry_count: Optional[object] = None, sink_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, write_behavior: Optional[object] = None, **kwargs ): super(CosmosDbSqlApiSink, self).__init__(additional_properties=additional_properties, write_batch_size=write_batch_size, write_batch_timeout=write_batch_timeout, sink_retry_count=sink_retry_count, sink_retry_wait=sink_retry_wait, max_concurrent_connections=max_concurrent_connections, **kwargs) self.type = 'CosmosDbSqlApiSink' # type: str self.write_behavior = write_behavior
[docs]class CosmosDbSqlApiSource(CopySource): """A copy activity Azure CosmosDB (SQL API) Collection source. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Copy source type.Constant filled by server. :type type: str :param source_retry_count: Source retry count. Type: integer (or Expression with resultType integer). :type source_retry_count: object :param source_retry_wait: Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type source_retry_wait: object :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object :param query: SQL API query. Type: string (or Expression with resultType string). :type query: object :param page_size: Page size of the result. Type: integer (or Expression with resultType integer). :type page_size: object :param preferred_regions: Preferred regions. Type: array of strings (or Expression with resultType array of strings). :type preferred_regions: object :param detect_datetime: Whether detect primitive values as datetime values. Type: boolean (or Expression with resultType boolean). :type detect_datetime: object :param additional_columns: Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects). :type additional_columns: list[~azure.synapse.artifacts.models.AdditionalColumns] """ _validation = { 'type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, 'page_size': {'key': 'pageSize', 'type': 'object'}, 'preferred_regions': {'key': 'preferredRegions', 'type': 'object'}, 'detect_datetime': {'key': 'detectDatetime', 'type': 'object'}, 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, source_retry_count: Optional[object] = None, source_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, query: Optional[object] = None, page_size: Optional[object] = None, preferred_regions: Optional[object] = None, detect_datetime: Optional[object] = None, additional_columns: Optional[List["AdditionalColumns"]] = None, **kwargs ): super(CosmosDbSqlApiSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, **kwargs) self.type = 'CosmosDbSqlApiSource' # type: str self.query = query self.page_size = page_size self.preferred_regions = preferred_regions self.detect_datetime = detect_datetime self.additional_columns = additional_columns
[docs]class CouchbaseLinkedService(LinkedService): """Couchbase server linked service. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. :type connect_via: ~azure.synapse.artifacts.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. :type parameters: dict[str, ~azure.synapse.artifacts.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param connection_string: An ODBC connection string. Type: string, SecureString or AzureKeyVaultSecretReference. :type connection_string: object :param cred_string: The Azure key vault secret reference of credString in connection string. :type cred_string: ~azure.synapse.artifacts.models.AzureKeyVaultSecretReference :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). :type encrypted_credential: object """ _validation = { 'type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'connect_via': {'key': 'connectVia', 'type': 'IntegrationRuntimeReference'}, 'description': {'key': 'description', 'type': 'str'}, 'parameters': {'key': 'parameters', 'type': '{ParameterSpecification}'}, 'annotations': {'key': 'annotations', 'type': '[object]'}, 'connection_string': {'key': 'typeProperties.connectionString', 'type': 'object'}, 'cred_string': {'key': 'typeProperties.credString', 'type': 'AzureKeyVaultSecretReference'}, 'encrypted_credential': {'key': 'typeProperties.encryptedCredential', 'type': 'object'}, } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, connect_via: Optional["IntegrationRuntimeReference"] = None, description: Optional[str] = None, parameters: Optional[Dict[str, "ParameterSpecification"]] = None, annotations: Optional[List[object]] = None, connection_string: Optional[object] = None, cred_string: Optional["AzureKeyVaultSecretReference"] = None, encrypted_credential: Optional[object] = None, **kwargs ): super(CouchbaseLinkedService, self).__init__(additional_properties=additional_properties, connect_via=connect_via, description=description, parameters=parameters, annotations=annotations, **kwargs) self.type = 'Couchbase' # type: str self.connection_string = connection_string self.cred_string = cred_string self.encrypted_credential = encrypted_credential
[docs]class CouchbaseSource(TabularSource): """A copy activity Couchbase server source. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Copy source type.Constant filled by server. :type type: str :param source_retry_count: Source retry count. Type: integer (or Expression with resultType integer). :type source_retry_count: object :param source_retry_wait: Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type source_retry_wait: object :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object :param query_timeout: Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type query_timeout: object :param additional_columns: Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects). :type additional_columns: list[~azure.synapse.artifacts.models.AdditionalColumns] :param query: A query to retrieve data from source. Type: string (or Expression with resultType string). :type query: object """ _validation = { 'type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, 'query': {'key': 'query', 'type': 'object'}, } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, source_retry_count: Optional[object] = None, source_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, query_timeout: Optional[object] = None, additional_columns: Optional[List["AdditionalColumns"]] = None, query: Optional[object] = None, **kwargs ): super(CouchbaseSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, query_timeout=query_timeout, additional_columns=additional_columns, **kwargs) self.type = 'CouchbaseSource' # type: str self.query = query
[docs]class CouchbaseTableDataset(Dataset): """Couchbase server dataset. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Type of dataset.Constant filled by server. :type type: str :param description: Dataset description. :type description: str :param structure: Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. :type structure: object :param schema: Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. :type linked_service_name: ~azure.synapse.artifacts.models.LinkedServiceReference :param parameters: Parameters for dataset. :type parameters: dict[str, ~azure.synapse.artifacts.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. :type folder: ~azure.synapse.artifacts.models.DatasetFolder :param table_name: The table name. Type: string (or Expression with resultType string). :type table_name: object """ _validation = { 'type': {'required': True}, 'linked_service_name': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'description': {'key': 'description', 'type': 'str'}, 'structure': {'key': 'structure', 'type': 'object'}, 'schema': {'key': 'schema', 'type': 'object'}, 'linked_service_name': {'key': 'linkedServiceName', 'type': 'LinkedServiceReference'}, 'parameters': {'key': 'parameters', 'type': '{ParameterSpecification}'}, 'annotations': {'key': 'annotations', 'type': '[object]'}, 'folder': {'key': 'folder', 'type': 'DatasetFolder'}, 'table_name': {'key': 'typeProperties.tableName', 'type': 'object'}, } def __init__( self, *, linked_service_name: "LinkedServiceReference", additional_properties: Optional[Dict[str, object]] = None, description: Optional[str] = None, structure: Optional[object] = None, schema: Optional[object] = None, parameters: Optional[Dict[str, "ParameterSpecification"]] = None, annotations: Optional[List[object]] = None, folder: Optional["DatasetFolder"] = None, table_name: Optional[object] = None, **kwargs ): super(CouchbaseTableDataset, self).__init__(additional_properties=additional_properties, description=description, structure=structure, schema=schema, linked_service_name=linked_service_name, parameters=parameters, annotations=annotations, folder=folder, **kwargs) self.type = 'CouchbaseTable' # type: str self.table_name = table_name
[docs]class CreateDataFlowDebugSessionRequest(msrest.serialization.Model): """Request body structure for creating data flow debug session. :param data_flow_name: The name of the data flow. :type data_flow_name: str :param existing_cluster_id: The ID of existing Databricks cluster. :type existing_cluster_id: str :param cluster_timeout: Timeout setting for Databricks cluster. :type cluster_timeout: int :param new_cluster_name: The name of new Databricks cluster. :type new_cluster_name: str :param new_cluster_node_type: The type of new Databricks cluster. :type new_cluster_node_type: str :param data_bricks_linked_service: Data bricks linked service. :type data_bricks_linked_service: ~azure.synapse.artifacts.models.LinkedServiceResource """ _attribute_map = { 'data_flow_name': {'key': 'dataFlowName', 'type': 'str'}, 'existing_cluster_id': {'key': 'existingClusterId', 'type': 'str'}, 'cluster_timeout': {'key': 'clusterTimeout', 'type': 'int'}, 'new_cluster_name': {'key': 'newClusterName', 'type': 'str'}, 'new_cluster_node_type': {'key': 'newClusterNodeType', 'type': 'str'}, 'data_bricks_linked_service': {'key': 'dataBricksLinkedService', 'type': 'LinkedServiceResource'}, } def __init__( self, *, data_flow_name: Optional[str] = None, existing_cluster_id: Optional[str] = None, cluster_timeout: Optional[int] = None, new_cluster_name: Optional[str] = None, new_cluster_node_type: Optional[str] = None, data_bricks_linked_service: Optional["LinkedServiceResource"] = None, **kwargs ): super(CreateDataFlowDebugSessionRequest, self).__init__(**kwargs) self.data_flow_name = data_flow_name self.existing_cluster_id = existing_cluster_id self.cluster_timeout = cluster_timeout self.new_cluster_name = new_cluster_name self.new_cluster_node_type = new_cluster_node_type self.data_bricks_linked_service = data_bricks_linked_service
[docs]class CreateDataFlowDebugSessionResponse(msrest.serialization.Model): """Response body structure for creating data flow debug session. :param session_id: The ID of data flow debug session. :type session_id: str """ _attribute_map = { 'session_id': {'key': 'sessionId', 'type': 'str'}, } def __init__( self, *, session_id: Optional[str] = None, **kwargs ): super(CreateDataFlowDebugSessionResponse, self).__init__(**kwargs) self.session_id = session_id
[docs]class CreateRunResponse(msrest.serialization.Model): """Response body with a run identifier. All required parameters must be populated in order to send to Azure. :param run_id: Required. Identifier of a run. :type run_id: str """ _validation = { 'run_id': {'required': True}, } _attribute_map = { 'run_id': {'key': 'runId', 'type': 'str'}, } def __init__( self, *, run_id: str, **kwargs ): super(CreateRunResponse, self).__init__(**kwargs) self.run_id = run_id
[docs]class CustomActivity(ExecutionActivity): """Custom activity type. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param name: Required. Activity name. :type name: str :param type: Required. Type of activity.Constant filled by server. :type type: str :param description: Activity description. :type description: str :param depends_on: Activity depends on condition. :type depends_on: list[~azure.synapse.artifacts.models.ActivityDependency] :param user_properties: Activity user properties. :type user_properties: list[~azure.synapse.artifacts.models.UserProperty] :param linked_service_name: Linked service reference. :type linked_service_name: ~azure.synapse.artifacts.models.LinkedServiceReference :param policy: Activity policy. :type policy: ~azure.synapse.artifacts.models.ActivityPolicy :param command: Required. Command for custom activity Type: string (or Expression with resultType string). :type command: object :param resource_linked_service: Resource linked service reference. :type resource_linked_service: ~azure.synapse.artifacts.models.LinkedServiceReference :param folder_path: Folder path for resource files Type: string (or Expression with resultType string). :type folder_path: object :param reference_objects: Reference objects. :type reference_objects: ~azure.synapse.artifacts.models.CustomActivityReferenceObject :param extended_properties: User defined property bag. There is no restriction on the keys or values that can be used. The user specified custom activity has the full responsibility to consume and interpret the content defined. :type extended_properties: dict[str, object] :param retention_time_in_days: The retention time for the files submitted for custom activity. Type: double (or Expression with resultType double). :type retention_time_in_days: object :param auto_user_specification: Elevation level and scope for the user, default is nonadmin task. Type: string (or Expression with resultType double). :type auto_user_specification: object """ _validation = { 'name': {'required': True}, 'type': {'required': True}, 'command': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'name': {'key': 'name', 'type': 'str'}, 'type': {'key': 'type', 'type': 'str'}, 'description': {'key': 'description', 'type': 'str'}, 'depends_on': {'key': 'dependsOn', 'type': '[ActivityDependency]'}, 'user_properties': {'key': 'userProperties', 'type': '[UserProperty]'}, 'linked_service_name': {'key': 'linkedServiceName', 'type': 'LinkedServiceReference'}, 'policy': {'key': 'policy', 'type': 'ActivityPolicy'}, 'command': {'key': 'typeProperties.command', 'type': 'object'}, 'resource_linked_service': {'key': 'typeProperties.resourceLinkedService', 'type': 'LinkedServiceReference'}, 'folder_path': {'key': 'typeProperties.folderPath', 'type': 'object'}, 'reference_objects': {'key': 'typeProperties.referenceObjects', 'type': 'CustomActivityReferenceObject'}, 'extended_properties': {'key': 'typeProperties.extendedProperties', 'type': '{object}'}, 'retention_time_in_days': {'key': 'typeProperties.retentionTimeInDays', 'type': 'object'}, 'auto_user_specification': {'key': 'typeProperties.autoUserSpecification', 'type': 'object'}, } def __init__( self, *, name: str, command: object, additional_properties: Optional[Dict[str, object]] = None, description: Optional[str] = None, depends_on: Optional[List["ActivityDependency"]] = None, user_properties: Optional[List["UserProperty"]] = None, linked_service_name: Optional["LinkedServiceReference"] = None, policy: Optional["ActivityPolicy"] = None, resource_linked_service: Optional["LinkedServiceReference"] = None, folder_path: Optional[object] = None, reference_objects: Optional["CustomActivityReferenceObject"] = None, extended_properties: Optional[Dict[str, object]] = None, retention_time_in_days: Optional[object] = None, auto_user_specification: Optional[object] = None, **kwargs ): super(CustomActivity, self).__init__(additional_properties=additional_properties, name=name, description=description, depends_on=depends_on, user_properties=user_properties, linked_service_name=linked_service_name, policy=policy, **kwargs) self.type = 'Custom' # type: str self.command = command self.resource_linked_service = resource_linked_service self.folder_path = folder_path self.reference_objects = reference_objects self.extended_properties = extended_properties self.retention_time_in_days = retention_time_in_days self.auto_user_specification = auto_user_specification
[docs]class CustomActivityReferenceObject(msrest.serialization.Model): """Reference objects for custom activity. :param linked_services: Linked service references. :type linked_services: list[~azure.synapse.artifacts.models.LinkedServiceReference] :param datasets: Dataset references. :type datasets: list[~azure.synapse.artifacts.models.DatasetReference] """ _attribute_map = { 'linked_services': {'key': 'linkedServices', 'type': '[LinkedServiceReference]'}, 'datasets': {'key': 'datasets', 'type': '[DatasetReference]'}, } def __init__( self, *, linked_services: Optional[List["LinkedServiceReference"]] = None, datasets: Optional[List["DatasetReference"]] = None, **kwargs ): super(CustomActivityReferenceObject, self).__init__(**kwargs) self.linked_services = linked_services self.datasets = datasets
[docs]class CustomDataset(Dataset): """The custom dataset. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Type of dataset.Constant filled by server. :type type: str :param description: Dataset description. :type description: str :param structure: Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. :type structure: object :param schema: Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. :type linked_service_name: ~azure.synapse.artifacts.models.LinkedServiceReference :param parameters: Parameters for dataset. :type parameters: dict[str, ~azure.synapse.artifacts.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. :type folder: ~azure.synapse.artifacts.models.DatasetFolder :param type_properties: Custom dataset properties. :type type_properties: object """ _validation = { 'type': {'required': True}, 'linked_service_name': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'description': {'key': 'description', 'type': 'str'}, 'structure': {'key': 'structure', 'type': 'object'}, 'schema': {'key': 'schema', 'type': 'object'}, 'linked_service_name': {'key': 'linkedServiceName', 'type': 'LinkedServiceReference'}, 'parameters': {'key': 'parameters', 'type': '{ParameterSpecification}'}, 'annotations': {'key': 'annotations', 'type': '[object]'}, 'folder': {'key': 'folder', 'type': 'DatasetFolder'}, 'type_properties': {'key': 'typeProperties', 'type': 'object'}, } def __init__( self, *, linked_service_name: "LinkedServiceReference", additional_properties: Optional[Dict[str, object]] = None, description: Optional[str] = None, structure: Optional[object] = None, schema: Optional[object] = None, parameters: Optional[Dict[str, "ParameterSpecification"]] = None, annotations: Optional[List[object]] = None, folder: Optional["DatasetFolder"] = None, type_properties: Optional[object] = None, **kwargs ): super(CustomDataset, self).__init__(additional_properties=additional_properties, description=description, structure=structure, schema=schema, linked_service_name=linked_service_name, parameters=parameters, annotations=annotations, folder=folder, **kwargs) self.type = 'CustomDataset' # type: str self.type_properties = type_properties
[docs]class CustomDataSourceLinkedService(LinkedService): """Custom linked service. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. :type connect_via: ~azure.synapse.artifacts.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. :type parameters: dict[str, ~azure.synapse.artifacts.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param type_properties: Required. Custom linked service properties. :type type_properties: object """ _validation = { 'type': {'required': True}, 'type_properties': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'connect_via': {'key': 'connectVia', 'type': 'IntegrationRuntimeReference'}, 'description': {'key': 'description', 'type': 'str'}, 'parameters': {'key': 'parameters', 'type': '{ParameterSpecification}'}, 'annotations': {'key': 'annotations', 'type': '[object]'}, 'type_properties': {'key': 'typeProperties', 'type': 'object'}, } def __init__( self, *, type_properties: object, additional_properties: Optional[Dict[str, object]] = None, connect_via: Optional["IntegrationRuntimeReference"] = None, description: Optional[str] = None, parameters: Optional[Dict[str, "ParameterSpecification"]] = None, annotations: Optional[List[object]] = None, **kwargs ): super(CustomDataSourceLinkedService, self).__init__(additional_properties=additional_properties, connect_via=connect_via, description=description, parameters=parameters, annotations=annotations, **kwargs) self.type = 'CustomDataSource' # type: str self.type_properties = type_properties
[docs]class CustomerManagedKeyDetails(msrest.serialization.Model): """Details of the customer managed key associated with the workspace. Variables are only populated by the server, and will be ignored when sending a request. :ivar status: The customer managed key status on the workspace. :vartype status: str :param key: The key object of the workspace. :type key: ~azure.synapse.artifacts.models.WorkspaceKeyDetails """ _validation = { 'status': {'readonly': True}, } _attribute_map = { 'status': {'key': 'status', 'type': 'str'}, 'key': {'key': 'key', 'type': 'WorkspaceKeyDetails'}, } def __init__( self, *, key: Optional["WorkspaceKeyDetails"] = None, **kwargs ): super(CustomerManagedKeyDetails, self).__init__(**kwargs) self.status = None self.key = key
[docs]class CustomEventsTrigger(MultiplePipelineTrigger): """Trigger that runs every time a custom event is received. Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Trigger type.Constant filled by server. :type type: str :param description: Trigger description. :type description: str :ivar runtime_state: Indicates if trigger is running or not. Updated when Start/Stop APIs are called on the Trigger. Possible values include: "Started", "Stopped", "Disabled". :vartype runtime_state: str or ~azure.synapse.artifacts.models.TriggerRuntimeState :param annotations: List of tags that can be used for describing the trigger. :type annotations: list[object] :param pipelines: Pipelines that need to be started. :type pipelines: list[~azure.synapse.artifacts.models.TriggerPipelineReference] :param subject_begins_with: The event subject must begin with the pattern provided for trigger to fire. At least one of these must be provided: subjectBeginsWith, subjectEndsWith. :type subject_begins_with: str :param subject_ends_with: The event subject must end with the pattern provided for trigger to fire. At least one of these must be provided: subjectBeginsWith, subjectEndsWith. :type subject_ends_with: str :param events: Required. The list of event types that cause this trigger to fire. :type events: list[object] :param scope: Required. The ARM resource ID of the Azure Event Grid Topic. :type scope: str """ _validation = { 'type': {'required': True}, 'runtime_state': {'readonly': True}, 'events': {'required': True}, 'scope': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'description': {'key': 'description', 'type': 'str'}, 'runtime_state': {'key': 'runtimeState', 'type': 'str'}, 'annotations': {'key': 'annotations', 'type': '[object]'}, 'pipelines': {'key': 'pipelines', 'type': '[TriggerPipelineReference]'}, 'subject_begins_with': {'key': 'typeProperties.subjectBeginsWith', 'type': 'str'}, 'subject_ends_with': {'key': 'typeProperties.subjectEndsWith', 'type': 'str'}, 'events': {'key': 'typeProperties.events', 'type': '[object]'}, 'scope': {'key': 'typeProperties.scope', 'type': 'str'}, } def __init__( self, *, events: List[object], scope: str, additional_properties: Optional[Dict[str, object]] = None, description: Optional[str] = None, annotations: Optional[List[object]] = None, pipelines: Optional[List["TriggerPipelineReference"]] = None, subject_begins_with: Optional[str] = None, subject_ends_with: Optional[str] = None, **kwargs ): super(CustomEventsTrigger, self).__init__(additional_properties=additional_properties, description=description, annotations=annotations, pipelines=pipelines, **kwargs) self.type = 'CustomEventsTrigger' # type: str self.subject_begins_with = subject_begins_with self.subject_ends_with = subject_ends_with self.events = events self.scope = scope
[docs]class CustomSetupBase(msrest.serialization.Model): """The base definition of the custom setup. You probably want to use the sub-classes and not this class directly. Known sub-classes are: . All required parameters must be populated in order to send to Azure. :param type: Required. The type of custom setup.Constant filled by server. :type type: str """ _validation = { 'type': {'required': True}, } _attribute_map = { 'type': {'key': 'type', 'type': 'str'}, } _subtype_map = { 'type': {} } def __init__( self, **kwargs ): super(CustomSetupBase, self).__init__(**kwargs) self.type = None # type: Optional[str]
[docs]class DatabricksNotebookActivity(ExecutionActivity): """DatabricksNotebook activity. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param name: Required. Activity name. :type name: str :param type: Required. Type of activity.Constant filled by server. :type type: str :param description: Activity description. :type description: str :param depends_on: Activity depends on condition. :type depends_on: list[~azure.synapse.artifacts.models.ActivityDependency] :param user_properties: Activity user properties. :type user_properties: list[~azure.synapse.artifacts.models.UserProperty] :param linked_service_name: Linked service reference. :type linked_service_name: ~azure.synapse.artifacts.models.LinkedServiceReference :param policy: Activity policy. :type policy: ~azure.synapse.artifacts.models.ActivityPolicy :param notebook_path: Required. The absolute path of the notebook to be run in the Databricks Workspace. This path must begin with a slash. Type: string (or Expression with resultType string). :type notebook_path: object :param base_parameters: Base parameters to be used for each run of this job.If the notebook takes a parameter that is not specified, the default value from the notebook will be used. :type base_parameters: dict[str, object] :param libraries: A list of libraries to be installed on the cluster that will execute the job. :type libraries: list[dict[str, object]] """ _validation = { 'name': {'required': True}, 'type': {'required': True}, 'notebook_path': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'name': {'key': 'name', 'type': 'str'}, 'type': {'key': 'type', 'type': 'str'}, 'description': {'key': 'description', 'type': 'str'}, 'depends_on': {'key': 'dependsOn', 'type': '[ActivityDependency]'}, 'user_properties': {'key': 'userProperties', 'type': '[UserProperty]'}, 'linked_service_name': {'key': 'linkedServiceName', 'type': 'LinkedServiceReference'}, 'policy': {'key': 'policy', 'type': 'ActivityPolicy'}, 'notebook_path': {'key': 'typeProperties.notebookPath', 'type': 'object'}, 'base_parameters': {'key': 'typeProperties.baseParameters', 'type': '{object}'}, 'libraries': {'key': 'typeProperties.libraries', 'type': '[{object}]'}, } def __init__( self, *, name: str, notebook_path: object, additional_properties: Optional[Dict[str, object]] = None, description: Optional[str] = None, depends_on: Optional[List["ActivityDependency"]] = None, user_properties: Optional[List["UserProperty"]] = None, linked_service_name: Optional["LinkedServiceReference"] = None, policy: Optional["ActivityPolicy"] = None, base_parameters: Optional[Dict[str, object]] = None, libraries: Optional[List[Dict[str, object]]] = None, **kwargs ): super(DatabricksNotebookActivity, self).__init__(additional_properties=additional_properties, name=name, description=description, depends_on=depends_on, user_properties=user_properties, linked_service_name=linked_service_name, policy=policy, **kwargs) self.type = 'DatabricksNotebook' # type: str self.notebook_path = notebook_path self.base_parameters = base_parameters self.libraries = libraries
[docs]class DatabricksSparkJarActivity(ExecutionActivity): """DatabricksSparkJar activity. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param name: Required. Activity name. :type name: str :param type: Required. Type of activity.Constant filled by server. :type type: str :param description: Activity description. :type description: str :param depends_on: Activity depends on condition. :type depends_on: list[~azure.synapse.artifacts.models.ActivityDependency] :param user_properties: Activity user properties. :type user_properties: list[~azure.synapse.artifacts.models.UserProperty] :param linked_service_name: Linked service reference. :type linked_service_name: ~azure.synapse.artifacts.models.LinkedServiceReference :param policy: Activity policy. :type policy: ~azure.synapse.artifacts.models.ActivityPolicy :param main_class_name: Required. The full name of the class containing the main method to be executed. This class must be contained in a JAR provided as a library. Type: string (or Expression with resultType string). :type main_class_name: object :param parameters: Parameters that will be passed to the main method. :type parameters: list[object] :param libraries: A list of libraries to be installed on the cluster that will execute the job. :type libraries: list[dict[str, object]] """ _validation = { 'name': {'required': True}, 'type': {'required': True}, 'main_class_name': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'name': {'key': 'name', 'type': 'str'}, 'type': {'key': 'type', 'type': 'str'}, 'description': {'key': 'description', 'type': 'str'}, 'depends_on': {'key': 'dependsOn', 'type': '[ActivityDependency]'}, 'user_properties': {'key': 'userProperties', 'type': '[UserProperty]'}, 'linked_service_name': {'key': 'linkedServiceName', 'type': 'LinkedServiceReference'}, 'policy': {'key': 'policy', 'type': 'ActivityPolicy'}, 'main_class_name': {'key': 'typeProperties.mainClassName', 'type': 'object'}, 'parameters': {'key': 'typeProperties.parameters', 'type': '[object]'}, 'libraries': {'key': 'typeProperties.libraries', 'type': '[{object}]'}, } def __init__( self, *, name: str, main_class_name: object, additional_properties: Optional[Dict[str, object]] = None, description: Optional[str] = None, depends_on: Optional[List["ActivityDependency"]] = None, user_properties: Optional[List["UserProperty"]] = None, linked_service_name: Optional["LinkedServiceReference"] = None, policy: Optional["ActivityPolicy"] = None, parameters: Optional[List[object]] = None, libraries: Optional[List[Dict[str, object]]] = None, **kwargs ): super(DatabricksSparkJarActivity, self).__init__(additional_properties=additional_properties, name=name, description=description, depends_on=depends_on, user_properties=user_properties, linked_service_name=linked_service_name, policy=policy, **kwargs) self.type = 'DatabricksSparkJar' # type: str self.main_class_name = main_class_name self.parameters = parameters self.libraries = libraries
[docs]class DatabricksSparkPythonActivity(ExecutionActivity): """DatabricksSparkPython activity. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param name: Required. Activity name. :type name: str :param type: Required. Type of activity.Constant filled by server. :type type: str :param description: Activity description. :type description: str :param depends_on: Activity depends on condition. :type depends_on: list[~azure.synapse.artifacts.models.ActivityDependency] :param user_properties: Activity user properties. :type user_properties: list[~azure.synapse.artifacts.models.UserProperty] :param linked_service_name: Linked service reference. :type linked_service_name: ~azure.synapse.artifacts.models.LinkedServiceReference :param policy: Activity policy. :type policy: ~azure.synapse.artifacts.models.ActivityPolicy :param python_file: Required. The URI of the Python file to be executed. DBFS paths are supported. Type: string (or Expression with resultType string). :type python_file: object :param parameters: Command line parameters that will be passed to the Python file. :type parameters: list[object] :param libraries: A list of libraries to be installed on the cluster that will execute the job. :type libraries: list[dict[str, object]] """ _validation = { 'name': {'required': True}, 'type': {'required': True}, 'python_file': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'name': {'key': 'name', 'type': 'str'}, 'type': {'key': 'type', 'type': 'str'}, 'description': {'key': 'description', 'type': 'str'}, 'depends_on': {'key': 'dependsOn', 'type': '[ActivityDependency]'}, 'user_properties': {'key': 'userProperties', 'type': '[UserProperty]'}, 'linked_service_name': {'key': 'linkedServiceName', 'type': 'LinkedServiceReference'}, 'policy': {'key': 'policy', 'type': 'ActivityPolicy'}, 'python_file': {'key': 'typeProperties.pythonFile', 'type': 'object'}, 'parameters': {'key': 'typeProperties.parameters', 'type': '[object]'}, 'libraries': {'key': 'typeProperties.libraries', 'type': '[{object}]'}, } def __init__( self, *, name: str, python_file: object, additional_properties: Optional[Dict[str, object]] = None, description: Optional[str] = None, depends_on: Optional[List["ActivityDependency"]] = None, user_properties: Optional[List["UserProperty"]] = None, linked_service_name: Optional["LinkedServiceReference"] = None, policy: Optional["ActivityPolicy"] = None, parameters: Optional[List[object]] = None, libraries: Optional[List[Dict[str, object]]] = None, **kwargs ): super(DatabricksSparkPythonActivity, self).__init__(additional_properties=additional_properties, name=name, description=description, depends_on=depends_on, user_properties=user_properties, linked_service_name=linked_service_name, policy=policy, **kwargs) self.type = 'DatabricksSparkPython' # type: str self.python_file = python_file self.parameters = parameters self.libraries = libraries
[docs]class DataFlow(msrest.serialization.Model): """Azure Synapse nested object which contains a flow with data movements and transformations. You probably want to use the sub-classes and not this class directly. Known sub-classes are: MappingDataFlow. All required parameters must be populated in order to send to Azure. :param type: Required. Type of data flow.Constant filled by server. :type type: str :param description: The description of the data flow. :type description: str :param annotations: List of tags that can be used for describing the data flow. :type annotations: list[object] :param folder: The folder that this data flow is in. If not specified, Data flow will appear at the root level. :type folder: ~azure.synapse.artifacts.models.DataFlowFolder """ _validation = { 'type': {'required': True}, } _attribute_map = { 'type': {'key': 'type', 'type': 'str'}, 'description': {'key': 'description', 'type': 'str'}, 'annotations': {'key': 'annotations', 'type': '[object]'}, 'folder': {'key': 'folder', 'type': 'DataFlowFolder'}, } _subtype_map = { 'type': {'MappingDataFlow': 'MappingDataFlow'} } def __init__( self, *, description: Optional[str] = None, annotations: Optional[List[object]] = None, folder: Optional["DataFlowFolder"] = None, **kwargs ): super(DataFlow, self).__init__(**kwargs) self.type = None # type: Optional[str] self.description = description self.annotations = annotations self.folder = folder
[docs]class DataFlowDebugCommandRequest(msrest.serialization.Model): """Request body structure for data flow expression preview. All required parameters must be populated in order to send to Azure. :param session_id: Required. The ID of data flow debug session. :type session_id: str :param data_flow_name: The data flow which contains the debug session. :type data_flow_name: str :param command_name: The command name. :type command_name: str :param command_payload: Required. The command payload object. :type command_payload: object """ _validation = { 'session_id': {'required': True}, 'command_payload': {'required': True}, } _attribute_map = { 'session_id': {'key': 'sessionId', 'type': 'str'}, 'data_flow_name': {'key': 'dataFlowName', 'type': 'str'}, 'command_name': {'key': 'commandName', 'type': 'str'}, 'command_payload': {'key': 'commandPayload', 'type': 'object'}, } def __init__( self, *, session_id: str, command_payload: object, data_flow_name: Optional[str] = None, command_name: Optional[str] = None, **kwargs ): super(DataFlowDebugCommandRequest, self).__init__(**kwargs) self.session_id = session_id self.data_flow_name = data_flow_name self.command_name = command_name self.command_payload = command_payload
[docs]class DataFlowDebugCommandResponse(msrest.serialization.Model): """Response body structure of data flow result for data preview, statistics or expression preview. :param status: The run status of data preview, statistics or expression preview. :type status: str :param data: The result data of data preview, statistics or expression preview. :type data: str """ _attribute_map = { 'status': {'key': 'status', 'type': 'str'}, 'data': {'key': 'data', 'type': 'str'}, } def __init__( self, *, status: Optional[str] = None, data: Optional[str] = None, **kwargs ): super(DataFlowDebugCommandResponse, self).__init__(**kwargs) self.status = status self.data = data
[docs]class DataFlowDebugPackage(msrest.serialization.Model): """Request body structure for starting data flow debug session. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param session_id: The ID of data flow debug session. :type session_id: str :param data_flow: Data flow instance. :type data_flow: ~azure.synapse.artifacts.models.DataFlowDebugResource :param datasets: List of datasets. :type datasets: list[~azure.synapse.artifacts.models.DatasetDebugResource] :param linked_services: List of linked services. :type linked_services: list[~azure.synapse.artifacts.models.LinkedServiceDebugResource] :param staging: Staging info for debug session. :type staging: ~azure.synapse.artifacts.models.DataFlowStagingInfo :param debug_settings: Data flow debug settings. :type debug_settings: ~azure.synapse.artifacts.models.DataFlowDebugPackageDebugSettings """ _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'session_id': {'key': 'sessionId', 'type': 'str'}, 'data_flow': {'key': 'dataFlow', 'type': 'DataFlowDebugResource'}, 'datasets': {'key': 'datasets', 'type': '[DatasetDebugResource]'}, 'linked_services': {'key': 'linkedServices', 'type': '[LinkedServiceDebugResource]'}, 'staging': {'key': 'staging', 'type': 'DataFlowStagingInfo'}, 'debug_settings': {'key': 'debugSettings', 'type': 'DataFlowDebugPackageDebugSettings'}, } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, session_id: Optional[str] = None, data_flow: Optional["DataFlowDebugResource"] = None, datasets: Optional[List["DatasetDebugResource"]] = None, linked_services: Optional[List["LinkedServiceDebugResource"]] = None, staging: Optional["DataFlowStagingInfo"] = None, debug_settings: Optional["DataFlowDebugPackageDebugSettings"] = None, **kwargs ): super(DataFlowDebugPackage, self).__init__(**kwargs) self.additional_properties = additional_properties self.session_id = session_id self.data_flow = data_flow self.datasets = datasets self.linked_services = linked_services self.staging = staging self.debug_settings = debug_settings
[docs]class DataFlowDebugPackageDebugSettings(msrest.serialization.Model): """Data flow debug settings. :param source_settings: Source setting for data flow debug. :type source_settings: list[~azure.synapse.artifacts.models.DataFlowSourceSetting] :param parameters: Data flow parameters. :type parameters: dict[str, object] :param dataset_parameters: Parameters for dataset. :type dataset_parameters: object """ _attribute_map = { 'source_settings': {'key': 'sourceSettings', 'type': '[DataFlowSourceSetting]'}, 'parameters': {'key': 'parameters', 'type': '{object}'}, 'dataset_parameters': {'key': 'datasetParameters', 'type': 'object'}, } def __init__( self, *, source_settings: Optional[List["DataFlowSourceSetting"]] = None, parameters: Optional[Dict[str, object]] = None, dataset_parameters: Optional[object] = None, **kwargs ): super(DataFlowDebugPackageDebugSettings, self).__init__(**kwargs) self.source_settings = source_settings self.parameters = parameters self.dataset_parameters = dataset_parameters
[docs]class DataFlowDebugPreviewDataRequest(msrest.serialization.Model): """Request body structure for data flow preview data. :param session_id: The ID of data flow debug session. :type session_id: str :param data_flow_name: The data flow which contains the debug session. :type data_flow_name: str :param stream_name: The output stream name. :type stream_name: str :param row_limits: The row limit for preview request. :type row_limits: int """ _attribute_map = { 'session_id': {'key': 'sessionId', 'type': 'str'}, 'data_flow_name': {'key': 'dataFlowName', 'type': 'str'}, 'stream_name': {'key': 'streamName', 'type': 'str'}, 'row_limits': {'key': 'rowLimits', 'type': 'int'}, } def __init__( self, *, session_id: Optional[str] = None, data_flow_name: Optional[str] = None, stream_name: Optional[str] = None, row_limits: Optional[int] = None, **kwargs ): super(DataFlowDebugPreviewDataRequest, self).__init__(**kwargs) self.session_id = session_id self.data_flow_name = data_flow_name self.stream_name = stream_name self.row_limits = row_limits
[docs]class DataFlowDebugQueryResponse(msrest.serialization.Model): """Response body structure of data flow query for data preview, statistics or expression preview. :param run_id: The run ID of data flow debug session. :type run_id: str """ _attribute_map = { 'run_id': {'key': 'runId', 'type': 'str'}, } def __init__( self, *, run_id: Optional[str] = None, **kwargs ): super(DataFlowDebugQueryResponse, self).__init__(**kwargs) self.run_id = run_id
[docs]class SubResourceDebugResource(msrest.serialization.Model): """Azure Synapse nested debug resource. :param name: The resource name. :type name: str """ _attribute_map = { 'name': {'key': 'name', 'type': 'str'}, } def __init__( self, *, name: Optional[str] = None, **kwargs ): super(SubResourceDebugResource, self).__init__(**kwargs) self.name = name
[docs]class DataFlowDebugResource(SubResourceDebugResource): """Data flow debug resource. All required parameters must be populated in order to send to Azure. :param name: The resource name. :type name: str :param properties: Required. Data flow properties. :type properties: ~azure.synapse.artifacts.models.DataFlow """ _validation = { 'properties': {'required': True}, } _attribute_map = { 'name': {'key': 'name', 'type': 'str'}, 'properties': {'key': 'properties', 'type': 'DataFlow'}, } def __init__( self, *, properties: "DataFlow", name: Optional[str] = None, **kwargs ): super(DataFlowDebugResource, self).__init__(name=name, **kwargs) self.properties = properties
[docs]class DataFlowDebugResultResponse(msrest.serialization.Model): """Response body structure of data flow result for data preview, statistics or expression preview. :param status: The run status of data preview, statistics or expression preview. :type status: str :param data: The result data of data preview, statistics or expression preview. :type data: str """ _attribute_map = { 'status': {'key': 'status', 'type': 'str'}, 'data': {'key': 'data', 'type': 'str'}, } def __init__( self, *, status: Optional[str] = None, data: Optional[str] = None, **kwargs ): super(DataFlowDebugResultResponse, self).__init__(**kwargs) self.status = status self.data = data
[docs]class DataFlowDebugSessionInfo(msrest.serialization.Model): """Data flow debug session info. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param data_flow_name: The name of the data flow. :type data_flow_name: str :param compute_type: Compute type of the cluster. :type compute_type: str :param core_count: Core count of the cluster. :type core_count: int :param node_count: Node count of the cluster. (deprecated property). :type node_count: int :param integration_runtime_name: Attached integration runtime name of data flow debug session. :type integration_runtime_name: str :param session_id: The ID of data flow debug session. :type session_id: str :param start_time: Start time of data flow debug session. :type start_time: str :param time_to_live_in_minutes: Compute type of the cluster. :type time_to_live_in_minutes: int :param last_activity_time: Last activity time of data flow debug session. :type last_activity_time: str """ _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'data_flow_name': {'key': 'dataFlowName', 'type': 'str'}, 'compute_type': {'key': 'computeType', 'type': 'str'}, 'core_count': {'key': 'coreCount', 'type': 'int'}, 'node_count': {'key': 'nodeCount', 'type': 'int'}, 'integration_runtime_name': {'key': 'integrationRuntimeName', 'type': 'str'}, 'session_id': {'key': 'sessionId', 'type': 'str'}, 'start_time': {'key': 'startTime', 'type': 'str'}, 'time_to_live_in_minutes': {'key': 'timeToLiveInMinutes', 'type': 'int'}, 'last_activity_time': {'key': 'lastActivityTime', 'type': 'str'}, } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, data_flow_name: Optional[str] = None, compute_type: Optional[str] = None, core_count: Optional[int] = None, node_count: Optional[int] = None, integration_runtime_name: Optional[str] = None, session_id: Optional[str] = None, start_time: Optional[str] = None, time_to_live_in_minutes: Optional[int] = None, last_activity_time: Optional[str] = None, **kwargs ): super(DataFlowDebugSessionInfo, self).__init__(**kwargs) self.additional_properties = additional_properties self.data_flow_name = data_flow_name self.compute_type = compute_type self.core_count = core_count self.node_count = node_count self.integration_runtime_name = integration_runtime_name self.session_id = session_id self.start_time = start_time self.time_to_live_in_minutes = time_to_live_in_minutes self.last_activity_time = last_activity_time
[docs]class DataFlowDebugStatisticsRequest(msrest.serialization.Model): """Request body structure for data flow statistics. :param session_id: The ID of data flow debug session. :type session_id: str :param data_flow_name: The data flow which contains the debug session. :type data_flow_name: str :param stream_name: The output stream name. :type stream_name: str :param columns: List of column names. :type columns: list[str] """ _attribute_map = { 'session_id': {'key': 'sessionId', 'type': 'str'}, 'data_flow_name': {'key': 'dataFlowName', 'type': 'str'}, 'stream_name': {'key': 'streamName', 'type': 'str'}, 'columns': {'key': 'columns', 'type': '[str]'}, } def __init__( self, *, session_id: Optional[str] = None, data_flow_name: Optional[str] = None, stream_name: Optional[str] = None, columns: Optional[List[str]] = None, **kwargs ): super(DataFlowDebugStatisticsRequest, self).__init__(**kwargs) self.session_id = session_id self.data_flow_name = data_flow_name self.stream_name = stream_name self.columns = columns
[docs]class DataFlowFolder(msrest.serialization.Model): """The folder that this data flow is in. If not specified, Data flow will appear at the root level. :param name: The name of the folder that this data flow is in. :type name: str """ _attribute_map = { 'name': {'key': 'name', 'type': 'str'}, } def __init__( self, *, name: Optional[str] = None, **kwargs ): super(DataFlowFolder, self).__init__(**kwargs) self.name = name
[docs]class DataFlowListResponse(msrest.serialization.Model): """A list of data flow resources. All required parameters must be populated in order to send to Azure. :param value: Required. List of data flows. :type value: list[~azure.synapse.artifacts.models.DataFlowResource] :param next_link: The link to the next page of results, if any remaining results exist. :type next_link: str """ _validation = { 'value': {'required': True}, } _attribute_map = { 'value': {'key': 'value', 'type': '[DataFlowResource]'}, 'next_link': {'key': 'nextLink', 'type': 'str'}, } def __init__( self, *, value: List["DataFlowResource"], next_link: Optional[str] = None, **kwargs ): super(DataFlowListResponse, self).__init__(**kwargs) self.value = value self.next_link = next_link
[docs]class DataFlowReference(msrest.serialization.Model): """Data flow reference type. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Data flow reference type. Possible values include: "DataFlowReference". :type type: str or ~azure.synapse.artifacts.models.DataFlowReferenceType :param reference_name: Required. Reference data flow name. :type reference_name: str :param dataset_parameters: Reference data flow parameters from dataset. :type dataset_parameters: object """ _validation = { 'type': {'required': True}, 'reference_name': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'reference_name': {'key': 'referenceName', 'type': 'str'}, 'dataset_parameters': {'key': 'datasetParameters', 'type': 'object'}, } def __init__( self, *, type: Union[str, "DataFlowReferenceType"], reference_name: str, additional_properties: Optional[Dict[str, object]] = None, dataset_parameters: Optional[object] = None, **kwargs ): super(DataFlowReference, self).__init__(**kwargs) self.additional_properties = additional_properties self.type = type self.reference_name = reference_name self.dataset_parameters = dataset_parameters
[docs]class SubResource(AzureEntityResource): """Azure Synapse nested resource, which belongs to a workspace. Variables are only populated by the server, and will be ignored when sending a request. :ivar id: Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. :vartype id: str :ivar name: The name of the resource. :vartype name: str :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts". :vartype type: str :ivar etag: Resource Etag. :vartype etag: str """ _validation = { 'id': {'readonly': True}, 'name': {'readonly': True}, 'type': {'readonly': True}, 'etag': {'readonly': True}, } _attribute_map = { 'id': {'key': 'id', 'type': 'str'}, 'name': {'key': 'name', 'type': 'str'}, 'type': {'key': 'type', 'type': 'str'}, 'etag': {'key': 'etag', 'type': 'str'}, } def __init__( self, **kwargs ): super(SubResource, self).__init__(**kwargs)
[docs]class DataFlowResource(SubResource): """Data flow resource type. Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. :ivar id: Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. :vartype id: str :ivar name: The name of the resource. :vartype name: str :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts". :vartype type: str :ivar etag: Resource Etag. :vartype etag: str :param properties: Required. Data flow properties. :type properties: ~azure.synapse.artifacts.models.DataFlow """ _validation = { 'id': {'readonly': True}, 'name': {'readonly': True}, 'type': {'readonly': True}, 'etag': {'readonly': True}, 'properties': {'required': True}, } _attribute_map = { 'id': {'key': 'id', 'type': 'str'}, 'name': {'key': 'name', 'type': 'str'}, 'type': {'key': 'type', 'type': 'str'}, 'etag': {'key': 'etag', 'type': 'str'}, 'properties': {'key': 'properties', 'type': 'DataFlow'}, } def __init__( self, *, properties: "DataFlow", **kwargs ): super(DataFlowResource, self).__init__(**kwargs) self.properties = properties
[docs]class Transformation(msrest.serialization.Model): """A data flow transformation. All required parameters must be populated in order to send to Azure. :param name: Required. Transformation name. :type name: str :param description: Transformation description. :type description: str """ _validation = { 'name': {'required': True}, } _attribute_map = { 'name': {'key': 'name', 'type': 'str'}, 'description': {'key': 'description', 'type': 'str'}, } def __init__( self, *, name: str, description: Optional[str] = None, **kwargs ): super(Transformation, self).__init__(**kwargs) self.name = name self.description = description
[docs]class DataFlowSink(Transformation): """Transformation for data flow sink. All required parameters must be populated in order to send to Azure. :param name: Required. Transformation name. :type name: str :param description: Transformation description. :type description: str :param dataset: Dataset reference. :type dataset: ~azure.synapse.artifacts.models.DatasetReference :param linked_service: Linked service reference. :type linked_service: ~azure.synapse.artifacts.models.LinkedServiceReference :param schema_linked_service: Schema linked service reference. :type schema_linked_service: ~azure.synapse.artifacts.models.LinkedServiceReference """ _validation = { 'name': {'required': True}, } _attribute_map = { 'name': {'key': 'name', 'type': 'str'}, 'description': {'key': 'description', 'type': 'str'}, 'dataset': {'key': 'dataset', 'type': 'DatasetReference'}, 'linked_service': {'key': 'linkedService', 'type': 'LinkedServiceReference'}, 'schema_linked_service': {'key': 'schemaLinkedService', 'type': 'LinkedServiceReference'}, } def __init__( self, *, name: str, description: Optional[str] = None, dataset: Optional["DatasetReference"] = None, linked_service: Optional["LinkedServiceReference"] = None, schema_linked_service: Optional["LinkedServiceReference"] = None, **kwargs ): super(DataFlowSink, self).__init__(name=name, description=description, **kwargs) self.dataset = dataset self.linked_service = linked_service self.schema_linked_service = schema_linked_service
[docs]class DataFlowSource(Transformation): """Transformation for data flow source. All required parameters must be populated in order to send to Azure. :param name: Required. Transformation name. :type name: str :param description: Transformation description. :type description: str :param dataset: Dataset reference. :type dataset: ~azure.synapse.artifacts.models.DatasetReference :param linked_service: Linked service reference. :type linked_service: ~azure.synapse.artifacts.models.LinkedServiceReference :param schema_linked_service: Schema linked service reference. :type schema_linked_service: ~azure.synapse.artifacts.models.LinkedServiceReference """ _validation = { 'name': {'required': True}, } _attribute_map = { 'name': {'key': 'name', 'type': 'str'}, 'description': {'key': 'description', 'type': 'str'}, 'dataset': {'key': 'dataset', 'type': 'DatasetReference'}, 'linked_service': {'key': 'linkedService', 'type': 'LinkedServiceReference'}, 'schema_linked_service': {'key': 'schemaLinkedService', 'type': 'LinkedServiceReference'}, } def __init__( self, *, name: str, description: Optional[str] = None, dataset: Optional["DatasetReference"] = None, linked_service: Optional["LinkedServiceReference"] = None, schema_linked_service: Optional["LinkedServiceReference"] = None, **kwargs ): super(DataFlowSource, self).__init__(name=name, description=description, **kwargs) self.dataset = dataset self.linked_service = linked_service self.schema_linked_service = schema_linked_service
[docs]class DataFlowSourceSetting(msrest.serialization.Model): """Definition of data flow source setting for debug. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param source_name: The data flow source name. :type source_name: str :param row_limit: Defines the row limit of data flow source in debug. :type row_limit: int """ _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'source_name': {'key': 'sourceName', 'type': 'str'}, 'row_limit': {'key': 'rowLimit', 'type': 'int'}, } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, source_name: Optional[str] = None, row_limit: Optional[int] = None, **kwargs ): super(DataFlowSourceSetting, self).__init__(**kwargs) self.additional_properties = additional_properties self.source_name = source_name self.row_limit = row_limit
[docs]class DataFlowStagingInfo(msrest.serialization.Model): """Staging info for execute data flow activity. :param linked_service: Staging linked service reference. :type linked_service: ~azure.synapse.artifacts.models.LinkedServiceReference :param folder_path: Folder path for staging blob. :type folder_path: str """ _attribute_map = { 'linked_service': {'key': 'linkedService', 'type': 'LinkedServiceReference'}, 'folder_path': {'key': 'folderPath', 'type': 'str'}, } def __init__( self, *, linked_service: Optional["LinkedServiceReference"] = None, folder_path: Optional[str] = None, **kwargs ): super(DataFlowStagingInfo, self).__init__(**kwargs) self.linked_service = linked_service self.folder_path = folder_path
[docs]class DataLakeAnalyticsUSQLActivity(ExecutionActivity): """Data Lake Analytics U-SQL activity. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param name: Required. Activity name. :type name: str :param type: Required. Type of activity.Constant filled by server. :type type: str :param description: Activity description. :type description: str :param depends_on: Activity depends on condition. :type depends_on: list[~azure.synapse.artifacts.models.ActivityDependency] :param user_properties: Activity user properties. :type user_properties: list[~azure.synapse.artifacts.models.UserProperty] :param linked_service_name: Linked service reference. :type linked_service_name: ~azure.synapse.artifacts.models.LinkedServiceReference :param policy: Activity policy. :type policy: ~azure.synapse.artifacts.models.ActivityPolicy :param script_path: Required. Case-sensitive path to folder that contains the U-SQL script. Type: string (or Expression with resultType string). :type script_path: object :param script_linked_service: Required. Script linked service reference. :type script_linked_service: ~azure.synapse.artifacts.models.LinkedServiceReference :param degree_of_parallelism: The maximum number of nodes simultaneously used to run the job. Default value is 1. Type: integer (or Expression with resultType integer), minimum: 1. :type degree_of_parallelism: object :param priority: Determines which jobs out of all that are queued should be selected to run first. The lower the number, the higher the priority. Default value is 1000. Type: integer (or Expression with resultType integer), minimum: 1. :type priority: object :param parameters: Parameters for U-SQL job request. :type parameters: dict[str, object] :param runtime_version: Runtime version of the U-SQL engine to use. Type: string (or Expression with resultType string). :type runtime_version: object :param compilation_mode: Compilation mode of U-SQL. Must be one of these values : Semantic, Full and SingleBox. Type: string (or Expression with resultType string). :type compilation_mode: object """ _validation = { 'name': {'required': True}, 'type': {'required': True}, 'script_path': {'required': True}, 'script_linked_service': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'name': {'key': 'name', 'type': 'str'}, 'type': {'key': 'type', 'type': 'str'}, 'description': {'key': 'description', 'type': 'str'}, 'depends_on': {'key': 'dependsOn', 'type': '[ActivityDependency]'}, 'user_properties': {'key': 'userProperties', 'type': '[UserProperty]'}, 'linked_service_name': {'key': 'linkedServiceName', 'type': 'LinkedServiceReference'}, 'policy': {'key': 'policy', 'type': 'ActivityPolicy'}, 'script_path': {'key': 'typeProperties.scriptPath', 'type': 'object'}, 'script_linked_service': {'key': 'typeProperties.scriptLinkedService', 'type': 'LinkedServiceReference'}, 'degree_of_parallelism': {'key': 'typeProperties.degreeOfParallelism', 'type': 'object'}, 'priority': {'key': 'typeProperties.priority', 'type': 'object'}, 'parameters': {'key': 'typeProperties.parameters', 'type': '{object}'}, 'runtime_version': {'key': 'typeProperties.runtimeVersion', 'type': 'object'}, 'compilation_mode': {'key': 'typeProperties.compilationMode', 'type': 'object'}, } def __init__( self, *, name: str, script_path: object, script_linked_service: "LinkedServiceReference", additional_properties: Optional[Dict[str, object]] = None, description: Optional[str] = None, depends_on: Optional[List["ActivityDependency"]] = None, user_properties: Optional[List["UserProperty"]] = None, linked_service_name: Optional["LinkedServiceReference"] = None, policy: Optional["ActivityPolicy"] = None, degree_of_parallelism: Optional[object] = None, priority: Optional[object] = None, parameters: Optional[Dict[str, object]] = None, runtime_version: Optional[object] = None, compilation_mode: Optional[object] = None, **kwargs ): super(DataLakeAnalyticsUSQLActivity, self).__init__(additional_properties=additional_properties, name=name, description=description, depends_on=depends_on, user_properties=user_properties, linked_service_name=linked_service_name, policy=policy, **kwargs) self.type = 'DataLakeAnalyticsU-SQL' # type: str self.script_path = script_path self.script_linked_service = script_linked_service self.degree_of_parallelism = degree_of_parallelism self.priority = priority self.parameters = parameters self.runtime_version = runtime_version self.compilation_mode = compilation_mode
[docs]class DataLakeStorageAccountDetails(msrest.serialization.Model): """Details of the data lake storage account associated with the workspace. :param account_url: Account URL. :type account_url: str :param filesystem: Filesystem name. :type filesystem: str """ _attribute_map = { 'account_url': {'key': 'accountUrl', 'type': 'str'}, 'filesystem': {'key': 'filesystem', 'type': 'str'}, } def __init__( self, *, account_url: Optional[str] = None, filesystem: Optional[str] = None, **kwargs ): super(DataLakeStorageAccountDetails, self).__init__(**kwargs) self.account_url = account_url self.filesystem = filesystem
[docs]class DatasetCompression(msrest.serialization.Model): """The compression method used on a dataset. You probably want to use the sub-classes and not this class directly. Known sub-classes are: DatasetBZip2Compression, DatasetDeflateCompression, DatasetGZipCompression, DatasetTarCompression, DatasetTarGZipCompression, DatasetZipDeflateCompression. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Type of dataset compression.Constant filled by server. :type type: str """ _validation = { 'type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, } _subtype_map = { 'type': {'BZip2': 'DatasetBZip2Compression', 'Deflate': 'DatasetDeflateCompression', 'GZip': 'DatasetGZipCompression', 'Tar': 'DatasetTarCompression', 'TarGZip': 'DatasetTarGZipCompression', 'ZipDeflate': 'DatasetZipDeflateCompression'} } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, **kwargs ): super(DatasetCompression, self).__init__(**kwargs) self.additional_properties = additional_properties self.type = 'DatasetCompression' # type: str
[docs]class DatasetBZip2Compression(DatasetCompression): """The BZip2 compression method used on a dataset. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Type of dataset compression.Constant filled by server. :type type: str """ _validation = { 'type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, **kwargs ): super(DatasetBZip2Compression, self).__init__(additional_properties=additional_properties, **kwargs) self.type = 'BZip2' # type: str
[docs]class DatasetDataElement(msrest.serialization.Model): """Columns that define the structure of the dataset. :param name: Name of the column. Type: string (or Expression with resultType string). :type name: object :param type: Type of the column. Type: string (or Expression with resultType string). :type type: object """ _attribute_map = { 'name': {'key': 'name', 'type': 'object'}, 'type': {'key': 'type', 'type': 'object'}, } def __init__( self, *, name: Optional[object] = None, type: Optional[object] = None, **kwargs ): super(DatasetDataElement, self).__init__(**kwargs) self.name = name self.type = type
[docs]class DatasetDebugResource(SubResourceDebugResource): """Dataset debug resource. All required parameters must be populated in order to send to Azure. :param name: The resource name. :type name: str :param properties: Required. Dataset properties. :type properties: ~azure.synapse.artifacts.models.Dataset """ _validation = { 'properties': {'required': True}, } _attribute_map = { 'name': {'key': 'name', 'type': 'str'}, 'properties': {'key': 'properties', 'type': 'Dataset'}, } def __init__( self, *, properties: "Dataset", name: Optional[str] = None, **kwargs ): super(DatasetDebugResource, self).__init__(name=name, **kwargs) self.properties = properties
[docs]class DatasetDeflateCompression(DatasetCompression): """The Deflate compression method used on a dataset. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Type of dataset compression.Constant filled by server. :type type: str :param level: The Deflate compression level. :type level: object """ _validation = { 'type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'level': {'key': 'level', 'type': 'object'}, } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, level: Optional[object] = None, **kwargs ): super(DatasetDeflateCompression, self).__init__(additional_properties=additional_properties, **kwargs) self.type = 'Deflate' # type: str self.level = level
[docs]class DatasetFolder(msrest.serialization.Model): """The folder that this Dataset is in. If not specified, Dataset will appear at the root level. :param name: The name of the folder that this Dataset is in. :type name: str """ _attribute_map = { 'name': {'key': 'name', 'type': 'str'}, } def __init__( self, *, name: Optional[str] = None, **kwargs ): super(DatasetFolder, self).__init__(**kwargs) self.name = name
[docs]class DatasetGZipCompression(DatasetCompression): """The GZip compression method used on a dataset. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Type of dataset compression.Constant filled by server. :type type: str :param level: The GZip compression level. :type level: object """ _validation = { 'type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'level': {'key': 'level', 'type': 'object'}, } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, level: Optional[object] = None, **kwargs ): super(DatasetGZipCompression, self).__init__(additional_properties=additional_properties, **kwargs) self.type = 'GZip' # type: str self.level = level
[docs]class DatasetListResponse(msrest.serialization.Model): """A list of dataset resources. All required parameters must be populated in order to send to Azure. :param value: Required. List of datasets. :type value: list[~azure.synapse.artifacts.models.DatasetResource] :param next_link: The link to the next page of results, if any remaining results exist. :type next_link: str """ _validation = { 'value': {'required': True}, } _attribute_map = { 'value': {'key': 'value', 'type': '[DatasetResource]'}, 'next_link': {'key': 'nextLink', 'type': 'str'}, } def __init__( self, *, value: List["DatasetResource"], next_link: Optional[str] = None, **kwargs ): super(DatasetListResponse, self).__init__(**kwargs) self.value = value self.next_link = next_link
[docs]class DatasetReference(msrest.serialization.Model): """Dataset reference type. All required parameters must be populated in order to send to Azure. :param type: Required. Dataset reference type. Possible values include: "DatasetReference". :type type: str or ~azure.synapse.artifacts.models.DatasetReferenceType :param reference_name: Required. Reference dataset name. :type reference_name: str :param parameters: Arguments for dataset. :type parameters: dict[str, object] """ _validation = { 'type': {'required': True}, 'reference_name': {'required': True}, } _attribute_map = { 'type': {'key': 'type', 'type': 'str'}, 'reference_name': {'key': 'referenceName', 'type': 'str'}, 'parameters': {'key': 'parameters', 'type': '{object}'}, } def __init__( self, *, type: Union[str, "DatasetReferenceType"], reference_name: str, parameters: Optional[Dict[str, object]] = None, **kwargs ): super(DatasetReference, self).__init__(**kwargs) self.type = type self.reference_name = reference_name self.parameters = parameters
[docs]class DatasetResource(SubResource): """Dataset resource type. Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. :ivar id: Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. :vartype id: str :ivar name: The name of the resource. :vartype name: str :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts". :vartype type: str :ivar etag: Resource Etag. :vartype etag: str :param properties: Required. Dataset properties. :type properties: ~azure.synapse.artifacts.models.Dataset """ _validation = { 'id': {'readonly': True}, 'name': {'readonly': True}, 'type': {'readonly': True}, 'etag': {'readonly': True}, 'properties': {'required': True}, } _attribute_map = { 'id': {'key': 'id', 'type': 'str'}, 'name': {'key': 'name', 'type': 'str'}, 'type': {'key': 'type', 'type': 'str'}, 'etag': {'key': 'etag', 'type': 'str'}, 'properties': {'key': 'properties', 'type': 'Dataset'}, } def __init__( self, *, properties: "Dataset", **kwargs ): super(DatasetResource, self).__init__(**kwargs) self.properties = properties
[docs]class DatasetSchemaDataElement(msrest.serialization.Model): """Columns that define the physical type schema of the dataset. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param name: Name of the schema column. Type: string (or Expression with resultType string). :type name: object :param type: Type of the schema column. Type: string (or Expression with resultType string). :type type: object """ _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'name': {'key': 'name', 'type': 'object'}, 'type': {'key': 'type', 'type': 'object'}, } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, name: Optional[object] = None, type: Optional[object] = None, **kwargs ): super(DatasetSchemaDataElement, self).__init__(**kwargs) self.additional_properties = additional_properties self.name = name self.type = type
[docs]class DatasetTarCompression(DatasetCompression): """The Tar archive method used on a dataset. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Type of dataset compression.Constant filled by server. :type type: str """ _validation = { 'type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, **kwargs ): super(DatasetTarCompression, self).__init__(additional_properties=additional_properties, **kwargs) self.type = 'Tar' # type: str
[docs]class DatasetTarGZipCompression(DatasetCompression): """The TarGZip compression method used on a dataset. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Type of dataset compression.Constant filled by server. :type type: str :param level: The TarGZip compression level. :type level: object """ _validation = { 'type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'level': {'key': 'level', 'type': 'object'}, } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, level: Optional[object] = None, **kwargs ): super(DatasetTarGZipCompression, self).__init__(additional_properties=additional_properties, **kwargs) self.type = 'TarGZip' # type: str self.level = level
[docs]class DatasetZipDeflateCompression(DatasetCompression): """The ZipDeflate compression method used on a dataset. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Type of dataset compression.Constant filled by server. :type type: str :param level: The ZipDeflate compression level. :type level: object """ _validation = { 'type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'level': {'key': 'level', 'type': 'object'}, } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, level: Optional[object] = None, **kwargs ): super(DatasetZipDeflateCompression, self).__init__(additional_properties=additional_properties, **kwargs) self.type = 'ZipDeflate' # type: str self.level = level
[docs]class Db2LinkedService(LinkedService): """Linked service for DB2 data source. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. :type connect_via: ~azure.synapse.artifacts.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. :type parameters: dict[str, ~azure.synapse.artifacts.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param connection_string: The connection string. It is mutually exclusive with server, database, authenticationType, userName, packageCollection and certificateCommonName property. Type: string, SecureString or AzureKeyVaultSecretReference. :type connection_string: object :param server: Required. Server name for connection. It is mutually exclusive with connectionString property. Type: string (or Expression with resultType string). :type server: object :param database: Required. Database name for connection. It is mutually exclusive with connectionString property. Type: string (or Expression with resultType string). :type database: object :param authentication_type: AuthenticationType to be used for connection. It is mutually exclusive with connectionString property. Possible values include: "Basic". :type authentication_type: str or ~azure.synapse.artifacts.models.Db2AuthenticationType :param username: Username for authentication. It is mutually exclusive with connectionString property. Type: string (or Expression with resultType string). :type username: object :param password: Password for authentication. :type password: ~azure.synapse.artifacts.models.SecretBase :param package_collection: Under where packages are created when querying database. It is mutually exclusive with connectionString property. Type: string (or Expression with resultType string). :type package_collection: object :param certificate_common_name: Certificate Common Name when TLS is enabled. It is mutually exclusive with connectionString property. Type: string (or Expression with resultType string). :type certificate_common_name: object :param encrypted_credential: The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. It is mutually exclusive with connectionString property. Type: string (or Expression with resultType string). :type encrypted_credential: object """ _validation = { 'type': {'required': True}, 'server': {'required': True}, 'database': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'connect_via': {'key': 'connectVia', 'type': 'IntegrationRuntimeReference'}, 'description': {'key': 'description', 'type': 'str'}, 'parameters': {'key': 'parameters', 'type': '{ParameterSpecification}'}, 'annotations': {'key': 'annotations', 'type': '[object]'}, 'connection_string': {'key': 'typeProperties.connectionString', 'type': 'object'}, 'server': {'key': 'typeProperties.server', 'type': 'object'}, 'database': {'key': 'typeProperties.database', 'type': 'object'}, 'authentication_type': {'key': 'typeProperties.authenticationType', 'type': 'str'}, 'username': {'key': 'typeProperties.username', 'type': 'object'}, 'password': {'key': 'typeProperties.password', 'type': 'SecretBase'}, 'package_collection': {'key': 'typeProperties.packageCollection', 'type': 'object'}, 'certificate_common_name': {'key': 'typeProperties.certificateCommonName', 'type': 'object'}, 'encrypted_credential': {'key': 'typeProperties.encryptedCredential', 'type': 'object'}, } def __init__( self, *, server: object, database: object, additional_properties: Optional[Dict[str, object]] = None, connect_via: Optional["IntegrationRuntimeReference"] = None, description: Optional[str] = None, parameters: Optional[Dict[str, "ParameterSpecification"]] = None, annotations: Optional[List[object]] = None, connection_string: Optional[object] = None, authentication_type: Optional[Union[str, "Db2AuthenticationType"]] = None, username: Optional[object] = None, password: Optional["SecretBase"] = None, package_collection: Optional[object] = None, certificate_common_name: Optional[object] = None, encrypted_credential: Optional[object] = None, **kwargs ): super(Db2LinkedService, self).__init__(additional_properties=additional_properties, connect_via=connect_via, description=description, parameters=parameters, annotations=annotations, **kwargs) self.type = 'Db2' # type: str self.connection_string = connection_string self.server = server self.database = database self.authentication_type = authentication_type self.username = username self.password = password self.package_collection = package_collection self.certificate_common_name = certificate_common_name self.encrypted_credential = encrypted_credential
[docs]class Db2Source(TabularSource): """A copy activity source for Db2 databases. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Copy source type.Constant filled by server. :type type: str :param source_retry_count: Source retry count. Type: integer (or Expression with resultType integer). :type source_retry_count: object :param source_retry_wait: Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type source_retry_wait: object :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object :param query_timeout: Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type query_timeout: object :param additional_columns: Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects). :type additional_columns: list[~azure.synapse.artifacts.models.AdditionalColumns] :param query: Database query. Type: string (or Expression with resultType string). :type query: object """ _validation = { 'type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, 'query': {'key': 'query', 'type': 'object'}, } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, source_retry_count: Optional[object] = None, source_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, query_timeout: Optional[object] = None, additional_columns: Optional[List["AdditionalColumns"]] = None, query: Optional[object] = None, **kwargs ): super(Db2Source, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, query_timeout=query_timeout, additional_columns=additional_columns, **kwargs) self.type = 'Db2Source' # type: str self.query = query
[docs]class Db2TableDataset(Dataset): """The Db2 table dataset. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Type of dataset.Constant filled by server. :type type: str :param description: Dataset description. :type description: str :param structure: Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. :type structure: object :param schema: Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. :type linked_service_name: ~azure.synapse.artifacts.models.LinkedServiceReference :param parameters: Parameters for dataset. :type parameters: dict[str, ~azure.synapse.artifacts.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. :type folder: ~azure.synapse.artifacts.models.DatasetFolder :param table_name: This property will be retired. Please consider using schema + table properties instead. :type table_name: object :param schema_type_properties_schema: The Db2 schema name. Type: string (or Expression with resultType string). :type schema_type_properties_schema: object :param table: The Db2 table name. Type: string (or Expression with resultType string). :type table: object """ _validation = { 'type': {'required': True}, 'linked_service_name': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'description': {'key': 'description', 'type': 'str'}, 'structure': {'key': 'structure', 'type': 'object'}, 'schema': {'key': 'schema', 'type': 'object'}, 'linked_service_name': {'key': 'linkedServiceName', 'type': 'LinkedServiceReference'}, 'parameters': {'key': 'parameters', 'type': '{ParameterSpecification}'}, 'annotations': {'key': 'annotations', 'type': '[object]'}, 'folder': {'key': 'folder', 'type': 'DatasetFolder'}, 'table_name': {'key': 'typeProperties.tableName', 'type': 'object'}, 'schema_type_properties_schema': {'key': 'typeProperties.schema', 'type': 'object'}, 'table': {'key': 'typeProperties.table', 'type': 'object'}, } def __init__( self, *, linked_service_name: "LinkedServiceReference", additional_properties: Optional[Dict[str, object]] = None, description: Optional[str] = None, structure: Optional[object] = None, schema: Optional[object] = None, parameters: Optional[Dict[str, "ParameterSpecification"]] = None, annotations: Optional[List[object]] = None, folder: Optional["DatasetFolder"] = None, table_name: Optional[object] = None, schema_type_properties_schema: Optional[object] = None, table: Optional[object] = None, **kwargs ): super(Db2TableDataset, self).__init__(additional_properties=additional_properties, description=description, structure=structure, schema=schema, linked_service_name=linked_service_name, parameters=parameters, annotations=annotations, folder=folder, **kwargs) self.type = 'Db2Table' # type: str self.table_name = table_name self.schema_type_properties_schema = schema_type_properties_schema self.table = table
[docs]class DeleteActivity(ExecutionActivity): """Delete activity. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param name: Required. Activity name. :type name: str :param type: Required. Type of activity.Constant filled by server. :type type: str :param description: Activity description. :type description: str :param depends_on: Activity depends on condition. :type depends_on: list[~azure.synapse.artifacts.models.ActivityDependency] :param user_properties: Activity user properties. :type user_properties: list[~azure.synapse.artifacts.models.UserProperty] :param linked_service_name: Linked service reference. :type linked_service_name: ~azure.synapse.artifacts.models.LinkedServiceReference :param policy: Activity policy. :type policy: ~azure.synapse.artifacts.models.ActivityPolicy :param recursive: If true, files or sub-folders under current folder path will be deleted recursively. Default is false. Type: boolean (or Expression with resultType boolean). :type recursive: object :param max_concurrent_connections: The max concurrent connections to connect data source at the same time. :type max_concurrent_connections: int :param enable_logging: Whether to record detailed logs of delete-activity execution. Default value is false. Type: boolean (or Expression with resultType boolean). :type enable_logging: object :param log_storage_settings: Log storage settings customer need to provide when enableLogging is true. :type log_storage_settings: ~azure.synapse.artifacts.models.LogStorageSettings :param dataset: Required. Delete activity dataset reference. :type dataset: ~azure.synapse.artifacts.models.DatasetReference :param store_settings: Delete activity store settings. :type store_settings: ~azure.synapse.artifacts.models.StoreReadSettings """ _validation = { 'name': {'required': True}, 'type': {'required': True}, 'max_concurrent_connections': {'minimum': 1}, 'dataset': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'name': {'key': 'name', 'type': 'str'}, 'type': {'key': 'type', 'type': 'str'}, 'description': {'key': 'description', 'type': 'str'}, 'depends_on': {'key': 'dependsOn', 'type': '[ActivityDependency]'}, 'user_properties': {'key': 'userProperties', 'type': '[UserProperty]'}, 'linked_service_name': {'key': 'linkedServiceName', 'type': 'LinkedServiceReference'}, 'policy': {'key': 'policy', 'type': 'ActivityPolicy'}, 'recursive': {'key': 'typeProperties.recursive', 'type': 'object'}, 'max_concurrent_connections': {'key': 'typeProperties.maxConcurrentConnections', 'type': 'int'}, 'enable_logging': {'key': 'typeProperties.enableLogging', 'type': 'object'}, 'log_storage_settings': {'key': 'typeProperties.logStorageSettings', 'type': 'LogStorageSettings'}, 'dataset': {'key': 'typeProperties.dataset', 'type': 'DatasetReference'}, 'store_settings': {'key': 'typeProperties.storeSettings', 'type': 'StoreReadSettings'}, } def __init__( self, *, name: str, dataset: "DatasetReference", additional_properties: Optional[Dict[str, object]] = None, description: Optional[str] = None, depends_on: Optional[List["ActivityDependency"]] = None, user_properties: Optional[List["UserProperty"]] = None, linked_service_name: Optional["LinkedServiceReference"] = None, policy: Optional["ActivityPolicy"] = None, recursive: Optional[object] = None, max_concurrent_connections: Optional[int] = None, enable_logging: Optional[object] = None, log_storage_settings: Optional["LogStorageSettings"] = None, store_settings: Optional["StoreReadSettings"] = None, **kwargs ): super(DeleteActivity, self).__init__(additional_properties=additional_properties, name=name, description=description, depends_on=depends_on, user_properties=user_properties, linked_service_name=linked_service_name, policy=policy, **kwargs) self.type = 'Delete' # type: str self.recursive = recursive self.max_concurrent_connections = max_concurrent_connections self.enable_logging = enable_logging self.log_storage_settings = log_storage_settings self.dataset = dataset self.store_settings = store_settings
[docs]class DeleteDataFlowDebugSessionRequest(msrest.serialization.Model): """Request body structure for deleting data flow debug session. :param session_id: The ID of data flow debug session. :type session_id: str :param data_flow_name: The data flow which contains the debug session. :type data_flow_name: str """ _attribute_map = { 'session_id': {'key': 'sessionId', 'type': 'str'}, 'data_flow_name': {'key': 'dataFlowName', 'type': 'str'}, } def __init__( self, *, session_id: Optional[str] = None, data_flow_name: Optional[str] = None, **kwargs ): super(DeleteDataFlowDebugSessionRequest, self).__init__(**kwargs) self.session_id = session_id self.data_flow_name = data_flow_name
[docs]class DelimitedTextDataset(Dataset): """Delimited text dataset. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Type of dataset.Constant filled by server. :type type: str :param description: Dataset description. :type description: str :param structure: Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. :type structure: object :param schema: Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. :type linked_service_name: ~azure.synapse.artifacts.models.LinkedServiceReference :param parameters: Parameters for dataset. :type parameters: dict[str, ~azure.synapse.artifacts.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. :type folder: ~azure.synapse.artifacts.models.DatasetFolder :param location: The location of the delimited text storage. :type location: ~azure.synapse.artifacts.models.DatasetLocation :param column_delimiter: The column delimiter. Type: string (or Expression with resultType string). :type column_delimiter: object :param row_delimiter: The row delimiter. Type: string (or Expression with resultType string). :type row_delimiter: object :param encoding_name: The code page name of the preferred encoding. If miss, the default value is UTF-8, unless BOM denotes another Unicode encoding. Refer to the name column of the table in the following link to set supported values: https://msdn.microsoft.com/library/system.text.encoding.aspx. Type: string (or Expression with resultType string). :type encoding_name: object :param compression_codec: Possible values include: "bzip2", "gzip", "deflate", "zipDeflate", "snappy", "lz4", "tar", "tarGZip". :type compression_codec: str or ~azure.synapse.artifacts.models.CompressionCodec :param compression_level: The data compression method used for DelimitedText. :type compression_level: object :param quote_char: The quote character. Type: string (or Expression with resultType string). :type quote_char: object :param escape_char: The escape character. Type: string (or Expression with resultType string). :type escape_char: object :param first_row_as_header: When used as input, treat the first row of data as headers. When used as output,write the headers into the output as the first row of data. The default value is false. Type: boolean (or Expression with resultType boolean). :type first_row_as_header: object :param null_value: The null value string. Type: string (or Expression with resultType string). :type null_value: object """ _validation = { 'type': {'required': True}, 'linked_service_name': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'description': {'key': 'description', 'type': 'str'}, 'structure': {'key': 'structure', 'type': 'object'}, 'schema': {'key': 'schema', 'type': 'object'}, 'linked_service_name': {'key': 'linkedServiceName', 'type': 'LinkedServiceReference'}, 'parameters': {'key': 'parameters', 'type': '{ParameterSpecification}'}, 'annotations': {'key': 'annotations', 'type': '[object]'}, 'folder': {'key': 'folder', 'type': 'DatasetFolder'}, 'location': {'key': 'typeProperties.location', 'type': 'DatasetLocation'}, 'column_delimiter': {'key': 'typeProperties.columnDelimiter', 'type': 'object'}, 'row_delimiter': {'key': 'typeProperties.rowDelimiter', 'type': 'object'}, 'encoding_name': {'key': 'typeProperties.encodingName', 'type': 'object'}, 'compression_codec': {'key': 'typeProperties.compressionCodec', 'type': 'str'}, 'compression_level': {'key': 'typeProperties.compressionLevel', 'type': 'object'}, 'quote_char': {'key': 'typeProperties.quoteChar', 'type': 'object'}, 'escape_char': {'key': 'typeProperties.escapeChar', 'type': 'object'}, 'first_row_as_header': {'key': 'typeProperties.firstRowAsHeader', 'type': 'object'}, 'null_value': {'key': 'typeProperties.nullValue', 'type': 'object'}, } def __init__( self, *, linked_service_name: "LinkedServiceReference", additional_properties: Optional[Dict[str, object]] = None, description: Optional[str] = None, structure: Optional[object] = None, schema: Optional[object] = None, parameters: Optional[Dict[str, "ParameterSpecification"]] = None, annotations: Optional[List[object]] = None, folder: Optional["DatasetFolder"] = None, location: Optional["DatasetLocation"] = None, column_delimiter: Optional[object] = None, row_delimiter: Optional[object] = None, encoding_name: Optional[object] = None, compression_codec: Optional[Union[str, "CompressionCodec"]] = None, compression_level: Optional[object] = None, quote_char: Optional[object] = None, escape_char: Optional[object] = None, first_row_as_header: Optional[object] = None, null_value: Optional[object] = None, **kwargs ): super(DelimitedTextDataset, self).__init__(additional_properties=additional_properties, description=description, structure=structure, schema=schema, linked_service_name=linked_service_name, parameters=parameters, annotations=annotations, folder=folder, **kwargs) self.type = 'DelimitedText' # type: str self.location = location self.column_delimiter = column_delimiter self.row_delimiter = row_delimiter self.encoding_name = encoding_name self.compression_codec = compression_codec self.compression_level = compression_level self.quote_char = quote_char self.escape_char = escape_char self.first_row_as_header = first_row_as_header self.null_value = null_value
[docs]class DelimitedTextReadSettings(FormatReadSettings): """Delimited text read settings. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. The read setting type.Constant filled by server. :type type: str :param skip_line_count: Indicates the number of non-empty rows to skip when reading data from input files. Type: integer (or Expression with resultType integer). :type skip_line_count: object :param compression_properties: Compression settings. :type compression_properties: ~azure.synapse.artifacts.models.CompressionReadSettings """ _validation = { 'type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'skip_line_count': {'key': 'skipLineCount', 'type': 'object'}, 'compression_properties': {'key': 'compressionProperties', 'type': 'CompressionReadSettings'}, } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, skip_line_count: Optional[object] = None, compression_properties: Optional["CompressionReadSettings"] = None, **kwargs ): super(DelimitedTextReadSettings, self).__init__(additional_properties=additional_properties, **kwargs) self.type = 'DelimitedTextReadSettings' # type: str self.skip_line_count = skip_line_count self.compression_properties = compression_properties
[docs]class DelimitedTextSink(CopySink): """A copy activity DelimitedText sink. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Copy sink type.Constant filled by server. :type type: str :param write_batch_size: Write batch size. Type: integer (or Expression with resultType integer), minimum: 0. :type write_batch_size: object :param write_batch_timeout: Write batch timeout. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type write_batch_timeout: object :param sink_retry_count: Sink retry count. Type: integer (or Expression with resultType integer). :type sink_retry_count: object :param sink_retry_wait: Sink retry wait. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type sink_retry_wait: object :param max_concurrent_connections: The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object :param store_settings: DelimitedText store settings. :type store_settings: ~azure.synapse.artifacts.models.StoreWriteSettings :param format_settings: DelimitedText format settings. :type format_settings: ~azure.synapse.artifacts.models.DelimitedTextWriteSettings """ _validation = { 'type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'write_batch_size': {'key': 'writeBatchSize', 'type': 'object'}, 'write_batch_timeout': {'key': 'writeBatchTimeout', 'type': 'object'}, 'sink_retry_count': {'key': 'sinkRetryCount', 'type': 'object'}, 'sink_retry_wait': {'key': 'sinkRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'store_settings': {'key': 'storeSettings', 'type': 'StoreWriteSettings'}, 'format_settings': {'key': 'formatSettings', 'type': 'DelimitedTextWriteSettings'}, } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, write_batch_size: Optional[object] = None, write_batch_timeout: Optional[object] = None, sink_retry_count: Optional[object] = None, sink_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, store_settings: Optional["StoreWriteSettings"] = None, format_settings: Optional["DelimitedTextWriteSettings"] = None, **kwargs ): super(DelimitedTextSink, self).__init__(additional_properties=additional_properties, write_batch_size=write_batch_size, write_batch_timeout=write_batch_timeout, sink_retry_count=sink_retry_count, sink_retry_wait=sink_retry_wait, max_concurrent_connections=max_concurrent_connections, **kwargs) self.type = 'DelimitedTextSink' # type: str self.store_settings = store_settings self.format_settings = format_settings
[docs]class DelimitedTextSource(CopySource): """A copy activity DelimitedText source. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Copy source type.Constant filled by server. :type type: str :param source_retry_count: Source retry count. Type: integer (or Expression with resultType integer). :type source_retry_count: object :param source_retry_wait: Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type source_retry_wait: object :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object :param store_settings: DelimitedText store settings. :type store_settings: ~azure.synapse.artifacts.models.StoreReadSettings :param format_settings: DelimitedText format settings. :type format_settings: ~azure.synapse.artifacts.models.DelimitedTextReadSettings :param additional_columns: Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects). :type additional_columns: list[~azure.synapse.artifacts.models.AdditionalColumns] """ _validation = { 'type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'store_settings': {'key': 'storeSettings', 'type': 'StoreReadSettings'}, 'format_settings': {'key': 'formatSettings', 'type': 'DelimitedTextReadSettings'}, 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, source_retry_count: Optional[object] = None, source_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, store_settings: Optional["StoreReadSettings"] = None, format_settings: Optional["DelimitedTextReadSettings"] = None, additional_columns: Optional[List["AdditionalColumns"]] = None, **kwargs ): super(DelimitedTextSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, **kwargs) self.type = 'DelimitedTextSource' # type: str self.store_settings = store_settings self.format_settings = format_settings self.additional_columns = additional_columns
[docs]class DelimitedTextWriteSettings(FormatWriteSettings): """Delimited text write settings. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. The write setting type.Constant filled by server. :type type: str :param quote_all_text: Indicates whether string values should always be enclosed with quotes. Type: boolean (or Expression with resultType boolean). :type quote_all_text: object :param file_extension: Required. The file extension used to create the files. Type: string (or Expression with resultType string). :type file_extension: object :param max_rows_per_file: Limit the written file's row count to be smaller than or equal to the specified count. Type: integer (or Expression with resultType integer). :type max_rows_per_file: object :param file_name_prefix: Specifies the file name pattern :code:`<fileNamePrefix>`_:code:`<fileIndex>`.:code:`<fileExtension>` when copy from non-file based store without partitionOptions. Type: string (or Expression with resultType string). :type file_name_prefix: object """ _validation = { 'type': {'required': True}, 'file_extension': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'quote_all_text': {'key': 'quoteAllText', 'type': 'object'}, 'file_extension': {'key': 'fileExtension', 'type': 'object'}, 'max_rows_per_file': {'key': 'maxRowsPerFile', 'type': 'object'}, 'file_name_prefix': {'key': 'fileNamePrefix', 'type': 'object'}, } def __init__( self, *, file_extension: object, additional_properties: Optional[Dict[str, object]] = None, quote_all_text: Optional[object] = None, max_rows_per_file: Optional[object] = None, file_name_prefix: Optional[object] = None, **kwargs ): super(DelimitedTextWriteSettings, self).__init__(additional_properties=additional_properties, **kwargs) self.type = 'DelimitedTextWriteSettings' # type: str self.quote_all_text = quote_all_text self.file_extension = file_extension self.max_rows_per_file = max_rows_per_file self.file_name_prefix = file_name_prefix
[docs]class DependencyReference(msrest.serialization.Model): """Referenced dependency. You probably want to use the sub-classes and not this class directly. Known sub-classes are: SelfDependencyTumblingWindowTriggerReference, TriggerDependencyReference. All required parameters must be populated in order to send to Azure. :param type: Required. The type of dependency reference.Constant filled by server. :type type: str """ _validation = { 'type': {'required': True}, } _attribute_map = { 'type': {'key': 'type', 'type': 'str'}, } _subtype_map = { 'type': {'SelfDependencyTumblingWindowTriggerReference': 'SelfDependencyTumblingWindowTriggerReference', 'TriggerDependencyReference': 'TriggerDependencyReference'} } def __init__( self, **kwargs ): super(DependencyReference, self).__init__(**kwargs) self.type = None # type: Optional[str]
[docs]class DistcpSettings(msrest.serialization.Model): """Distcp settings. All required parameters must be populated in order to send to Azure. :param resource_manager_endpoint: Required. Specifies the Yarn ResourceManager endpoint. Type: string (or Expression with resultType string). :type resource_manager_endpoint: object :param temp_script_path: Required. Specifies an existing folder path which will be used to store temp Distcp command script. The script file is generated by ADF and will be removed after Copy job finished. Type: string (or Expression with resultType string). :type temp_script_path: object :param distcp_options: Specifies the Distcp options. Type: string (or Expression with resultType string). :type distcp_options: object """ _validation = { 'resource_manager_endpoint': {'required': True}, 'temp_script_path': {'required': True}, } _attribute_map = { 'resource_manager_endpoint': {'key': 'resourceManagerEndpoint', 'type': 'object'}, 'temp_script_path': {'key': 'tempScriptPath', 'type': 'object'}, 'distcp_options': {'key': 'distcpOptions', 'type': 'object'}, } def __init__( self, *, resource_manager_endpoint: object, temp_script_path: object, distcp_options: Optional[object] = None, **kwargs ): super(DistcpSettings, self).__init__(**kwargs) self.resource_manager_endpoint = resource_manager_endpoint self.temp_script_path = temp_script_path self.distcp_options = distcp_options
[docs]class DocumentDbCollectionDataset(Dataset): """Microsoft Azure Document Database Collection dataset. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Type of dataset.Constant filled by server. :type type: str :param description: Dataset description. :type description: str :param structure: Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. :type structure: object :param schema: Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. :type linked_service_name: ~azure.synapse.artifacts.models.LinkedServiceReference :param parameters: Parameters for dataset. :type parameters: dict[str, ~azure.synapse.artifacts.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. :type folder: ~azure.synapse.artifacts.models.DatasetFolder :param collection_name: Required. Document Database collection name. Type: string (or Expression with resultType string). :type collection_name: object """ _validation = { 'type': {'required': True}, 'linked_service_name': {'required': True}, 'collection_name': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'description': {'key': 'description', 'type': 'str'}, 'structure': {'key': 'structure', 'type': 'object'}, 'schema': {'key': 'schema', 'type': 'object'}, 'linked_service_name': {'key': 'linkedServiceName', 'type': 'LinkedServiceReference'}, 'parameters': {'key': 'parameters', 'type': '{ParameterSpecification}'}, 'annotations': {'key': 'annotations', 'type': '[object]'}, 'folder': {'key': 'folder', 'type': 'DatasetFolder'}, 'collection_name': {'key': 'typeProperties.collectionName', 'type': 'object'}, } def __init__( self, *, linked_service_name: "LinkedServiceReference", collection_name: object, additional_properties: Optional[Dict[str, object]] = None, description: Optional[str] = None, structure: Optional[object] = None, schema: Optional[object] = None, parameters: Optional[Dict[str, "ParameterSpecification"]] = None, annotations: Optional[List[object]] = None, folder: Optional["DatasetFolder"] = None, **kwargs ): super(DocumentDbCollectionDataset, self).__init__(additional_properties=additional_properties, description=description, structure=structure, schema=schema, linked_service_name=linked_service_name, parameters=parameters, annotations=annotations, folder=folder, **kwargs) self.type = 'DocumentDbCollection' # type: str self.collection_name = collection_name
[docs]class DocumentDbCollectionSink(CopySink): """A copy activity Document Database Collection sink. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Copy sink type.Constant filled by server. :type type: str :param write_batch_size: Write batch size. Type: integer (or Expression with resultType integer), minimum: 0. :type write_batch_size: object :param write_batch_timeout: Write batch timeout. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type write_batch_timeout: object :param sink_retry_count: Sink retry count. Type: integer (or Expression with resultType integer). :type sink_retry_count: object :param sink_retry_wait: Sink retry wait. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type sink_retry_wait: object :param max_concurrent_connections: The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object :param nesting_separator: Nested properties separator. Default is . (dot). Type: string (or Expression with resultType string). :type nesting_separator: object :param write_behavior: Describes how to write data to Azure Cosmos DB. Type: string (or Expression with resultType string). Allowed values: insert and upsert. :type write_behavior: object """ _validation = { 'type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'write_batch_size': {'key': 'writeBatchSize', 'type': 'object'}, 'write_batch_timeout': {'key': 'writeBatchTimeout', 'type': 'object'}, 'sink_retry_count': {'key': 'sinkRetryCount', 'type': 'object'}, 'sink_retry_wait': {'key': 'sinkRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'nesting_separator': {'key': 'nestingSeparator', 'type': 'object'}, 'write_behavior': {'key': 'writeBehavior', 'type': 'object'}, } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, write_batch_size: Optional[object] = None, write_batch_timeout: Optional[object] = None, sink_retry_count: Optional[object] = None, sink_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, nesting_separator: Optional[object] = None, write_behavior: Optional[object] = None, **kwargs ): super(DocumentDbCollectionSink, self).__init__(additional_properties=additional_properties, write_batch_size=write_batch_size, write_batch_timeout=write_batch_timeout, sink_retry_count=sink_retry_count, sink_retry_wait=sink_retry_wait, max_concurrent_connections=max_concurrent_connections, **kwargs) self.type = 'DocumentDbCollectionSink' # type: str self.nesting_separator = nesting_separator self.write_behavior = write_behavior
[docs]class DocumentDbCollectionSource(CopySource): """A copy activity Document Database Collection source. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Copy source type.Constant filled by server. :type type: str :param source_retry_count: Source retry count. Type: integer (or Expression with resultType integer). :type source_retry_count: object :param source_retry_wait: Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type source_retry_wait: object :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object :param query: Documents query. Type: string (or Expression with resultType string). :type query: object :param nesting_separator: Nested properties separator. Type: string (or Expression with resultType string). :type nesting_separator: object :param query_timeout: Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type query_timeout: object :param additional_columns: Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects). :type additional_columns: list[~azure.synapse.artifacts.models.AdditionalColumns] """ _validation = { 'type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, 'nesting_separator': {'key': 'nestingSeparator', 'type': 'object'}, 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, source_retry_count: Optional[object] = None, source_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, query: Optional[object] = None, nesting_separator: Optional[object] = None, query_timeout: Optional[object] = None, additional_columns: Optional[List["AdditionalColumns"]] = None, **kwargs ): super(DocumentDbCollectionSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, **kwargs) self.type = 'DocumentDbCollectionSource' # type: str self.query = query self.nesting_separator = nesting_separator self.query_timeout = query_timeout self.additional_columns = additional_columns
[docs]class DrillLinkedService(LinkedService): """Drill server linked service. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. :type connect_via: ~azure.synapse.artifacts.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. :type parameters: dict[str, ~azure.synapse.artifacts.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param connection_string: An ODBC connection string. Type: string, SecureString or AzureKeyVaultSecretReference. :type connection_string: object :param pwd: The Azure key vault secret reference of password in connection string. :type pwd: ~azure.synapse.artifacts.models.AzureKeyVaultSecretReference :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). :type encrypted_credential: object """ _validation = { 'type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'connect_via': {'key': 'connectVia', 'type': 'IntegrationRuntimeReference'}, 'description': {'key': 'description', 'type': 'str'}, 'parameters': {'key': 'parameters', 'type': '{ParameterSpecification}'}, 'annotations': {'key': 'annotations', 'type': '[object]'}, 'connection_string': {'key': 'typeProperties.connectionString', 'type': 'object'}, 'pwd': {'key': 'typeProperties.pwd', 'type': 'AzureKeyVaultSecretReference'}, 'encrypted_credential': {'key': 'typeProperties.encryptedCredential', 'type': 'object'}, } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, connect_via: Optional["IntegrationRuntimeReference"] = None, description: Optional[str] = None, parameters: Optional[Dict[str, "ParameterSpecification"]] = None, annotations: Optional[List[object]] = None, connection_string: Optional[object] = None, pwd: Optional["AzureKeyVaultSecretReference"] = None, encrypted_credential: Optional[object] = None, **kwargs ): super(DrillLinkedService, self).__init__(additional_properties=additional_properties, connect_via=connect_via, description=description, parameters=parameters, annotations=annotations, **kwargs) self.type = 'Drill' # type: str self.connection_string = connection_string self.pwd = pwd self.encrypted_credential = encrypted_credential
[docs]class DrillSource(TabularSource): """A copy activity Drill server source. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Copy source type.Constant filled by server. :type type: str :param source_retry_count: Source retry count. Type: integer (or Expression with resultType integer). :type source_retry_count: object :param source_retry_wait: Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type source_retry_wait: object :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object :param query_timeout: Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type query_timeout: object :param additional_columns: Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects). :type additional_columns: list[~azure.synapse.artifacts.models.AdditionalColumns] :param query: A query to retrieve data from source. Type: string (or Expression with resultType string). :type query: object """ _validation = { 'type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, 'query': {'key': 'query', 'type': 'object'}, } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, source_retry_count: Optional[object] = None, source_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, query_timeout: Optional[object] = None, additional_columns: Optional[List["AdditionalColumns"]] = None, query: Optional[object] = None, **kwargs ): super(DrillSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, query_timeout=query_timeout, additional_columns=additional_columns, **kwargs) self.type = 'DrillSource' # type: str self.query = query
[docs]class DrillTableDataset(Dataset): """Drill server dataset. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Type of dataset.Constant filled by server. :type type: str :param description: Dataset description. :type description: str :param structure: Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. :type structure: object :param schema: Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. :type linked_service_name: ~azure.synapse.artifacts.models.LinkedServiceReference :param parameters: Parameters for dataset. :type parameters: dict[str, ~azure.synapse.artifacts.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. :type folder: ~azure.synapse.artifacts.models.DatasetFolder :param table_name: This property will be retired. Please consider using schema + table properties instead. :type table_name: object :param table: The table name of the Drill. Type: string (or Expression with resultType string). :type table: object :param schema_type_properties_schema: The schema name of the Drill. Type: string (or Expression with resultType string). :type schema_type_properties_schema: object """ _validation = { 'type': {'required': True}, 'linked_service_name': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'description': {'key': 'description', 'type': 'str'}, 'structure': {'key': 'structure', 'type': 'object'}, 'schema': {'key': 'schema', 'type': 'object'}, 'linked_service_name': {'key': 'linkedServiceName', 'type': 'LinkedServiceReference'}, 'parameters': {'key': 'parameters', 'type': '{ParameterSpecification}'}, 'annotations': {'key': 'annotations', 'type': '[object]'}, 'folder': {'key': 'folder', 'type': 'DatasetFolder'}, 'table_name': {'key': 'typeProperties.tableName', 'type': 'object'}, 'table': {'key': 'typeProperties.table', 'type': 'object'}, 'schema_type_properties_schema': {'key': 'typeProperties.schema', 'type': 'object'}, } def __init__( self, *, linked_service_name: "LinkedServiceReference", additional_properties: Optional[Dict[str, object]] = None, description: Optional[str] = None, structure: Optional[object] = None, schema: Optional[object] = None, parameters: Optional[Dict[str, "ParameterSpecification"]] = None, annotations: Optional[List[object]] = None, folder: Optional["DatasetFolder"] = None, table_name: Optional[object] = None, table: Optional[object] = None, schema_type_properties_schema: Optional[object] = None, **kwargs ): super(DrillTableDataset, self).__init__(additional_properties=additional_properties, description=description, structure=structure, schema=schema, linked_service_name=linked_service_name, parameters=parameters, annotations=annotations, folder=folder, **kwargs) self.type = 'DrillTable' # type: str self.table_name = table_name self.table = table self.schema_type_properties_schema = schema_type_properties_schema
[docs]class DWCopyCommandDefaultValue(msrest.serialization.Model): """Default value. :param column_name: Column name. Type: object (or Expression with resultType string). :type column_name: object :param default_value: The default value of the column. Type: object (or Expression with resultType string). :type default_value: object """ _attribute_map = { 'column_name': {'key': 'columnName', 'type': 'object'}, 'default_value': {'key': 'defaultValue', 'type': 'object'}, } def __init__( self, *, column_name: Optional[object] = None, default_value: Optional[object] = None, **kwargs ): super(DWCopyCommandDefaultValue, self).__init__(**kwargs) self.column_name = column_name self.default_value = default_value
[docs]class DWCopyCommandSettings(msrest.serialization.Model): """DW Copy Command settings. :param default_values: Specifies the default values for each target column in SQL DW. The default values in the property overwrite the DEFAULT constraint set in the DB, and identity column cannot have a default value. Type: array of objects (or Expression with resultType array of objects). :type default_values: list[~azure.synapse.artifacts.models.DWCopyCommandDefaultValue] :param additional_options: Additional options directly passed to SQL DW in Copy Command. Type: key value pairs (value should be string type) (or Expression with resultType object). Example: "additionalOptions": { "MAXERRORS": "1000", "DATEFORMAT": "'ymd'" }. :type additional_options: dict[str, str] """ _attribute_map = { 'default_values': {'key': 'defaultValues', 'type': '[DWCopyCommandDefaultValue]'}, 'additional_options': {'key': 'additionalOptions', 'type': '{str}'}, } def __init__( self, *, default_values: Optional[List["DWCopyCommandDefaultValue"]] = None, additional_options: Optional[Dict[str, str]] = None, **kwargs ): super(DWCopyCommandSettings, self).__init__(**kwargs) self.default_values = default_values self.additional_options = additional_options
[docs]class DynamicExecutorAllocation(msrest.serialization.Model): """Dynamic Executor Allocation Properties. :param enabled: Indicates whether Dynamic Executor Allocation is enabled or not. :type enabled: bool """ _attribute_map = { 'enabled': {'key': 'enabled', 'type': 'bool'}, } def __init__( self, *, enabled: Optional[bool] = None, **kwargs ): super(DynamicExecutorAllocation, self).__init__(**kwargs) self.enabled = enabled
[docs]class DynamicsAXLinkedService(LinkedService): """Dynamics AX linked service. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. :type connect_via: ~azure.synapse.artifacts.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. :type parameters: dict[str, ~azure.synapse.artifacts.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param url: Required. The Dynamics AX (or Dynamics 365 Finance and Operations) instance OData endpoint. :type url: object :param service_principal_id: Required. Specify the application's client ID. Type: string (or Expression with resultType string). :type service_principal_id: object :param service_principal_key: Required. Specify the application's key. Mark this field as a SecureString to store it securely in Data Factory, or reference a secret stored in Azure Key Vault. Type: string (or Expression with resultType string). :type service_principal_key: ~azure.synapse.artifacts.models.SecretBase :param tenant: Required. Specify the tenant information (domain name or tenant ID) under which your application resides. Retrieve it by hovering the mouse in the top-right corner of the Azure portal. Type: string (or Expression with resultType string). :type tenant: object :param aad_resource_id: Required. Specify the resource you are requesting authorization. Type: string (or Expression with resultType string). :type aad_resource_id: 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). :type encrypted_credential: object """ _validation = { 'type': {'required': True}, 'url': {'required': True}, 'service_principal_id': {'required': True}, 'service_principal_key': {'required': True}, 'tenant': {'required': True}, 'aad_resource_id': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'connect_via': {'key': 'connectVia', 'type': 'IntegrationRuntimeReference'}, 'description': {'key': 'description', 'type': 'str'}, 'parameters': {'key': 'parameters', 'type': '{ParameterSpecification}'}, 'annotations': {'key': 'annotations', 'type': '[object]'}, 'url': {'key': 'typeProperties.url', 'type': 'object'}, 'service_principal_id': {'key': 'typeProperties.servicePrincipalId', 'type': 'object'}, 'service_principal_key': {'key': 'typeProperties.servicePrincipalKey', 'type': 'SecretBase'}, 'tenant': {'key': 'typeProperties.tenant', 'type': 'object'}, 'aad_resource_id': {'key': 'typeProperties.aadResourceId', 'type': 'object'}, 'encrypted_credential': {'key': 'typeProperties.encryptedCredential', 'type': 'object'}, } def __init__( self, *, url: object, service_principal_id: object, service_principal_key: "SecretBase", tenant: object, aad_resource_id: object, additional_properties: Optional[Dict[str, object]] = None, connect_via: Optional["IntegrationRuntimeReference"] = None, description: Optional[str] = None, parameters: Optional[Dict[str, "ParameterSpecification"]] = None, annotations: Optional[List[object]] = None, encrypted_credential: Optional[object] = None, **kwargs ): super(DynamicsAXLinkedService, self).__init__(additional_properties=additional_properties, connect_via=connect_via, description=description, parameters=parameters, annotations=annotations, **kwargs) self.type = 'DynamicsAX' # type: str self.url = url self.service_principal_id = service_principal_id self.service_principal_key = service_principal_key self.tenant = tenant self.aad_resource_id = aad_resource_id self.encrypted_credential = encrypted_credential
[docs]class DynamicsAXResourceDataset(Dataset): """The path of the Dynamics AX OData entity. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Type of dataset.Constant filled by server. :type type: str :param description: Dataset description. :type description: str :param structure: Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. :type structure: object :param schema: Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. :type linked_service_name: ~azure.synapse.artifacts.models.LinkedServiceReference :param parameters: Parameters for dataset. :type parameters: dict[str, ~azure.synapse.artifacts.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. :type folder: ~azure.synapse.artifacts.models.DatasetFolder :param path: Required. The path of the Dynamics AX OData entity. Type: string (or Expression with resultType string). :type path: object """ _validation = { 'type': {'required': True}, 'linked_service_name': {'required': True}, 'path': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'description': {'key': 'description', 'type': 'str'}, 'structure': {'key': 'structure', 'type': 'object'}, 'schema': {'key': 'schema', 'type': 'object'}, 'linked_service_name': {'key': 'linkedServiceName', 'type': 'LinkedServiceReference'}, 'parameters': {'key': 'parameters', 'type': '{ParameterSpecification}'}, 'annotations': {'key': 'annotations', 'type': '[object]'}, 'folder': {'key': 'folder', 'type': 'DatasetFolder'}, 'path': {'key': 'typeProperties.path', 'type': 'object'}, } def __init__( self, *, linked_service_name: "LinkedServiceReference", path: object, additional_properties: Optional[Dict[str, object]] = None, description: Optional[str] = None, structure: Optional[object] = None, schema: Optional[object] = None, parameters: Optional[Dict[str, "ParameterSpecification"]] = None, annotations: Optional[List[object]] = None, folder: Optional["DatasetFolder"] = None, **kwargs ): super(DynamicsAXResourceDataset, self).__init__(additional_properties=additional_properties, description=description, structure=structure, schema=schema, linked_service_name=linked_service_name, parameters=parameters, annotations=annotations, folder=folder, **kwargs) self.type = 'DynamicsAXResource' # type: str self.path = path
[docs]class DynamicsAXSource(TabularSource): """A copy activity Dynamics AX source. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Copy source type.Constant filled by server. :type type: str :param source_retry_count: Source retry count. Type: integer (or Expression with resultType integer). :type source_retry_count: object :param source_retry_wait: Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type source_retry_wait: object :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object :param query_timeout: Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type query_timeout: object :param additional_columns: Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects). :type additional_columns: list[~azure.synapse.artifacts.models.AdditionalColumns] :param query: A query to retrieve data from source. Type: string (or Expression with resultType string). :type query: object :param http_request_timeout: The timeout (TimeSpan) to get an HTTP response. It is the timeout to get a response, not the timeout to read response data. Default value: 00:05:00. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type http_request_timeout: object """ _validation = { 'type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, 'query': {'key': 'query', 'type': 'object'}, 'http_request_timeout': {'key': 'httpRequestTimeout', 'type': 'object'}, } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, source_retry_count: Optional[object] = None, source_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, query_timeout: Optional[object] = None, additional_columns: Optional[List["AdditionalColumns"]] = None, query: Optional[object] = None, http_request_timeout: Optional[object] = None, **kwargs ): super(DynamicsAXSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, query_timeout=query_timeout, additional_columns=additional_columns, **kwargs) self.type = 'DynamicsAXSource' # type: str self.query = query self.http_request_timeout = http_request_timeout
[docs]class DynamicsCrmEntityDataset(Dataset): """The Dynamics CRM entity dataset. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Type of dataset.Constant filled by server. :type type: str :param description: Dataset description. :type description: str :param structure: Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. :type structure: object :param schema: Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. :type linked_service_name: ~azure.synapse.artifacts.models.LinkedServiceReference :param parameters: Parameters for dataset. :type parameters: dict[str, ~azure.synapse.artifacts.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. :type folder: ~azure.synapse.artifacts.models.DatasetFolder :param entity_name: The logical name of the entity. Type: string (or Expression with resultType string). :type entity_name: object """ _validation = { 'type': {'required': True}, 'linked_service_name': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'description': {'key': 'description', 'type': 'str'}, 'structure': {'key': 'structure', 'type': 'object'}, 'schema': {'key': 'schema', 'type': 'object'}, 'linked_service_name': {'key': 'linkedServiceName', 'type': 'LinkedServiceReference'}, 'parameters': {'key': 'parameters', 'type': '{ParameterSpecification}'}, 'annotations': {'key': 'annotations', 'type': '[object]'}, 'folder': {'key': 'folder', 'type': 'DatasetFolder'}, 'entity_name': {'key': 'typeProperties.entityName', 'type': 'object'}, } def __init__( self, *, linked_service_name: "LinkedServiceReference", additional_properties: Optional[Dict[str, object]] = None, description: Optional[str] = None, structure: Optional[object] = None, schema: Optional[object] = None, parameters: Optional[Dict[str, "ParameterSpecification"]] = None, annotations: Optional[List[object]] = None, folder: Optional["DatasetFolder"] = None, entity_name: Optional[object] = None, **kwargs ): super(DynamicsCrmEntityDataset, self).__init__(additional_properties=additional_properties, description=description, structure=structure, schema=schema, linked_service_name=linked_service_name, parameters=parameters, annotations=annotations, folder=folder, **kwargs) self.type = 'DynamicsCrmEntity' # type: str self.entity_name = entity_name
[docs]class DynamicsCrmLinkedService(LinkedService): """Dynamics CRM linked service. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. :type connect_via: ~azure.synapse.artifacts.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. :type parameters: dict[str, ~azure.synapse.artifacts.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param deployment_type: Required. The deployment type of the Dynamics CRM instance. 'Online' for Dynamics CRM Online and 'OnPremisesWithIfd' for Dynamics CRM on-premises with Ifd. Type: string (or Expression with resultType string). Possible values include: "Online", "OnPremisesWithIfd". :type deployment_type: str or ~azure.synapse.artifacts.models.DynamicsDeploymentType :param host_name: The host name of the on-premises Dynamics CRM server. The property is required for on-prem and not allowed for online. Type: string (or Expression with resultType string). :type host_name: object :param port: The port of on-premises Dynamics CRM server. The property is required for on-prem and not allowed for online. Default is 443. Type: integer (or Expression with resultType integer), minimum: 0. :type port: object :param service_uri: The URL to the Microsoft Dynamics CRM server. The property is required for on-line and not allowed for on-prem. Type: string (or Expression with resultType string). :type service_uri: object :param organization_name: The organization name of the Dynamics CRM instance. The property is required for on-prem and required for online when there are more than one Dynamics CRM instances associated with the user. Type: string (or Expression with resultType string). :type organization_name: object :param authentication_type: Required. The authentication type to connect to Dynamics CRM server. 'Office365' for online scenario, 'Ifd' for on-premises with Ifd scenario, 'AADServicePrincipal' for Server-To-Server authentication in online scenario. Type: string (or Expression with resultType string). Possible values include: "Office365", "Ifd", "AADServicePrincipal". :type authentication_type: str or ~azure.synapse.artifacts.models.DynamicsAuthenticationType :param username: User name to access the Dynamics CRM instance. Type: string (or Expression with resultType string). :type username: object :param password: Password to access the Dynamics CRM instance. :type password: ~azure.synapse.artifacts.models.SecretBase :param service_principal_id: The client ID of the application in Azure Active Directory used for Server-To-Server authentication. Type: string (or Expression with resultType string). :type service_principal_id: object :param service_principal_credential_type: A string from ServicePrincipalCredentialEnum or an expression. :type service_principal_credential_type: object :param service_principal_credential: 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. :type service_principal_credential: ~azure.synapse.artifacts.models.SecretBase :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). :type encrypted_credential: object """ _validation = { 'type': {'required': True}, 'deployment_type': {'required': True}, 'authentication_type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'connect_via': {'key': 'connectVia', 'type': 'IntegrationRuntimeReference'}, 'description': {'key': 'description', 'type': 'str'}, 'parameters': {'key': 'parameters', 'type': '{ParameterSpecification}'}, 'annotations': {'key': 'annotations', 'type': '[object]'}, 'deployment_type': {'key': 'typeProperties.deploymentType', 'type': 'str'}, 'host_name': {'key': 'typeProperties.hostName', 'type': 'object'}, 'port': {'key': 'typeProperties.port', 'type': 'object'}, 'service_uri': {'key': 'typeProperties.serviceUri', 'type': 'object'}, 'organization_name': {'key': 'typeProperties.organizationName', 'type': 'object'}, 'authentication_type': {'key': 'typeProperties.authenticationType', 'type': 'str'}, 'username': {'key': 'typeProperties.username', 'type': 'object'}, 'password': {'key': 'typeProperties.password', 'type': 'SecretBase'}, 'service_principal_id': {'key': 'typeProperties.servicePrincipalId', 'type': 'object'}, 'service_principal_credential_type': {'key': 'typeProperties.servicePrincipalCredentialType', 'type': 'object'}, 'service_principal_credential': {'key': 'typeProperties.servicePrincipalCredential', 'type': 'SecretBase'}, 'encrypted_credential': {'key': 'typeProperties.encryptedCredential', 'type': 'object'}, } def __init__( self, *, deployment_type: Union[str, "DynamicsDeploymentType"], authentication_type: Union[str, "DynamicsAuthenticationType"], additional_properties: Optional[Dict[str, object]] = None, connect_via: Optional["IntegrationRuntimeReference"] = None, description: Optional[str] = None, parameters: Optional[Dict[str, "ParameterSpecification"]] = None, annotations: Optional[List[object]] = None, host_name: Optional[object] = None, port: Optional[object] = None, service_uri: Optional[object] = None, organization_name: Optional[object] = None, username: Optional[object] = None, password: Optional["SecretBase"] = None, service_principal_id: Optional[object] = None, service_principal_credential_type: Optional[object] = None, service_principal_credential: Optional["SecretBase"] = None, encrypted_credential: Optional[object] = None, **kwargs ): super(DynamicsCrmLinkedService, self).__init__(additional_properties=additional_properties, connect_via=connect_via, description=description, parameters=parameters, annotations=annotations, **kwargs) self.type = 'DynamicsCrm' # type: str self.deployment_type = deployment_type self.host_name = host_name self.port = port self.service_uri = service_uri self.organization_name = organization_name self.authentication_type = authentication_type self.username = username self.password = password self.service_principal_id = service_principal_id self.service_principal_credential_type = service_principal_credential_type self.service_principal_credential = service_principal_credential self.encrypted_credential = encrypted_credential
[docs]class DynamicsCrmSink(CopySink): """A copy activity Dynamics CRM sink. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Copy sink type.Constant filled by server. :type type: str :param write_batch_size: Write batch size. Type: integer (or Expression with resultType integer), minimum: 0. :type write_batch_size: object :param write_batch_timeout: Write batch timeout. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type write_batch_timeout: object :param sink_retry_count: Sink retry count. Type: integer (or Expression with resultType integer). :type sink_retry_count: object :param sink_retry_wait: Sink retry wait. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type sink_retry_wait: object :param max_concurrent_connections: The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object :param write_behavior: Required. The write behavior for the operation. Possible values include: "Upsert". :type write_behavior: str or ~azure.synapse.artifacts.models.DynamicsSinkWriteBehavior :param ignore_null_values: The flag indicating whether to ignore null values from input dataset (except key fields) during write operation. Default is false. Type: boolean (or Expression with resultType boolean). :type ignore_null_values: object :param alternate_key_name: The logical name of the alternate key which will be used when upserting records. Type: string (or Expression with resultType string). :type alternate_key_name: object """ _validation = { 'type': {'required': True}, 'write_behavior': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'write_batch_size': {'key': 'writeBatchSize', 'type': 'object'}, 'write_batch_timeout': {'key': 'writeBatchTimeout', 'type': 'object'}, 'sink_retry_count': {'key': 'sinkRetryCount', 'type': 'object'}, 'sink_retry_wait': {'key': 'sinkRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'write_behavior': {'key': 'writeBehavior', 'type': 'str'}, 'ignore_null_values': {'key': 'ignoreNullValues', 'type': 'object'}, 'alternate_key_name': {'key': 'alternateKeyName', 'type': 'object'}, } def __init__( self, *, write_behavior: Union[str, "DynamicsSinkWriteBehavior"], additional_properties: Optional[Dict[str, object]] = None, write_batch_size: Optional[object] = None, write_batch_timeout: Optional[object] = None, sink_retry_count: Optional[object] = None, sink_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, ignore_null_values: Optional[object] = None, alternate_key_name: Optional[object] = None, **kwargs ): super(DynamicsCrmSink, self).__init__(additional_properties=additional_properties, write_batch_size=write_batch_size, write_batch_timeout=write_batch_timeout, sink_retry_count=sink_retry_count, sink_retry_wait=sink_retry_wait, max_concurrent_connections=max_concurrent_connections, **kwargs) self.type = 'DynamicsCrmSink' # type: str self.write_behavior = write_behavior self.ignore_null_values = ignore_null_values self.alternate_key_name = alternate_key_name
[docs]class DynamicsCrmSource(CopySource): """A copy activity Dynamics CRM source. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Copy source type.Constant filled by server. :type type: str :param source_retry_count: Source retry count. Type: integer (or Expression with resultType integer). :type source_retry_count: object :param source_retry_wait: Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type source_retry_wait: object :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object :param query: FetchXML is a proprietary query language that is used in Microsoft Dynamics CRM (online & on-premises). Type: string (or Expression with resultType string). :type query: object :param additional_columns: Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects). :type additional_columns: list[~azure.synapse.artifacts.models.AdditionalColumns] """ _validation = { 'type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, source_retry_count: Optional[object] = None, source_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, query: Optional[object] = None, additional_columns: Optional[List["AdditionalColumns"]] = None, **kwargs ): super(DynamicsCrmSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, **kwargs) self.type = 'DynamicsCrmSource' # type: str self.query = query self.additional_columns = additional_columns
[docs]class DynamicsEntityDataset(Dataset): """The Dynamics entity dataset. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Type of dataset.Constant filled by server. :type type: str :param description: Dataset description. :type description: str :param structure: Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. :type structure: object :param schema: Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. :type linked_service_name: ~azure.synapse.artifacts.models.LinkedServiceReference :param parameters: Parameters for dataset. :type parameters: dict[str, ~azure.synapse.artifacts.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. :type folder: ~azure.synapse.artifacts.models.DatasetFolder :param entity_name: The logical name of the entity. Type: string (or Expression with resultType string). :type entity_name: object """ _validation = { 'type': {'required': True}, 'linked_service_name': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'description': {'key': 'description', 'type': 'str'}, 'structure': {'key': 'structure', 'type': 'object'}, 'schema': {'key': 'schema', 'type': 'object'}, 'linked_service_name': {'key': 'linkedServiceName', 'type': 'LinkedServiceReference'}, 'parameters': {'key': 'parameters', 'type': '{ParameterSpecification}'}, 'annotations': {'key': 'annotations', 'type': '[object]'}, 'folder': {'key': 'folder', 'type': 'DatasetFolder'}, 'entity_name': {'key': 'typeProperties.entityName', 'type': 'object'}, } def __init__( self, *, linked_service_name: "LinkedServiceReference", additional_properties: Optional[Dict[str, object]] = None, description: Optional[str] = None, structure: Optional[object] = None, schema: Optional[object] = None, parameters: Optional[Dict[str, "ParameterSpecification"]] = None, annotations: Optional[List[object]] = None, folder: Optional["DatasetFolder"] = None, entity_name: Optional[object] = None, **kwargs ): super(DynamicsEntityDataset, self).__init__(additional_properties=additional_properties, description=description, structure=structure, schema=schema, linked_service_name=linked_service_name, parameters=parameters, annotations=annotations, folder=folder, **kwargs) self.type = 'DynamicsEntity' # type: str self.entity_name = entity_name
[docs]class DynamicsLinkedService(LinkedService): """Dynamics linked service. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. :type connect_via: ~azure.synapse.artifacts.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. :type parameters: dict[str, ~azure.synapse.artifacts.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param deployment_type: Required. 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). Possible values include: "Online", "OnPremisesWithIfd". :type deployment_type: str or ~azure.synapse.artifacts.models.DynamicsDeploymentType :param host_name: The host name of the on-premises Dynamics server. The property is required for on-prem and not allowed for online. Type: string (or Expression with resultType string). :type host_name: object :param port: The port of on-premises Dynamics server. The property is required for on-prem and not allowed for online. Default is 443. Type: integer (or Expression with resultType integer), minimum: 0. :type port: object :param service_uri: The URL to the Microsoft Dynamics server. The property is required for on-line and not allowed for on-prem. Type: string (or Expression with resultType string). :type service_uri: object :param organization_name: The organization name of the Dynamics instance. The property is required for on-prem and required for online when there are more than one Dynamics instances associated with the user. Type: string (or Expression with resultType string). :type organization_name: object :param authentication_type: Required. The authentication type to connect to Dynamics server. 'Office365' for online scenario, 'Ifd' for on-premises with Ifd scenario, 'AADServicePrincipal' for Server-To-Server authentication in online scenario. Type: string (or Expression with resultType string). Possible values include: "Office365", "Ifd", "AADServicePrincipal". :type authentication_type: str or ~azure.synapse.artifacts.models.DynamicsAuthenticationType :param username: User name to access the Dynamics instance. Type: string (or Expression with resultType string). :type username: object :param password: Password to access the Dynamics instance. :type password: ~azure.synapse.artifacts.models.SecretBase :param service_principal_id: The client ID of the application in Azure Active Directory used for Server-To-Server authentication. Type: string (or Expression with resultType string). :type service_principal_id: object :param service_principal_credential_type: 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). Possible values include: "ServicePrincipalKey", "ServicePrincipalCert". :type service_principal_credential_type: str or ~azure.synapse.artifacts.models.DynamicsServicePrincipalCredentialType :param service_principal_credential: 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. :type service_principal_credential: ~azure.synapse.artifacts.models.SecretBase :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). :type encrypted_credential: object """ _validation = { 'type': {'required': True}, 'deployment_type': {'required': True}, 'authentication_type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'connect_via': {'key': 'connectVia', 'type': 'IntegrationRuntimeReference'}, 'description': {'key': 'description', 'type': 'str'}, 'parameters': {'key': 'parameters', 'type': '{ParameterSpecification}'}, 'annotations': {'key': 'annotations', 'type': '[object]'}, 'deployment_type': {'key': 'typeProperties.deploymentType', 'type': 'str'}, 'host_name': {'key': 'typeProperties.hostName', 'type': 'object'}, 'port': {'key': 'typeProperties.port', 'type': 'object'}, 'service_uri': {'key': 'typeProperties.serviceUri', 'type': 'object'}, 'organization_name': {'key': 'typeProperties.organizationName', 'type': 'object'}, 'authentication_type': {'key': 'typeProperties.authenticationType', 'type': 'str'}, 'username': {'key': 'typeProperties.username', 'type': 'object'}, 'password': {'key': 'typeProperties.password', 'type': 'SecretBase'}, 'service_principal_id': {'key': 'typeProperties.servicePrincipalId', 'type': 'object'}, 'service_principal_credential_type': {'key': 'typeProperties.servicePrincipalCredentialType', 'type': 'str'}, 'service_principal_credential': {'key': 'typeProperties.servicePrincipalCredential', 'type': 'SecretBase'}, 'encrypted_credential': {'key': 'typeProperties.encryptedCredential', 'type': 'object'}, } def __init__( self, *, deployment_type: Union[str, "DynamicsDeploymentType"], authentication_type: Union[str, "DynamicsAuthenticationType"], additional_properties: Optional[Dict[str, object]] = None, connect_via: Optional["IntegrationRuntimeReference"] = None, description: Optional[str] = None, parameters: Optional[Dict[str, "ParameterSpecification"]] = None, annotations: Optional[List[object]] = None, host_name: Optional[object] = None, port: Optional[object] = None, service_uri: Optional[object] = None, organization_name: Optional[object] = None, username: Optional[object] = None, password: Optional["SecretBase"] = None, service_principal_id: Optional[object] = None, service_principal_credential_type: Optional[Union[str, "DynamicsServicePrincipalCredentialType"]] = None, service_principal_credential: Optional["SecretBase"] = None, encrypted_credential: Optional[object] = None, **kwargs ): super(DynamicsLinkedService, self).__init__(additional_properties=additional_properties, connect_via=connect_via, description=description, parameters=parameters, annotations=annotations, **kwargs) self.type = 'Dynamics' # type: str self.deployment_type = deployment_type self.host_name = host_name self.port = port self.service_uri = service_uri self.organization_name = organization_name self.authentication_type = authentication_type self.username = username self.password = password self.service_principal_id = service_principal_id self.service_principal_credential_type = service_principal_credential_type self.service_principal_credential = service_principal_credential self.encrypted_credential = encrypted_credential
[docs]class DynamicsSink(CopySink): """A copy activity Dynamics sink. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Copy sink type.Constant filled by server. :type type: str :param write_batch_size: Write batch size. Type: integer (or Expression with resultType integer), minimum: 0. :type write_batch_size: object :param write_batch_timeout: Write batch timeout. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type write_batch_timeout: object :param sink_retry_count: Sink retry count. Type: integer (or Expression with resultType integer). :type sink_retry_count: object :param sink_retry_wait: Sink retry wait. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type sink_retry_wait: object :param max_concurrent_connections: The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object :param write_behavior: Required. The write behavior for the operation. Possible values include: "Upsert". :type write_behavior: str or ~azure.synapse.artifacts.models.DynamicsSinkWriteBehavior :param ignore_null_values: The flag indicating whether ignore null values from input dataset (except key fields) during write operation. Default is false. Type: boolean (or Expression with resultType boolean). :type ignore_null_values: object :param alternate_key_name: The logical name of the alternate key which will be used when upserting records. Type: string (or Expression with resultType string). :type alternate_key_name: object """ _validation = { 'type': {'required': True}, 'write_behavior': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'write_batch_size': {'key': 'writeBatchSize', 'type': 'object'}, 'write_batch_timeout': {'key': 'writeBatchTimeout', 'type': 'object'}, 'sink_retry_count': {'key': 'sinkRetryCount', 'type': 'object'}, 'sink_retry_wait': {'key': 'sinkRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'write_behavior': {'key': 'writeBehavior', 'type': 'str'}, 'ignore_null_values': {'key': 'ignoreNullValues', 'type': 'object'}, 'alternate_key_name': {'key': 'alternateKeyName', 'type': 'object'}, } def __init__( self, *, write_behavior: Union[str, "DynamicsSinkWriteBehavior"], additional_properties: Optional[Dict[str, object]] = None, write_batch_size: Optional[object] = None, write_batch_timeout: Optional[object] = None, sink_retry_count: Optional[object] = None, sink_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, ignore_null_values: Optional[object] = None, alternate_key_name: Optional[object] = None, **kwargs ): super(DynamicsSink, self).__init__(additional_properties=additional_properties, write_batch_size=write_batch_size, write_batch_timeout=write_batch_timeout, sink_retry_count=sink_retry_count, sink_retry_wait=sink_retry_wait, max_concurrent_connections=max_concurrent_connections, **kwargs) self.type = 'DynamicsSink' # type: str self.write_behavior = write_behavior self.ignore_null_values = ignore_null_values self.alternate_key_name = alternate_key_name
[docs]class DynamicsSource(CopySource): """A copy activity Dynamics source. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Copy source type.Constant filled by server. :type type: str :param source_retry_count: Source retry count. Type: integer (or Expression with resultType integer). :type source_retry_count: object :param source_retry_wait: Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type source_retry_wait: object :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object :param query: FetchXML is a proprietary query language that is used in Microsoft Dynamics (online & on-premises). Type: string (or Expression with resultType string). :type query: object :param additional_columns: Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects). :type additional_columns: list[~azure.synapse.artifacts.models.AdditionalColumns] """ _validation = { 'type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, source_retry_count: Optional[object] = None, source_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, query: Optional[object] = None, additional_columns: Optional[List["AdditionalColumns"]] = None, **kwargs ): super(DynamicsSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, **kwargs) self.type = 'DynamicsSource' # type: str self.query = query self.additional_columns = additional_columns
[docs]class EloquaLinkedService(LinkedService): """Eloqua server linked service. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. :type connect_via: ~azure.synapse.artifacts.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. :type parameters: dict[str, ~azure.synapse.artifacts.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param endpoint: Required. The endpoint of the Eloqua server. (i.e. eloqua.example.com). :type endpoint: object :param username: Required. The site name and user name of your Eloqua account in the form: sitename/username. (i.e. Eloqua/Alice). :type username: object :param password: The password corresponding to the user name. :type password: ~azure.synapse.artifacts.models.SecretBase :param use_encrypted_endpoints: Specifies whether the data source endpoints are encrypted using HTTPS. The default value is true. :type use_encrypted_endpoints: object :param use_host_verification: Specifies whether to require the host name in the server's certificate to match the host name of the server when connecting over SSL. The default value is true. :type use_host_verification: object :param use_peer_verification: Specifies whether to verify the identity of the server when connecting over SSL. The default value is true. :type use_peer_verification: 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). :type encrypted_credential: object """ _validation = { 'type': {'required': True}, 'endpoint': {'required': True}, 'username': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'connect_via': {'key': 'connectVia', 'type': 'IntegrationRuntimeReference'}, 'description': {'key': 'description', 'type': 'str'}, 'parameters': {'key': 'parameters', 'type': '{ParameterSpecification}'}, 'annotations': {'key': 'annotations', 'type': '[object]'}, 'endpoint': {'key': 'typeProperties.endpoint', 'type': 'object'}, 'username': {'key': 'typeProperties.username', 'type': 'object'}, 'password': {'key': 'typeProperties.password', 'type': 'SecretBase'}, 'use_encrypted_endpoints': {'key': 'typeProperties.useEncryptedEndpoints', 'type': 'object'}, 'use_host_verification': {'key': 'typeProperties.useHostVerification', 'type': 'object'}, 'use_peer_verification': {'key': 'typeProperties.usePeerVerification', 'type': 'object'}, 'encrypted_credential': {'key': 'typeProperties.encryptedCredential', 'type': 'object'}, } def __init__( self, *, endpoint: object, username: object, additional_properties: Optional[Dict[str, object]] = None, connect_via: Optional["IntegrationRuntimeReference"] = None, description: Optional[str] = None, parameters: Optional[Dict[str, "ParameterSpecification"]] = None, annotations: Optional[List[object]] = None, password: Optional["SecretBase"] = None, use_encrypted_endpoints: Optional[object] = None, use_host_verification: Optional[object] = None, use_peer_verification: Optional[object] = None, encrypted_credential: Optional[object] = None, **kwargs ): super(EloquaLinkedService, self).__init__(additional_properties=additional_properties, connect_via=connect_via, description=description, parameters=parameters, annotations=annotations, **kwargs) self.type = 'Eloqua' # type: str self.endpoint = endpoint self.username = username self.password = password self.use_encrypted_endpoints = use_encrypted_endpoints self.use_host_verification = use_host_verification self.use_peer_verification = use_peer_verification self.encrypted_credential = encrypted_credential
[docs]class EloquaObjectDataset(Dataset): """Eloqua server dataset. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Type of dataset.Constant filled by server. :type type: str :param description: Dataset description. :type description: str :param structure: Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. :type structure: object :param schema: Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. :type linked_service_name: ~azure.synapse.artifacts.models.LinkedServiceReference :param parameters: Parameters for dataset. :type parameters: dict[str, ~azure.synapse.artifacts.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. :type folder: ~azure.synapse.artifacts.models.DatasetFolder :param table_name: The table name. Type: string (or Expression with resultType string). :type table_name: object """ _validation = { 'type': {'required': True}, 'linked_service_name': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'description': {'key': 'description', 'type': 'str'}, 'structure': {'key': 'structure', 'type': 'object'}, 'schema': {'key': 'schema', 'type': 'object'}, 'linked_service_name': {'key': 'linkedServiceName', 'type': 'LinkedServiceReference'}, 'parameters': {'key': 'parameters', 'type': '{ParameterSpecification}'}, 'annotations': {'key': 'annotations', 'type': '[object]'}, 'folder': {'key': 'folder', 'type': 'DatasetFolder'}, 'table_name': {'key': 'typeProperties.tableName', 'type': 'object'}, } def __init__( self, *, linked_service_name: "LinkedServiceReference", additional_properties: Optional[Dict[str, object]] = None, description: Optional[str] = None, structure: Optional[object] = None, schema: Optional[object] = None, parameters: Optional[Dict[str, "ParameterSpecification"]] = None, annotations: Optional[List[object]] = None, folder: Optional["DatasetFolder"] = None, table_name: Optional[object] = None, **kwargs ): super(EloquaObjectDataset, self).__init__(additional_properties=additional_properties, description=description, structure=structure, schema=schema, linked_service_name=linked_service_name, parameters=parameters, annotations=annotations, folder=folder, **kwargs) self.type = 'EloquaObject' # type: str self.table_name = table_name
[docs]class EloquaSource(TabularSource): """A copy activity Eloqua server source. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Copy source type.Constant filled by server. :type type: str :param source_retry_count: Source retry count. Type: integer (or Expression with resultType integer). :type source_retry_count: object :param source_retry_wait: Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type source_retry_wait: object :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object :param query_timeout: Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type query_timeout: object :param additional_columns: Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects). :type additional_columns: list[~azure.synapse.artifacts.models.AdditionalColumns] :param query: A query to retrieve data from source. Type: string (or Expression with resultType string). :type query: object """ _validation = { 'type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, 'query': {'key': 'query', 'type': 'object'}, } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, source_retry_count: Optional[object] = None, source_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, query_timeout: Optional[object] = None, additional_columns: Optional[List["AdditionalColumns"]] = None, query: Optional[object] = None, **kwargs ): super(EloquaSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, query_timeout=query_timeout, additional_columns=additional_columns, **kwargs) self.type = 'EloquaSource' # type: str self.query = query
[docs]class EncryptionDetails(msrest.serialization.Model): """Details of the encryption associated with the workspace. Variables are only populated by the server, and will be ignored when sending a request. :ivar double_encryption_enabled: Double Encryption enabled. :vartype double_encryption_enabled: bool :param cmk: Customer Managed Key Details. :type cmk: ~azure.synapse.artifacts.models.CustomerManagedKeyDetails """ _validation = { 'double_encryption_enabled': {'readonly': True}, } _attribute_map = { 'double_encryption_enabled': {'key': 'doubleEncryptionEnabled', 'type': 'bool'}, 'cmk': {'key': 'cmk', 'type': 'CustomerManagedKeyDetails'}, } def __init__( self, *, cmk: Optional["CustomerManagedKeyDetails"] = None, **kwargs ): super(EncryptionDetails, self).__init__(**kwargs) self.double_encryption_enabled = None self.cmk = cmk
[docs]class EntityReference(msrest.serialization.Model): """The entity reference. :param type: The type of this referenced entity. Possible values include: "IntegrationRuntimeReference", "LinkedServiceReference". :type type: str or ~azure.synapse.artifacts.models.IntegrationRuntimeEntityReferenceType :param reference_name: The name of this referenced entity. :type reference_name: str """ _attribute_map = { 'type': {'key': 'type', 'type': 'str'}, 'reference_name': {'key': 'referenceName', 'type': 'str'}, } def __init__( self, *, type: Optional[Union[str, "IntegrationRuntimeEntityReferenceType"]] = None, reference_name: Optional[str] = None, **kwargs ): super(EntityReference, self).__init__(**kwargs) self.type = type self.reference_name = reference_name
[docs]class ErrorAdditionalInfo(msrest.serialization.Model): """The resource management error additional info. Variables are only populated by the server, and will be ignored when sending a request. :ivar type: The additional info type. :vartype type: str :ivar info: The additional info. :vartype info: object """ _validation = { 'type': {'readonly': True}, 'info': {'readonly': True}, } _attribute_map = { 'type': {'key': 'type', 'type': 'str'}, 'info': {'key': 'info', 'type': 'object'}, } def __init__( self, **kwargs ): super(ErrorAdditionalInfo, self).__init__(**kwargs) self.type = None self.info = None
[docs]class ErrorContract(msrest.serialization.Model): """Contains details when the response code indicates an error. :param error: The error details. :type error: ~azure.synapse.artifacts.models.ErrorResponse """ _attribute_map = { 'error': {'key': 'error', 'type': 'ErrorResponse'}, } def __init__( self, *, error: Optional["ErrorResponse"] = None, **kwargs ): super(ErrorContract, self).__init__(**kwargs) self.error = error
[docs]class ErrorResponse(msrest.serialization.Model): """Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.). Variables are only populated by the server, and will be ignored when sending a request. :ivar code: The error code. :vartype code: str :ivar message: The error message. :vartype message: str :ivar target: The error target. :vartype target: str :ivar details: The error details. :vartype details: list[~azure.synapse.artifacts.models.ErrorResponse] :ivar additional_info: The error additional info. :vartype additional_info: list[~azure.synapse.artifacts.models.ErrorAdditionalInfo] """ _validation = { 'code': {'readonly': True}, 'message': {'readonly': True}, 'target': {'readonly': True}, 'details': {'readonly': True}, 'additional_info': {'readonly': True}, } _attribute_map = { 'code': {'key': 'code', 'type': 'str'}, 'message': {'key': 'message', 'type': 'str'}, 'target': {'key': 'target', 'type': 'str'}, 'details': {'key': 'details', 'type': '[ErrorResponse]'}, 'additional_info': {'key': 'additionalInfo', 'type': '[ErrorAdditionalInfo]'}, } def __init__( self, **kwargs ): super(ErrorResponse, self).__init__(**kwargs) self.code = None self.message = None self.target = None self.details = None self.additional_info = None
[docs]class EvaluateDataFlowExpressionRequest(msrest.serialization.Model): """Request body structure for data flow expression preview. :param session_id: The ID of data flow debug session. :type session_id: str :param data_flow_name: The data flow which contains the debug session. :type data_flow_name: str :param stream_name: The output stream name. :type stream_name: str :param row_limits: The row limit for preview request. :type row_limits: int :param expression: The expression for preview. :type expression: str """ _attribute_map = { 'session_id': {'key': 'sessionId', 'type': 'str'}, 'data_flow_name': {'key': 'dataFlowName', 'type': 'str'}, 'stream_name': {'key': 'streamName', 'type': 'str'}, 'row_limits': {'key': 'rowLimits', 'type': 'int'}, 'expression': {'key': 'expression', 'type': 'str'}, } def __init__( self, *, session_id: Optional[str] = None, data_flow_name: Optional[str] = None, stream_name: Optional[str] = None, row_limits: Optional[int] = None, expression: Optional[str] = None, **kwargs ): super(EvaluateDataFlowExpressionRequest, self).__init__(**kwargs) self.session_id = session_id self.data_flow_name = data_flow_name self.stream_name = stream_name self.row_limits = row_limits self.expression = expression
[docs]class ExcelDataset(Dataset): """Excel dataset. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Type of dataset.Constant filled by server. :type type: str :param description: Dataset description. :type description: str :param structure: Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. :type structure: object :param schema: Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. :type linked_service_name: ~azure.synapse.artifacts.models.LinkedServiceReference :param parameters: Parameters for dataset. :type parameters: dict[str, ~azure.synapse.artifacts.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. :type folder: ~azure.synapse.artifacts.models.DatasetFolder :param location: The location of the excel storage. :type location: ~azure.synapse.artifacts.models.DatasetLocation :param sheet_name: The sheet of excel file. Type: string (or Expression with resultType string). :type sheet_name: object :param range: The partial data of one sheet. Type: string (or Expression with resultType string). :type range: object :param first_row_as_header: When used as input, treat the first row of data as headers. When used as output,write the headers into the output as the first row of data. The default value is false. Type: boolean (or Expression with resultType boolean). :type first_row_as_header: object :param compression: The data compression method used for the json dataset. :type compression: ~azure.synapse.artifacts.models.DatasetCompression :param null_value: The null value string. Type: string (or Expression with resultType string). :type null_value: object """ _validation = { 'type': {'required': True}, 'linked_service_name': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'description': {'key': 'description', 'type': 'str'}, 'structure': {'key': 'structure', 'type': 'object'}, 'schema': {'key': 'schema', 'type': 'object'}, 'linked_service_name': {'key': 'linkedServiceName', 'type': 'LinkedServiceReference'}, 'parameters': {'key': 'parameters', 'type': '{ParameterSpecification}'}, 'annotations': {'key': 'annotations', 'type': '[object]'}, 'folder': {'key': 'folder', 'type': 'DatasetFolder'}, 'location': {'key': 'typeProperties.location', 'type': 'DatasetLocation'}, 'sheet_name': {'key': 'typeProperties.sheetName', 'type': 'object'}, 'range': {'key': 'typeProperties.range', 'type': 'object'}, 'first_row_as_header': {'key': 'typeProperties.firstRowAsHeader', 'type': 'object'}, 'compression': {'key': 'typeProperties.compression', 'type': 'DatasetCompression'}, 'null_value': {'key': 'typeProperties.nullValue', 'type': 'object'}, } def __init__( self, *, linked_service_name: "LinkedServiceReference", additional_properties: Optional[Dict[str, object]] = None, description: Optional[str] = None, structure: Optional[object] = None, schema: Optional[object] = None, parameters: Optional[Dict[str, "ParameterSpecification"]] = None, annotations: Optional[List[object]] = None, folder: Optional["DatasetFolder"] = None, location: Optional["DatasetLocation"] = None, sheet_name: Optional[object] = None, range: Optional[object] = None, first_row_as_header: Optional[object] = None, compression: Optional["DatasetCompression"] = None, null_value: Optional[object] = None, **kwargs ): super(ExcelDataset, self).__init__(additional_properties=additional_properties, description=description, structure=structure, schema=schema, linked_service_name=linked_service_name, parameters=parameters, annotations=annotations, folder=folder, **kwargs) self.type = 'Excel' # type: str self.location = location self.sheet_name = sheet_name self.range = range self.first_row_as_header = first_row_as_header self.compression = compression self.null_value = null_value
[docs]class ExcelSource(CopySource): """A copy activity excel source. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Copy source type.Constant filled by server. :type type: str :param source_retry_count: Source retry count. Type: integer (or Expression with resultType integer). :type source_retry_count: object :param source_retry_wait: Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type source_retry_wait: object :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object :param store_settings: Excel store settings. :type store_settings: ~azure.synapse.artifacts.models.StoreReadSettings :param additional_columns: Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects). :type additional_columns: list[~azure.synapse.artifacts.models.AdditionalColumns] """ _validation = { 'type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'store_settings': {'key': 'storeSettings', 'type': 'StoreReadSettings'}, 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, source_retry_count: Optional[object] = None, source_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, store_settings: Optional["StoreReadSettings"] = None, additional_columns: Optional[List["AdditionalColumns"]] = None, **kwargs ): super(ExcelSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, **kwargs) self.type = 'ExcelSource' # type: str self.store_settings = store_settings self.additional_columns = additional_columns
[docs]class ExecuteDataFlowActivity(ExecutionActivity): """Execute data flow activity. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param name: Required. Activity name. :type name: str :param type: Required. Type of activity.Constant filled by server. :type type: str :param description: Activity description. :type description: str :param depends_on: Activity depends on condition. :type depends_on: list[~azure.synapse.artifacts.models.ActivityDependency] :param user_properties: Activity user properties. :type user_properties: list[~azure.synapse.artifacts.models.UserProperty] :param linked_service_name: Linked service reference. :type linked_service_name: ~azure.synapse.artifacts.models.LinkedServiceReference :param policy: Activity policy. :type policy: ~azure.synapse.artifacts.models.ActivityPolicy :param dataflow: Required. Data flow reference. :type dataflow: ~azure.synapse.artifacts.models.DataFlowReference :param staging: Staging info for execute data flow activity. :type staging: ~azure.synapse.artifacts.models.DataFlowStagingInfo :param integration_runtime: The integration runtime reference. :type integration_runtime: ~azure.synapse.artifacts.models.IntegrationRuntimeReference :param compute: Compute properties for data flow activity. :type compute: ~azure.synapse.artifacts.models.ExecuteDataFlowActivityTypePropertiesCompute :param trace_level: Trace level setting used for data flow monitoring output. Supported values are: 'coarse', 'fine', and 'none'. Type: string (or Expression with resultType string). :type trace_level: object :param continue_on_error: Continue on error setting used for data flow execution. Enables processing to continue if a sink fails. Type: boolean (or Expression with resultType boolean). :type continue_on_error: object :param run_concurrently: Concurrent run setting used for data flow execution. Allows sinks with the same save order to be processed concurrently. Type: boolean (or Expression with resultType boolean). :type run_concurrently: object """ _validation = { 'name': {'required': True}, 'type': {'required': True}, 'dataflow': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'name': {'key': 'name', 'type': 'str'}, 'type': {'key': 'type', 'type': 'str'}, 'description': {'key': 'description', 'type': 'str'}, 'depends_on': {'key': 'dependsOn', 'type': '[ActivityDependency]'}, 'user_properties': {'key': 'userProperties', 'type': '[UserProperty]'}, 'linked_service_name': {'key': 'linkedServiceName', 'type': 'LinkedServiceReference'}, 'policy': {'key': 'policy', 'type': 'ActivityPolicy'}, 'dataflow': {'key': 'typeProperties.dataflow', 'type': 'DataFlowReference'}, 'staging': {'key': 'typeProperties.staging', 'type': 'DataFlowStagingInfo'}, 'integration_runtime': {'key': 'typeProperties.integrationRuntime', 'type': 'IntegrationRuntimeReference'}, 'compute': {'key': 'typeProperties.compute', 'type': 'ExecuteDataFlowActivityTypePropertiesCompute'}, 'trace_level': {'key': 'typeProperties.traceLevel', 'type': 'object'}, 'continue_on_error': {'key': 'typeProperties.continueOnError', 'type': 'object'}, 'run_concurrently': {'key': 'typeProperties.runConcurrently', 'type': 'object'}, } def __init__( self, *, name: str, dataflow: "DataFlowReference", additional_properties: Optional[Dict[str, object]] = None, description: Optional[str] = None, depends_on: Optional[List["ActivityDependency"]] = None, user_properties: Optional[List["UserProperty"]] = None, linked_service_name: Optional["LinkedServiceReference"] = None, policy: Optional["ActivityPolicy"] = None, staging: Optional["DataFlowStagingInfo"] = None, integration_runtime: Optional["IntegrationRuntimeReference"] = None, compute: Optional["ExecuteDataFlowActivityTypePropertiesCompute"] = None, trace_level: Optional[object] = None, continue_on_error: Optional[object] = None, run_concurrently: Optional[object] = None, **kwargs ): super(ExecuteDataFlowActivity, self).__init__(additional_properties=additional_properties, name=name, description=description, depends_on=depends_on, user_properties=user_properties, linked_service_name=linked_service_name, policy=policy, **kwargs) self.type = 'ExecuteDataFlow' # type: str self.dataflow = dataflow self.staging = staging self.integration_runtime = integration_runtime self.compute = compute self.trace_level = trace_level self.continue_on_error = continue_on_error self.run_concurrently = run_concurrently
[docs]class ExecuteDataFlowActivityTypePropertiesCompute(msrest.serialization.Model): """Compute properties for data flow activity. :param compute_type: Compute type of the cluster which will execute data flow job. Possible values include: "General", "MemoryOptimized", "ComputeOptimized". :type compute_type: str or ~azure.synapse.artifacts.models.DataFlowComputeType :param core_count: Core count of the cluster which will execute data flow job. Supported values are: 8, 16, 32, 48, 80, 144 and 272. :type core_count: int """ _attribute_map = { 'compute_type': {'key': 'computeType', 'type': 'str'}, 'core_count': {'key': 'coreCount', 'type': 'int'}, } def __init__( self, *, compute_type: Optional[Union[str, "DataFlowComputeType"]] = None, core_count: Optional[int] = None, **kwargs ): super(ExecuteDataFlowActivityTypePropertiesCompute, self).__init__(**kwargs) self.compute_type = compute_type self.core_count = core_count
[docs]class ExecutePipelineActivity(ControlActivity): """Execute pipeline activity. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param name: Required. Activity name. :type name: str :param type: Required. Type of activity.Constant filled by server. :type type: str :param description: Activity description. :type description: str :param depends_on: Activity depends on condition. :type depends_on: list[~azure.synapse.artifacts.models.ActivityDependency] :param user_properties: Activity user properties. :type user_properties: list[~azure.synapse.artifacts.models.UserProperty] :param pipeline: Required. Pipeline reference. :type pipeline: ~azure.synapse.artifacts.models.PipelineReference :param parameters: Pipeline parameters. :type parameters: dict[str, object] :param wait_on_completion: Defines whether activity execution will wait for the dependent pipeline execution to finish. Default is false. :type wait_on_completion: bool """ _validation = { 'name': {'required': True}, 'type': {'required': True}, 'pipeline': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'name': {'key': 'name', 'type': 'str'}, 'type': {'key': 'type', 'type': 'str'}, 'description': {'key': 'description', 'type': 'str'}, 'depends_on': {'key': 'dependsOn', 'type': '[ActivityDependency]'}, 'user_properties': {'key': 'userProperties', 'type': '[UserProperty]'}, 'pipeline': {'key': 'typeProperties.pipeline', 'type': 'PipelineReference'}, 'parameters': {'key': 'typeProperties.parameters', 'type': '{object}'}, 'wait_on_completion': {'key': 'typeProperties.waitOnCompletion', 'type': 'bool'}, } def __init__( self, *, name: str, pipeline: "PipelineReference", additional_properties: Optional[Dict[str, object]] = None, description: Optional[str] = None, depends_on: Optional[List["ActivityDependency"]] = None, user_properties: Optional[List["UserProperty"]] = None, parameters: Optional[Dict[str, object]] = None, wait_on_completion: Optional[bool] = None, **kwargs ): super(ExecutePipelineActivity, self).__init__(additional_properties=additional_properties, name=name, description=description, depends_on=depends_on, user_properties=user_properties, **kwargs) self.type = 'ExecutePipeline' # type: str self.pipeline = pipeline self.parameters = parameters self.wait_on_completion = wait_on_completion
[docs]class ExecuteSSISPackageActivity(ExecutionActivity): """Execute SSIS package activity. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param name: Required. Activity name. :type name: str :param type: Required. Type of activity.Constant filled by server. :type type: str :param description: Activity description. :type description: str :param depends_on: Activity depends on condition. :type depends_on: list[~azure.synapse.artifacts.models.ActivityDependency] :param user_properties: Activity user properties. :type user_properties: list[~azure.synapse.artifacts.models.UserProperty] :param linked_service_name: Linked service reference. :type linked_service_name: ~azure.synapse.artifacts.models.LinkedServiceReference :param policy: Activity policy. :type policy: ~azure.synapse.artifacts.models.ActivityPolicy :param package_location: Required. SSIS package location. :type package_location: ~azure.synapse.artifacts.models.SSISPackageLocation :param runtime: Specifies the runtime to execute SSIS package. The value should be "x86" or "x64". Type: string (or Expression with resultType string). :type runtime: object :param logging_level: The logging level of SSIS package execution. Type: string (or Expression with resultType string). :type logging_level: object :param environment_path: The environment path to execute the SSIS package. Type: string (or Expression with resultType string). :type environment_path: object :param execution_credential: The package execution credential. :type execution_credential: ~azure.synapse.artifacts.models.SSISExecutionCredential :param connect_via: Required. The integration runtime reference. :type connect_via: ~azure.synapse.artifacts.models.IntegrationRuntimeReference :param project_parameters: The project level parameters to execute the SSIS package. :type project_parameters: dict[str, ~azure.synapse.artifacts.models.SSISExecutionParameter] :param package_parameters: The package level parameters to execute the SSIS package. :type package_parameters: dict[str, ~azure.synapse.artifacts.models.SSISExecutionParameter] :param project_connection_managers: The project level connection managers to execute the SSIS package. :type project_connection_managers: dict[str, dict[str, ~azure.synapse.artifacts.models.SSISExecutionParameter]] :param package_connection_managers: The package level connection managers to execute the SSIS package. :type package_connection_managers: dict[str, dict[str, ~azure.synapse.artifacts.models.SSISExecutionParameter]] :param property_overrides: The property overrides to execute the SSIS package. :type property_overrides: dict[str, ~azure.synapse.artifacts.models.SSISPropertyOverride] :param log_location: SSIS package execution log location. :type log_location: ~azure.synapse.artifacts.models.SSISLogLocation """ _validation = { 'name': {'required': True}, 'type': {'required': True}, 'package_location': {'required': True}, 'connect_via': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'name': {'key': 'name', 'type': 'str'}, 'type': {'key': 'type', 'type': 'str'}, 'description': {'key': 'description', 'type': 'str'}, 'depends_on': {'key': 'dependsOn', 'type': '[ActivityDependency]'}, 'user_properties': {'key': 'userProperties', 'type': '[UserProperty]'}, 'linked_service_name': {'key': 'linkedServiceName', 'type': 'LinkedServiceReference'}, 'policy': {'key': 'policy', 'type': 'ActivityPolicy'}, 'package_location': {'key': 'typeProperties.packageLocation', 'type': 'SSISPackageLocation'}, 'runtime': {'key': 'typeProperties.runtime', 'type': 'object'}, 'logging_level': {'key': 'typeProperties.loggingLevel', 'type': 'object'}, 'environment_path': {'key': 'typeProperties.environmentPath', 'type': 'object'}, 'execution_credential': {'key': 'typeProperties.executionCredential', 'type': 'SSISExecutionCredential'}, 'connect_via': {'key': 'typeProperties.connectVia', 'type': 'IntegrationRuntimeReference'}, 'project_parameters': {'key': 'typeProperties.projectParameters', 'type': '{SSISExecutionParameter}'}, 'package_parameters': {'key': 'typeProperties.packageParameters', 'type': '{SSISExecutionParameter}'}, 'project_connection_managers': {'key': 'typeProperties.projectConnectionManagers', 'type': '{{SSISExecutionParameter}}'}, 'package_connection_managers': {'key': 'typeProperties.packageConnectionManagers', 'type': '{{SSISExecutionParameter}}'}, 'property_overrides': {'key': 'typeProperties.propertyOverrides', 'type': '{SSISPropertyOverride}'}, 'log_location': {'key': 'typeProperties.logLocation', 'type': 'SSISLogLocation'}, } def __init__( self, *, name: str, package_location: "SSISPackageLocation", connect_via: "IntegrationRuntimeReference", additional_properties: Optional[Dict[str, object]] = None, description: Optional[str] = None, depends_on: Optional[List["ActivityDependency"]] = None, user_properties: Optional[List["UserProperty"]] = None, linked_service_name: Optional["LinkedServiceReference"] = None, policy: Optional["ActivityPolicy"] = None, runtime: Optional[object] = None, logging_level: Optional[object] = None, environment_path: Optional[object] = None, execution_credential: Optional["SSISExecutionCredential"] = None, project_parameters: Optional[Dict[str, "SSISExecutionParameter"]] = None, package_parameters: Optional[Dict[str, "SSISExecutionParameter"]] = None, project_connection_managers: Optional[Dict[str, Dict[str, "SSISExecutionParameter"]]] = None, package_connection_managers: Optional[Dict[str, Dict[str, "SSISExecutionParameter"]]] = None, property_overrides: Optional[Dict[str, "SSISPropertyOverride"]] = None, log_location: Optional["SSISLogLocation"] = None, **kwargs ): super(ExecuteSSISPackageActivity, self).__init__(additional_properties=additional_properties, name=name, description=description, depends_on=depends_on, user_properties=user_properties, linked_service_name=linked_service_name, policy=policy, **kwargs) self.type = 'ExecuteSSISPackage' # type: str self.package_location = package_location self.runtime = runtime self.logging_level = logging_level self.environment_path = environment_path self.execution_credential = execution_credential self.connect_via = connect_via self.project_parameters = project_parameters self.package_parameters = package_parameters self.project_connection_managers = project_connection_managers self.package_connection_managers = package_connection_managers self.property_overrides = property_overrides self.log_location = log_location
[docs]class ExposureControlRequest(msrest.serialization.Model): """The exposure control request. :param feature_name: The feature name. :type feature_name: str :param feature_type: The feature type. :type feature_type: str """ _attribute_map = { 'feature_name': {'key': 'featureName', 'type': 'str'}, 'feature_type': {'key': 'featureType', 'type': 'str'}, } def __init__( self, *, feature_name: Optional[str] = None, feature_type: Optional[str] = None, **kwargs ): super(ExposureControlRequest, self).__init__(**kwargs) self.feature_name = feature_name self.feature_type = feature_type
[docs]class ExposureControlResponse(msrest.serialization.Model): """The exposure control response. Variables are only populated by the server, and will be ignored when sending a request. :ivar feature_name: The feature name. :vartype feature_name: str :ivar value: The feature value. :vartype value: str """ _validation = { 'feature_name': {'readonly': True}, 'value': {'readonly': True}, } _attribute_map = { 'feature_name': {'key': 'featureName', 'type': 'str'}, 'value': {'key': 'value', 'type': 'str'}, } def __init__( self, **kwargs ): super(ExposureControlResponse, self).__init__(**kwargs) self.feature_name = None self.value = None
[docs]class Expression(msrest.serialization.Model): """Azure Synapse expression definition. All required parameters must be populated in order to send to Azure. :param type: Required. Expression type. Possible values include: "Expression". :type type: str or ~azure.synapse.artifacts.models.ExpressionType :param value: Required. Expression value. :type value: str """ _validation = { 'type': {'required': True}, 'value': {'required': True}, } _attribute_map = { 'type': {'key': 'type', 'type': 'str'}, 'value': {'key': 'value', 'type': 'str'}, } def __init__( self, *, type: Union[str, "ExpressionType"], value: str, **kwargs ): super(Expression, self).__init__(**kwargs) self.type = type self.value = value
[docs]class FileServerLinkedService(LinkedService): """File system linked service. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. :type connect_via: ~azure.synapse.artifacts.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. :type parameters: dict[str, ~azure.synapse.artifacts.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param host: Required. Host name of the server. Type: string (or Expression with resultType string). :type host: object :param user_id: User ID to logon the server. Type: string (or Expression with resultType string). :type user_id: object :param password: Password to logon the server. :type password: ~azure.synapse.artifacts.models.SecretBase :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). :type encrypted_credential: object """ _validation = { 'type': {'required': True}, 'host': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'connect_via': {'key': 'connectVia', 'type': 'IntegrationRuntimeReference'}, 'description': {'key': 'description', 'type': 'str'}, 'parameters': {'key': 'parameters', 'type': '{ParameterSpecification}'}, 'annotations': {'key': 'annotations', 'type': '[object]'}, 'host': {'key': 'typeProperties.host', 'type': 'object'}, 'user_id': {'key': 'typeProperties.userId', 'type': 'object'}, 'password': {'key': 'typeProperties.password', 'type': 'SecretBase'}, 'encrypted_credential': {'key': 'typeProperties.encryptedCredential', 'type': 'object'}, } def __init__( self, *, host: object, additional_properties: Optional[Dict[str, object]] = None, connect_via: Optional["IntegrationRuntimeReference"] = None, description: Optional[str] = None, parameters: Optional[Dict[str, "ParameterSpecification"]] = None, annotations: Optional[List[object]] = None, user_id: Optional[object] = None, password: Optional["SecretBase"] = None, encrypted_credential: Optional[object] = None, **kwargs ): super(FileServerLinkedService, self).__init__(additional_properties=additional_properties, connect_via=connect_via, description=description, parameters=parameters, annotations=annotations, **kwargs) self.type = 'FileServer' # type: str self.host = host self.user_id = user_id self.password = password self.encrypted_credential = encrypted_credential
[docs]class FileServerLocation(DatasetLocation): """The location of file server dataset. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Type of dataset storage location.Constant filled by server. :type type: str :param folder_path: Specify the folder path of dataset. Type: string (or Expression with resultType string). :type folder_path: object :param file_name: Specify the file name of dataset. Type: string (or Expression with resultType string). :type file_name: object """ _validation = { 'type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'folder_path': {'key': 'folderPath', 'type': 'object'}, 'file_name': {'key': 'fileName', 'type': 'object'}, } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, folder_path: Optional[object] = None, file_name: Optional[object] = None, **kwargs ): super(FileServerLocation, self).__init__(additional_properties=additional_properties, folder_path=folder_path, file_name=file_name, **kwargs) self.type = 'FileServerLocation' # type: str
[docs]class FileServerReadSettings(StoreReadSettings): """File server read settings. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. The read setting type.Constant filled by server. :type type: str :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object :param recursive: If true, files under the folder path will be read recursively. Default is true. Type: boolean (or Expression with resultType boolean). :type recursive: object :param wildcard_folder_path: FileServer wildcardFolderPath. Type: string (or Expression with resultType string). :type wildcard_folder_path: object :param wildcard_file_name: FileServer wildcardFileName. Type: string (or Expression with resultType string). :type wildcard_file_name: object :param file_list_path: Point to a text file that lists each file (relative path to the path configured in the dataset) that you want to copy. Type: string (or Expression with resultType string). :type file_list_path: object :param enable_partition_discovery: Indicates whether to enable partition discovery. :type enable_partition_discovery: bool :param partition_root_path: Specify the root path where partition discovery starts from. Type: string (or Expression with resultType string). :type partition_root_path: object :param delete_files_after_completion: Indicates whether the source files need to be deleted after copy completion. Default is false. Type: boolean (or Expression with resultType boolean). :type delete_files_after_completion: object :param modified_datetime_start: The start of file's modified datetime. Type: string (or Expression with resultType string). :type modified_datetime_start: object :param modified_datetime_end: The end of file's modified datetime. Type: string (or Expression with resultType string). :type modified_datetime_end: object :param file_filter: Specify a filter to be used to select a subset of files in the folderPath rather than all files. Type: string (or Expression with resultType string). :type file_filter: object """ _validation = { 'type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'recursive': {'key': 'recursive', 'type': 'object'}, 'wildcard_folder_path': {'key': 'wildcardFolderPath', 'type': 'object'}, 'wildcard_file_name': {'key': 'wildcardFileName', 'type': 'object'}, 'file_list_path': {'key': 'fileListPath', 'type': 'object'}, 'enable_partition_discovery': {'key': 'enablePartitionDiscovery', 'type': 'bool'}, 'partition_root_path': {'key': 'partitionRootPath', 'type': 'object'}, 'delete_files_after_completion': {'key': 'deleteFilesAfterCompletion', 'type': 'object'}, 'modified_datetime_start': {'key': 'modifiedDatetimeStart', 'type': 'object'}, 'modified_datetime_end': {'key': 'modifiedDatetimeEnd', 'type': 'object'}, 'file_filter': {'key': 'fileFilter', 'type': 'object'}, } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, max_concurrent_connections: Optional[object] = None, recursive: Optional[object] = None, wildcard_folder_path: Optional[object] = None, wildcard_file_name: Optional[object] = None, file_list_path: Optional[object] = None, enable_partition_discovery: Optional[bool] = None, partition_root_path: Optional[object] = None, delete_files_after_completion: Optional[object] = None, modified_datetime_start: Optional[object] = None, modified_datetime_end: Optional[object] = None, file_filter: Optional[object] = None, **kwargs ): super(FileServerReadSettings, self).__init__(additional_properties=additional_properties, max_concurrent_connections=max_concurrent_connections, **kwargs) self.type = 'FileServerReadSettings' # type: str self.recursive = recursive self.wildcard_folder_path = wildcard_folder_path self.wildcard_file_name = wildcard_file_name self.file_list_path = file_list_path self.enable_partition_discovery = enable_partition_discovery self.partition_root_path = partition_root_path self.delete_files_after_completion = delete_files_after_completion self.modified_datetime_start = modified_datetime_start self.modified_datetime_end = modified_datetime_end self.file_filter = file_filter
[docs]class FileServerWriteSettings(StoreWriteSettings): """File server write settings. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. The write setting type.Constant filled by server. :type type: str :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object :param copy_behavior: The type of copy behavior for copy sink. :type copy_behavior: object """ _validation = { 'type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'copy_behavior': {'key': 'copyBehavior', 'type': 'object'}, } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, max_concurrent_connections: Optional[object] = None, copy_behavior: Optional[object] = None, **kwargs ): super(FileServerWriteSettings, self).__init__(additional_properties=additional_properties, max_concurrent_connections=max_concurrent_connections, copy_behavior=copy_behavior, **kwargs) self.type = 'FileServerWriteSettings' # type: str
[docs]class FileShareDataset(Dataset): """An on-premises file system dataset. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Type of dataset.Constant filled by server. :type type: str :param description: Dataset description. :type description: str :param structure: Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. :type structure: object :param schema: Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. :type linked_service_name: ~azure.synapse.artifacts.models.LinkedServiceReference :param parameters: Parameters for dataset. :type parameters: dict[str, ~azure.synapse.artifacts.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. :type folder: ~azure.synapse.artifacts.models.DatasetFolder :param folder_path: The path of the on-premises file system. Type: string (or Expression with resultType string). :type folder_path: object :param file_name: The name of the on-premises file system. Type: string (or Expression with resultType string). :type file_name: object :param modified_datetime_start: The start of file's modified datetime. Type: string (or Expression with resultType string). :type modified_datetime_start: object :param modified_datetime_end: The end of file's modified datetime. Type: string (or Expression with resultType string). :type modified_datetime_end: object :param format: The format of the files. :type format: ~azure.synapse.artifacts.models.DatasetStorageFormat :param file_filter: Specify a filter to be used to select a subset of files in the folderPath rather than all files. Type: string (or Expression with resultType string). :type file_filter: object :param compression: The data compression method used for the file system. :type compression: ~azure.synapse.artifacts.models.DatasetCompression """ _validation = { 'type': {'required': True}, 'linked_service_name': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'description': {'key': 'description', 'type': 'str'}, 'structure': {'key': 'structure', 'type': 'object'}, 'schema': {'key': 'schema', 'type': 'object'}, 'linked_service_name': {'key': 'linkedServiceName', 'type': 'LinkedServiceReference'}, 'parameters': {'key': 'parameters', 'type': '{ParameterSpecification}'}, 'annotations': {'key': 'annotations', 'type': '[object]'}, 'folder': {'key': 'folder', 'type': 'DatasetFolder'}, 'folder_path': {'key': 'typeProperties.folderPath', 'type': 'object'}, 'file_name': {'key': 'typeProperties.fileName', 'type': 'object'}, 'modified_datetime_start': {'key': 'typeProperties.modifiedDatetimeStart', 'type': 'object'}, 'modified_datetime_end': {'key': 'typeProperties.modifiedDatetimeEnd', 'type': 'object'}, 'format': {'key': 'typeProperties.format', 'type': 'DatasetStorageFormat'}, 'file_filter': {'key': 'typeProperties.fileFilter', 'type': 'object'}, 'compression': {'key': 'typeProperties.compression', 'type': 'DatasetCompression'}, } def __init__( self, *, linked_service_name: "LinkedServiceReference", additional_properties: Optional[Dict[str, object]] = None, description: Optional[str] = None, structure: Optional[object] = None, schema: Optional[object] = None, parameters: Optional[Dict[str, "ParameterSpecification"]] = None, annotations: Optional[List[object]] = None, folder: Optional["DatasetFolder"] = None, folder_path: Optional[object] = None, file_name: Optional[object] = None, modified_datetime_start: Optional[object] = None, modified_datetime_end: Optional[object] = None, format: Optional["DatasetStorageFormat"] = None, file_filter: Optional[object] = None, compression: Optional["DatasetCompression"] = None, **kwargs ): super(FileShareDataset, self).__init__(additional_properties=additional_properties, description=description, structure=structure, schema=schema, linked_service_name=linked_service_name, parameters=parameters, annotations=annotations, folder=folder, **kwargs) self.type = 'FileShare' # type: str self.folder_path = folder_path self.file_name = file_name self.modified_datetime_start = modified_datetime_start self.modified_datetime_end = modified_datetime_end self.format = format self.file_filter = file_filter self.compression = compression
[docs]class FileSystemSink(CopySink): """A copy activity file system sink. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Copy sink type.Constant filled by server. :type type: str :param write_batch_size: Write batch size. Type: integer (or Expression with resultType integer), minimum: 0. :type write_batch_size: object :param write_batch_timeout: Write batch timeout. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type write_batch_timeout: object :param sink_retry_count: Sink retry count. Type: integer (or Expression with resultType integer). :type sink_retry_count: object :param sink_retry_wait: Sink retry wait. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type sink_retry_wait: object :param max_concurrent_connections: The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object :param copy_behavior: The type of copy behavior for copy sink. :type copy_behavior: object """ _validation = { 'type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'write_batch_size': {'key': 'writeBatchSize', 'type': 'object'}, 'write_batch_timeout': {'key': 'writeBatchTimeout', 'type': 'object'}, 'sink_retry_count': {'key': 'sinkRetryCount', 'type': 'object'}, 'sink_retry_wait': {'key': 'sinkRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'copy_behavior': {'key': 'copyBehavior', 'type': 'object'}, } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, write_batch_size: Optional[object] = None, write_batch_timeout: Optional[object] = None, sink_retry_count: Optional[object] = None, sink_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, copy_behavior: Optional[object] = None, **kwargs ): super(FileSystemSink, self).__init__(additional_properties=additional_properties, write_batch_size=write_batch_size, write_batch_timeout=write_batch_timeout, sink_retry_count=sink_retry_count, sink_retry_wait=sink_retry_wait, max_concurrent_connections=max_concurrent_connections, **kwargs) self.type = 'FileSystemSink' # type: str self.copy_behavior = copy_behavior
[docs]class FileSystemSource(CopySource): """A copy activity file system source. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Copy source type.Constant filled by server. :type type: str :param source_retry_count: Source retry count. Type: integer (or Expression with resultType integer). :type source_retry_count: object :param source_retry_wait: Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type source_retry_wait: object :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object :param recursive: If true, files under the folder path will be read recursively. Default is true. Type: boolean (or Expression with resultType boolean). :type recursive: object :param additional_columns: Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects). :type additional_columns: list[~azure.synapse.artifacts.models.AdditionalColumns] """ _validation = { 'type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'recursive': {'key': 'recursive', 'type': 'object'}, 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, source_retry_count: Optional[object] = None, source_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, recursive: Optional[object] = None, additional_columns: Optional[List["AdditionalColumns"]] = None, **kwargs ): super(FileSystemSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, **kwargs) self.type = 'FileSystemSource' # type: str self.recursive = recursive self.additional_columns = additional_columns
[docs]class FilterActivity(ControlActivity): """Filter and return results from input array based on the conditions. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param name: Required. Activity name. :type name: str :param type: Required. Type of activity.Constant filled by server. :type type: str :param description: Activity description. :type description: str :param depends_on: Activity depends on condition. :type depends_on: list[~azure.synapse.artifacts.models.ActivityDependency] :param user_properties: Activity user properties. :type user_properties: list[~azure.synapse.artifacts.models.UserProperty] :param items: Required. Input array on which filter should be applied. :type items: ~azure.synapse.artifacts.models.Expression :param condition: Required. Condition to be used for filtering the input. :type condition: ~azure.synapse.artifacts.models.Expression """ _validation = { 'name': {'required': True}, 'type': {'required': True}, 'items': {'required': True}, 'condition': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'name': {'key': 'name', 'type': 'str'}, 'type': {'key': 'type', 'type': 'str'}, 'description': {'key': 'description', 'type': 'str'}, 'depends_on': {'key': 'dependsOn', 'type': '[ActivityDependency]'}, 'user_properties': {'key': 'userProperties', 'type': '[UserProperty]'}, 'items': {'key': 'typeProperties.items', 'type': 'Expression'}, 'condition': {'key': 'typeProperties.condition', 'type': 'Expression'}, } def __init__( self, *, name: str, items: "Expression", condition: "Expression", additional_properties: Optional[Dict[str, object]] = None, description: Optional[str] = None, depends_on: Optional[List["ActivityDependency"]] = None, user_properties: Optional[List["UserProperty"]] = None, **kwargs ): super(FilterActivity, self).__init__(additional_properties=additional_properties, name=name, description=description, depends_on=depends_on, user_properties=user_properties, **kwargs) self.type = 'Filter' # type: str self.items = items self.condition = condition
[docs]class ForEachActivity(ControlActivity): """This activity is used for iterating over a collection and execute given activities. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param name: Required. Activity name. :type name: str :param type: Required. Type of activity.Constant filled by server. :type type: str :param description: Activity description. :type description: str :param depends_on: Activity depends on condition. :type depends_on: list[~azure.synapse.artifacts.models.ActivityDependency] :param user_properties: Activity user properties. :type user_properties: list[~azure.synapse.artifacts.models.UserProperty] :param is_sequential: Should the loop be executed in sequence or in parallel (max 50). :type is_sequential: bool :param batch_count: Batch count to be used for controlling the number of parallel execution (when isSequential is set to false). :type batch_count: int :param items: Required. Collection to iterate. :type items: ~azure.synapse.artifacts.models.Expression :param activities: Required. List of activities to execute . :type activities: list[~azure.synapse.artifacts.models.Activity] """ _validation = { 'name': {'required': True}, 'type': {'required': True}, 'batch_count': {'maximum': 50}, 'items': {'required': True}, 'activities': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'name': {'key': 'name', 'type': 'str'}, 'type': {'key': 'type', 'type': 'str'}, 'description': {'key': 'description', 'type': 'str'}, 'depends_on': {'key': 'dependsOn', 'type': '[ActivityDependency]'}, 'user_properties': {'key': 'userProperties', 'type': '[UserProperty]'}, 'is_sequential': {'key': 'typeProperties.isSequential', 'type': 'bool'}, 'batch_count': {'key': 'typeProperties.batchCount', 'type': 'int'}, 'items': {'key': 'typeProperties.items', 'type': 'Expression'}, 'activities': {'key': 'typeProperties.activities', 'type': '[Activity]'}, } def __init__( self, *, name: str, items: "Expression", activities: List["Activity"], additional_properties: Optional[Dict[str, object]] = None, description: Optional[str] = None, depends_on: Optional[List["ActivityDependency"]] = None, user_properties: Optional[List["UserProperty"]] = None, is_sequential: Optional[bool] = None, batch_count: Optional[int] = None, **kwargs ): super(ForEachActivity, self).__init__(additional_properties=additional_properties, name=name, description=description, depends_on=depends_on, user_properties=user_properties, **kwargs) self.type = 'ForEach' # type: str self.is_sequential = is_sequential self.batch_count = batch_count self.items = items self.activities = activities
[docs]class FtpReadSettings(StoreReadSettings): """Ftp read settings. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. The read setting type.Constant filled by server. :type type: str :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object :param recursive: If true, files under the folder path will be read recursively. Default is true. Type: boolean (or Expression with resultType boolean). :type recursive: object :param wildcard_folder_path: Ftp wildcardFolderPath. Type: string (or Expression with resultType string). :type wildcard_folder_path: object :param wildcard_file_name: Ftp wildcardFileName. Type: string (or Expression with resultType string). :type wildcard_file_name: object :param enable_partition_discovery: Indicates whether to enable partition discovery. :type enable_partition_discovery: bool :param partition_root_path: Specify the root path where partition discovery starts from. Type: string (or Expression with resultType string). :type partition_root_path: object :param delete_files_after_completion: Indicates whether the source files need to be deleted after copy completion. Default is false. Type: boolean (or Expression with resultType boolean). :type delete_files_after_completion: object :param file_list_path: Point to a text file that lists each file (relative path to the path configured in the dataset) that you want to copy. Type: string (or Expression with resultType string). :type file_list_path: object :param use_binary_transfer: Specify whether to use binary transfer mode for FTP stores. :type use_binary_transfer: bool """ _validation = { 'type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'recursive': {'key': 'recursive', 'type': 'object'}, 'wildcard_folder_path': {'key': 'wildcardFolderPath', 'type': 'object'}, 'wildcard_file_name': {'key': 'wildcardFileName', 'type': 'object'}, 'enable_partition_discovery': {'key': 'enablePartitionDiscovery', 'type': 'bool'}, 'partition_root_path': {'key': 'partitionRootPath', 'type': 'object'}, 'delete_files_after_completion': {'key': 'deleteFilesAfterCompletion', 'type': 'object'}, 'file_list_path': {'key': 'fileListPath', 'type': 'object'}, 'use_binary_transfer': {'key': 'useBinaryTransfer', 'type': 'bool'}, } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, max_concurrent_connections: Optional[object] = None, recursive: Optional[object] = None, wildcard_folder_path: Optional[object] = None, wildcard_file_name: Optional[object] = None, enable_partition_discovery: Optional[bool] = None, partition_root_path: Optional[object] = None, delete_files_after_completion: Optional[object] = None, file_list_path: Optional[object] = None, use_binary_transfer: Optional[bool] = None, **kwargs ): super(FtpReadSettings, self).__init__(additional_properties=additional_properties, max_concurrent_connections=max_concurrent_connections, **kwargs) self.type = 'FtpReadSettings' # type: str self.recursive = recursive self.wildcard_folder_path = wildcard_folder_path self.wildcard_file_name = wildcard_file_name self.enable_partition_discovery = enable_partition_discovery self.partition_root_path = partition_root_path self.delete_files_after_completion = delete_files_after_completion self.file_list_path = file_list_path self.use_binary_transfer = use_binary_transfer
[docs]class FtpServerLinkedService(LinkedService): """A FTP server Linked Service. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. :type connect_via: ~azure.synapse.artifacts.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. :type parameters: dict[str, ~azure.synapse.artifacts.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param host: Required. Host name of the FTP server. Type: string (or Expression with resultType string). :type host: object :param port: The TCP port number that the FTP server uses to listen for client connections. Default value is 21. Type: integer (or Expression with resultType integer), minimum: 0. :type port: object :param authentication_type: The authentication type to be used to connect to the FTP server. Possible values include: "Basic", "Anonymous". :type authentication_type: str or ~azure.synapse.artifacts.models.FtpAuthenticationType :param user_name: Username to logon the FTP server. Type: string (or Expression with resultType string). :type user_name: object :param password: Password to logon the FTP server. :type password: ~azure.synapse.artifacts.models.SecretBase :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). :type encrypted_credential: object :param enable_ssl: If true, connect to the FTP server over SSL/TLS channel. Default value is true. Type: boolean (or Expression with resultType boolean). :type enable_ssl: object :param enable_server_certificate_validation: If true, validate the FTP server SSL certificate when connect over SSL/TLS channel. Default value is true. Type: boolean (or Expression with resultType boolean). :type enable_server_certificate_validation: object """ _validation = { 'type': {'required': True}, 'host': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'connect_via': {'key': 'connectVia', 'type': 'IntegrationRuntimeReference'}, 'description': {'key': 'description', 'type': 'str'}, 'parameters': {'key': 'parameters', 'type': '{ParameterSpecification}'}, 'annotations': {'key': 'annotations', 'type': '[object]'}, 'host': {'key': 'typeProperties.host', 'type': 'object'}, 'port': {'key': 'typeProperties.port', 'type': 'object'}, 'authentication_type': {'key': 'typeProperties.authenticationType', 'type': 'str'}, 'user_name': {'key': 'typeProperties.userName', 'type': 'object'}, 'password': {'key': 'typeProperties.password', 'type': 'SecretBase'}, 'encrypted_credential': {'key': 'typeProperties.encryptedCredential', 'type': 'object'}, 'enable_ssl': {'key': 'typeProperties.enableSsl', 'type': 'object'}, 'enable_server_certificate_validation': {'key': 'typeProperties.enableServerCertificateValidation', 'type': 'object'}, } def __init__( self, *, host: object, additional_properties: Optional[Dict[str, object]] = None, connect_via: Optional["IntegrationRuntimeReference"] = None, description: Optional[str] = None, parameters: Optional[Dict[str, "ParameterSpecification"]] = None, annotations: Optional[List[object]] = None, port: Optional[object] = None, authentication_type: Optional[Union[str, "FtpAuthenticationType"]] = None, user_name: Optional[object] = None, password: Optional["SecretBase"] = None, encrypted_credential: Optional[object] = None, enable_ssl: Optional[object] = None, enable_server_certificate_validation: Optional[object] = None, **kwargs ): super(FtpServerLinkedService, self).__init__(additional_properties=additional_properties, connect_via=connect_via, description=description, parameters=parameters, annotations=annotations, **kwargs) self.type = 'FtpServer' # type: str self.host = host self.port = port self.authentication_type = authentication_type self.user_name = user_name self.password = password self.encrypted_credential = encrypted_credential self.enable_ssl = enable_ssl self.enable_server_certificate_validation = enable_server_certificate_validation
[docs]class FtpServerLocation(DatasetLocation): """The location of ftp server dataset. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Type of dataset storage location.Constant filled by server. :type type: str :param folder_path: Specify the folder path of dataset. Type: string (or Expression with resultType string). :type folder_path: object :param file_name: Specify the file name of dataset. Type: string (or Expression with resultType string). :type file_name: object """ _validation = { 'type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'folder_path': {'key': 'folderPath', 'type': 'object'}, 'file_name': {'key': 'fileName', 'type': 'object'}, } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, folder_path: Optional[object] = None, file_name: Optional[object] = None, **kwargs ): super(FtpServerLocation, self).__init__(additional_properties=additional_properties, folder_path=folder_path, file_name=file_name, **kwargs) self.type = 'FtpServerLocation' # type: str
[docs]class GetMetadataActivity(ExecutionActivity): """Activity to get metadata of dataset. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param name: Required. Activity name. :type name: str :param type: Required. Type of activity.Constant filled by server. :type type: str :param description: Activity description. :type description: str :param depends_on: Activity depends on condition. :type depends_on: list[~azure.synapse.artifacts.models.ActivityDependency] :param user_properties: Activity user properties. :type user_properties: list[~azure.synapse.artifacts.models.UserProperty] :param linked_service_name: Linked service reference. :type linked_service_name: ~azure.synapse.artifacts.models.LinkedServiceReference :param policy: Activity policy. :type policy: ~azure.synapse.artifacts.models.ActivityPolicy :param dataset: Required. GetMetadata activity dataset reference. :type dataset: ~azure.synapse.artifacts.models.DatasetReference :param field_list: Fields of metadata to get from dataset. :type field_list: list[object] :param store_settings: GetMetadata activity store settings. :type store_settings: ~azure.synapse.artifacts.models.StoreReadSettings :param format_settings: GetMetadata activity format settings. :type format_settings: ~azure.synapse.artifacts.models.FormatReadSettings """ _validation = { 'name': {'required': True}, 'type': {'required': True}, 'dataset': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'name': {'key': 'name', 'type': 'str'}, 'type': {'key': 'type', 'type': 'str'}, 'description': {'key': 'description', 'type': 'str'}, 'depends_on': {'key': 'dependsOn', 'type': '[ActivityDependency]'}, 'user_properties': {'key': 'userProperties', 'type': '[UserProperty]'}, 'linked_service_name': {'key': 'linkedServiceName', 'type': 'LinkedServiceReference'}, 'policy': {'key': 'policy', 'type': 'ActivityPolicy'}, 'dataset': {'key': 'typeProperties.dataset', 'type': 'DatasetReference'}, 'field_list': {'key': 'typeProperties.fieldList', 'type': '[object]'}, 'store_settings': {'key': 'typeProperties.storeSettings', 'type': 'StoreReadSettings'}, 'format_settings': {'key': 'typeProperties.formatSettings', 'type': 'FormatReadSettings'}, } def __init__( self, *, name: str, dataset: "DatasetReference", additional_properties: Optional[Dict[str, object]] = None, description: Optional[str] = None, depends_on: Optional[List["ActivityDependency"]] = None, user_properties: Optional[List["UserProperty"]] = None, linked_service_name: Optional["LinkedServiceReference"] = None, policy: Optional["ActivityPolicy"] = None, field_list: Optional[List[object]] = None, store_settings: Optional["StoreReadSettings"] = None, format_settings: Optional["FormatReadSettings"] = None, **kwargs ): super(GetMetadataActivity, self).__init__(additional_properties=additional_properties, name=name, description=description, depends_on=depends_on, user_properties=user_properties, linked_service_name=linked_service_name, policy=policy, **kwargs) self.type = 'GetMetadata' # type: str self.dataset = dataset self.field_list = field_list self.store_settings = store_settings self.format_settings = format_settings
[docs]class GetSsisObjectMetadataRequest(msrest.serialization.Model): """The request payload of get SSIS object metadata. :param metadata_path: Metadata path. :type metadata_path: str """ _attribute_map = { 'metadata_path': {'key': 'metadataPath', 'type': 'str'}, } def __init__( self, *, metadata_path: Optional[str] = None, **kwargs ): super(GetSsisObjectMetadataRequest, self).__init__(**kwargs) self.metadata_path = metadata_path
[docs]class GitHubAccessTokenRequest(msrest.serialization.Model): """GitHubAccessTokenRequest. All required parameters must be populated in order to send to Azure. :param git_hub_client_id: Required. The GitHub Client Id. :type git_hub_client_id: str :param git_hub_access_code: Required. The GitHub Access code. :type git_hub_access_code: str :param git_hub_access_token_base_url: Required. The GitHub access token base URL. :type git_hub_access_token_base_url: str """ _validation = { 'git_hub_client_id': {'required': True}, 'git_hub_access_code': {'required': True}, 'git_hub_access_token_base_url': {'required': True}, } _attribute_map = { 'git_hub_client_id': {'key': 'gitHubClientId', 'type': 'str'}, 'git_hub_access_code': {'key': 'gitHubAccessCode', 'type': 'str'}, 'git_hub_access_token_base_url': {'key': 'gitHubAccessTokenBaseUrl', 'type': 'str'}, } def __init__( self, *, git_hub_client_id: str, git_hub_access_code: str, git_hub_access_token_base_url: str, **kwargs ): super(GitHubAccessTokenRequest, self).__init__(**kwargs) self.git_hub_client_id = git_hub_client_id self.git_hub_access_code = git_hub_access_code self.git_hub_access_token_base_url = git_hub_access_token_base_url
[docs]class GitHubAccessTokenResponse(msrest.serialization.Model): """GitHubAccessTokenResponse. :param git_hub_access_token: :type git_hub_access_token: str """ _attribute_map = { 'git_hub_access_token': {'key': 'gitHubAccessToken', 'type': 'str'}, } def __init__( self, *, git_hub_access_token: Optional[str] = None, **kwargs ): super(GitHubAccessTokenResponse, self).__init__(**kwargs) self.git_hub_access_token = git_hub_access_token
[docs]class GoogleAdWordsLinkedService(LinkedService): """Google AdWords service linked service. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. :type connect_via: ~azure.synapse.artifacts.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. :type parameters: dict[str, ~azure.synapse.artifacts.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param client_customer_id: Required. The Client customer ID of the AdWords account that you want to fetch report data for. :type client_customer_id: object :param developer_token: Required. The developer token associated with the manager account that you use to grant access to the AdWords API. :type developer_token: ~azure.synapse.artifacts.models.SecretBase :param authentication_type: Required. The OAuth 2.0 authentication mechanism used for authentication. ServiceAuthentication can only be used on self-hosted IR. Possible values include: "ServiceAuthentication", "UserAuthentication". :type authentication_type: str or ~azure.synapse.artifacts.models.GoogleAdWordsAuthenticationType :param refresh_token: The refresh token obtained from Google for authorizing access to AdWords for UserAuthentication. :type refresh_token: ~azure.synapse.artifacts.models.SecretBase :param client_id: The client id of the google application used to acquire the refresh token. Type: string (or Expression with resultType string). :type client_id: object :param client_secret: The client secret of the google application used to acquire the refresh token. :type client_secret: ~azure.synapse.artifacts.models.SecretBase :param email: The service account email ID that is used for ServiceAuthentication and can only be used on self-hosted IR. :type email: object :param key_file_path: The full path to the .p12 key file that is used to authenticate the service account email address and can only be used on self-hosted IR. :type key_file_path: object :param trusted_cert_path: The full path of the .pem file containing trusted CA certificates for verifying the server when connecting over SSL. This property can only be set when using SSL on self-hosted IR. The default value is the cacerts.pem file installed with the IR. :type trusted_cert_path: object :param use_system_trust_store: Specifies whether to use a CA certificate from the system trust store or from a specified PEM file. The default value is false. :type use_system_trust_store: 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). :type encrypted_credential: object """ _validation = { 'type': {'required': True}, 'client_customer_id': {'required': True}, 'developer_token': {'required': True}, 'authentication_type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'connect_via': {'key': 'connectVia', 'type': 'IntegrationRuntimeReference'}, 'description': {'key': 'description', 'type': 'str'}, 'parameters': {'key': 'parameters', 'type': '{ParameterSpecification}'}, 'annotations': {'key': 'annotations', 'type': '[object]'}, 'client_customer_id': {'key': 'typeProperties.clientCustomerID', 'type': 'object'}, 'developer_token': {'key': 'typeProperties.developerToken', 'type': 'SecretBase'}, 'authentication_type': {'key': 'typeProperties.authenticationType', 'type': 'str'}, 'refresh_token': {'key': 'typeProperties.refreshToken', 'type': 'SecretBase'}, 'client_id': {'key': 'typeProperties.clientId', 'type': 'object'}, 'client_secret': {'key': 'typeProperties.clientSecret', 'type': 'SecretBase'}, 'email': {'key': 'typeProperties.email', 'type': 'object'}, 'key_file_path': {'key': 'typeProperties.keyFilePath', 'type': 'object'}, 'trusted_cert_path': {'key': 'typeProperties.trustedCertPath', 'type': 'object'}, 'use_system_trust_store': {'key': 'typeProperties.useSystemTrustStore', 'type': 'object'}, 'encrypted_credential': {'key': 'typeProperties.encryptedCredential', 'type': 'object'}, } def __init__( self, *, client_customer_id: object, developer_token: "SecretBase", authentication_type: Union[str, "GoogleAdWordsAuthenticationType"], additional_properties: Optional[Dict[str, object]] = None, connect_via: Optional["IntegrationRuntimeReference"] = None, description: Optional[str] = None, parameters: Optional[Dict[str, "ParameterSpecification"]] = None, annotations: Optional[List[object]] = None, refresh_token: Optional["SecretBase"] = None, client_id: Optional[object] = None, client_secret: Optional["SecretBase"] = None, email: Optional[object] = None, key_file_path: Optional[object] = None, trusted_cert_path: Optional[object] = None, use_system_trust_store: Optional[object] = None, encrypted_credential: Optional[object] = None, **kwargs ): super(GoogleAdWordsLinkedService, self).__init__(additional_properties=additional_properties, connect_via=connect_via, description=description, parameters=parameters, annotations=annotations, **kwargs) self.type = 'GoogleAdWords' # type: str self.client_customer_id = client_customer_id self.developer_token = developer_token self.authentication_type = authentication_type self.refresh_token = refresh_token self.client_id = client_id self.client_secret = client_secret self.email = email self.key_file_path = key_file_path self.trusted_cert_path = trusted_cert_path self.use_system_trust_store = use_system_trust_store self.encrypted_credential = encrypted_credential
[docs]class GoogleAdWordsObjectDataset(Dataset): """Google AdWords service dataset. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Type of dataset.Constant filled by server. :type type: str :param description: Dataset description. :type description: str :param structure: Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. :type structure: object :param schema: Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. :type linked_service_name: ~azure.synapse.artifacts.models.LinkedServiceReference :param parameters: Parameters for dataset. :type parameters: dict[str, ~azure.synapse.artifacts.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. :type folder: ~azure.synapse.artifacts.models.DatasetFolder :param table_name: The table name. Type: string (or Expression with resultType string). :type table_name: object """ _validation = { 'type': {'required': True}, 'linked_service_name': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'description': {'key': 'description', 'type': 'str'}, 'structure': {'key': 'structure', 'type': 'object'}, 'schema': {'key': 'schema', 'type': 'object'}, 'linked_service_name': {'key': 'linkedServiceName', 'type': 'LinkedServiceReference'}, 'parameters': {'key': 'parameters', 'type': '{ParameterSpecification}'}, 'annotations': {'key': 'annotations', 'type': '[object]'}, 'folder': {'key': 'folder', 'type': 'DatasetFolder'}, 'table_name': {'key': 'typeProperties.tableName', 'type': 'object'}, } def __init__( self, *, linked_service_name: "LinkedServiceReference", additional_properties: Optional[Dict[str, object]] = None, description: Optional[str] = None, structure: Optional[object] = None, schema: Optional[object] = None, parameters: Optional[Dict[str, "ParameterSpecification"]] = None, annotations: Optional[List[object]] = None, folder: Optional["DatasetFolder"] = None, table_name: Optional[object] = None, **kwargs ): super(GoogleAdWordsObjectDataset, self).__init__(additional_properties=additional_properties, description=description, structure=structure, schema=schema, linked_service_name=linked_service_name, parameters=parameters, annotations=annotations, folder=folder, **kwargs) self.type = 'GoogleAdWordsObject' # type: str self.table_name = table_name
[docs]class GoogleAdWordsSource(TabularSource): """A copy activity Google AdWords service source. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Copy source type.Constant filled by server. :type type: str :param source_retry_count: Source retry count. Type: integer (or Expression with resultType integer). :type source_retry_count: object :param source_retry_wait: Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type source_retry_wait: object :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object :param query_timeout: Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type query_timeout: object :param additional_columns: Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects). :type additional_columns: list[~azure.synapse.artifacts.models.AdditionalColumns] :param query: A query to retrieve data from source. Type: string (or Expression with resultType string). :type query: object """ _validation = { 'type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, 'query': {'key': 'query', 'type': 'object'}, } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, source_retry_count: Optional[object] = None, source_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, query_timeout: Optional[object] = None, additional_columns: Optional[List["AdditionalColumns"]] = None, query: Optional[object] = None, **kwargs ): super(GoogleAdWordsSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, query_timeout=query_timeout, additional_columns=additional_columns, **kwargs) self.type = 'GoogleAdWordsSource' # type: str self.query = query
[docs]class GoogleBigQueryLinkedService(LinkedService): """Google BigQuery service linked service. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. :type connect_via: ~azure.synapse.artifacts.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. :type parameters: dict[str, ~azure.synapse.artifacts.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param project: Required. The default BigQuery project to query against. :type project: object :param additional_projects: A comma-separated list of public BigQuery projects to access. :type additional_projects: object :param request_google_drive_scope: Whether to request access to Google Drive. Allowing Google Drive access enables support for federated tables that combine BigQuery data with data from Google Drive. The default value is false. :type request_google_drive_scope: object :param authentication_type: Required. The OAuth 2.0 authentication mechanism used for authentication. ServiceAuthentication can only be used on self-hosted IR. Possible values include: "ServiceAuthentication", "UserAuthentication". :type authentication_type: str or ~azure.synapse.artifacts.models.GoogleBigQueryAuthenticationType :param refresh_token: The refresh token obtained from Google for authorizing access to BigQuery for UserAuthentication. :type refresh_token: ~azure.synapse.artifacts.models.SecretBase :param client_id: The client id of the google application used to acquire the refresh token. Type: string (or Expression with resultType string). :type client_id: object :param client_secret: The client secret of the google application used to acquire the refresh token. :type client_secret: ~azure.synapse.artifacts.models.SecretBase :param email: The service account email ID that is used for ServiceAuthentication and can only be used on self-hosted IR. :type email: object :param key_file_path: The full path to the .p12 key file that is used to authenticate the service account email address and can only be used on self-hosted IR. :type key_file_path: object :param trusted_cert_path: The full path of the .pem file containing trusted CA certificates for verifying the server when connecting over SSL. This property can only be set when using SSL on self-hosted IR. The default value is the cacerts.pem file installed with the IR. :type trusted_cert_path: object :param use_system_trust_store: Specifies whether to use a CA certificate from the system trust store or from a specified PEM file. The default value is false. :type use_system_trust_store: 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). :type encrypted_credential: object """ _validation = { 'type': {'required': True}, 'project': {'required': True}, 'authentication_type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'connect_via': {'key': 'connectVia', 'type': 'IntegrationRuntimeReference'}, 'description': {'key': 'description', 'type': 'str'}, 'parameters': {'key': 'parameters', 'type': '{ParameterSpecification}'}, 'annotations': {'key': 'annotations', 'type': '[object]'}, 'project': {'key': 'typeProperties.project', 'type': 'object'}, 'additional_projects': {'key': 'typeProperties.additionalProjects', 'type': 'object'}, 'request_google_drive_scope': {'key': 'typeProperties.requestGoogleDriveScope', 'type': 'object'}, 'authentication_type': {'key': 'typeProperties.authenticationType', 'type': 'str'}, 'refresh_token': {'key': 'typeProperties.refreshToken', 'type': 'SecretBase'}, 'client_id': {'key': 'typeProperties.clientId', 'type': 'object'}, 'client_secret': {'key': 'typeProperties.clientSecret', 'type': 'SecretBase'}, 'email': {'key': 'typeProperties.email', 'type': 'object'}, 'key_file_path': {'key': 'typeProperties.keyFilePath', 'type': 'object'}, 'trusted_cert_path': {'key': 'typeProperties.trustedCertPath', 'type': 'object'}, 'use_system_trust_store': {'key': 'typeProperties.useSystemTrustStore', 'type': 'object'}, 'encrypted_credential': {'key': 'typeProperties.encryptedCredential', 'type': 'object'}, } def __init__( self, *, project: object, authentication_type: Union[str, "GoogleBigQueryAuthenticationType"], additional_properties: Optional[Dict[str, object]] = None, connect_via: Optional["IntegrationRuntimeReference"] = None, description: Optional[str] = None, parameters: Optional[Dict[str, "ParameterSpecification"]] = None, annotations: Optional[List[object]] = None, additional_projects: Optional[object] = None, request_google_drive_scope: Optional[object] = None, refresh_token: Optional["SecretBase"] = None, client_id: Optional[object] = None, client_secret: Optional["SecretBase"] = None, email: Optional[object] = None, key_file_path: Optional[object] = None, trusted_cert_path: Optional[object] = None, use_system_trust_store: Optional[object] = None, encrypted_credential: Optional[object] = None, **kwargs ): super(GoogleBigQueryLinkedService, self).__init__(additional_properties=additional_properties, connect_via=connect_via, description=description, parameters=parameters, annotations=annotations, **kwargs) self.type = 'GoogleBigQuery' # type: str self.project = project self.additional_projects = additional_projects self.request_google_drive_scope = request_google_drive_scope self.authentication_type = authentication_type self.refresh_token = refresh_token self.client_id = client_id self.client_secret = client_secret self.email = email self.key_file_path = key_file_path self.trusted_cert_path = trusted_cert_path self.use_system_trust_store = use_system_trust_store self.encrypted_credential = encrypted_credential
[docs]class GoogleBigQueryObjectDataset(Dataset): """Google BigQuery service dataset. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Type of dataset.Constant filled by server. :type type: str :param description: Dataset description. :type description: str :param structure: Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. :type structure: object :param schema: Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. :type linked_service_name: ~azure.synapse.artifacts.models.LinkedServiceReference :param parameters: Parameters for dataset. :type parameters: dict[str, ~azure.synapse.artifacts.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. :type folder: ~azure.synapse.artifacts.models.DatasetFolder :param table_name: This property will be retired. Please consider using database + table properties instead. :type table_name: object :param table: The table name of the Google BigQuery. Type: string (or Expression with resultType string). :type table: object :param dataset: The database name of the Google BigQuery. Type: string (or Expression with resultType string). :type dataset: object """ _validation = { 'type': {'required': True}, 'linked_service_name': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'description': {'key': 'description', 'type': 'str'}, 'structure': {'key': 'structure', 'type': 'object'}, 'schema': {'key': 'schema', 'type': 'object'}, 'linked_service_name': {'key': 'linkedServiceName', 'type': 'LinkedServiceReference'}, 'parameters': {'key': 'parameters', 'type': '{ParameterSpecification}'}, 'annotations': {'key': 'annotations', 'type': '[object]'}, 'folder': {'key': 'folder', 'type': 'DatasetFolder'}, 'table_name': {'key': 'typeProperties.tableName', 'type': 'object'}, 'table': {'key': 'typeProperties.table', 'type': 'object'}, 'dataset': {'key': 'typeProperties.dataset', 'type': 'object'}, } def __init__( self, *, linked_service_name: "LinkedServiceReference", additional_properties: Optional[Dict[str, object]] = None, description: Optional[str] = None, structure: Optional[object] = None, schema: Optional[object] = None, parameters: Optional[Dict[str, "ParameterSpecification"]] = None, annotations: Optional[List[object]] = None, folder: Optional["DatasetFolder"] = None, table_name: Optional[object] = None, table: Optional[object] = None, dataset: Optional[object] = None, **kwargs ): super(GoogleBigQueryObjectDataset, self).__init__(additional_properties=additional_properties, description=description, structure=structure, schema=schema, linked_service_name=linked_service_name, parameters=parameters, annotations=annotations, folder=folder, **kwargs) self.type = 'GoogleBigQueryObject' # type: str self.table_name = table_name self.table = table self.dataset = dataset
[docs]class GoogleBigQuerySource(TabularSource): """A copy activity Google BigQuery service source. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Copy source type.Constant filled by server. :type type: str :param source_retry_count: Source retry count. Type: integer (or Expression with resultType integer). :type source_retry_count: object :param source_retry_wait: Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type source_retry_wait: object :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object :param query_timeout: Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type query_timeout: object :param additional_columns: Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects). :type additional_columns: list[~azure.synapse.artifacts.models.AdditionalColumns] :param query: A query to retrieve data from source. Type: string (or Expression with resultType string). :type query: object """ _validation = { 'type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, 'query': {'key': 'query', 'type': 'object'}, } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, source_retry_count: Optional[object] = None, source_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, query_timeout: Optional[object] = None, additional_columns: Optional[List["AdditionalColumns"]] = None, query: Optional[object] = None, **kwargs ): super(GoogleBigQuerySource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, query_timeout=query_timeout, additional_columns=additional_columns, **kwargs) self.type = 'GoogleBigQuerySource' # type: str self.query = query
[docs]class GoogleCloudStorageLinkedService(LinkedService): """Linked service for Google Cloud Storage. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. :type connect_via: ~azure.synapse.artifacts.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. :type parameters: dict[str, ~azure.synapse.artifacts.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param access_key_id: The access key identifier of the Google Cloud Storage Identity and Access Management (IAM) user. Type: string (or Expression with resultType string). :type access_key_id: object :param secret_access_key: The secret access key of the Google Cloud Storage Identity and Access Management (IAM) user. :type secret_access_key: ~azure.synapse.artifacts.models.SecretBase :param service_url: This value specifies the endpoint to access with the Google Cloud Storage Connector. This is an optional property; change it only if you want to try a different service endpoint or want to switch between https and http. Type: string (or Expression with resultType string). :type service_url: 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). :type encrypted_credential: object """ _validation = { 'type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'connect_via': {'key': 'connectVia', 'type': 'IntegrationRuntimeReference'}, 'description': {'key': 'description', 'type': 'str'}, 'parameters': {'key': 'parameters', 'type': '{ParameterSpecification}'}, 'annotations': {'key': 'annotations', 'type': '[object]'}, 'access_key_id': {'key': 'typeProperties.accessKeyId', 'type': 'object'}, 'secret_access_key': {'key': 'typeProperties.secretAccessKey', 'type': 'SecretBase'}, 'service_url': {'key': 'typeProperties.serviceUrl', 'type': 'object'}, 'encrypted_credential': {'key': 'typeProperties.encryptedCredential', 'type': 'object'}, } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, connect_via: Optional["IntegrationRuntimeReference"] = None, description: Optional[str] = None, parameters: Optional[Dict[str, "ParameterSpecification"]] = None, annotations: Optional[List[object]] = None, access_key_id: Optional[object] = None, secret_access_key: Optional["SecretBase"] = None, service_url: Optional[object] = None, encrypted_credential: Optional[object] = None, **kwargs ): super(GoogleCloudStorageLinkedService, self).__init__(additional_properties=additional_properties, connect_via=connect_via, description=description, parameters=parameters, annotations=annotations, **kwargs) self.type = 'GoogleCloudStorage' # type: str self.access_key_id = access_key_id self.secret_access_key = secret_access_key self.service_url = service_url self.encrypted_credential = encrypted_credential
[docs]class GoogleCloudStorageLocation(DatasetLocation): """The location of Google Cloud Storage dataset. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Type of dataset storage location.Constant filled by server. :type type: str :param folder_path: Specify the folder path of dataset. Type: string (or Expression with resultType string). :type folder_path: object :param file_name: Specify the file name of dataset. Type: string (or Expression with resultType string). :type file_name: object :param bucket_name: Specify the bucketName of Google Cloud Storage. Type: string (or Expression with resultType string). :type bucket_name: object :param version: Specify the version of Google Cloud Storage. Type: string (or Expression with resultType string). :type version: object """ _validation = { 'type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'folder_path': {'key': 'folderPath', 'type': 'object'}, 'file_name': {'key': 'fileName', 'type': 'object'}, 'bucket_name': {'key': 'bucketName', 'type': 'object'}, 'version': {'key': 'version', 'type': 'object'}, } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, folder_path: Optional[object] = None, file_name: Optional[object] = None, bucket_name: Optional[object] = None, version: Optional[object] = None, **kwargs ): super(GoogleCloudStorageLocation, self).__init__(additional_properties=additional_properties, folder_path=folder_path, file_name=file_name, **kwargs) self.type = 'GoogleCloudStorageLocation' # type: str self.bucket_name = bucket_name self.version = version
[docs]class GoogleCloudStorageReadSettings(StoreReadSettings): """Google Cloud Storage read settings. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. The read setting type.Constant filled by server. :type type: str :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object :param recursive: If true, files under the folder path will be read recursively. Default is true. Type: boolean (or Expression with resultType boolean). :type recursive: object :param wildcard_folder_path: Google Cloud Storage wildcardFolderPath. Type: string (or Expression with resultType string). :type wildcard_folder_path: object :param wildcard_file_name: Google Cloud Storage wildcardFileName. Type: string (or Expression with resultType string). :type wildcard_file_name: object :param prefix: The prefix filter for the Google Cloud Storage object name. Type: string (or Expression with resultType string). :type prefix: object :param file_list_path: Point to a text file that lists each file (relative path to the path configured in the dataset) that you want to copy. Type: string (or Expression with resultType string). :type file_list_path: object :param enable_partition_discovery: Indicates whether to enable partition discovery. :type enable_partition_discovery: bool :param partition_root_path: Specify the root path where partition discovery starts from. Type: string (or Expression with resultType string). :type partition_root_path: object :param delete_files_after_completion: Indicates whether the source files need to be deleted after copy completion. Default is false. Type: boolean (or Expression with resultType boolean). :type delete_files_after_completion: object :param modified_datetime_start: The start of file's modified datetime. Type: string (or Expression with resultType string). :type modified_datetime_start: object :param modified_datetime_end: The end of file's modified datetime. Type: string (or Expression with resultType string). :type modified_datetime_end: object """ _validation = { 'type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'recursive': {'key': 'recursive', 'type': 'object'}, 'wildcard_folder_path': {'key': 'wildcardFolderPath', 'type': 'object'}, 'wildcard_file_name': {'key': 'wildcardFileName', 'type': 'object'}, 'prefix': {'key': 'prefix', 'type': 'object'}, 'file_list_path': {'key': 'fileListPath', 'type': 'object'}, 'enable_partition_discovery': {'key': 'enablePartitionDiscovery', 'type': 'bool'}, 'partition_root_path': {'key': 'partitionRootPath', 'type': 'object'}, 'delete_files_after_completion': {'key': 'deleteFilesAfterCompletion', 'type': 'object'}, 'modified_datetime_start': {'key': 'modifiedDatetimeStart', 'type': 'object'}, 'modified_datetime_end': {'key': 'modifiedDatetimeEnd', 'type': 'object'}, } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, max_concurrent_connections: Optional[object] = None, recursive: Optional[object] = None, wildcard_folder_path: Optional[object] = None, wildcard_file_name: Optional[object] = None, prefix: Optional[object] = None, file_list_path: Optional[object] = None, enable_partition_discovery: Optional[bool] = None, partition_root_path: Optional[object] = None, delete_files_after_completion: Optional[object] = None, modified_datetime_start: Optional[object] = None, modified_datetime_end: Optional[object] = None, **kwargs ): super(GoogleCloudStorageReadSettings, self).__init__(additional_properties=additional_properties, max_concurrent_connections=max_concurrent_connections, **kwargs) self.type = 'GoogleCloudStorageReadSettings' # type: str self.recursive = recursive self.wildcard_folder_path = wildcard_folder_path self.wildcard_file_name = wildcard_file_name self.prefix = prefix self.file_list_path = file_list_path self.enable_partition_discovery = enable_partition_discovery self.partition_root_path = partition_root_path self.delete_files_after_completion = delete_files_after_completion self.modified_datetime_start = modified_datetime_start self.modified_datetime_end = modified_datetime_end
[docs]class GreenplumLinkedService(LinkedService): """Greenplum Database linked service. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. :type connect_via: ~azure.synapse.artifacts.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. :type parameters: dict[str, ~azure.synapse.artifacts.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param connection_string: An ODBC connection string. Type: string, SecureString or AzureKeyVaultSecretReference. :type connection_string: object :param pwd: The Azure key vault secret reference of password in connection string. :type pwd: ~azure.synapse.artifacts.models.AzureKeyVaultSecretReference :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). :type encrypted_credential: object """ _validation = { 'type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'connect_via': {'key': 'connectVia', 'type': 'IntegrationRuntimeReference'}, 'description': {'key': 'description', 'type': 'str'}, 'parameters': {'key': 'parameters', 'type': '{ParameterSpecification}'}, 'annotations': {'key': 'annotations', 'type': '[object]'}, 'connection_string': {'key': 'typeProperties.connectionString', 'type': 'object'}, 'pwd': {'key': 'typeProperties.pwd', 'type': 'AzureKeyVaultSecretReference'}, 'encrypted_credential': {'key': 'typeProperties.encryptedCredential', 'type': 'object'}, } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, connect_via: Optional["IntegrationRuntimeReference"] = None, description: Optional[str] = None, parameters: Optional[Dict[str, "ParameterSpecification"]] = None, annotations: Optional[List[object]] = None, connection_string: Optional[object] = None, pwd: Optional["AzureKeyVaultSecretReference"] = None, encrypted_credential: Optional[object] = None, **kwargs ): super(GreenplumLinkedService, self).__init__(additional_properties=additional_properties, connect_via=connect_via, description=description, parameters=parameters, annotations=annotations, **kwargs) self.type = 'Greenplum' # type: str self.connection_string = connection_string self.pwd = pwd self.encrypted_credential = encrypted_credential
[docs]class GreenplumSource(TabularSource): """A copy activity Greenplum Database source. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Copy source type.Constant filled by server. :type type: str :param source_retry_count: Source retry count. Type: integer (or Expression with resultType integer). :type source_retry_count: object :param source_retry_wait: Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type source_retry_wait: object :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object :param query_timeout: Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type query_timeout: object :param additional_columns: Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects). :type additional_columns: list[~azure.synapse.artifacts.models.AdditionalColumns] :param query: A query to retrieve data from source. Type: string (or Expression with resultType string). :type query: object """ _validation = { 'type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, 'query': {'key': 'query', 'type': 'object'}, } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, source_retry_count: Optional[object] = None, source_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, query_timeout: Optional[object] = None, additional_columns: Optional[List["AdditionalColumns"]] = None, query: Optional[object] = None, **kwargs ): super(GreenplumSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, query_timeout=query_timeout, additional_columns=additional_columns, **kwargs) self.type = 'GreenplumSource' # type: str self.query = query
[docs]class GreenplumTableDataset(Dataset): """Greenplum Database dataset. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Type of dataset.Constant filled by server. :type type: str :param description: Dataset description. :type description: str :param structure: Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. :type structure: object :param schema: Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. :type linked_service_name: ~azure.synapse.artifacts.models.LinkedServiceReference :param parameters: Parameters for dataset. :type parameters: dict[str, ~azure.synapse.artifacts.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. :type folder: ~azure.synapse.artifacts.models.DatasetFolder :param table_name: This property will be retired. Please consider using schema + table properties instead. :type table_name: object :param table: The table name of Greenplum. Type: string (or Expression with resultType string). :type table: object :param schema_type_properties_schema: The schema name of Greenplum. Type: string (or Expression with resultType string). :type schema_type_properties_schema: object """ _validation = { 'type': {'required': True}, 'linked_service_name': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'description': {'key': 'description', 'type': 'str'}, 'structure': {'key': 'structure', 'type': 'object'}, 'schema': {'key': 'schema', 'type': 'object'}, 'linked_service_name': {'key': 'linkedServiceName', 'type': 'LinkedServiceReference'}, 'parameters': {'key': 'parameters', 'type': '{ParameterSpecification}'}, 'annotations': {'key': 'annotations', 'type': '[object]'}, 'folder': {'key': 'folder', 'type': 'DatasetFolder'}, 'table_name': {'key': 'typeProperties.tableName', 'type': 'object'}, 'table': {'key': 'typeProperties.table', 'type': 'object'}, 'schema_type_properties_schema': {'key': 'typeProperties.schema', 'type': 'object'}, } def __init__( self, *, linked_service_name: "LinkedServiceReference", additional_properties: Optional[Dict[str, object]] = None, description: Optional[str] = None, structure: Optional[object] = None, schema: Optional[object] = None, parameters: Optional[Dict[str, "ParameterSpecification"]] = None, annotations: Optional[List[object]] = None, folder: Optional["DatasetFolder"] = None, table_name: Optional[object] = None, table: Optional[object] = None, schema_type_properties_schema: Optional[object] = None, **kwargs ): super(GreenplumTableDataset, self).__init__(additional_properties=additional_properties, description=description, structure=structure, schema=schema, linked_service_name=linked_service_name, parameters=parameters, annotations=annotations, folder=folder, **kwargs) self.type = 'GreenplumTable' # type: str self.table_name = table_name self.table = table self.schema_type_properties_schema = schema_type_properties_schema
[docs]class HBaseLinkedService(LinkedService): """HBase server linked service. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. :type connect_via: ~azure.synapse.artifacts.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. :type parameters: dict[str, ~azure.synapse.artifacts.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param host: Required. The IP address or host name of the HBase server. (i.e. 192.168.222.160). :type host: object :param port: The TCP port that the HBase instance uses to listen for client connections. The default value is 9090. :type port: object :param http_path: The partial URL corresponding to the HBase server. (i.e. /gateway/sandbox/hbase/version). :type http_path: object :param authentication_type: Required. The authentication mechanism to use to connect to the HBase server. Possible values include: "Anonymous", "Basic". :type authentication_type: str or ~azure.synapse.artifacts.models.HBaseAuthenticationType :param username: The user name used to connect to the HBase instance. :type username: object :param password: The password corresponding to the user name. :type password: ~azure.synapse.artifacts.models.SecretBase :param enable_ssl: Specifies whether the connections to the server are encrypted using SSL. The default value is false. :type enable_ssl: object :param trusted_cert_path: The full path of the .pem file containing trusted CA certificates for verifying the server when connecting over SSL. This property can only be set when using SSL on self-hosted IR. The default value is the cacerts.pem file installed with the IR. :type trusted_cert_path: object :param allow_host_name_cn_mismatch: Specifies whether to require a CA-issued SSL certificate name to match the host name of the server when connecting over SSL. The default value is false. :type allow_host_name_cn_mismatch: object :param allow_self_signed_server_cert: Specifies whether to allow self-signed certificates from the server. The default value is false. :type allow_self_signed_server_cert: 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). :type encrypted_credential: object """ _validation = { 'type': {'required': True}, 'host': {'required': True}, 'authentication_type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'connect_via': {'key': 'connectVia', 'type': 'IntegrationRuntimeReference'}, 'description': {'key': 'description', 'type': 'str'}, 'parameters': {'key': 'parameters', 'type': '{ParameterSpecification}'}, 'annotations': {'key': 'annotations', 'type': '[object]'}, 'host': {'key': 'typeProperties.host', 'type': 'object'}, 'port': {'key': 'typeProperties.port', 'type': 'object'}, 'http_path': {'key': 'typeProperties.httpPath', 'type': 'object'}, 'authentication_type': {'key': 'typeProperties.authenticationType', 'type': 'str'}, 'username': {'key': 'typeProperties.username', 'type': 'object'}, 'password': {'key': 'typeProperties.password', 'type': 'SecretBase'}, 'enable_ssl': {'key': 'typeProperties.enableSsl', 'type': 'object'}, 'trusted_cert_path': {'key': 'typeProperties.trustedCertPath', 'type': 'object'}, 'allow_host_name_cn_mismatch': {'key': 'typeProperties.allowHostNameCNMismatch', 'type': 'object'}, 'allow_self_signed_server_cert': {'key': 'typeProperties.allowSelfSignedServerCert', 'type': 'object'}, 'encrypted_credential': {'key': 'typeProperties.encryptedCredential', 'type': 'object'}, } def __init__( self, *, host: object, authentication_type: Union[str, "HBaseAuthenticationType"], additional_properties: Optional[Dict[str, object]] = None, connect_via: Optional["IntegrationRuntimeReference"] = None, description: Optional[str] = None, parameters: Optional[Dict[str, "ParameterSpecification"]] = None, annotations: Optional[List[object]] = None, port: Optional[object] = None, http_path: Optional[object] = None, username: Optional[object] = None, password: Optional["SecretBase"] = None, enable_ssl: Optional[object] = None, trusted_cert_path: Optional[object] = None, allow_host_name_cn_mismatch: Optional[object] = None, allow_self_signed_server_cert: Optional[object] = None, encrypted_credential: Optional[object] = None, **kwargs ): super(HBaseLinkedService, self).__init__(additional_properties=additional_properties, connect_via=connect_via, description=description, parameters=parameters, annotations=annotations, **kwargs) self.type = 'HBase' # type: str self.host = host self.port = port self.http_path = http_path self.authentication_type = authentication_type self.username = username self.password = password self.enable_ssl = enable_ssl self.trusted_cert_path = trusted_cert_path self.allow_host_name_cn_mismatch = allow_host_name_cn_mismatch self.allow_self_signed_server_cert = allow_self_signed_server_cert self.encrypted_credential = encrypted_credential
[docs]class HBaseObjectDataset(Dataset): """HBase server dataset. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Type of dataset.Constant filled by server. :type type: str :param description: Dataset description. :type description: str :param structure: Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. :type structure: object :param schema: Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. :type linked_service_name: ~azure.synapse.artifacts.models.LinkedServiceReference :param parameters: Parameters for dataset. :type parameters: dict[str, ~azure.synapse.artifacts.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. :type folder: ~azure.synapse.artifacts.models.DatasetFolder :param table_name: The table name. Type: string (or Expression with resultType string). :type table_name: object """ _validation = { 'type': {'required': True}, 'linked_service_name': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'description': {'key': 'description', 'type': 'str'}, 'structure': {'key': 'structure', 'type': 'object'}, 'schema': {'key': 'schema', 'type': 'object'}, 'linked_service_name': {'key': 'linkedServiceName', 'type': 'LinkedServiceReference'}, 'parameters': {'key': 'parameters', 'type': '{ParameterSpecification}'}, 'annotations': {'key': 'annotations', 'type': '[object]'}, 'folder': {'key': 'folder', 'type': 'DatasetFolder'}, 'table_name': {'key': 'typeProperties.tableName', 'type': 'object'}, } def __init__( self, *, linked_service_name: "LinkedServiceReference", additional_properties: Optional[Dict[str, object]] = None, description: Optional[str] = None, structure: Optional[object] = None, schema: Optional[object] = None, parameters: Optional[Dict[str, "ParameterSpecification"]] = None, annotations: Optional[List[object]] = None, folder: Optional["DatasetFolder"] = None, table_name: Optional[object] = None, **kwargs ): super(HBaseObjectDataset, self).__init__(additional_properties=additional_properties, description=description, structure=structure, schema=schema, linked_service_name=linked_service_name, parameters=parameters, annotations=annotations, folder=folder, **kwargs) self.type = 'HBaseObject' # type: str self.table_name = table_name
[docs]class HBaseSource(TabularSource): """A copy activity HBase server source. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Copy source type.Constant filled by server. :type type: str :param source_retry_count: Source retry count. Type: integer (or Expression with resultType integer). :type source_retry_count: object :param source_retry_wait: Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type source_retry_wait: object :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object :param query_timeout: Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type query_timeout: object :param additional_columns: Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects). :type additional_columns: list[~azure.synapse.artifacts.models.AdditionalColumns] :param query: A query to retrieve data from source. Type: string (or Expression with resultType string). :type query: object """ _validation = { 'type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, 'query': {'key': 'query', 'type': 'object'}, } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, source_retry_count: Optional[object] = None, source_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, query_timeout: Optional[object] = None, additional_columns: Optional[List["AdditionalColumns"]] = None, query: Optional[object] = None, **kwargs ): super(HBaseSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, query_timeout=query_timeout, additional_columns=additional_columns, **kwargs) self.type = 'HBaseSource' # type: str self.query = query
[docs]class HdfsLinkedService(LinkedService): """Hadoop Distributed File System (HDFS) linked service. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. :type connect_via: ~azure.synapse.artifacts.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. :type parameters: dict[str, ~azure.synapse.artifacts.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param url: Required. The URL of the HDFS service endpoint, e.g. http://myhostname:50070/webhdfs/v1 . Type: string (or Expression with resultType string). :type url: object :param authentication_type: Type of authentication used to connect to the HDFS. Possible values are: Anonymous and Windows. Type: string (or Expression with resultType string). :type authentication_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). :type encrypted_credential: object :param user_name: User name for Windows authentication. Type: string (or Expression with resultType string). :type user_name: object :param password: Password for Windows authentication. :type password: ~azure.synapse.artifacts.models.SecretBase """ _validation = { 'type': {'required': True}, 'url': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'connect_via': {'key': 'connectVia', 'type': 'IntegrationRuntimeReference'}, 'description': {'key': 'description', 'type': 'str'}, 'parameters': {'key': 'parameters', 'type': '{ParameterSpecification}'}, 'annotations': {'key': 'annotations', 'type': '[object]'}, 'url': {'key': 'typeProperties.url', 'type': 'object'}, 'authentication_type': {'key': 'typeProperties.authenticationType', 'type': 'object'}, 'encrypted_credential': {'key': 'typeProperties.encryptedCredential', 'type': 'object'}, 'user_name': {'key': 'typeProperties.userName', 'type': 'object'}, 'password': {'key': 'typeProperties.password', 'type': 'SecretBase'}, } def __init__( self, *, url: object, additional_properties: Optional[Dict[str, object]] = None, connect_via: Optional["IntegrationRuntimeReference"] = None, description: Optional[str] = None, parameters: Optional[Dict[str, "ParameterSpecification"]] = None, annotations: Optional[List[object]] = None, authentication_type: Optional[object] = None, encrypted_credential: Optional[object] = None, user_name: Optional[object] = None, password: Optional["SecretBase"] = None, **kwargs ): super(HdfsLinkedService, self).__init__(additional_properties=additional_properties, connect_via=connect_via, description=description, parameters=parameters, annotations=annotations, **kwargs) self.type = 'Hdfs' # type: str self.url = url self.authentication_type = authentication_type self.encrypted_credential = encrypted_credential self.user_name = user_name self.password = password
[docs]class HdfsLocation(DatasetLocation): """The location of HDFS. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Type of dataset storage location.Constant filled by server. :type type: str :param folder_path: Specify the folder path of dataset. Type: string (or Expression with resultType string). :type folder_path: object :param file_name: Specify the file name of dataset. Type: string (or Expression with resultType string). :type file_name: object """ _validation = { 'type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'folder_path': {'key': 'folderPath', 'type': 'object'}, 'file_name': {'key': 'fileName', 'type': 'object'}, } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, folder_path: Optional[object] = None, file_name: Optional[object] = None, **kwargs ): super(HdfsLocation, self).__init__(additional_properties=additional_properties, folder_path=folder_path, file_name=file_name, **kwargs) self.type = 'HdfsLocation' # type: str
[docs]class HdfsReadSettings(StoreReadSettings): """HDFS read settings. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. The read setting type.Constant filled by server. :type type: str :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object :param recursive: If true, files under the folder path will be read recursively. Default is true. Type: boolean (or Expression with resultType boolean). :type recursive: object :param wildcard_folder_path: HDFS wildcardFolderPath. Type: string (or Expression with resultType string). :type wildcard_folder_path: object :param wildcard_file_name: HDFS wildcardFileName. Type: string (or Expression with resultType string). :type wildcard_file_name: object :param file_list_path: Point to a text file that lists each file (relative path to the path configured in the dataset) that you want to copy. Type: string (or Expression with resultType string). :type file_list_path: object :param enable_partition_discovery: Indicates whether to enable partition discovery. :type enable_partition_discovery: bool :param partition_root_path: Specify the root path where partition discovery starts from. Type: string (or Expression with resultType string). :type partition_root_path: object :param modified_datetime_start: The start of file's modified datetime. Type: string (or Expression with resultType string). :type modified_datetime_start: object :param modified_datetime_end: The end of file's modified datetime. Type: string (or Expression with resultType string). :type modified_datetime_end: object :param distcp_settings: Specifies Distcp-related settings. :type distcp_settings: ~azure.synapse.artifacts.models.DistcpSettings :param delete_files_after_completion: Indicates whether the source files need to be deleted after copy completion. Default is false. Type: boolean (or Expression with resultType boolean). :type delete_files_after_completion: object """ _validation = { 'type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'recursive': {'key': 'recursive', 'type': 'object'}, 'wildcard_folder_path': {'key': 'wildcardFolderPath', 'type': 'object'}, 'wildcard_file_name': {'key': 'wildcardFileName', 'type': 'object'}, 'file_list_path': {'key': 'fileListPath', 'type': 'object'}, 'enable_partition_discovery': {'key': 'enablePartitionDiscovery', 'type': 'bool'}, 'partition_root_path': {'key': 'partitionRootPath', 'type': 'object'}, 'modified_datetime_start': {'key': 'modifiedDatetimeStart', 'type': 'object'}, 'modified_datetime_end': {'key': 'modifiedDatetimeEnd', 'type': 'object'}, 'distcp_settings': {'key': 'distcpSettings', 'type': 'DistcpSettings'}, 'delete_files_after_completion': {'key': 'deleteFilesAfterCompletion', 'type': 'object'}, } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, max_concurrent_connections: Optional[object] = None, recursive: Optional[object] = None, wildcard_folder_path: Optional[object] = None, wildcard_file_name: Optional[object] = None, file_list_path: Optional[object] = None, enable_partition_discovery: Optional[bool] = None, partition_root_path: Optional[object] = None, modified_datetime_start: Optional[object] = None, modified_datetime_end: Optional[object] = None, distcp_settings: Optional["DistcpSettings"] = None, delete_files_after_completion: Optional[object] = None, **kwargs ): super(HdfsReadSettings, self).__init__(additional_properties=additional_properties, max_concurrent_connections=max_concurrent_connections, **kwargs) self.type = 'HdfsReadSettings' # type: str self.recursive = recursive self.wildcard_folder_path = wildcard_folder_path self.wildcard_file_name = wildcard_file_name self.file_list_path = file_list_path self.enable_partition_discovery = enable_partition_discovery self.partition_root_path = partition_root_path self.modified_datetime_start = modified_datetime_start self.modified_datetime_end = modified_datetime_end self.distcp_settings = distcp_settings self.delete_files_after_completion = delete_files_after_completion
[docs]class HdfsSource(CopySource): """A copy activity HDFS source. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Copy source type.Constant filled by server. :type type: str :param source_retry_count: Source retry count. Type: integer (or Expression with resultType integer). :type source_retry_count: object :param source_retry_wait: Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type source_retry_wait: object :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object :param recursive: If true, files under the folder path will be read recursively. Default is true. Type: boolean (or Expression with resultType boolean). :type recursive: object :param distcp_settings: Specifies Distcp-related settings. :type distcp_settings: ~azure.synapse.artifacts.models.DistcpSettings """ _validation = { 'type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'recursive': {'key': 'recursive', 'type': 'object'}, 'distcp_settings': {'key': 'distcpSettings', 'type': 'DistcpSettings'}, } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, source_retry_count: Optional[object] = None, source_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, recursive: Optional[object] = None, distcp_settings: Optional["DistcpSettings"] = None, **kwargs ): super(HdfsSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, **kwargs) self.type = 'HdfsSource' # type: str self.recursive = recursive self.distcp_settings = distcp_settings
[docs]class HDInsightHiveActivity(ExecutionActivity): """HDInsight Hive activity type. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param name: Required. Activity name. :type name: str :param type: Required. Type of activity.Constant filled by server. :type type: str :param description: Activity description. :type description: str :param depends_on: Activity depends on condition. :type depends_on: list[~azure.synapse.artifacts.models.ActivityDependency] :param user_properties: Activity user properties. :type user_properties: list[~azure.synapse.artifacts.models.UserProperty] :param linked_service_name: Linked service reference. :type linked_service_name: ~azure.synapse.artifacts.models.LinkedServiceReference :param policy: Activity policy. :type policy: ~azure.synapse.artifacts.models.ActivityPolicy :param storage_linked_services: Storage linked service references. :type storage_linked_services: list[~azure.synapse.artifacts.models.LinkedServiceReference] :param arguments: User specified arguments to HDInsightActivity. :type arguments: list[object] :param get_debug_info: Debug info option. Possible values include: "None", "Always", "Failure". :type get_debug_info: str or ~azure.synapse.artifacts.models.HDInsightActivityDebugInfoOption :param script_path: Script path. Type: string (or Expression with resultType string). :type script_path: object :param script_linked_service: Script linked service reference. :type script_linked_service: ~azure.synapse.artifacts.models.LinkedServiceReference :param defines: Allows user to specify defines for Hive job request. :type defines: dict[str, object] :param variables: User specified arguments under hivevar namespace. :type variables: list[object] :param query_timeout: Query timeout value (in minutes). Effective when the HDInsight cluster is with ESP (Enterprise Security Package). :type query_timeout: int """ _validation = { 'name': {'required': True}, 'type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'name': {'key': 'name', 'type': 'str'}, 'type': {'key': 'type', 'type': 'str'}, 'description': {'key': 'description', 'type': 'str'}, 'depends_on': {'key': 'dependsOn', 'type': '[ActivityDependency]'}, 'user_properties': {'key': 'userProperties', 'type': '[UserProperty]'}, 'linked_service_name': {'key': 'linkedServiceName', 'type': 'LinkedServiceReference'}, 'policy': {'key': 'policy', 'type': 'ActivityPolicy'}, 'storage_linked_services': {'key': 'typeProperties.storageLinkedServices', 'type': '[LinkedServiceReference]'}, 'arguments': {'key': 'typeProperties.arguments', 'type': '[object]'}, 'get_debug_info': {'key': 'typeProperties.getDebugInfo', 'type': 'str'}, 'script_path': {'key': 'typeProperties.scriptPath', 'type': 'object'}, 'script_linked_service': {'key': 'typeProperties.scriptLinkedService', 'type': 'LinkedServiceReference'}, 'defines': {'key': 'typeProperties.defines', 'type': '{object}'}, 'variables': {'key': 'typeProperties.variables', 'type': '[object]'}, 'query_timeout': {'key': 'typeProperties.queryTimeout', 'type': 'int'}, } def __init__( self, *, name: str, additional_properties: Optional[Dict[str, object]] = None, description: Optional[str] = None, depends_on: Optional[List["ActivityDependency"]] = None, user_properties: Optional[List["UserProperty"]] = None, linked_service_name: Optional["LinkedServiceReference"] = None, policy: Optional["ActivityPolicy"] = None, storage_linked_services: Optional[List["LinkedServiceReference"]] = None, arguments: Optional[List[object]] = None, get_debug_info: Optional[Union[str, "HDInsightActivityDebugInfoOption"]] = None, script_path: Optional[object] = None, script_linked_service: Optional["LinkedServiceReference"] = None, defines: Optional[Dict[str, object]] = None, variables: Optional[List[object]] = None, query_timeout: Optional[int] = None, **kwargs ): super(HDInsightHiveActivity, self).__init__(additional_properties=additional_properties, name=name, description=description, depends_on=depends_on, user_properties=user_properties, linked_service_name=linked_service_name, policy=policy, **kwargs) self.type = 'HDInsightHive' # type: str self.storage_linked_services = storage_linked_services self.arguments = arguments self.get_debug_info = get_debug_info self.script_path = script_path self.script_linked_service = script_linked_service self.defines = defines self.variables = variables self.query_timeout = query_timeout
[docs]class HDInsightLinkedService(LinkedService): """HDInsight linked service. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. :type connect_via: ~azure.synapse.artifacts.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. :type parameters: dict[str, ~azure.synapse.artifacts.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param cluster_uri: Required. HDInsight cluster URI. Type: string (or Expression with resultType string). :type cluster_uri: object :param user_name: HDInsight cluster user name. Type: string (or Expression with resultType string). :type user_name: object :param password: HDInsight cluster password. :type password: ~azure.synapse.artifacts.models.SecretBase :param linked_service_name: The Azure Storage linked service reference. :type linked_service_name: ~azure.synapse.artifacts.models.LinkedServiceReference :param hcatalog_linked_service_name: A reference to the Azure SQL linked service that points to the HCatalog database. :type hcatalog_linked_service_name: ~azure.synapse.artifacts.models.LinkedServiceReference :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). :type encrypted_credential: object :param is_esp_enabled: Specify if the HDInsight is created with ESP (Enterprise Security Package). Type: Boolean. :type is_esp_enabled: object :param file_system: Specify the FileSystem if the main storage for the HDInsight is ADLS Gen2. Type: string (or Expression with resultType string). :type file_system: object """ _validation = { 'type': {'required': True}, 'cluster_uri': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'connect_via': {'key': 'connectVia', 'type': 'IntegrationRuntimeReference'}, 'description': {'key': 'description', 'type': 'str'}, 'parameters': {'key': 'parameters', 'type': '{ParameterSpecification}'}, 'annotations': {'key': 'annotations', 'type': '[object]'}, 'cluster_uri': {'key': 'typeProperties.clusterUri', 'type': 'object'}, 'user_name': {'key': 'typeProperties.userName', 'type': 'object'}, 'password': {'key': 'typeProperties.password', 'type': 'SecretBase'}, 'linked_service_name': {'key': 'typeProperties.linkedServiceName', 'type': 'LinkedServiceReference'}, 'hcatalog_linked_service_name': {'key': 'typeProperties.hcatalogLinkedServiceName', 'type': 'LinkedServiceReference'}, 'encrypted_credential': {'key': 'typeProperties.encryptedCredential', 'type': 'object'}, 'is_esp_enabled': {'key': 'typeProperties.isEspEnabled', 'type': 'object'}, 'file_system': {'key': 'typeProperties.fileSystem', 'type': 'object'}, } def __init__( self, *, cluster_uri: object, additional_properties: Optional[Dict[str, object]] = None, connect_via: Optional["IntegrationRuntimeReference"] = None, description: Optional[str] = None, parameters: Optional[Dict[str, "ParameterSpecification"]] = None, annotations: Optional[List[object]] = None, user_name: Optional[object] = None, password: Optional["SecretBase"] = None, linked_service_name: Optional["LinkedServiceReference"] = None, hcatalog_linked_service_name: Optional["LinkedServiceReference"] = None, encrypted_credential: Optional[object] = None, is_esp_enabled: Optional[object] = None, file_system: Optional[object] = None, **kwargs ): super(HDInsightLinkedService, self).__init__(additional_properties=additional_properties, connect_via=connect_via, description=description, parameters=parameters, annotations=annotations, **kwargs) self.type = 'HDInsight' # type: str self.cluster_uri = cluster_uri self.user_name = user_name self.password = password self.linked_service_name = linked_service_name self.hcatalog_linked_service_name = hcatalog_linked_service_name self.encrypted_credential = encrypted_credential self.is_esp_enabled = is_esp_enabled self.file_system = file_system
[docs]class HDInsightMapReduceActivity(ExecutionActivity): """HDInsight MapReduce activity type. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param name: Required. Activity name. :type name: str :param type: Required. Type of activity.Constant filled by server. :type type: str :param description: Activity description. :type description: str :param depends_on: Activity depends on condition. :type depends_on: list[~azure.synapse.artifacts.models.ActivityDependency] :param user_properties: Activity user properties. :type user_properties: list[~azure.synapse.artifacts.models.UserProperty] :param linked_service_name: Linked service reference. :type linked_service_name: ~azure.synapse.artifacts.models.LinkedServiceReference :param policy: Activity policy. :type policy: ~azure.synapse.artifacts.models.ActivityPolicy :param storage_linked_services: Storage linked service references. :type storage_linked_services: list[~azure.synapse.artifacts.models.LinkedServiceReference] :param arguments: User specified arguments to HDInsightActivity. :type arguments: list[object] :param get_debug_info: Debug info option. Possible values include: "None", "Always", "Failure". :type get_debug_info: str or ~azure.synapse.artifacts.models.HDInsightActivityDebugInfoOption :param class_name: Required. Class name. Type: string (or Expression with resultType string). :type class_name: object :param jar_file_path: Required. Jar path. Type: string (or Expression with resultType string). :type jar_file_path: object :param jar_linked_service: Jar linked service reference. :type jar_linked_service: ~azure.synapse.artifacts.models.LinkedServiceReference :param jar_libs: Jar libs. :type jar_libs: list[object] :param defines: Allows user to specify defines for the MapReduce job request. :type defines: dict[str, object] """ _validation = { 'name': {'required': True}, 'type': {'required': True}, 'class_name': {'required': True}, 'jar_file_path': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'name': {'key': 'name', 'type': 'str'}, 'type': {'key': 'type', 'type': 'str'}, 'description': {'key': 'description', 'type': 'str'}, 'depends_on': {'key': 'dependsOn', 'type': '[ActivityDependency]'}, 'user_properties': {'key': 'userProperties', 'type': '[UserProperty]'}, 'linked_service_name': {'key': 'linkedServiceName', 'type': 'LinkedServiceReference'}, 'policy': {'key': 'policy', 'type': 'ActivityPolicy'}, 'storage_linked_services': {'key': 'typeProperties.storageLinkedServices', 'type': '[LinkedServiceReference]'}, 'arguments': {'key': 'typeProperties.arguments', 'type': '[object]'}, 'get_debug_info': {'key': 'typeProperties.getDebugInfo', 'type': 'str'}, 'class_name': {'key': 'typeProperties.className', 'type': 'object'}, 'jar_file_path': {'key': 'typeProperties.jarFilePath', 'type': 'object'}, 'jar_linked_service': {'key': 'typeProperties.jarLinkedService', 'type': 'LinkedServiceReference'}, 'jar_libs': {'key': 'typeProperties.jarLibs', 'type': '[object]'}, 'defines': {'key': 'typeProperties.defines', 'type': '{object}'}, } def __init__( self, *, name: str, class_name: object, jar_file_path: object, additional_properties: Optional[Dict[str, object]] = None, description: Optional[str] = None, depends_on: Optional[List["ActivityDependency"]] = None, user_properties: Optional[List["UserProperty"]] = None, linked_service_name: Optional["LinkedServiceReference"] = None, policy: Optional["ActivityPolicy"] = None, storage_linked_services: Optional[List["LinkedServiceReference"]] = None, arguments: Optional[List[object]] = None, get_debug_info: Optional[Union[str, "HDInsightActivityDebugInfoOption"]] = None, jar_linked_service: Optional["LinkedServiceReference"] = None, jar_libs: Optional[List[object]] = None, defines: Optional[Dict[str, object]] = None, **kwargs ): super(HDInsightMapReduceActivity, self).__init__(additional_properties=additional_properties, name=name, description=description, depends_on=depends_on, user_properties=user_properties, linked_service_name=linked_service_name, policy=policy, **kwargs) self.type = 'HDInsightMapReduce' # type: str self.storage_linked_services = storage_linked_services self.arguments = arguments self.get_debug_info = get_debug_info self.class_name = class_name self.jar_file_path = jar_file_path self.jar_linked_service = jar_linked_service self.jar_libs = jar_libs self.defines = defines
[docs]class HDInsightOnDemandLinkedService(LinkedService): """HDInsight ondemand linked service. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. :type connect_via: ~azure.synapse.artifacts.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. :type parameters: dict[str, ~azure.synapse.artifacts.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param cluster_size: Required. Number of worker/data nodes in the cluster. Suggestion value: 4. Type: string (or Expression with resultType string). :type cluster_size: object :param time_to_live: Required. The allowed idle time for the on-demand HDInsight cluster. Specifies how long the on-demand HDInsight cluster stays alive after completion of an activity run if there are no other active jobs in the cluster. The minimum value is 5 mins. Type: string (or Expression with resultType string). :type time_to_live: object :param version: Required. Version of the HDInsight cluster.  Type: string (or Expression with resultType string). :type version: object :param linked_service_name: Required. Azure Storage linked service to be used by the on-demand cluster for storing and processing data. :type linked_service_name: ~azure.synapse.artifacts.models.LinkedServiceReference :param host_subscription_id: Required. The customer’s subscription to host the cluster. Type: string (or Expression with resultType string). :type host_subscription_id: object :param service_principal_id: The service principal id for the hostSubscriptionId. Type: string (or Expression with resultType string). :type service_principal_id: object :param service_principal_key: The key for the service principal id. :type service_principal_key: ~azure.synapse.artifacts.models.SecretBase :param tenant: Required. The Tenant id/name to which the service principal belongs. Type: string (or Expression with resultType string). :type tenant: object :param cluster_resource_group: Required. The resource group where the cluster belongs. Type: string (or Expression with resultType string). :type cluster_resource_group: object :param cluster_name_prefix: The prefix of cluster name, postfix will be distinct with timestamp. Type: string (or Expression with resultType string). :type cluster_name_prefix: object :param cluster_user_name: The username to access the cluster. Type: string (or Expression with resultType string). :type cluster_user_name: object :param cluster_password: The password to access the cluster. :type cluster_password: ~azure.synapse.artifacts.models.SecretBase :param cluster_ssh_user_name: The username to SSH remotely connect to cluster’s node (for Linux). Type: string (or Expression with resultType string). :type cluster_ssh_user_name: object :param cluster_ssh_password: The password to SSH remotely connect cluster’s node (for Linux). :type cluster_ssh_password: ~azure.synapse.artifacts.models.SecretBase :param additional_linked_service_names: Specifies additional storage accounts for the HDInsight linked service so that the Data Factory service can register them on your behalf. :type additional_linked_service_names: list[~azure.synapse.artifacts.models.LinkedServiceReference] :param hcatalog_linked_service_name: The name of Azure SQL linked service that point to the HCatalog database. The on-demand HDInsight cluster is created by using the Azure SQL database as the metastore. :type hcatalog_linked_service_name: ~azure.synapse.artifacts.models.LinkedServiceReference :param cluster_type: The cluster type. Type: string (or Expression with resultType string). :type cluster_type: object :param spark_version: The version of spark if the cluster type is 'spark'. Type: string (or Expression with resultType string). :type spark_version: object :param core_configuration: Specifies the core configuration parameters (as in core-site.xml) for the HDInsight cluster to be created. :type core_configuration: object :param h_base_configuration: Specifies the HBase configuration parameters (hbase-site.xml) for the HDInsight cluster. :type h_base_configuration: object :param hdfs_configuration: Specifies the HDFS configuration parameters (hdfs-site.xml) for the HDInsight cluster. :type hdfs_configuration: object :param hive_configuration: Specifies the hive configuration parameters (hive-site.xml) for the HDInsight cluster. :type hive_configuration: object :param map_reduce_configuration: Specifies the MapReduce configuration parameters (mapred-site.xml) for the HDInsight cluster. :type map_reduce_configuration: object :param oozie_configuration: Specifies the Oozie configuration parameters (oozie-site.xml) for the HDInsight cluster. :type oozie_configuration: object :param storm_configuration: Specifies the Storm configuration parameters (storm-site.xml) for the HDInsight cluster. :type storm_configuration: object :param yarn_configuration: Specifies the Yarn configuration parameters (yarn-site.xml) for the HDInsight cluster. :type yarn_configuration: 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). :type encrypted_credential: object :param head_node_size: Specifies the size of the head node for the HDInsight cluster. :type head_node_size: object :param data_node_size: Specifies the size of the data node for the HDInsight cluster. :type data_node_size: object :param zookeeper_node_size: Specifies the size of the Zoo Keeper node for the HDInsight cluster. :type zookeeper_node_size: object :param script_actions: Custom script actions to run on HDI ondemand cluster once it's up. Please refer to https://docs.microsoft.com/en-us/azure/hdinsight/hdinsight-hadoop-customize-cluster-linux?toc=%2Fen-us%2Fazure%2Fhdinsight%2Fr-server%2FTOC.json&bc=%2Fen-us%2Fazure%2Fbread%2Ftoc.json#understanding-script-actions. :type script_actions: list[~azure.synapse.artifacts.models.ScriptAction] :param virtual_network_id: The ARM resource ID for the vNet to which the cluster should be joined after creation. Type: string (or Expression with resultType string). :type virtual_network_id: object :param subnet_name: The ARM resource ID for the subnet in the vNet. If virtualNetworkId was specified, then this property is required. Type: string (or Expression with resultType string). :type subnet_name: object """ _validation = { 'type': {'required': True}, 'cluster_size': {'required': True}, 'time_to_live': {'required': True}, 'version': {'required': True}, 'linked_service_name': {'required': True}, 'host_subscription_id': {'required': True}, 'tenant': {'required': True}, 'cluster_resource_group': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'connect_via': {'key': 'connectVia', 'type': 'IntegrationRuntimeReference'}, 'description': {'key': 'description', 'type': 'str'}, 'parameters': {'key': 'parameters', 'type': '{ParameterSpecification}'}, 'annotations': {'key': 'annotations', 'type': '[object]'}, 'cluster_size': {'key': 'typeProperties.clusterSize', 'type': 'object'}, 'time_to_live': {'key': 'typeProperties.timeToLive', 'type': 'object'}, 'version': {'key': 'typeProperties.version', 'type': 'object'}, 'linked_service_name': {'key': 'typeProperties.linkedServiceName', 'type': 'LinkedServiceReference'}, 'host_subscription_id': {'key': 'typeProperties.hostSubscriptionId', 'type': 'object'}, 'service_principal_id': {'key': 'typeProperties.servicePrincipalId', 'type': 'object'}, 'service_principal_key': {'key': 'typeProperties.servicePrincipalKey', 'type': 'SecretBase'}, 'tenant': {'key': 'typeProperties.tenant', 'type': 'object'}, 'cluster_resource_group': {'key': 'typeProperties.clusterResourceGroup', 'type': 'object'}, 'cluster_name_prefix': {'key': 'typeProperties.clusterNamePrefix', 'type': 'object'}, 'cluster_user_name': {'key': 'typeProperties.clusterUserName', 'type': 'object'}, 'cluster_password': {'key': 'typeProperties.clusterPassword', 'type': 'SecretBase'}, 'cluster_ssh_user_name': {'key': 'typeProperties.clusterSshUserName', 'type': 'object'}, 'cluster_ssh_password': {'key': 'typeProperties.clusterSshPassword', 'type': 'SecretBase'}, 'additional_linked_service_names': {'key': 'typeProperties.additionalLinkedServiceNames', 'type': '[LinkedServiceReference]'}, 'hcatalog_linked_service_name': {'key': 'typeProperties.hcatalogLinkedServiceName', 'type': 'LinkedServiceReference'}, 'cluster_type': {'key': 'typeProperties.clusterType', 'type': 'object'}, 'spark_version': {'key': 'typeProperties.sparkVersion', 'type': 'object'}, 'core_configuration': {'key': 'typeProperties.coreConfiguration', 'type': 'object'}, 'h_base_configuration': {'key': 'typeProperties.hBaseConfiguration', 'type': 'object'}, 'hdfs_configuration': {'key': 'typeProperties.hdfsConfiguration', 'type': 'object'}, 'hive_configuration': {'key': 'typeProperties.hiveConfiguration', 'type': 'object'}, 'map_reduce_configuration': {'key': 'typeProperties.mapReduceConfiguration', 'type': 'object'}, 'oozie_configuration': {'key': 'typeProperties.oozieConfiguration', 'type': 'object'}, 'storm_configuration': {'key': 'typeProperties.stormConfiguration', 'type': 'object'}, 'yarn_configuration': {'key': 'typeProperties.yarnConfiguration', 'type': 'object'}, 'encrypted_credential': {'key': 'typeProperties.encryptedCredential', 'type': 'object'}, 'head_node_size': {'key': 'typeProperties.headNodeSize', 'type': 'object'}, 'data_node_size': {'key': 'typeProperties.dataNodeSize', 'type': 'object'}, 'zookeeper_node_size': {'key': 'typeProperties.zookeeperNodeSize', 'type': 'object'}, 'script_actions': {'key': 'typeProperties.scriptActions', 'type': '[ScriptAction]'}, 'virtual_network_id': {'key': 'typeProperties.virtualNetworkId', 'type': 'object'}, 'subnet_name': {'key': 'typeProperties.subnetName', 'type': 'object'}, } def __init__( self, *, cluster_size: object, time_to_live: object, version: object, linked_service_name: "LinkedServiceReference", host_subscription_id: object, tenant: object, cluster_resource_group: object, additional_properties: Optional[Dict[str, object]] = None, connect_via: Optional["IntegrationRuntimeReference"] = None, description: Optional[str] = None, parameters: Optional[Dict[str, "ParameterSpecification"]] = None, annotations: Optional[List[object]] = None, service_principal_id: Optional[object] = None, service_principal_key: Optional["SecretBase"] = None, cluster_name_prefix: Optional[object] = None, cluster_user_name: Optional[object] = None, cluster_password: Optional["SecretBase"] = None, cluster_ssh_user_name: Optional[object] = None, cluster_ssh_password: Optional["SecretBase"] = None, additional_linked_service_names: Optional[List["LinkedServiceReference"]] = None, hcatalog_linked_service_name: Optional["LinkedServiceReference"] = None, cluster_type: Optional[object] = None, spark_version: Optional[object] = None, core_configuration: Optional[object] = None, h_base_configuration: Optional[object] = None, hdfs_configuration: Optional[object] = None, hive_configuration: Optional[object] = None, map_reduce_configuration: Optional[object] = None, oozie_configuration: Optional[object] = None, storm_configuration: Optional[object] = None, yarn_configuration: Optional[object] = None, encrypted_credential: Optional[object] = None, head_node_size: Optional[object] = None, data_node_size: Optional[object] = None, zookeeper_node_size: Optional[object] = None, script_actions: Optional[List["ScriptAction"]] = None, virtual_network_id: Optional[object] = None, subnet_name: Optional[object] = None, **kwargs ): super(HDInsightOnDemandLinkedService, self).__init__(additional_properties=additional_properties, connect_via=connect_via, description=description, parameters=parameters, annotations=annotations, **kwargs) self.type = 'HDInsightOnDemand' # type: str self.cluster_size = cluster_size self.time_to_live = time_to_live self.version = version self.linked_service_name = linked_service_name self.host_subscription_id = host_subscription_id self.service_principal_id = service_principal_id self.service_principal_key = service_principal_key self.tenant = tenant self.cluster_resource_group = cluster_resource_group self.cluster_name_prefix = cluster_name_prefix self.cluster_user_name = cluster_user_name self.cluster_password = cluster_password self.cluster_ssh_user_name = cluster_ssh_user_name self.cluster_ssh_password = cluster_ssh_password self.additional_linked_service_names = additional_linked_service_names self.hcatalog_linked_service_name = hcatalog_linked_service_name self.cluster_type = cluster_type self.spark_version = spark_version self.core_configuration = core_configuration self.h_base_configuration = h_base_configuration self.hdfs_configuration = hdfs_configuration self.hive_configuration = hive_configuration self.map_reduce_configuration = map_reduce_configuration self.oozie_configuration = oozie_configuration self.storm_configuration = storm_configuration self.yarn_configuration = yarn_configuration self.encrypted_credential = encrypted_credential self.head_node_size = head_node_size self.data_node_size = data_node_size self.zookeeper_node_size = zookeeper_node_size self.script_actions = script_actions self.virtual_network_id = virtual_network_id self.subnet_name = subnet_name
[docs]class HDInsightPigActivity(ExecutionActivity): """HDInsight Pig activity type. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param name: Required. Activity name. :type name: str :param type: Required. Type of activity.Constant filled by server. :type type: str :param description: Activity description. :type description: str :param depends_on: Activity depends on condition. :type depends_on: list[~azure.synapse.artifacts.models.ActivityDependency] :param user_properties: Activity user properties. :type user_properties: list[~azure.synapse.artifacts.models.UserProperty] :param linked_service_name: Linked service reference. :type linked_service_name: ~azure.synapse.artifacts.models.LinkedServiceReference :param policy: Activity policy. :type policy: ~azure.synapse.artifacts.models.ActivityPolicy :param storage_linked_services: Storage linked service references. :type storage_linked_services: list[~azure.synapse.artifacts.models.LinkedServiceReference] :param arguments: User specified arguments to HDInsightActivity. Type: array (or Expression with resultType array). :type arguments: object :param get_debug_info: Debug info option. Possible values include: "None", "Always", "Failure". :type get_debug_info: str or ~azure.synapse.artifacts.models.HDInsightActivityDebugInfoOption :param script_path: Script path. Type: string (or Expression with resultType string). :type script_path: object :param script_linked_service: Script linked service reference. :type script_linked_service: ~azure.synapse.artifacts.models.LinkedServiceReference :param defines: Allows user to specify defines for Pig job request. :type defines: dict[str, object] """ _validation = { 'name': {'required': True}, 'type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'name': {'key': 'name', 'type': 'str'}, 'type': {'key': 'type', 'type': 'str'}, 'description': {'key': 'description', 'type': 'str'}, 'depends_on': {'key': 'dependsOn', 'type': '[ActivityDependency]'}, 'user_properties': {'key': 'userProperties', 'type': '[UserProperty]'}, 'linked_service_name': {'key': 'linkedServiceName', 'type': 'LinkedServiceReference'}, 'policy': {'key': 'policy', 'type': 'ActivityPolicy'}, 'storage_linked_services': {'key': 'typeProperties.storageLinkedServices', 'type': '[LinkedServiceReference]'}, 'arguments': {'key': 'typeProperties.arguments', 'type': 'object'}, 'get_debug_info': {'key': 'typeProperties.getDebugInfo', 'type': 'str'}, 'script_path': {'key': 'typeProperties.scriptPath', 'type': 'object'}, 'script_linked_service': {'key': 'typeProperties.scriptLinkedService', 'type': 'LinkedServiceReference'}, 'defines': {'key': 'typeProperties.defines', 'type': '{object}'}, } def __init__( self, *, name: str, additional_properties: Optional[Dict[str, object]] = None, description: Optional[str] = None, depends_on: Optional[List["ActivityDependency"]] = None, user_properties: Optional[List["UserProperty"]] = None, linked_service_name: Optional["LinkedServiceReference"] = None, policy: Optional["ActivityPolicy"] = None, storage_linked_services: Optional[List["LinkedServiceReference"]] = None, arguments: Optional[object] = None, get_debug_info: Optional[Union[str, "HDInsightActivityDebugInfoOption"]] = None, script_path: Optional[object] = None, script_linked_service: Optional["LinkedServiceReference"] = None, defines: Optional[Dict[str, object]] = None, **kwargs ): super(HDInsightPigActivity, self).__init__(additional_properties=additional_properties, name=name, description=description, depends_on=depends_on, user_properties=user_properties, linked_service_name=linked_service_name, policy=policy, **kwargs) self.type = 'HDInsightPig' # type: str self.storage_linked_services = storage_linked_services self.arguments = arguments self.get_debug_info = get_debug_info self.script_path = script_path self.script_linked_service = script_linked_service self.defines = defines
[docs]class HDInsightSparkActivity(ExecutionActivity): """HDInsight Spark activity. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param name: Required. Activity name. :type name: str :param type: Required. Type of activity.Constant filled by server. :type type: str :param description: Activity description. :type description: str :param depends_on: Activity depends on condition. :type depends_on: list[~azure.synapse.artifacts.models.ActivityDependency] :param user_properties: Activity user properties. :type user_properties: list[~azure.synapse.artifacts.models.UserProperty] :param linked_service_name: Linked service reference. :type linked_service_name: ~azure.synapse.artifacts.models.LinkedServiceReference :param policy: Activity policy. :type policy: ~azure.synapse.artifacts.models.ActivityPolicy :param root_path: Required. The root path in 'sparkJobLinkedService' for all the job’s files. Type: string (or Expression with resultType string). :type root_path: object :param entry_file_path: Required. The relative path to the root folder of the code/package to be executed. Type: string (or Expression with resultType string). :type entry_file_path: object :param arguments: The user-specified arguments to HDInsightSparkActivity. :type arguments: list[object] :param get_debug_info: Debug info option. Possible values include: "None", "Always", "Failure". :type get_debug_info: str or ~azure.synapse.artifacts.models.HDInsightActivityDebugInfoOption :param spark_job_linked_service: The storage linked service for uploading the entry file and dependencies, and for receiving logs. :type spark_job_linked_service: ~azure.synapse.artifacts.models.LinkedServiceReference :param class_name: The application's Java/Spark main class. :type class_name: str :param proxy_user: The user to impersonate that will execute the job. Type: string (or Expression with resultType string). :type proxy_user: object :param spark_config: Spark configuration property. :type spark_config: dict[str, object] """ _validation = { 'name': {'required': True}, 'type': {'required': True}, 'root_path': {'required': True}, 'entry_file_path': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'name': {'key': 'name', 'type': 'str'}, 'type': {'key': 'type', 'type': 'str'}, 'description': {'key': 'description', 'type': 'str'}, 'depends_on': {'key': 'dependsOn', 'type': '[ActivityDependency]'}, 'user_properties': {'key': 'userProperties', 'type': '[UserProperty]'}, 'linked_service_name': {'key': 'linkedServiceName', 'type': 'LinkedServiceReference'}, 'policy': {'key': 'policy', 'type': 'ActivityPolicy'}, 'root_path': {'key': 'typeProperties.rootPath', 'type': 'object'}, 'entry_file_path': {'key': 'typeProperties.entryFilePath', 'type': 'object'}, 'arguments': {'key': 'typeProperties.arguments', 'type': '[object]'}, 'get_debug_info': {'key': 'typeProperties.getDebugInfo', 'type': 'str'}, 'spark_job_linked_service': {'key': 'typeProperties.sparkJobLinkedService', 'type': 'LinkedServiceReference'}, 'class_name': {'key': 'typeProperties.className', 'type': 'str'}, 'proxy_user': {'key': 'typeProperties.proxyUser', 'type': 'object'}, 'spark_config': {'key': 'typeProperties.sparkConfig', 'type': '{object}'}, } def __init__( self, *, name: str, root_path: object, entry_file_path: object, additional_properties: Optional[Dict[str, object]] = None, description: Optional[str] = None, depends_on: Optional[List["ActivityDependency"]] = None, user_properties: Optional[List["UserProperty"]] = None, linked_service_name: Optional["LinkedServiceReference"] = None, policy: Optional["ActivityPolicy"] = None, arguments: Optional[List[object]] = None, get_debug_info: Optional[Union[str, "HDInsightActivityDebugInfoOption"]] = None, spark_job_linked_service: Optional["LinkedServiceReference"] = None, class_name: Optional[str] = None, proxy_user: Optional[object] = None, spark_config: Optional[Dict[str, object]] = None, **kwargs ): super(HDInsightSparkActivity, self).__init__(additional_properties=additional_properties, name=name, description=description, depends_on=depends_on, user_properties=user_properties, linked_service_name=linked_service_name, policy=policy, **kwargs) self.type = 'HDInsightSpark' # type: str self.root_path = root_path self.entry_file_path = entry_file_path self.arguments = arguments self.get_debug_info = get_debug_info self.spark_job_linked_service = spark_job_linked_service self.class_name = class_name self.proxy_user = proxy_user self.spark_config = spark_config
[docs]class HDInsightStreamingActivity(ExecutionActivity): """HDInsight streaming activity type. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param name: Required. Activity name. :type name: str :param type: Required. Type of activity.Constant filled by server. :type type: str :param description: Activity description. :type description: str :param depends_on: Activity depends on condition. :type depends_on: list[~azure.synapse.artifacts.models.ActivityDependency] :param user_properties: Activity user properties. :type user_properties: list[~azure.synapse.artifacts.models.UserProperty] :param linked_service_name: Linked service reference. :type linked_service_name: ~azure.synapse.artifacts.models.LinkedServiceReference :param policy: Activity policy. :type policy: ~azure.synapse.artifacts.models.ActivityPolicy :param storage_linked_services: Storage linked service references. :type storage_linked_services: list[~azure.synapse.artifacts.models.LinkedServiceReference] :param arguments: User specified arguments to HDInsightActivity. :type arguments: list[object] :param get_debug_info: Debug info option. Possible values include: "None", "Always", "Failure". :type get_debug_info: str or ~azure.synapse.artifacts.models.HDInsightActivityDebugInfoOption :param mapper: Required. Mapper executable name. Type: string (or Expression with resultType string). :type mapper: object :param reducer: Required. Reducer executable name. Type: string (or Expression with resultType string). :type reducer: object :param input: Required. Input blob path. Type: string (or Expression with resultType string). :type input: object :param output: Required. Output blob path. Type: string (or Expression with resultType string). :type output: object :param file_paths: Required. Paths to streaming job files. Can be directories. :type file_paths: list[object] :param file_linked_service: Linked service reference where the files are located. :type file_linked_service: ~azure.synapse.artifacts.models.LinkedServiceReference :param combiner: Combiner executable name. Type: string (or Expression with resultType string). :type combiner: object :param command_environment: Command line environment values. :type command_environment: list[object] :param defines: Allows user to specify defines for streaming job request. :type defines: dict[str, object] """ _validation = { 'name': {'required': True}, 'type': {'required': True}, 'mapper': {'required': True}, 'reducer': {'required': True}, 'input': {'required': True}, 'output': {'required': True}, 'file_paths': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'name': {'key': 'name', 'type': 'str'}, 'type': {'key': 'type', 'type': 'str'}, 'description': {'key': 'description', 'type': 'str'}, 'depends_on': {'key': 'dependsOn', 'type': '[ActivityDependency]'}, 'user_properties': {'key': 'userProperties', 'type': '[UserProperty]'}, 'linked_service_name': {'key': 'linkedServiceName', 'type': 'LinkedServiceReference'}, 'policy': {'key': 'policy', 'type': 'ActivityPolicy'}, 'storage_linked_services': {'key': 'typeProperties.storageLinkedServices', 'type': '[LinkedServiceReference]'}, 'arguments': {'key': 'typeProperties.arguments', 'type': '[object]'}, 'get_debug_info': {'key': 'typeProperties.getDebugInfo', 'type': 'str'}, 'mapper': {'key': 'typeProperties.mapper', 'type': 'object'}, 'reducer': {'key': 'typeProperties.reducer', 'type': 'object'}, 'input': {'key': 'typeProperties.input', 'type': 'object'}, 'output': {'key': 'typeProperties.output', 'type': 'object'}, 'file_paths': {'key': 'typeProperties.filePaths', 'type': '[object]'}, 'file_linked_service': {'key': 'typeProperties.fileLinkedService', 'type': 'LinkedServiceReference'}, 'combiner': {'key': 'typeProperties.combiner', 'type': 'object'}, 'command_environment': {'key': 'typeProperties.commandEnvironment', 'type': '[object]'}, 'defines': {'key': 'typeProperties.defines', 'type': '{object}'}, } def __init__( self, *, name: str, mapper: object, reducer: object, input: object, output: object, file_paths: List[object], additional_properties: Optional[Dict[str, object]] = None, description: Optional[str] = None, depends_on: Optional[List["ActivityDependency"]] = None, user_properties: Optional[List["UserProperty"]] = None, linked_service_name: Optional["LinkedServiceReference"] = None, policy: Optional["ActivityPolicy"] = None, storage_linked_services: Optional[List["LinkedServiceReference"]] = None, arguments: Optional[List[object]] = None, get_debug_info: Optional[Union[str, "HDInsightActivityDebugInfoOption"]] = None, file_linked_service: Optional["LinkedServiceReference"] = None, combiner: Optional[object] = None, command_environment: Optional[List[object]] = None, defines: Optional[Dict[str, object]] = None, **kwargs ): super(HDInsightStreamingActivity, self).__init__(additional_properties=additional_properties, name=name, description=description, depends_on=depends_on, user_properties=user_properties, linked_service_name=linked_service_name, policy=policy, **kwargs) self.type = 'HDInsightStreaming' # type: str self.storage_linked_services = storage_linked_services self.arguments = arguments self.get_debug_info = get_debug_info self.mapper = mapper self.reducer = reducer self.input = input self.output = output self.file_paths = file_paths self.file_linked_service = file_linked_service self.combiner = combiner self.command_environment = command_environment self.defines = defines
[docs]class HiveLinkedService(LinkedService): """Hive Server linked service. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. :type connect_via: ~azure.synapse.artifacts.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. :type parameters: dict[str, ~azure.synapse.artifacts.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param host: Required. IP address or host name of the Hive server, separated by ';' for multiple hosts (only when serviceDiscoveryMode is enable). :type host: object :param port: The TCP port that the Hive server uses to listen for client connections. :type port: object :param server_type: The type of Hive server. Possible values include: "HiveServer1", "HiveServer2", "HiveThriftServer". :type server_type: str or ~azure.synapse.artifacts.models.HiveServerType :param thrift_transport_protocol: The transport protocol to use in the Thrift layer. Possible values include: "Binary", "SASL", "HTTP ". :type thrift_transport_protocol: str or ~azure.synapse.artifacts.models.HiveThriftTransportProtocol :param authentication_type: Required. The authentication method used to access the Hive server. Possible values include: "Anonymous", "Username", "UsernameAndPassword", "WindowsAzureHDInsightService". :type authentication_type: str or ~azure.synapse.artifacts.models.HiveAuthenticationType :param service_discovery_mode: true to indicate using the ZooKeeper service, false not. :type service_discovery_mode: object :param zoo_keeper_name_space: The namespace on ZooKeeper under which Hive Server 2 nodes are added. :type zoo_keeper_name_space: object :param use_native_query: Specifies whether the driver uses native HiveQL queries,or converts them into an equivalent form in HiveQL. :type use_native_query: object :param username: The user name that you use to access Hive Server. :type username: object :param password: The password corresponding to the user name that you provided in the Username field. :type password: ~azure.synapse.artifacts.models.SecretBase :param http_path: The partial URL corresponding to the Hive server. :type http_path: object :param enable_ssl: Specifies whether the connections to the server are encrypted using SSL. The default value is false. :type enable_ssl: object :param trusted_cert_path: The full path of the .pem file containing trusted CA certificates for verifying the server when connecting over SSL. This property can only be set when using SSL on self-hosted IR. The default value is the cacerts.pem file installed with the IR. :type trusted_cert_path: object :param use_system_trust_store: Specifies whether to use a CA certificate from the system trust store or from a specified PEM file. The default value is false. :type use_system_trust_store: object :param allow_host_name_cn_mismatch: Specifies whether to require a CA-issued SSL certificate name to match the host name of the server when connecting over SSL. The default value is false. :type allow_host_name_cn_mismatch: object :param allow_self_signed_server_cert: Specifies whether to allow self-signed certificates from the server. The default value is false. :type allow_self_signed_server_cert: 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). :type encrypted_credential: object """ _validation = { 'type': {'required': True}, 'host': {'required': True}, 'authentication_type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'connect_via': {'key': 'connectVia', 'type': 'IntegrationRuntimeReference'}, 'description': {'key': 'description', 'type': 'str'}, 'parameters': {'key': 'parameters', 'type': '{ParameterSpecification}'}, 'annotations': {'key': 'annotations', 'type': '[object]'}, 'host': {'key': 'typeProperties.host', 'type': 'object'}, 'port': {'key': 'typeProperties.port', 'type': 'object'}, 'server_type': {'key': 'typeProperties.serverType', 'type': 'str'}, 'thrift_transport_protocol': {'key': 'typeProperties.thriftTransportProtocol', 'type': 'str'}, 'authentication_type': {'key': 'typeProperties.authenticationType', 'type': 'str'}, 'service_discovery_mode': {'key': 'typeProperties.serviceDiscoveryMode', 'type': 'object'}, 'zoo_keeper_name_space': {'key': 'typeProperties.zooKeeperNameSpace', 'type': 'object'}, 'use_native_query': {'key': 'typeProperties.useNativeQuery', 'type': 'object'}, 'username': {'key': 'typeProperties.username', 'type': 'object'}, 'password': {'key': 'typeProperties.password', 'type': 'SecretBase'}, 'http_path': {'key': 'typeProperties.httpPath', 'type': 'object'}, 'enable_ssl': {'key': 'typeProperties.enableSsl', 'type': 'object'}, 'trusted_cert_path': {'key': 'typeProperties.trustedCertPath', 'type': 'object'}, 'use_system_trust_store': {'key': 'typeProperties.useSystemTrustStore', 'type': 'object'}, 'allow_host_name_cn_mismatch': {'key': 'typeProperties.allowHostNameCNMismatch', 'type': 'object'}, 'allow_self_signed_server_cert': {'key': 'typeProperties.allowSelfSignedServerCert', 'type': 'object'}, 'encrypted_credential': {'key': 'typeProperties.encryptedCredential', 'type': 'object'}, } def __init__( self, *, host: object, authentication_type: Union[str, "HiveAuthenticationType"], additional_properties: Optional[Dict[str, object]] = None, connect_via: Optional["IntegrationRuntimeReference"] = None, description: Optional[str] = None, parameters: Optional[Dict[str, "ParameterSpecification"]] = None, annotations: Optional[List[object]] = None, port: Optional[object] = None, server_type: Optional[Union[str, "HiveServerType"]] = None, thrift_transport_protocol: Optional[Union[str, "HiveThriftTransportProtocol"]] = None, service_discovery_mode: Optional[object] = None, zoo_keeper_name_space: Optional[object] = None, use_native_query: Optional[object] = None, username: Optional[object] = None, password: Optional["SecretBase"] = None, http_path: Optional[object] = None, enable_ssl: Optional[object] = None, trusted_cert_path: Optional[object] = None, use_system_trust_store: Optional[object] = None, allow_host_name_cn_mismatch: Optional[object] = None, allow_self_signed_server_cert: Optional[object] = None, encrypted_credential: Optional[object] = None, **kwargs ): super(HiveLinkedService, self).__init__(additional_properties=additional_properties, connect_via=connect_via, description=description, parameters=parameters, annotations=annotations, **kwargs) self.type = 'Hive' # type: str self.host = host self.port = port self.server_type = server_type self.thrift_transport_protocol = thrift_transport_protocol self.authentication_type = authentication_type self.service_discovery_mode = service_discovery_mode self.zoo_keeper_name_space = zoo_keeper_name_space self.use_native_query = use_native_query self.username = username self.password = password self.http_path = http_path self.enable_ssl = enable_ssl self.trusted_cert_path = trusted_cert_path self.use_system_trust_store = use_system_trust_store self.allow_host_name_cn_mismatch = allow_host_name_cn_mismatch self.allow_self_signed_server_cert = allow_self_signed_server_cert self.encrypted_credential = encrypted_credential
[docs]class HiveObjectDataset(Dataset): """Hive Server dataset. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Type of dataset.Constant filled by server. :type type: str :param description: Dataset description. :type description: str :param structure: Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. :type structure: object :param schema: Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. :type linked_service_name: ~azure.synapse.artifacts.models.LinkedServiceReference :param parameters: Parameters for dataset. :type parameters: dict[str, ~azure.synapse.artifacts.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. :type folder: ~azure.synapse.artifacts.models.DatasetFolder :param table_name: This property will be retired. Please consider using schema + table properties instead. :type table_name: object :param table: The table name of the Hive. Type: string (or Expression with resultType string). :type table: object :param schema_type_properties_schema: The schema name of the Hive. Type: string (or Expression with resultType string). :type schema_type_properties_schema: object """ _validation = { 'type': {'required': True}, 'linked_service_name': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'description': {'key': 'description', 'type': 'str'}, 'structure': {'key': 'structure', 'type': 'object'}, 'schema': {'key': 'schema', 'type': 'object'}, 'linked_service_name': {'key': 'linkedServiceName', 'type': 'LinkedServiceReference'}, 'parameters': {'key': 'parameters', 'type': '{ParameterSpecification}'}, 'annotations': {'key': 'annotations', 'type': '[object]'}, 'folder': {'key': 'folder', 'type': 'DatasetFolder'}, 'table_name': {'key': 'typeProperties.tableName', 'type': 'object'}, 'table': {'key': 'typeProperties.table', 'type': 'object'}, 'schema_type_properties_schema': {'key': 'typeProperties.schema', 'type': 'object'}, } def __init__( self, *, linked_service_name: "LinkedServiceReference", additional_properties: Optional[Dict[str, object]] = None, description: Optional[str] = None, structure: Optional[object] = None, schema: Optional[object] = None, parameters: Optional[Dict[str, "ParameterSpecification"]] = None, annotations: Optional[List[object]] = None, folder: Optional["DatasetFolder"] = None, table_name: Optional[object] = None, table: Optional[object] = None, schema_type_properties_schema: Optional[object] = None, **kwargs ): super(HiveObjectDataset, self).__init__(additional_properties=additional_properties, description=description, structure=structure, schema=schema, linked_service_name=linked_service_name, parameters=parameters, annotations=annotations, folder=folder, **kwargs) self.type = 'HiveObject' # type: str self.table_name = table_name self.table = table self.schema_type_properties_schema = schema_type_properties_schema
[docs]class HiveSource(TabularSource): """A copy activity Hive Server source. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Copy source type.Constant filled by server. :type type: str :param source_retry_count: Source retry count. Type: integer (or Expression with resultType integer). :type source_retry_count: object :param source_retry_wait: Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type source_retry_wait: object :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object :param query_timeout: Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type query_timeout: object :param additional_columns: Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects). :type additional_columns: list[~azure.synapse.artifacts.models.AdditionalColumns] :param query: A query to retrieve data from source. Type: string (or Expression with resultType string). :type query: object """ _validation = { 'type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, 'query': {'key': 'query', 'type': 'object'}, } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, source_retry_count: Optional[object] = None, source_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, query_timeout: Optional[object] = None, additional_columns: Optional[List["AdditionalColumns"]] = None, query: Optional[object] = None, **kwargs ): super(HiveSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, query_timeout=query_timeout, additional_columns=additional_columns, **kwargs) self.type = 'HiveSource' # type: str self.query = query
[docs]class HttpDataset(Dataset): """A file in an HTTP web server. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Type of dataset.Constant filled by server. :type type: str :param description: Dataset description. :type description: str :param structure: Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. :type structure: object :param schema: Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. :type linked_service_name: ~azure.synapse.artifacts.models.LinkedServiceReference :param parameters: Parameters for dataset. :type parameters: dict[str, ~azure.synapse.artifacts.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. :type folder: ~azure.synapse.artifacts.models.DatasetFolder :param relative_url: The relative URL based on the URL in the HttpLinkedService refers to an HTTP file Type: string (or Expression with resultType string). :type relative_url: object :param request_method: The HTTP method for the HTTP request. Type: string (or Expression with resultType string). :type request_method: object :param request_body: The body for the HTTP request. Type: string (or Expression with resultType string). :type request_body: object :param additional_headers: The headers for the HTTP Request. e.g. request-header-name-1:request-header-value-1 ... request-header-name-n:request-header-value-n Type: string (or Expression with resultType string). :type additional_headers: object :param format: The format of files. :type format: ~azure.synapse.artifacts.models.DatasetStorageFormat :param compression: The data compression method used on files. :type compression: ~azure.synapse.artifacts.models.DatasetCompression """ _validation = { 'type': {'required': True}, 'linked_service_name': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'description': {'key': 'description', 'type': 'str'}, 'structure': {'key': 'structure', 'type': 'object'}, 'schema': {'key': 'schema', 'type': 'object'}, 'linked_service_name': {'key': 'linkedServiceName', 'type': 'LinkedServiceReference'}, 'parameters': {'key': 'parameters', 'type': '{ParameterSpecification}'}, 'annotations': {'key': 'annotations', 'type': '[object]'}, 'folder': {'key': 'folder', 'type': 'DatasetFolder'}, 'relative_url': {'key': 'typeProperties.relativeUrl', 'type': 'object'}, 'request_method': {'key': 'typeProperties.requestMethod', 'type': 'object'}, 'request_body': {'key': 'typeProperties.requestBody', 'type': 'object'}, 'additional_headers': {'key': 'typeProperties.additionalHeaders', 'type': 'object'}, 'format': {'key': 'typeProperties.format', 'type': 'DatasetStorageFormat'}, 'compression': {'key': 'typeProperties.compression', 'type': 'DatasetCompression'}, } def __init__( self, *, linked_service_name: "LinkedServiceReference", additional_properties: Optional[Dict[str, object]] = None, description: Optional[str] = None, structure: Optional[object] = None, schema: Optional[object] = None, parameters: Optional[Dict[str, "ParameterSpecification"]] = None, annotations: Optional[List[object]] = None, folder: Optional["DatasetFolder"] = None, relative_url: Optional[object] = None, request_method: Optional[object] = None, request_body: Optional[object] = None, additional_headers: Optional[object] = None, format: Optional["DatasetStorageFormat"] = None, compression: Optional["DatasetCompression"] = None, **kwargs ): super(HttpDataset, self).__init__(additional_properties=additional_properties, description=description, structure=structure, schema=schema, linked_service_name=linked_service_name, parameters=parameters, annotations=annotations, folder=folder, **kwargs) self.type = 'HttpFile' # type: str self.relative_url = relative_url self.request_method = request_method self.request_body = request_body self.additional_headers = additional_headers self.format = format self.compression = compression
[docs]class HttpLinkedService(LinkedService): """Linked service for an HTTP source. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. :type connect_via: ~azure.synapse.artifacts.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. :type parameters: dict[str, ~azure.synapse.artifacts.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param url: Required. The base URL of the HTTP endpoint, e.g. http://www.microsoft.com. Type: string (or Expression with resultType string). :type url: object :param authentication_type: The authentication type to be used to connect to the HTTP server. Possible values include: "Basic", "Anonymous", "Digest", "Windows", "ClientCertificate". :type authentication_type: str or ~azure.synapse.artifacts.models.HttpAuthenticationType :param user_name: User name for Basic, Digest, or Windows authentication. Type: string (or Expression with resultType string). :type user_name: object :param password: Password for Basic, Digest, Windows, or ClientCertificate with EmbeddedCertData authentication. :type password: ~azure.synapse.artifacts.models.SecretBase :param embedded_cert_data: Base64 encoded certificate data for ClientCertificate authentication. For on-premises copy with ClientCertificate authentication, either CertThumbprint or EmbeddedCertData/Password should be specified. Type: string (or Expression with resultType string). :type embedded_cert_data: object :param cert_thumbprint: Thumbprint of certificate for ClientCertificate authentication. Only valid for on-premises copy. For on-premises copy with ClientCertificate authentication, either CertThumbprint or EmbeddedCertData/Password should be specified. Type: string (or Expression with resultType string). :type cert_thumbprint: 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). :type encrypted_credential: object :param enable_server_certificate_validation: If true, validate the HTTPS server SSL certificate. Default value is true. Type: boolean (or Expression with resultType boolean). :type enable_server_certificate_validation: object """ _validation = { 'type': {'required': True}, 'url': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'connect_via': {'key': 'connectVia', 'type': 'IntegrationRuntimeReference'}, 'description': {'key': 'description', 'type': 'str'}, 'parameters': {'key': 'parameters', 'type': '{ParameterSpecification}'}, 'annotations': {'key': 'annotations', 'type': '[object]'}, 'url': {'key': 'typeProperties.url', 'type': 'object'}, 'authentication_type': {'key': 'typeProperties.authenticationType', 'type': 'str'}, 'user_name': {'key': 'typeProperties.userName', 'type': 'object'}, 'password': {'key': 'typeProperties.password', 'type': 'SecretBase'}, 'embedded_cert_data': {'key': 'typeProperties.embeddedCertData', 'type': 'object'}, 'cert_thumbprint': {'key': 'typeProperties.certThumbprint', 'type': 'object'}, 'encrypted_credential': {'key': 'typeProperties.encryptedCredential', 'type': 'object'}, 'enable_server_certificate_validation': {'key': 'typeProperties.enableServerCertificateValidation', 'type': 'object'}, } def __init__( self, *, url: object, additional_properties: Optional[Dict[str, object]] = None, connect_via: Optional["IntegrationRuntimeReference"] = None, description: Optional[str] = None, parameters: Optional[Dict[str, "ParameterSpecification"]] = None, annotations: Optional[List[object]] = None, authentication_type: Optional[Union[str, "HttpAuthenticationType"]] = None, user_name: Optional[object] = None, password: Optional["SecretBase"] = None, embedded_cert_data: Optional[object] = None, cert_thumbprint: Optional[object] = None, encrypted_credential: Optional[object] = None, enable_server_certificate_validation: Optional[object] = None, **kwargs ): super(HttpLinkedService, self).__init__(additional_properties=additional_properties, connect_via=connect_via, description=description, parameters=parameters, annotations=annotations, **kwargs) self.type = 'HttpServer' # type: str self.url = url self.authentication_type = authentication_type self.user_name = user_name self.password = password self.embedded_cert_data = embedded_cert_data self.cert_thumbprint = cert_thumbprint self.encrypted_credential = encrypted_credential self.enable_server_certificate_validation = enable_server_certificate_validation
[docs]class HttpReadSettings(StoreReadSettings): """Sftp read settings. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. The read setting type.Constant filled by server. :type type: str :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object :param request_method: The HTTP method used to call the RESTful API. The default is GET. Type: string (or Expression with resultType string). :type request_method: object :param request_body: The HTTP request body to the RESTful API if requestMethod is POST. Type: string (or Expression with resultType string). :type request_body: object :param additional_headers: The additional HTTP headers in the request to the RESTful API. Type: string (or Expression with resultType string). :type additional_headers: object :param request_timeout: Specifies the timeout for a HTTP client to get HTTP response from HTTP server. :type request_timeout: object :param enable_partition_discovery: Indicates whether to enable partition discovery. :type enable_partition_discovery: bool :param partition_root_path: Specify the root path where partition discovery starts from. Type: string (or Expression with resultType string). :type partition_root_path: object """ _validation = { 'type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'request_method': {'key': 'requestMethod', 'type': 'object'}, 'request_body': {'key': 'requestBody', 'type': 'object'}, 'additional_headers': {'key': 'additionalHeaders', 'type': 'object'}, 'request_timeout': {'key': 'requestTimeout', 'type': 'object'}, 'enable_partition_discovery': {'key': 'enablePartitionDiscovery', 'type': 'bool'}, 'partition_root_path': {'key': 'partitionRootPath', 'type': 'object'}, } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, max_concurrent_connections: Optional[object] = None, request_method: Optional[object] = None, request_body: Optional[object] = None, additional_headers: Optional[object] = None, request_timeout: Optional[object] = None, enable_partition_discovery: Optional[bool] = None, partition_root_path: Optional[object] = None, **kwargs ): super(HttpReadSettings, self).__init__(additional_properties=additional_properties, max_concurrent_connections=max_concurrent_connections, **kwargs) self.type = 'HttpReadSettings' # type: str self.request_method = request_method self.request_body = request_body self.additional_headers = additional_headers self.request_timeout = request_timeout self.enable_partition_discovery = enable_partition_discovery self.partition_root_path = partition_root_path
[docs]class HttpServerLocation(DatasetLocation): """The location of http server. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Type of dataset storage location.Constant filled by server. :type type: str :param folder_path: Specify the folder path of dataset. Type: string (or Expression with resultType string). :type folder_path: object :param file_name: Specify the file name of dataset. Type: string (or Expression with resultType string). :type file_name: object :param relative_url: Specify the relativeUrl of http server. Type: string (or Expression with resultType string). :type relative_url: object """ _validation = { 'type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'folder_path': {'key': 'folderPath', 'type': 'object'}, 'file_name': {'key': 'fileName', 'type': 'object'}, 'relative_url': {'key': 'relativeUrl', 'type': 'object'}, } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, folder_path: Optional[object] = None, file_name: Optional[object] = None, relative_url: Optional[object] = None, **kwargs ): super(HttpServerLocation, self).__init__(additional_properties=additional_properties, folder_path=folder_path, file_name=file_name, **kwargs) self.type = 'HttpServerLocation' # type: str self.relative_url = relative_url
[docs]class HttpSource(CopySource): """A copy activity source for an HTTP file. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Copy source type.Constant filled by server. :type type: str :param source_retry_count: Source retry count. Type: integer (or Expression with resultType integer). :type source_retry_count: object :param source_retry_wait: Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type source_retry_wait: object :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object :param http_request_timeout: Specifies the timeout for a HTTP client to get HTTP response from HTTP server. The default value is equivalent to System.Net.HttpWebRequest.Timeout. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type http_request_timeout: object """ _validation = { 'type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'http_request_timeout': {'key': 'httpRequestTimeout', 'type': 'object'}, } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, source_retry_count: Optional[object] = None, source_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, http_request_timeout: Optional[object] = None, **kwargs ): super(HttpSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, **kwargs) self.type = 'HttpSource' # type: str self.http_request_timeout = http_request_timeout
[docs]class HubspotLinkedService(LinkedService): """Hubspot Service linked service. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. :type connect_via: ~azure.synapse.artifacts.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. :type parameters: dict[str, ~azure.synapse.artifacts.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param client_id: Required. The client ID associated with your Hubspot application. :type client_id: object :param client_secret: The client secret associated with your Hubspot application. :type client_secret: ~azure.synapse.artifacts.models.SecretBase :param access_token: The access token obtained when initially authenticating your OAuth integration. :type access_token: ~azure.synapse.artifacts.models.SecretBase :param refresh_token: The refresh token obtained when initially authenticating your OAuth integration. :type refresh_token: ~azure.synapse.artifacts.models.SecretBase :param use_encrypted_endpoints: Specifies whether the data source endpoints are encrypted using HTTPS. The default value is true. :type use_encrypted_endpoints: object :param use_host_verification: Specifies whether to require the host name in the server's certificate to match the host name of the server when connecting over SSL. The default value is true. :type use_host_verification: object :param use_peer_verification: Specifies whether to verify the identity of the server when connecting over SSL. The default value is true. :type use_peer_verification: 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). :type encrypted_credential: object """ _validation = { 'type': {'required': True}, 'client_id': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'connect_via': {'key': 'connectVia', 'type': 'IntegrationRuntimeReference'}, 'description': {'key': 'description', 'type': 'str'}, 'parameters': {'key': 'parameters', 'type': '{ParameterSpecification}'}, 'annotations': {'key': 'annotations', 'type': '[object]'}, 'client_id': {'key': 'typeProperties.clientId', 'type': 'object'}, 'client_secret': {'key': 'typeProperties.clientSecret', 'type': 'SecretBase'}, 'access_token': {'key': 'typeProperties.accessToken', 'type': 'SecretBase'}, 'refresh_token': {'key': 'typeProperties.refreshToken', 'type': 'SecretBase'}, 'use_encrypted_endpoints': {'key': 'typeProperties.useEncryptedEndpoints', 'type': 'object'}, 'use_host_verification': {'key': 'typeProperties.useHostVerification', 'type': 'object'}, 'use_peer_verification': {'key': 'typeProperties.usePeerVerification', 'type': 'object'}, 'encrypted_credential': {'key': 'typeProperties.encryptedCredential', 'type': 'object'}, } def __init__( self, *, client_id: object, additional_properties: Optional[Dict[str, object]] = None, connect_via: Optional["IntegrationRuntimeReference"] = None, description: Optional[str] = None, parameters: Optional[Dict[str, "ParameterSpecification"]] = None, annotations: Optional[List[object]] = None, client_secret: Optional["SecretBase"] = None, access_token: Optional["SecretBase"] = None, refresh_token: Optional["SecretBase"] = None, use_encrypted_endpoints: Optional[object] = None, use_host_verification: Optional[object] = None, use_peer_verification: Optional[object] = None, encrypted_credential: Optional[object] = None, **kwargs ): super(HubspotLinkedService, self).__init__(additional_properties=additional_properties, connect_via=connect_via, description=description, parameters=parameters, annotations=annotations, **kwargs) self.type = 'Hubspot' # type: str self.client_id = client_id self.client_secret = client_secret self.access_token = access_token self.refresh_token = refresh_token self.use_encrypted_endpoints = use_encrypted_endpoints self.use_host_verification = use_host_verification self.use_peer_verification = use_peer_verification self.encrypted_credential = encrypted_credential
[docs]class HubspotObjectDataset(Dataset): """Hubspot Service dataset. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Type of dataset.Constant filled by server. :type type: str :param description: Dataset description. :type description: str :param structure: Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. :type structure: object :param schema: Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. :type linked_service_name: ~azure.synapse.artifacts.models.LinkedServiceReference :param parameters: Parameters for dataset. :type parameters: dict[str, ~azure.synapse.artifacts.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. :type folder: ~azure.synapse.artifacts.models.DatasetFolder :param table_name: The table name. Type: string (or Expression with resultType string). :type table_name: object """ _validation = { 'type': {'required': True}, 'linked_service_name': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'description': {'key': 'description', 'type': 'str'}, 'structure': {'key': 'structure', 'type': 'object'}, 'schema': {'key': 'schema', 'type': 'object'}, 'linked_service_name': {'key': 'linkedServiceName', 'type': 'LinkedServiceReference'}, 'parameters': {'key': 'parameters', 'type': '{ParameterSpecification}'}, 'annotations': {'key': 'annotations', 'type': '[object]'}, 'folder': {'key': 'folder', 'type': 'DatasetFolder'}, 'table_name': {'key': 'typeProperties.tableName', 'type': 'object'}, } def __init__( self, *, linked_service_name: "LinkedServiceReference", additional_properties: Optional[Dict[str, object]] = None, description: Optional[str] = None, structure: Optional[object] = None, schema: Optional[object] = None, parameters: Optional[Dict[str, "ParameterSpecification"]] = None, annotations: Optional[List[object]] = None, folder: Optional["DatasetFolder"] = None, table_name: Optional[object] = None, **kwargs ): super(HubspotObjectDataset, self).__init__(additional_properties=additional_properties, description=description, structure=structure, schema=schema, linked_service_name=linked_service_name, parameters=parameters, annotations=annotations, folder=folder, **kwargs) self.type = 'HubspotObject' # type: str self.table_name = table_name
[docs]class HubspotSource(TabularSource): """A copy activity Hubspot Service source. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Copy source type.Constant filled by server. :type type: str :param source_retry_count: Source retry count. Type: integer (or Expression with resultType integer). :type source_retry_count: object :param source_retry_wait: Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type source_retry_wait: object :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object :param query_timeout: Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type query_timeout: object :param additional_columns: Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects). :type additional_columns: list[~azure.synapse.artifacts.models.AdditionalColumns] :param query: A query to retrieve data from source. Type: string (or Expression with resultType string). :type query: object """ _validation = { 'type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, 'query': {'key': 'query', 'type': 'object'}, } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, source_retry_count: Optional[object] = None, source_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, query_timeout: Optional[object] = None, additional_columns: Optional[List["AdditionalColumns"]] = None, query: Optional[object] = None, **kwargs ): super(HubspotSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, query_timeout=query_timeout, additional_columns=additional_columns, **kwargs) self.type = 'HubspotSource' # type: str self.query = query
[docs]class IfConditionActivity(ControlActivity): """This activity evaluates a boolean expression and executes either the activities under the ifTrueActivities property or the ifFalseActivities property depending on the result of the expression. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param name: Required. Activity name. :type name: str :param type: Required. Type of activity.Constant filled by server. :type type: str :param description: Activity description. :type description: str :param depends_on: Activity depends on condition. :type depends_on: list[~azure.synapse.artifacts.models.ActivityDependency] :param user_properties: Activity user properties. :type user_properties: list[~azure.synapse.artifacts.models.UserProperty] :param expression: Required. An expression that would evaluate to Boolean. This is used to determine the block of activities (ifTrueActivities or ifFalseActivities) that will be executed. :type expression: ~azure.synapse.artifacts.models.Expression :param if_true_activities: List of activities to execute if expression is evaluated to true. This is an optional property and if not provided, the activity will exit without any action. :type if_true_activities: list[~azure.synapse.artifacts.models.Activity] :param if_false_activities: List of activities to execute if expression is evaluated to false. This is an optional property and if not provided, the activity will exit without any action. :type if_false_activities: list[~azure.synapse.artifacts.models.Activity] """ _validation = { 'name': {'required': True}, 'type': {'required': True}, 'expression': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'name': {'key': 'name', 'type': 'str'}, 'type': {'key': 'type', 'type': 'str'}, 'description': {'key': 'description', 'type': 'str'}, 'depends_on': {'key': 'dependsOn', 'type': '[ActivityDependency]'}, 'user_properties': {'key': 'userProperties', 'type': '[UserProperty]'}, 'expression': {'key': 'typeProperties.expression', 'type': 'Expression'}, 'if_true_activities': {'key': 'typeProperties.ifTrueActivities', 'type': '[Activity]'}, 'if_false_activities': {'key': 'typeProperties.ifFalseActivities', 'type': '[Activity]'}, } def __init__( self, *, name: str, expression: "Expression", additional_properties: Optional[Dict[str, object]] = None, description: Optional[str] = None, depends_on: Optional[List["ActivityDependency"]] = None, user_properties: Optional[List["UserProperty"]] = None, if_true_activities: Optional[List["Activity"]] = None, if_false_activities: Optional[List["Activity"]] = None, **kwargs ): super(IfConditionActivity, self).__init__(additional_properties=additional_properties, name=name, description=description, depends_on=depends_on, user_properties=user_properties, **kwargs) self.type = 'IfCondition' # type: str self.expression = expression self.if_true_activities = if_true_activities self.if_false_activities = if_false_activities
[docs]class ImpalaLinkedService(LinkedService): """Impala server linked service. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. :type connect_via: ~azure.synapse.artifacts.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. :type parameters: dict[str, ~azure.synapse.artifacts.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param host: Required. The IP address or host name of the Impala server. (i.e. 192.168.222.160). :type host: object :param port: The TCP port that the Impala server uses to listen for client connections. The default value is 21050. :type port: object :param authentication_type: Required. The authentication type to use. Possible values include: "Anonymous", "SASLUsername", "UsernameAndPassword". :type authentication_type: str or ~azure.synapse.artifacts.models.ImpalaAuthenticationType :param username: The user name used to access the Impala server. The default value is anonymous when using SASLUsername. :type username: object :param password: The password corresponding to the user name when using UsernameAndPassword. :type password: ~azure.synapse.artifacts.models.SecretBase :param enable_ssl: Specifies whether the connections to the server are encrypted using SSL. The default value is false. :type enable_ssl: object :param trusted_cert_path: The full path of the .pem file containing trusted CA certificates for verifying the server when connecting over SSL. This property can only be set when using SSL on self-hosted IR. The default value is the cacerts.pem file installed with the IR. :type trusted_cert_path: object :param use_system_trust_store: Specifies whether to use a CA certificate from the system trust store or from a specified PEM file. The default value is false. :type use_system_trust_store: object :param allow_host_name_cn_mismatch: Specifies whether to require a CA-issued SSL certificate name to match the host name of the server when connecting over SSL. The default value is false. :type allow_host_name_cn_mismatch: object :param allow_self_signed_server_cert: Specifies whether to allow self-signed certificates from the server. The default value is false. :type allow_self_signed_server_cert: 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). :type encrypted_credential: object """ _validation = { 'type': {'required': True}, 'host': {'required': True}, 'authentication_type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'connect_via': {'key': 'connectVia', 'type': 'IntegrationRuntimeReference'}, 'description': {'key': 'description', 'type': 'str'}, 'parameters': {'key': 'parameters', 'type': '{ParameterSpecification}'}, 'annotations': {'key': 'annotations', 'type': '[object]'}, 'host': {'key': 'typeProperties.host', 'type': 'object'}, 'port': {'key': 'typeProperties.port', 'type': 'object'}, 'authentication_type': {'key': 'typeProperties.authenticationType', 'type': 'str'}, 'username': {'key': 'typeProperties.username', 'type': 'object'}, 'password': {'key': 'typeProperties.password', 'type': 'SecretBase'}, 'enable_ssl': {'key': 'typeProperties.enableSsl', 'type': 'object'}, 'trusted_cert_path': {'key': 'typeProperties.trustedCertPath', 'type': 'object'}, 'use_system_trust_store': {'key': 'typeProperties.useSystemTrustStore', 'type': 'object'}, 'allow_host_name_cn_mismatch': {'key': 'typeProperties.allowHostNameCNMismatch', 'type': 'object'}, 'allow_self_signed_server_cert': {'key': 'typeProperties.allowSelfSignedServerCert', 'type': 'object'}, 'encrypted_credential': {'key': 'typeProperties.encryptedCredential', 'type': 'object'}, } def __init__( self, *, host: object, authentication_type: Union[str, "ImpalaAuthenticationType"], additional_properties: Optional[Dict[str, object]] = None, connect_via: Optional["IntegrationRuntimeReference"] = None, description: Optional[str] = None, parameters: Optional[Dict[str, "ParameterSpecification"]] = None, annotations: Optional[List[object]] = None, port: Optional[object] = None, username: Optional[object] = None, password: Optional["SecretBase"] = None, enable_ssl: Optional[object] = None, trusted_cert_path: Optional[object] = None, use_system_trust_store: Optional[object] = None, allow_host_name_cn_mismatch: Optional[object] = None, allow_self_signed_server_cert: Optional[object] = None, encrypted_credential: Optional[object] = None, **kwargs ): super(ImpalaLinkedService, self).__init__(additional_properties=additional_properties, connect_via=connect_via, description=description, parameters=parameters, annotations=annotations, **kwargs) self.type = 'Impala' # type: str self.host = host self.port = port self.authentication_type = authentication_type self.username = username self.password = password self.enable_ssl = enable_ssl self.trusted_cert_path = trusted_cert_path self.use_system_trust_store = use_system_trust_store self.allow_host_name_cn_mismatch = allow_host_name_cn_mismatch self.allow_self_signed_server_cert = allow_self_signed_server_cert self.encrypted_credential = encrypted_credential
[docs]class ImpalaObjectDataset(Dataset): """Impala server dataset. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Type of dataset.Constant filled by server. :type type: str :param description: Dataset description. :type description: str :param structure: Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. :type structure: object :param schema: Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. :type linked_service_name: ~azure.synapse.artifacts.models.LinkedServiceReference :param parameters: Parameters for dataset. :type parameters: dict[str, ~azure.synapse.artifacts.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. :type folder: ~azure.synapse.artifacts.models.DatasetFolder :param table_name: This property will be retired. Please consider using schema + table properties instead. :type table_name: object :param table: The table name of the Impala. Type: string (or Expression with resultType string). :type table: object :param schema_type_properties_schema: The schema name of the Impala. Type: string (or Expression with resultType string). :type schema_type_properties_schema: object """ _validation = { 'type': {'required': True}, 'linked_service_name': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'description': {'key': 'description', 'type': 'str'}, 'structure': {'key': 'structure', 'type': 'object'}, 'schema': {'key': 'schema', 'type': 'object'}, 'linked_service_name': {'key': 'linkedServiceName', 'type': 'LinkedServiceReference'}, 'parameters': {'key': 'parameters', 'type': '{ParameterSpecification}'}, 'annotations': {'key': 'annotations', 'type': '[object]'}, 'folder': {'key': 'folder', 'type': 'DatasetFolder'}, 'table_name': {'key': 'typeProperties.tableName', 'type': 'object'}, 'table': {'key': 'typeProperties.table', 'type': 'object'}, 'schema_type_properties_schema': {'key': 'typeProperties.schema', 'type': 'object'}, } def __init__( self, *, linked_service_name: "LinkedServiceReference", additional_properties: Optional[Dict[str, object]] = None, description: Optional[str] = None, structure: Optional[object] = None, schema: Optional[object] = None, parameters: Optional[Dict[str, "ParameterSpecification"]] = None, annotations: Optional[List[object]] = None, folder: Optional["DatasetFolder"] = None, table_name: Optional[object] = None, table: Optional[object] = None, schema_type_properties_schema: Optional[object] = None, **kwargs ): super(ImpalaObjectDataset, self).__init__(additional_properties=additional_properties, description=description, structure=structure, schema=schema, linked_service_name=linked_service_name, parameters=parameters, annotations=annotations, folder=folder, **kwargs) self.type = 'ImpalaObject' # type: str self.table_name = table_name self.table = table self.schema_type_properties_schema = schema_type_properties_schema
[docs]class ImpalaSource(TabularSource): """A copy activity Impala server source. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Copy source type.Constant filled by server. :type type: str :param source_retry_count: Source retry count. Type: integer (or Expression with resultType integer). :type source_retry_count: object :param source_retry_wait: Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type source_retry_wait: object :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object :param query_timeout: Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type query_timeout: object :param additional_columns: Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects). :type additional_columns: list[~azure.synapse.artifacts.models.AdditionalColumns] :param query: A query to retrieve data from source. Type: string (or Expression with resultType string). :type query: object """ _validation = { 'type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, 'query': {'key': 'query', 'type': 'object'}, } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, source_retry_count: Optional[object] = None, source_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, query_timeout: Optional[object] = None, additional_columns: Optional[List["AdditionalColumns"]] = None, query: Optional[object] = None, **kwargs ): super(ImpalaSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, query_timeout=query_timeout, additional_columns=additional_columns, **kwargs) self.type = 'ImpalaSource' # type: str self.query = query
[docs]class InformixLinkedService(LinkedService): """Informix linked service. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. :type connect_via: ~azure.synapse.artifacts.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. :type parameters: dict[str, ~azure.synapse.artifacts.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param connection_string: Required. The non-access credential portion of the connection string as well as an optional encrypted credential. Type: string, SecureString or AzureKeyVaultSecretReference. :type connection_string: object :param authentication_type: Type of authentication used to connect to the Informix as ODBC data store. Possible values are: Anonymous and Basic. Type: string (or Expression with resultType string). :type authentication_type: object :param credential: The access credential portion of the connection string specified in driver-specific property-value format. :type credential: ~azure.synapse.artifacts.models.SecretBase :param user_name: User name for Basic authentication. Type: string (or Expression with resultType string). :type user_name: object :param password: Password for Basic authentication. :type password: ~azure.synapse.artifacts.models.SecretBase :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). :type encrypted_credential: object """ _validation = { 'type': {'required': True}, 'connection_string': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'connect_via': {'key': 'connectVia', 'type': 'IntegrationRuntimeReference'}, 'description': {'key': 'description', 'type': 'str'}, 'parameters': {'key': 'parameters', 'type': '{ParameterSpecification}'}, 'annotations': {'key': 'annotations', 'type': '[object]'}, 'connection_string': {'key': 'typeProperties.connectionString', 'type': 'object'}, 'authentication_type': {'key': 'typeProperties.authenticationType', 'type': 'object'}, 'credential': {'key': 'typeProperties.credential', 'type': 'SecretBase'}, 'user_name': {'key': 'typeProperties.userName', 'type': 'object'}, 'password': {'key': 'typeProperties.password', 'type': 'SecretBase'}, 'encrypted_credential': {'key': 'typeProperties.encryptedCredential', 'type': 'object'}, } def __init__( self, *, connection_string: object, additional_properties: Optional[Dict[str, object]] = None, connect_via: Optional["IntegrationRuntimeReference"] = None, description: Optional[str] = None, parameters: Optional[Dict[str, "ParameterSpecification"]] = None, annotations: Optional[List[object]] = None, authentication_type: Optional[object] = None, credential: Optional["SecretBase"] = None, user_name: Optional[object] = None, password: Optional["SecretBase"] = None, encrypted_credential: Optional[object] = None, **kwargs ): super(InformixLinkedService, self).__init__(additional_properties=additional_properties, connect_via=connect_via, description=description, parameters=parameters, annotations=annotations, **kwargs) self.type = 'Informix' # type: str self.connection_string = connection_string self.authentication_type = authentication_type self.credential = credential self.user_name = user_name self.password = password self.encrypted_credential = encrypted_credential
[docs]class InformixSink(CopySink): """A copy activity Informix sink. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Copy sink type.Constant filled by server. :type type: str :param write_batch_size: Write batch size. Type: integer (or Expression with resultType integer), minimum: 0. :type write_batch_size: object :param write_batch_timeout: Write batch timeout. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type write_batch_timeout: object :param sink_retry_count: Sink retry count. Type: integer (or Expression with resultType integer). :type sink_retry_count: object :param sink_retry_wait: Sink retry wait. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type sink_retry_wait: object :param max_concurrent_connections: The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object :param pre_copy_script: A query to execute before starting the copy. Type: string (or Expression with resultType string). :type pre_copy_script: object """ _validation = { 'type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'write_batch_size': {'key': 'writeBatchSize', 'type': 'object'}, 'write_batch_timeout': {'key': 'writeBatchTimeout', 'type': 'object'}, 'sink_retry_count': {'key': 'sinkRetryCount', 'type': 'object'}, 'sink_retry_wait': {'key': 'sinkRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'pre_copy_script': {'key': 'preCopyScript', 'type': 'object'}, } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, write_batch_size: Optional[object] = None, write_batch_timeout: Optional[object] = None, sink_retry_count: Optional[object] = None, sink_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, pre_copy_script: Optional[object] = None, **kwargs ): super(InformixSink, self).__init__(additional_properties=additional_properties, write_batch_size=write_batch_size, write_batch_timeout=write_batch_timeout, sink_retry_count=sink_retry_count, sink_retry_wait=sink_retry_wait, max_concurrent_connections=max_concurrent_connections, **kwargs) self.type = 'InformixSink' # type: str self.pre_copy_script = pre_copy_script
[docs]class InformixSource(TabularSource): """A copy activity source for Informix. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Copy source type.Constant filled by server. :type type: str :param source_retry_count: Source retry count. Type: integer (or Expression with resultType integer). :type source_retry_count: object :param source_retry_wait: Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type source_retry_wait: object :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object :param query_timeout: Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type query_timeout: object :param additional_columns: Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects). :type additional_columns: list[~azure.synapse.artifacts.models.AdditionalColumns] :param query: Database query. Type: string (or Expression with resultType string). :type query: object """ _validation = { 'type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, 'query': {'key': 'query', 'type': 'object'}, } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, source_retry_count: Optional[object] = None, source_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, query_timeout: Optional[object] = None, additional_columns: Optional[List["AdditionalColumns"]] = None, query: Optional[object] = None, **kwargs ): super(InformixSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, query_timeout=query_timeout, additional_columns=additional_columns, **kwargs) self.type = 'InformixSource' # type: str self.query = query
[docs]class InformixTableDataset(Dataset): """The Informix table dataset. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Type of dataset.Constant filled by server. :type type: str :param description: Dataset description. :type description: str :param structure: Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. :type structure: object :param schema: Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. :type linked_service_name: ~azure.synapse.artifacts.models.LinkedServiceReference :param parameters: Parameters for dataset. :type parameters: dict[str, ~azure.synapse.artifacts.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. :type folder: ~azure.synapse.artifacts.models.DatasetFolder :param table_name: The Informix table name. Type: string (or Expression with resultType string). :type table_name: object """ _validation = { 'type': {'required': True}, 'linked_service_name': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'description': {'key': 'description', 'type': 'str'}, 'structure': {'key': 'structure', 'type': 'object'}, 'schema': {'key': 'schema', 'type': 'object'}, 'linked_service_name': {'key': 'linkedServiceName', 'type': 'LinkedServiceReference'}, 'parameters': {'key': 'parameters', 'type': '{ParameterSpecification}'}, 'annotations': {'key': 'annotations', 'type': '[object]'}, 'folder': {'key': 'folder', 'type': 'DatasetFolder'}, 'table_name': {'key': 'typeProperties.tableName', 'type': 'object'}, } def __init__( self, *, linked_service_name: "LinkedServiceReference", additional_properties: Optional[Dict[str, object]] = None, description: Optional[str] = None, structure: Optional[object] = None, schema: Optional[object] = None, parameters: Optional[Dict[str, "ParameterSpecification"]] = None, annotations: Optional[List[object]] = None, folder: Optional["DatasetFolder"] = None, table_name: Optional[object] = None, **kwargs ): super(InformixTableDataset, self).__init__(additional_properties=additional_properties, description=description, structure=structure, schema=schema, linked_service_name=linked_service_name, parameters=parameters, annotations=annotations, folder=folder, **kwargs) self.type = 'InformixTable' # type: str self.table_name = table_name
[docs]class IntegrationRuntime(msrest.serialization.Model): """Azure Synapse nested object which serves as a compute resource for activities. You probably want to use the sub-classes and not this class directly. Known sub-classes are: ManagedIntegrationRuntime, SelfHostedIntegrationRuntime. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Type of integration runtime.Constant filled by server. Possible values include: "Managed", "SelfHosted". :type type: str or ~azure.synapse.artifacts.models.IntegrationRuntimeType :param description: Integration runtime description. :type description: str """ _validation = { 'type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'description': {'key': 'description', 'type': 'str'}, } _subtype_map = { 'type': {'Managed': 'ManagedIntegrationRuntime', 'SelfHosted': 'SelfHostedIntegrationRuntime'} } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, description: Optional[str] = None, **kwargs ): super(IntegrationRuntime, self).__init__(**kwargs) self.additional_properties = additional_properties self.type = 'IntegrationRuntime' # type: str self.description = description
[docs]class IntegrationRuntimeComputeProperties(msrest.serialization.Model): """The compute resource properties for managed integration runtime. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param location: The location for managed integration runtime. The supported regions could be found on https://docs.microsoft.com/en-us/azure/data-factory/data-factory-data-movement-activities. :type location: str :param node_size: The node size requirement to managed integration runtime. :type node_size: str :param number_of_nodes: The required number of nodes for managed integration runtime. :type number_of_nodes: int :param max_parallel_executions_per_node: Maximum parallel executions count per node for managed integration runtime. :type max_parallel_executions_per_node: int :param data_flow_properties: Data flow properties for managed integration runtime. :type data_flow_properties: ~azure.synapse.artifacts.models.IntegrationRuntimeDataFlowProperties :param v_net_properties: VNet properties for managed integration runtime. :type v_net_properties: ~azure.synapse.artifacts.models.IntegrationRuntimeVNetProperties """ _validation = { 'number_of_nodes': {'minimum': 1}, 'max_parallel_executions_per_node': {'minimum': 1}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'location': {'key': 'location', 'type': 'str'}, 'node_size': {'key': 'nodeSize', 'type': 'str'}, 'number_of_nodes': {'key': 'numberOfNodes', 'type': 'int'}, 'max_parallel_executions_per_node': {'key': 'maxParallelExecutionsPerNode', 'type': 'int'}, 'data_flow_properties': {'key': 'dataFlowProperties', 'type': 'IntegrationRuntimeDataFlowProperties'}, 'v_net_properties': {'key': 'vNetProperties', 'type': 'IntegrationRuntimeVNetProperties'}, } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, location: Optional[str] = None, node_size: Optional[str] = None, number_of_nodes: Optional[int] = None, max_parallel_executions_per_node: Optional[int] = None, data_flow_properties: Optional["IntegrationRuntimeDataFlowProperties"] = None, v_net_properties: Optional["IntegrationRuntimeVNetProperties"] = None, **kwargs ): super(IntegrationRuntimeComputeProperties, self).__init__(**kwargs) self.additional_properties = additional_properties self.location = location self.node_size = node_size self.number_of_nodes = number_of_nodes self.max_parallel_executions_per_node = max_parallel_executions_per_node self.data_flow_properties = data_flow_properties self.v_net_properties = v_net_properties
[docs]class IntegrationRuntimeCustomSetupScriptProperties(msrest.serialization.Model): """Custom setup script properties for a managed dedicated integration runtime. :param blob_container_uri: The URI of the Azure blob container that contains the custom setup script. :type blob_container_uri: str :param sas_token: The SAS token of the Azure blob container. :type sas_token: ~azure.synapse.artifacts.models.SecureString """ _attribute_map = { 'blob_container_uri': {'key': 'blobContainerUri', 'type': 'str'}, 'sas_token': {'key': 'sasToken', 'type': 'SecureString'}, } def __init__( self, *, blob_container_uri: Optional[str] = None, sas_token: Optional["SecureString"] = None, **kwargs ): super(IntegrationRuntimeCustomSetupScriptProperties, self).__init__(**kwargs) self.blob_container_uri = blob_container_uri self.sas_token = sas_token
[docs]class IntegrationRuntimeDataFlowProperties(msrest.serialization.Model): """Data flow properties for managed integration runtime. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param compute_type: Compute type of the cluster which will execute data flow job. Possible values include: "General", "MemoryOptimized", "ComputeOptimized". :type compute_type: str or ~azure.synapse.artifacts.models.DataFlowComputeType :param core_count: Core count of the cluster which will execute data flow job. Supported values are: 8, 16, 32, 48, 80, 144 and 272. :type core_count: int :param time_to_live: Time to live (in minutes) setting of the cluster which will execute data flow job. :type time_to_live: int """ _validation = { 'time_to_live': {'minimum': 0}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'compute_type': {'key': 'computeType', 'type': 'str'}, 'core_count': {'key': 'coreCount', 'type': 'int'}, 'time_to_live': {'key': 'timeToLive', 'type': 'int'}, } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, compute_type: Optional[Union[str, "DataFlowComputeType"]] = None, core_count: Optional[int] = None, time_to_live: Optional[int] = None, **kwargs ): super(IntegrationRuntimeDataFlowProperties, self).__init__(**kwargs) self.additional_properties = additional_properties self.compute_type = compute_type self.core_count = core_count self.time_to_live = time_to_live
[docs]class IntegrationRuntimeDataProxyProperties(msrest.serialization.Model): """Data proxy properties for a managed dedicated integration runtime. :param connect_via: The self-hosted integration runtime reference. :type connect_via: ~azure.synapse.artifacts.models.EntityReference :param staging_linked_service: The staging linked service reference. :type staging_linked_service: ~azure.synapse.artifacts.models.EntityReference :param path: The path to contain the staged data in the Blob storage. :type path: str """ _attribute_map = { 'connect_via': {'key': 'connectVia', 'type': 'EntityReference'}, 'staging_linked_service': {'key': 'stagingLinkedService', 'type': 'EntityReference'}, 'path': {'key': 'path', 'type': 'str'}, } def __init__( self, *, connect_via: Optional["EntityReference"] = None, staging_linked_service: Optional["EntityReference"] = None, path: Optional[str] = None, **kwargs ): super(IntegrationRuntimeDataProxyProperties, self).__init__(**kwargs) self.connect_via = connect_via self.staging_linked_service = staging_linked_service self.path = path
[docs]class IntegrationRuntimeListResponse(msrest.serialization.Model): """A list of integration runtime resources. All required parameters must be populated in order to send to Azure. :param value: Required. List of integration runtimes. :type value: list[~azure.synapse.artifacts.models.IntegrationRuntimeResource] :param next_link: The link to the next page of results, if any remaining results exist. :type next_link: str """ _validation = { 'value': {'required': True}, } _attribute_map = { 'value': {'key': 'value', 'type': '[IntegrationRuntimeResource]'}, 'next_link': {'key': 'nextLink', 'type': 'str'}, } def __init__( self, *, value: List["IntegrationRuntimeResource"], next_link: Optional[str] = None, **kwargs ): super(IntegrationRuntimeListResponse, self).__init__(**kwargs) self.value = value self.next_link = next_link
[docs]class IntegrationRuntimeReference(msrest.serialization.Model): """Integration runtime reference type. All required parameters must be populated in order to send to Azure. :param type: Required. Type of integration runtime. Possible values include: "IntegrationRuntimeReference". :type type: str or ~azure.synapse.artifacts.models.IntegrationRuntimeReferenceType :param reference_name: Required. Reference integration runtime name. :type reference_name: str :param parameters: Arguments for integration runtime. :type parameters: dict[str, object] """ _validation = { 'type': {'required': True}, 'reference_name': {'required': True}, } _attribute_map = { 'type': {'key': 'type', 'type': 'str'}, 'reference_name': {'key': 'referenceName', 'type': 'str'}, 'parameters': {'key': 'parameters', 'type': '{object}'}, } def __init__( self, *, type: Union[str, "IntegrationRuntimeReferenceType"], reference_name: str, parameters: Optional[Dict[str, object]] = None, **kwargs ): super(IntegrationRuntimeReference, self).__init__(**kwargs) self.type = type self.reference_name = reference_name self.parameters = parameters
[docs]class IntegrationRuntimeResource(SubResource): """Integration runtime resource type. Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. :ivar id: Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. :vartype id: str :ivar name: The name of the resource. :vartype name: str :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts". :vartype type: str :ivar etag: Resource Etag. :vartype etag: str :param properties: Required. Integration runtime properties. :type properties: ~azure.synapse.artifacts.models.IntegrationRuntime """ _validation = { 'id': {'readonly': True}, 'name': {'readonly': True}, 'type': {'readonly': True}, 'etag': {'readonly': True}, 'properties': {'required': True}, } _attribute_map = { 'id': {'key': 'id', 'type': 'str'}, 'name': {'key': 'name', 'type': 'str'}, 'type': {'key': 'type', 'type': 'str'}, 'etag': {'key': 'etag', 'type': 'str'}, 'properties': {'key': 'properties', 'type': 'IntegrationRuntime'}, } def __init__( self, *, properties: "IntegrationRuntime", **kwargs ): super(IntegrationRuntimeResource, self).__init__(**kwargs) self.properties = properties
[docs]class IntegrationRuntimeSsisCatalogInfo(msrest.serialization.Model): """Catalog information for managed dedicated integration runtime. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param catalog_server_endpoint: The catalog database server URL. :type catalog_server_endpoint: str :param catalog_admin_user_name: The administrator user name of catalog database. :type catalog_admin_user_name: str :param catalog_admin_password: The password of the administrator user account of the catalog database. :type catalog_admin_password: ~azure.synapse.artifacts.models.SecureString :param catalog_pricing_tier: The pricing tier for the catalog database. The valid values could be found in https://azure.microsoft.com/en-us/pricing/details/sql-database/. Possible values include: "Basic", "Standard", "Premium", "PremiumRS". :type catalog_pricing_tier: str or ~azure.synapse.artifacts.models.IntegrationRuntimeSsisCatalogPricingTier """ _validation = { 'catalog_admin_user_name': {'max_length': 128, 'min_length': 1}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'catalog_server_endpoint': {'key': 'catalogServerEndpoint', 'type': 'str'}, 'catalog_admin_user_name': {'key': 'catalogAdminUserName', 'type': 'str'}, 'catalog_admin_password': {'key': 'catalogAdminPassword', 'type': 'SecureString'}, 'catalog_pricing_tier': {'key': 'catalogPricingTier', 'type': 'str'}, } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, catalog_server_endpoint: Optional[str] = None, catalog_admin_user_name: Optional[str] = None, catalog_admin_password: Optional["SecureString"] = None, catalog_pricing_tier: Optional[Union[str, "IntegrationRuntimeSsisCatalogPricingTier"]] = None, **kwargs ): super(IntegrationRuntimeSsisCatalogInfo, self).__init__(**kwargs) self.additional_properties = additional_properties self.catalog_server_endpoint = catalog_server_endpoint self.catalog_admin_user_name = catalog_admin_user_name self.catalog_admin_password = catalog_admin_password self.catalog_pricing_tier = catalog_pricing_tier
[docs]class IntegrationRuntimeSsisProperties(msrest.serialization.Model): """SSIS properties for managed integration runtime. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param catalog_info: Catalog information for managed dedicated integration runtime. :type catalog_info: ~azure.synapse.artifacts.models.IntegrationRuntimeSsisCatalogInfo :param license_type: License type for bringing your own license scenario. Possible values include: "BasePrice", "LicenseIncluded". :type license_type: str or ~azure.synapse.artifacts.models.IntegrationRuntimeLicenseType :param custom_setup_script_properties: Custom setup script properties for a managed dedicated integration runtime. :type custom_setup_script_properties: ~azure.synapse.artifacts.models.IntegrationRuntimeCustomSetupScriptProperties :param data_proxy_properties: Data proxy properties for a managed dedicated integration runtime. :type data_proxy_properties: ~azure.synapse.artifacts.models.IntegrationRuntimeDataProxyProperties :param edition: The edition for the SSIS Integration Runtime. Possible values include: "Standard", "Enterprise". :type edition: str or ~azure.synapse.artifacts.models.IntegrationRuntimeEdition :param express_custom_setup_properties: Custom setup without script properties for a SSIS integration runtime. :type express_custom_setup_properties: list[~azure.synapse.artifacts.models.CustomSetupBase] """ _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'catalog_info': {'key': 'catalogInfo', 'type': 'IntegrationRuntimeSsisCatalogInfo'}, 'license_type': {'key': 'licenseType', 'type': 'str'}, 'custom_setup_script_properties': {'key': 'customSetupScriptProperties', 'type': 'IntegrationRuntimeCustomSetupScriptProperties'}, 'data_proxy_properties': {'key': 'dataProxyProperties', 'type': 'IntegrationRuntimeDataProxyProperties'}, 'edition': {'key': 'edition', 'type': 'str'}, 'express_custom_setup_properties': {'key': 'expressCustomSetupProperties', 'type': '[CustomSetupBase]'}, } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, catalog_info: Optional["IntegrationRuntimeSsisCatalogInfo"] = None, license_type: Optional[Union[str, "IntegrationRuntimeLicenseType"]] = None, custom_setup_script_properties: Optional["IntegrationRuntimeCustomSetupScriptProperties"] = None, data_proxy_properties: Optional["IntegrationRuntimeDataProxyProperties"] = None, edition: Optional[Union[str, "IntegrationRuntimeEdition"]] = None, express_custom_setup_properties: Optional[List["CustomSetupBase"]] = None, **kwargs ): super(IntegrationRuntimeSsisProperties, self).__init__(**kwargs) self.additional_properties = additional_properties self.catalog_info = catalog_info self.license_type = license_type self.custom_setup_script_properties = custom_setup_script_properties self.data_proxy_properties = data_proxy_properties self.edition = edition self.express_custom_setup_properties = express_custom_setup_properties
[docs]class IntegrationRuntimeVNetProperties(msrest.serialization.Model): """VNet properties for managed integration runtime. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param v_net_id: The ID of the VNet that this integration runtime will join. :type v_net_id: str :param subnet: The name of the subnet this integration runtime will join. :type subnet: str :param public_i_ps: Resource IDs of the public IP addresses that this integration runtime will use. :type public_i_ps: list[str] """ _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'v_net_id': {'key': 'vNetId', 'type': 'str'}, 'subnet': {'key': 'subnet', 'type': 'str'}, 'public_i_ps': {'key': 'publicIPs', 'type': '[str]'}, } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, v_net_id: Optional[str] = None, subnet: Optional[str] = None, public_i_ps: Optional[List[str]] = None, **kwargs ): super(IntegrationRuntimeVNetProperties, self).__init__(**kwargs) self.additional_properties = additional_properties self.v_net_id = v_net_id self.subnet = subnet self.public_i_ps = public_i_ps
[docs]class JiraLinkedService(LinkedService): """Jira Service linked service. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. :type connect_via: ~azure.synapse.artifacts.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. :type parameters: dict[str, ~azure.synapse.artifacts.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param host: Required. The IP address or host name of the Jira service. (e.g. jira.example.com). :type host: object :param port: The TCP port that the Jira server uses to listen for client connections. The default value is 443 if connecting through HTTPS, or 8080 if connecting through HTTP. :type port: object :param username: Required. The user name that you use to access Jira Service. :type username: object :param password: The password corresponding to the user name that you provided in the username field. :type password: ~azure.synapse.artifacts.models.SecretBase :param use_encrypted_endpoints: Specifies whether the data source endpoints are encrypted using HTTPS. The default value is true. :type use_encrypted_endpoints: object :param use_host_verification: Specifies whether to require the host name in the server's certificate to match the host name of the server when connecting over SSL. The default value is true. :type use_host_verification: object :param use_peer_verification: Specifies whether to verify the identity of the server when connecting over SSL. The default value is true. :type use_peer_verification: 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). :type encrypted_credential: object """ _validation = { 'type': {'required': True}, 'host': {'required': True}, 'username': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'connect_via': {'key': 'connectVia', 'type': 'IntegrationRuntimeReference'}, 'description': {'key': 'description', 'type': 'str'}, 'parameters': {'key': 'parameters', 'type': '{ParameterSpecification}'}, 'annotations': {'key': 'annotations', 'type': '[object]'}, 'host': {'key': 'typeProperties.host', 'type': 'object'}, 'port': {'key': 'typeProperties.port', 'type': 'object'}, 'username': {'key': 'typeProperties.username', 'type': 'object'}, 'password': {'key': 'typeProperties.password', 'type': 'SecretBase'}, 'use_encrypted_endpoints': {'key': 'typeProperties.useEncryptedEndpoints', 'type': 'object'}, 'use_host_verification': {'key': 'typeProperties.useHostVerification', 'type': 'object'}, 'use_peer_verification': {'key': 'typeProperties.usePeerVerification', 'type': 'object'}, 'encrypted_credential': {'key': 'typeProperties.encryptedCredential', 'type': 'object'}, } def __init__( self, *, host: object, username: object, additional_properties: Optional[Dict[str, object]] = None, connect_via: Optional["IntegrationRuntimeReference"] = None, description: Optional[str] = None, parameters: Optional[Dict[str, "ParameterSpecification"]] = None, annotations: Optional[List[object]] = None, port: Optional[object] = None, password: Optional["SecretBase"] = None, use_encrypted_endpoints: Optional[object] = None, use_host_verification: Optional[object] = None, use_peer_verification: Optional[object] = None, encrypted_credential: Optional[object] = None, **kwargs ): super(JiraLinkedService, self).__init__(additional_properties=additional_properties, connect_via=connect_via, description=description, parameters=parameters, annotations=annotations, **kwargs) self.type = 'Jira' # type: str self.host = host self.port = port self.username = username self.password = password self.use_encrypted_endpoints = use_encrypted_endpoints self.use_host_verification = use_host_verification self.use_peer_verification = use_peer_verification self.encrypted_credential = encrypted_credential
[docs]class JiraObjectDataset(Dataset): """Jira Service dataset. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Type of dataset.Constant filled by server. :type type: str :param description: Dataset description. :type description: str :param structure: Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. :type structure: object :param schema: Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. :type linked_service_name: ~azure.synapse.artifacts.models.LinkedServiceReference :param parameters: Parameters for dataset. :type parameters: dict[str, ~azure.synapse.artifacts.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. :type folder: ~azure.synapse.artifacts.models.DatasetFolder :param table_name: The table name. Type: string (or Expression with resultType string). :type table_name: object """ _validation = { 'type': {'required': True}, 'linked_service_name': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'description': {'key': 'description', 'type': 'str'}, 'structure': {'key': 'structure', 'type': 'object'}, 'schema': {'key': 'schema', 'type': 'object'}, 'linked_service_name': {'key': 'linkedServiceName', 'type': 'LinkedServiceReference'}, 'parameters': {'key': 'parameters', 'type': '{ParameterSpecification}'}, 'annotations': {'key': 'annotations', 'type': '[object]'}, 'folder': {'key': 'folder', 'type': 'DatasetFolder'}, 'table_name': {'key': 'typeProperties.tableName', 'type': 'object'}, } def __init__( self, *, linked_service_name: "LinkedServiceReference", additional_properties: Optional[Dict[str, object]] = None, description: Optional[str] = None, structure: Optional[object] = None, schema: Optional[object] = None, parameters: Optional[Dict[str, "ParameterSpecification"]] = None, annotations: Optional[List[object]] = None, folder: Optional["DatasetFolder"] = None, table_name: Optional[object] = None, **kwargs ): super(JiraObjectDataset, self).__init__(additional_properties=additional_properties, description=description, structure=structure, schema=schema, linked_service_name=linked_service_name, parameters=parameters, annotations=annotations, folder=folder, **kwargs) self.type = 'JiraObject' # type: str self.table_name = table_name
[docs]class JiraSource(TabularSource): """A copy activity Jira Service source. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Copy source type.Constant filled by server. :type type: str :param source_retry_count: Source retry count. Type: integer (or Expression with resultType integer). :type source_retry_count: object :param source_retry_wait: Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type source_retry_wait: object :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object :param query_timeout: Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type query_timeout: object :param additional_columns: Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects). :type additional_columns: list[~azure.synapse.artifacts.models.AdditionalColumns] :param query: A query to retrieve data from source. Type: string (or Expression with resultType string). :type query: object """ _validation = { 'type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, 'query': {'key': 'query', 'type': 'object'}, } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, source_retry_count: Optional[object] = None, source_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, query_timeout: Optional[object] = None, additional_columns: Optional[List["AdditionalColumns"]] = None, query: Optional[object] = None, **kwargs ): super(JiraSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, query_timeout=query_timeout, additional_columns=additional_columns, **kwargs) self.type = 'JiraSource' # type: str self.query = query
[docs]class JsonDataset(Dataset): """Json dataset. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Type of dataset.Constant filled by server. :type type: str :param description: Dataset description. :type description: str :param structure: Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. :type structure: object :param schema: Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. :type linked_service_name: ~azure.synapse.artifacts.models.LinkedServiceReference :param parameters: Parameters for dataset. :type parameters: dict[str, ~azure.synapse.artifacts.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. :type folder: ~azure.synapse.artifacts.models.DatasetFolder :param location: The location of the json data storage. :type location: ~azure.synapse.artifacts.models.DatasetLocation :param encoding_name: The code page name of the preferred encoding. If not specified, the default value is UTF-8, unless BOM denotes another Unicode encoding. Refer to the name column of the table in the following link to set supported values: https://msdn.microsoft.com/library/system.text.encoding.aspx. Type: string (or Expression with resultType string). :type encoding_name: object :param compression: The data compression method used for the json dataset. :type compression: ~azure.synapse.artifacts.models.DatasetCompression """ _validation = { 'type': {'required': True}, 'linked_service_name': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'description': {'key': 'description', 'type': 'str'}, 'structure': {'key': 'structure', 'type': 'object'}, 'schema': {'key': 'schema', 'type': 'object'}, 'linked_service_name': {'key': 'linkedServiceName', 'type': 'LinkedServiceReference'}, 'parameters': {'key': 'parameters', 'type': '{ParameterSpecification}'}, 'annotations': {'key': 'annotations', 'type': '[object]'}, 'folder': {'key': 'folder', 'type': 'DatasetFolder'}, 'location': {'key': 'typeProperties.location', 'type': 'DatasetLocation'}, 'encoding_name': {'key': 'typeProperties.encodingName', 'type': 'object'}, 'compression': {'key': 'typeProperties.compression', 'type': 'DatasetCompression'}, } def __init__( self, *, linked_service_name: "LinkedServiceReference", additional_properties: Optional[Dict[str, object]] = None, description: Optional[str] = None, structure: Optional[object] = None, schema: Optional[object] = None, parameters: Optional[Dict[str, "ParameterSpecification"]] = None, annotations: Optional[List[object]] = None, folder: Optional["DatasetFolder"] = None, location: Optional["DatasetLocation"] = None, encoding_name: Optional[object] = None, compression: Optional["DatasetCompression"] = None, **kwargs ): super(JsonDataset, self).__init__(additional_properties=additional_properties, description=description, structure=structure, schema=schema, linked_service_name=linked_service_name, parameters=parameters, annotations=annotations, folder=folder, **kwargs) self.type = 'Json' # type: str self.location = location self.encoding_name = encoding_name self.compression = compression
[docs]class JsonFormat(DatasetStorageFormat): """The data stored in JSON format. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Type of dataset storage format.Constant filled by server. :type type: str :param serializer: Serializer. Type: string (or Expression with resultType string). :type serializer: object :param deserializer: Deserializer. Type: string (or Expression with resultType string). :type deserializer: object :param file_pattern: File pattern of JSON. To be more specific, the way of separating a collection of JSON objects. The default value is 'setOfObjects'. It is case-sensitive. Possible values include: "setOfObjects", "arrayOfObjects". :type file_pattern: str or ~azure.synapse.artifacts.models.JsonFormatFilePattern :param nesting_separator: The character used to separate nesting levels. Default value is '.' (dot). Type: string (or Expression with resultType string). :type nesting_separator: object :param encoding_name: The code page name of the preferred encoding. If not provided, the default value is 'utf-8', unless the byte order mark (BOM) denotes another Unicode encoding. The full list of supported values can be found in the 'Name' column of the table of encodings in the following reference: https://go.microsoft.com/fwlink/?linkid=861078. Type: string (or Expression with resultType string). :type encoding_name: object :param json_node_reference: The JSONPath of the JSON array element to be flattened. Example: "$.ArrayPath". Type: string (or Expression with resultType string). :type json_node_reference: object :param json_path_definition: The JSONPath definition for each column mapping with a customized column name to extract data from JSON file. For fields under root object, start with "$"; for fields inside the array chosen by jsonNodeReference property, start from the array element. Example: {"Column1": "$.Column1Path", "Column2": "Column2PathInArray"}. Type: object (or Expression with resultType object). :type json_path_definition: object """ _validation = { 'type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'serializer': {'key': 'serializer', 'type': 'object'}, 'deserializer': {'key': 'deserializer', 'type': 'object'}, 'file_pattern': {'key': 'filePattern', 'type': 'str'}, 'nesting_separator': {'key': 'nestingSeparator', 'type': 'object'}, 'encoding_name': {'key': 'encodingName', 'type': 'object'}, 'json_node_reference': {'key': 'jsonNodeReference', 'type': 'object'}, 'json_path_definition': {'key': 'jsonPathDefinition', 'type': 'object'}, } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, serializer: Optional[object] = None, deserializer: Optional[object] = None, file_pattern: Optional[Union[str, "JsonFormatFilePattern"]] = None, nesting_separator: Optional[object] = None, encoding_name: Optional[object] = None, json_node_reference: Optional[object] = None, json_path_definition: Optional[object] = None, **kwargs ): super(JsonFormat, self).__init__(additional_properties=additional_properties, serializer=serializer, deserializer=deserializer, **kwargs) self.type = 'JsonFormat' # type: str self.file_pattern = file_pattern self.nesting_separator = nesting_separator self.encoding_name = encoding_name self.json_node_reference = json_node_reference self.json_path_definition = json_path_definition
[docs]class JsonReadSettings(FormatReadSettings): """Json read settings. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. The read setting type.Constant filled by server. :type type: str :param compression_properties: Compression settings. :type compression_properties: ~azure.synapse.artifacts.models.CompressionReadSettings """ _validation = { 'type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'compression_properties': {'key': 'compressionProperties', 'type': 'CompressionReadSettings'}, } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, compression_properties: Optional["CompressionReadSettings"] = None, **kwargs ): super(JsonReadSettings, self).__init__(additional_properties=additional_properties, **kwargs) self.type = 'JsonReadSettings' # type: str self.compression_properties = compression_properties
[docs]class JsonSink(CopySink): """A copy activity Json sink. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Copy sink type.Constant filled by server. :type type: str :param write_batch_size: Write batch size. Type: integer (or Expression with resultType integer), minimum: 0. :type write_batch_size: object :param write_batch_timeout: Write batch timeout. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type write_batch_timeout: object :param sink_retry_count: Sink retry count. Type: integer (or Expression with resultType integer). :type sink_retry_count: object :param sink_retry_wait: Sink retry wait. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type sink_retry_wait: object :param max_concurrent_connections: The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object :param store_settings: Json store settings. :type store_settings: ~azure.synapse.artifacts.models.StoreWriteSettings :param format_settings: Json format settings. :type format_settings: ~azure.synapse.artifacts.models.JsonWriteSettings """ _validation = { 'type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'write_batch_size': {'key': 'writeBatchSize', 'type': 'object'}, 'write_batch_timeout': {'key': 'writeBatchTimeout', 'type': 'object'}, 'sink_retry_count': {'key': 'sinkRetryCount', 'type': 'object'}, 'sink_retry_wait': {'key': 'sinkRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'store_settings': {'key': 'storeSettings', 'type': 'StoreWriteSettings'}, 'format_settings': {'key': 'formatSettings', 'type': 'JsonWriteSettings'}, } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, write_batch_size: Optional[object] = None, write_batch_timeout: Optional[object] = None, sink_retry_count: Optional[object] = None, sink_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, store_settings: Optional["StoreWriteSettings"] = None, format_settings: Optional["JsonWriteSettings"] = None, **kwargs ): super(JsonSink, self).__init__(additional_properties=additional_properties, write_batch_size=write_batch_size, write_batch_timeout=write_batch_timeout, sink_retry_count=sink_retry_count, sink_retry_wait=sink_retry_wait, max_concurrent_connections=max_concurrent_connections, **kwargs) self.type = 'JsonSink' # type: str self.store_settings = store_settings self.format_settings = format_settings
[docs]class JsonSource(CopySource): """A copy activity Json source. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Copy source type.Constant filled by server. :type type: str :param source_retry_count: Source retry count. Type: integer (or Expression with resultType integer). :type source_retry_count: object :param source_retry_wait: Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type source_retry_wait: object :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object :param store_settings: Json store settings. :type store_settings: ~azure.synapse.artifacts.models.StoreReadSettings :param format_settings: Json format settings. :type format_settings: ~azure.synapse.artifacts.models.JsonReadSettings :param additional_columns: Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects). :type additional_columns: list[~azure.synapse.artifacts.models.AdditionalColumns] """ _validation = { 'type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'store_settings': {'key': 'storeSettings', 'type': 'StoreReadSettings'}, 'format_settings': {'key': 'formatSettings', 'type': 'JsonReadSettings'}, 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, source_retry_count: Optional[object] = None, source_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, store_settings: Optional["StoreReadSettings"] = None, format_settings: Optional["JsonReadSettings"] = None, additional_columns: Optional[List["AdditionalColumns"]] = None, **kwargs ): super(JsonSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, **kwargs) self.type = 'JsonSource' # type: str self.store_settings = store_settings self.format_settings = format_settings self.additional_columns = additional_columns
[docs]class JsonWriteSettings(FormatWriteSettings): """Json write settings. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. The write setting type.Constant filled by server. :type type: str :param file_pattern: File pattern of JSON. This setting controls the way a collection of JSON objects will be treated. The default value is 'setOfObjects'. It is case-sensitive. Possible values include: "setOfObjects", "arrayOfObjects". :type file_pattern: str or ~azure.synapse.artifacts.models.JsonWriteFilePattern """ _validation = { 'type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'file_pattern': {'key': 'filePattern', 'type': 'str'}, } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, file_pattern: Optional[Union[str, "JsonWriteFilePattern"]] = None, **kwargs ): super(JsonWriteSettings, self).__init__(additional_properties=additional_properties, **kwargs) self.type = 'JsonWriteSettings' # type: str self.file_pattern = file_pattern
[docs]class LibraryInfo(msrest.serialization.Model): """Library/package information of a Big Data pool powered by Apache Spark. Variables are only populated by the server, and will be ignored when sending a request. :param name: Name of the library. :type name: str :param path: Storage blob path of library. :type path: str :param container_name: Storage blob container name. :type container_name: str :ivar uploaded_timestamp: The last update time of the library. :vartype uploaded_timestamp: ~datetime.datetime :param type: Type of the library. :type type: str :ivar provisioning_status: Provisioning status of the library/package. :vartype provisioning_status: str :ivar creator_id: Creator Id of the library/package. :vartype creator_id: str """ _validation = { 'uploaded_timestamp': {'readonly': True}, 'provisioning_status': {'readonly': True}, 'creator_id': {'readonly': True}, } _attribute_map = { 'name': {'key': 'name', 'type': 'str'}, 'path': {'key': 'path', 'type': 'str'}, 'container_name': {'key': 'containerName', 'type': 'str'}, 'uploaded_timestamp': {'key': 'uploadedTimestamp', 'type': 'iso-8601'}, 'type': {'key': 'type', 'type': 'str'}, 'provisioning_status': {'key': 'provisioningStatus', 'type': 'str'}, 'creator_id': {'key': 'creatorId', 'type': 'str'}, } def __init__( self, *, name: Optional[str] = None, path: Optional[str] = None, container_name: Optional[str] = None, type: Optional[str] = None, **kwargs ): super(LibraryInfo, self).__init__(**kwargs) self.name = name self.path = path self.container_name = container_name self.uploaded_timestamp = None self.type = type self.provisioning_status = None self.creator_id = None
[docs]class LibraryListResponse(msrest.serialization.Model): """A list of Library resources. All required parameters must be populated in order to send to Azure. :param value: Required. List of Library. :type value: list[~azure.synapse.artifacts.models.LibraryResource] :param next_link: The link to the next page of results, if any remaining results exist. :type next_link: str """ _validation = { 'value': {'required': True}, } _attribute_map = { 'value': {'key': 'value', 'type': '[LibraryResource]'}, 'next_link': {'key': 'nextLink', 'type': 'str'}, } def __init__( self, *, value: List["LibraryResource"], next_link: Optional[str] = None, **kwargs ): super(LibraryListResponse, self).__init__(**kwargs) self.value = value self.next_link = next_link
[docs]class LibraryRequirements(msrest.serialization.Model): """Library requirements for a Big Data pool powered by Apache Spark. Variables are only populated by the server, and will be ignored when sending a request. :ivar time: The last update time of the library requirements file. :vartype time: ~datetime.datetime :param content: The library requirements. :type content: str :param filename: The filename of the library requirements file. :type filename: str """ _validation = { 'time': {'readonly': True}, } _attribute_map = { 'time': {'key': 'time', 'type': 'iso-8601'}, 'content': {'key': 'content', 'type': 'str'}, 'filename': {'key': 'filename', 'type': 'str'}, } def __init__( self, *, content: Optional[str] = None, filename: Optional[str] = None, **kwargs ): super(LibraryRequirements, self).__init__(**kwargs) self.time = None self.content = content self.filename = filename
[docs]class LibraryResource(SubResource): """Library response details. Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. :ivar id: Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. :vartype id: str :ivar name: The name of the resource. :vartype name: str :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts". :vartype type: str :ivar etag: Resource Etag. :vartype etag: str :param properties: Required. Library/package properties. :type properties: ~azure.synapse.artifacts.models.LibraryResourceProperties """ _validation = { 'id': {'readonly': True}, 'name': {'readonly': True}, 'type': {'readonly': True}, 'etag': {'readonly': True}, 'properties': {'required': True}, } _attribute_map = { 'id': {'key': 'id', 'type': 'str'}, 'name': {'key': 'name', 'type': 'str'}, 'type': {'key': 'type', 'type': 'str'}, 'etag': {'key': 'etag', 'type': 'str'}, 'properties': {'key': 'properties', 'type': 'LibraryResourceProperties'}, } def __init__( self, *, properties: "LibraryResourceProperties", **kwargs ): super(LibraryResource, self).__init__(**kwargs) self.properties = properties
[docs]class LibraryResourceInfo(msrest.serialization.Model): """Library resource info. Variables are only populated by the server, and will be ignored when sending a request. :ivar id: Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. :vartype id: str :ivar record_id: record Id of the library/package. :vartype record_id: int :ivar state: Provisioning status of the library/package. :vartype state: str :ivar created: The creation time of the library/package. :vartype created: str :ivar changed: The last updated time of the library/package. :vartype changed: str :ivar type: The type of the resource. E.g. LibraryArtifact. :vartype type: str :ivar name: Name of the library/package. :vartype name: str :ivar operation_id: Operation Id of the operation performed on library/package. :vartype operation_id: str :ivar artifact_id: artifact Id of the library/package. :vartype artifact_id: str """ _validation = { 'id': {'readonly': True}, 'record_id': {'readonly': True}, 'state': {'readonly': True}, 'created': {'readonly': True}, 'changed': {'readonly': True}, 'type': {'readonly': True}, 'name': {'readonly': True}, 'operation_id': {'readonly': True}, 'artifact_id': {'readonly': True}, } _attribute_map = { 'id': {'key': 'id', 'type': 'str'}, 'record_id': {'key': 'recordId', 'type': 'int'}, 'state': {'key': 'state', 'type': 'str'}, 'created': {'key': 'created', 'type': 'str'}, 'changed': {'key': 'changed', 'type': 'str'}, 'type': {'key': 'type', 'type': 'str'}, 'name': {'key': 'name', 'type': 'str'}, 'operation_id': {'key': 'operationId', 'type': 'str'}, 'artifact_id': {'key': 'artifactId', 'type': 'str'}, } def __init__( self, **kwargs ): super(LibraryResourceInfo, self).__init__(**kwargs) self.id = None self.record_id = None self.state = None self.created = None self.changed = None self.type = None self.name = None self.operation_id = None self.artifact_id = None
[docs]class LibraryResourceProperties(msrest.serialization.Model): """Library/package properties. Variables are only populated by the server, and will be ignored when sending a request. :ivar name: Name of the library/package. :vartype name: str :ivar path: Location of library/package in storage account. :vartype path: str :ivar container_name: Container name of the library/package. :vartype container_name: str :ivar uploaded_timestamp: The last update time of the library/package. :vartype uploaded_timestamp: str :ivar type: Type of the library/package. :vartype type: str :ivar provisioning_status: Provisioning status of the library/package. :vartype provisioning_status: str :ivar creator_id: Creator Id of the library/package. :vartype creator_id: str """ _validation = { 'name': {'readonly': True}, 'path': {'readonly': True}, 'container_name': {'readonly': True}, 'uploaded_timestamp': {'readonly': True}, 'type': {'readonly': True}, 'provisioning_status': {'readonly': True}, 'creator_id': {'readonly': True}, } _attribute_map = { 'name': {'key': 'name', 'type': 'str'}, 'path': {'key': 'path', 'type': 'str'}, 'container_name': {'key': 'containerName', 'type': 'str'}, 'uploaded_timestamp': {'key': 'uploadedTimestamp', 'type': 'str'}, 'type': {'key': 'type', 'type': 'str'}, 'provisioning_status': {'key': 'provisioningStatus', 'type': 'str'}, 'creator_id': {'key': 'creatorId', 'type': 'str'}, } def __init__( self, **kwargs ): super(LibraryResourceProperties, self).__init__(**kwargs) self.name = None self.path = None self.container_name = None self.uploaded_timestamp = None self.type = None self.provisioning_status = None self.creator_id = None
[docs]class LinkedIntegrationRuntimeType(msrest.serialization.Model): """The base definition of a linked integration runtime. You probably want to use the sub-classes and not this class directly. Known sub-classes are: LinkedIntegrationRuntimeKeyAuthorization, LinkedIntegrationRuntimeRbacAuthorization. All required parameters must be populated in order to send to Azure. :param authorization_type: Required. The authorization type for integration runtime sharing.Constant filled by server. :type authorization_type: str """ _validation = { 'authorization_type': {'required': True}, } _attribute_map = { 'authorization_type': {'key': 'authorizationType', 'type': 'str'}, } _subtype_map = { 'authorization_type': {'Key': 'LinkedIntegrationRuntimeKeyAuthorization', 'RBAC': 'LinkedIntegrationRuntimeRbacAuthorization'} } def __init__( self, **kwargs ): super(LinkedIntegrationRuntimeType, self).__init__(**kwargs) self.authorization_type = None # type: Optional[str]
[docs]class LinkedIntegrationRuntimeKeyAuthorization(LinkedIntegrationRuntimeType): """The key authorization type integration runtime. All required parameters must be populated in order to send to Azure. :param authorization_type: Required. The authorization type for integration runtime sharing.Constant filled by server. :type authorization_type: str :param key: Required. The key used for authorization. :type key: ~azure.synapse.artifacts.models.SecureString """ _validation = { 'authorization_type': {'required': True}, 'key': {'required': True}, } _attribute_map = { 'authorization_type': {'key': 'authorizationType', 'type': 'str'}, 'key': {'key': 'key', 'type': 'SecureString'}, } def __init__( self, *, key: "SecureString", **kwargs ): super(LinkedIntegrationRuntimeKeyAuthorization, self).__init__(**kwargs) self.authorization_type = 'Key' # type: str self.key = key
[docs]class LinkedIntegrationRuntimeRbacAuthorization(LinkedIntegrationRuntimeType): """The role based access control (RBAC) authorization type integration runtime. All required parameters must be populated in order to send to Azure. :param authorization_type: Required. The authorization type for integration runtime sharing.Constant filled by server. :type authorization_type: str :param resource_id: Required. The resource identifier of the integration runtime to be shared. :type resource_id: str """ _validation = { 'authorization_type': {'required': True}, 'resource_id': {'required': True}, } _attribute_map = { 'authorization_type': {'key': 'authorizationType', 'type': 'str'}, 'resource_id': {'key': 'resourceId', 'type': 'str'}, } def __init__( self, *, resource_id: str, **kwargs ): super(LinkedIntegrationRuntimeRbacAuthorization, self).__init__(**kwargs) self.authorization_type = 'RBAC' # type: str self.resource_id = resource_id
[docs]class LinkedServiceDebugResource(SubResourceDebugResource): """Linked service debug resource. All required parameters must be populated in order to send to Azure. :param name: The resource name. :type name: str :param properties: Required. Properties of linked service. :type properties: ~azure.synapse.artifacts.models.LinkedService """ _validation = { 'properties': {'required': True}, } _attribute_map = { 'name': {'key': 'name', 'type': 'str'}, 'properties': {'key': 'properties', 'type': 'LinkedService'}, } def __init__( self, *, properties: "LinkedService", name: Optional[str] = None, **kwargs ): super(LinkedServiceDebugResource, self).__init__(name=name, **kwargs) self.properties = properties
[docs]class LinkedServiceListResponse(msrest.serialization.Model): """A list of linked service resources. All required parameters must be populated in order to send to Azure. :param value: Required. List of linked services. :type value: list[~azure.synapse.artifacts.models.LinkedServiceResource] :param next_link: The link to the next page of results, if any remaining results exist. :type next_link: str """ _validation = { 'value': {'required': True}, } _attribute_map = { 'value': {'key': 'value', 'type': '[LinkedServiceResource]'}, 'next_link': {'key': 'nextLink', 'type': 'str'}, } def __init__( self, *, value: List["LinkedServiceResource"], next_link: Optional[str] = None, **kwargs ): super(LinkedServiceListResponse, self).__init__(**kwargs) self.value = value self.next_link = next_link
[docs]class LinkedServiceReference(msrest.serialization.Model): """Linked service reference type. All required parameters must be populated in order to send to Azure. :param type: Required. Linked service reference type. Possible values include: "LinkedServiceReference". :type type: str or ~azure.synapse.artifacts.models.Type :param reference_name: Required. Reference LinkedService name. :type reference_name: str :param parameters: Arguments for LinkedService. :type parameters: dict[str, object] """ _validation = { 'type': {'required': True}, 'reference_name': {'required': True}, } _attribute_map = { 'type': {'key': 'type', 'type': 'str'}, 'reference_name': {'key': 'referenceName', 'type': 'str'}, 'parameters': {'key': 'parameters', 'type': '{object}'}, } def __init__( self, *, type: Union[str, "Type"], reference_name: str, parameters: Optional[Dict[str, object]] = None, **kwargs ): super(LinkedServiceReference, self).__init__(**kwargs) self.type = type self.reference_name = reference_name self.parameters = parameters
[docs]class LinkedServiceResource(SubResource): """Linked service resource type. Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. :ivar id: Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. :vartype id: str :ivar name: The name of the resource. :vartype name: str :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts". :vartype type: str :ivar etag: Resource Etag. :vartype etag: str :param properties: Required. Properties of linked service. :type properties: ~azure.synapse.artifacts.models.LinkedService """ _validation = { 'id': {'readonly': True}, 'name': {'readonly': True}, 'type': {'readonly': True}, 'etag': {'readonly': True}, 'properties': {'required': True}, } _attribute_map = { 'id': {'key': 'id', 'type': 'str'}, 'name': {'key': 'name', 'type': 'str'}, 'type': {'key': 'type', 'type': 'str'}, 'etag': {'key': 'etag', 'type': 'str'}, 'properties': {'key': 'properties', 'type': 'LinkedService'}, } def __init__( self, *, properties: "LinkedService", **kwargs ): super(LinkedServiceResource, self).__init__(**kwargs) self.properties = properties
[docs]class LogLocationSettings(msrest.serialization.Model): """Log location settings. All required parameters must be populated in order to send to Azure. :param linked_service_name: Required. Log storage linked service reference. :type linked_service_name: ~azure.synapse.artifacts.models.LinkedServiceReference :param path: The path to storage for storing detailed logs of activity execution. Type: string (or Expression with resultType string). :type path: object """ _validation = { 'linked_service_name': {'required': True}, } _attribute_map = { 'linked_service_name': {'key': 'linkedServiceName', 'type': 'LinkedServiceReference'}, 'path': {'key': 'path', 'type': 'object'}, } def __init__( self, *, linked_service_name: "LinkedServiceReference", path: Optional[object] = None, **kwargs ): super(LogLocationSettings, self).__init__(**kwargs) self.linked_service_name = linked_service_name self.path = path
[docs]class LogSettings(msrest.serialization.Model): """Log settings. All required parameters must be populated in order to send to Azure. :param enable_copy_activity_log: Specifies whether to enable copy activity log. Type: boolean (or Expression with resultType boolean). :type enable_copy_activity_log: object :param copy_activity_log_settings: Specifies settings for copy activity log. :type copy_activity_log_settings: ~azure.synapse.artifacts.models.CopyActivityLogSettings :param log_location_settings: Required. Log location settings customer needs to provide when enabling log. :type log_location_settings: ~azure.synapse.artifacts.models.LogLocationSettings """ _validation = { 'log_location_settings': {'required': True}, } _attribute_map = { 'enable_copy_activity_log': {'key': 'enableCopyActivityLog', 'type': 'object'}, 'copy_activity_log_settings': {'key': 'copyActivityLogSettings', 'type': 'CopyActivityLogSettings'}, 'log_location_settings': {'key': 'logLocationSettings', 'type': 'LogLocationSettings'}, } def __init__( self, *, log_location_settings: "LogLocationSettings", enable_copy_activity_log: Optional[object] = None, copy_activity_log_settings: Optional["CopyActivityLogSettings"] = None, **kwargs ): super(LogSettings, self).__init__(**kwargs) self.enable_copy_activity_log = enable_copy_activity_log self.copy_activity_log_settings = copy_activity_log_settings self.log_location_settings = log_location_settings
[docs]class LogStorageSettings(msrest.serialization.Model): """(Deprecated. Please use LogSettings) Log storage settings. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param linked_service_name: Required. Log storage linked service reference. :type linked_service_name: ~azure.synapse.artifacts.models.LinkedServiceReference :param path: The path to storage for storing detailed logs of activity execution. Type: string (or Expression with resultType string). :type path: object :param log_level: Gets or sets the log level, support: Info, Warning. Type: string (or Expression with resultType string). :type log_level: object :param enable_reliable_logging: Specifies whether to enable reliable logging. Type: boolean (or Expression with resultType boolean). :type enable_reliable_logging: object """ _validation = { 'linked_service_name': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'linked_service_name': {'key': 'linkedServiceName', 'type': 'LinkedServiceReference'}, 'path': {'key': 'path', 'type': 'object'}, 'log_level': {'key': 'logLevel', 'type': 'object'}, 'enable_reliable_logging': {'key': 'enableReliableLogging', 'type': 'object'}, } def __init__( self, *, linked_service_name: "LinkedServiceReference", additional_properties: Optional[Dict[str, object]] = None, path: Optional[object] = None, log_level: Optional[object] = None, enable_reliable_logging: Optional[object] = None, **kwargs ): super(LogStorageSettings, self).__init__(**kwargs) self.additional_properties = additional_properties self.linked_service_name = linked_service_name self.path = path self.log_level = log_level self.enable_reliable_logging = enable_reliable_logging
[docs]class LookupActivity(ExecutionActivity): """Lookup activity. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param name: Required. Activity name. :type name: str :param type: Required. Type of activity.Constant filled by server. :type type: str :param description: Activity description. :type description: str :param depends_on: Activity depends on condition. :type depends_on: list[~azure.synapse.artifacts.models.ActivityDependency] :param user_properties: Activity user properties. :type user_properties: list[~azure.synapse.artifacts.models.UserProperty] :param linked_service_name: Linked service reference. :type linked_service_name: ~azure.synapse.artifacts.models.LinkedServiceReference :param policy: Activity policy. :type policy: ~azure.synapse.artifacts.models.ActivityPolicy :param source: Required. Dataset-specific source properties, same as copy activity source. :type source: ~azure.synapse.artifacts.models.CopySource :param dataset: Required. Lookup activity dataset reference. :type dataset: ~azure.synapse.artifacts.models.DatasetReference :param first_row_only: Whether to return first row or all rows. Default value is true. Type: boolean (or Expression with resultType boolean). :type first_row_only: object """ _validation = { 'name': {'required': True}, 'type': {'required': True}, 'source': {'required': True}, 'dataset': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'name': {'key': 'name', 'type': 'str'}, 'type': {'key': 'type', 'type': 'str'}, 'description': {'key': 'description', 'type': 'str'}, 'depends_on': {'key': 'dependsOn', 'type': '[ActivityDependency]'}, 'user_properties': {'key': 'userProperties', 'type': '[UserProperty]'}, 'linked_service_name': {'key': 'linkedServiceName', 'type': 'LinkedServiceReference'}, 'policy': {'key': 'policy', 'type': 'ActivityPolicy'}, 'source': {'key': 'typeProperties.source', 'type': 'CopySource'}, 'dataset': {'key': 'typeProperties.dataset', 'type': 'DatasetReference'}, 'first_row_only': {'key': 'typeProperties.firstRowOnly', 'type': 'object'}, } def __init__( self, *, name: str, source: "CopySource", dataset: "DatasetReference", additional_properties: Optional[Dict[str, object]] = None, description: Optional[str] = None, depends_on: Optional[List["ActivityDependency"]] = None, user_properties: Optional[List["UserProperty"]] = None, linked_service_name: Optional["LinkedServiceReference"] = None, policy: Optional["ActivityPolicy"] = None, first_row_only: Optional[object] = None, **kwargs ): super(LookupActivity, self).__init__(additional_properties=additional_properties, name=name, description=description, depends_on=depends_on, user_properties=user_properties, linked_service_name=linked_service_name, policy=policy, **kwargs) self.type = 'Lookup' # type: str self.source = source self.dataset = dataset self.first_row_only = first_row_only
[docs]class MagentoLinkedService(LinkedService): """Magento server linked service. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. :type connect_via: ~azure.synapse.artifacts.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. :type parameters: dict[str, ~azure.synapse.artifacts.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param host: Required. The URL of the Magento instance. (i.e. 192.168.222.110/magento3). :type host: object :param access_token: The access token from Magento. :type access_token: ~azure.synapse.artifacts.models.SecretBase :param use_encrypted_endpoints: Specifies whether the data source endpoints are encrypted using HTTPS. The default value is true. :type use_encrypted_endpoints: object :param use_host_verification: Specifies whether to require the host name in the server's certificate to match the host name of the server when connecting over SSL. The default value is true. :type use_host_verification: object :param use_peer_verification: Specifies whether to verify the identity of the server when connecting over SSL. The default value is true. :type use_peer_verification: 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). :type encrypted_credential: object """ _validation = { 'type': {'required': True}, 'host': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'connect_via': {'key': 'connectVia', 'type': 'IntegrationRuntimeReference'}, 'description': {'key': 'description', 'type': 'str'}, 'parameters': {'key': 'parameters', 'type': '{ParameterSpecification}'}, 'annotations': {'key': 'annotations', 'type': '[object]'}, 'host': {'key': 'typeProperties.host', 'type': 'object'}, 'access_token': {'key': 'typeProperties.accessToken', 'type': 'SecretBase'}, 'use_encrypted_endpoints': {'key': 'typeProperties.useEncryptedEndpoints', 'type': 'object'}, 'use_host_verification': {'key': 'typeProperties.useHostVerification', 'type': 'object'}, 'use_peer_verification': {'key': 'typeProperties.usePeerVerification', 'type': 'object'}, 'encrypted_credential': {'key': 'typeProperties.encryptedCredential', 'type': 'object'}, } def __init__( self, *, host: object, additional_properties: Optional[Dict[str, object]] = None, connect_via: Optional["IntegrationRuntimeReference"] = None, description: Optional[str] = None, parameters: Optional[Dict[str, "ParameterSpecification"]] = None, annotations: Optional[List[object]] = None, access_token: Optional["SecretBase"] = None, use_encrypted_endpoints: Optional[object] = None, use_host_verification: Optional[object] = None, use_peer_verification: Optional[object] = None, encrypted_credential: Optional[object] = None, **kwargs ): super(MagentoLinkedService, self).__init__(additional_properties=additional_properties, connect_via=connect_via, description=description, parameters=parameters, annotations=annotations, **kwargs) self.type = 'Magento' # type: str self.host = host self.access_token = access_token self.use_encrypted_endpoints = use_encrypted_endpoints self.use_host_verification = use_host_verification self.use_peer_verification = use_peer_verification self.encrypted_credential = encrypted_credential
[docs]class MagentoObjectDataset(Dataset): """Magento server dataset. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Type of dataset.Constant filled by server. :type type: str :param description: Dataset description. :type description: str :param structure: Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. :type structure: object :param schema: Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. :type linked_service_name: ~azure.synapse.artifacts.models.LinkedServiceReference :param parameters: Parameters for dataset. :type parameters: dict[str, ~azure.synapse.artifacts.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. :type folder: ~azure.synapse.artifacts.models.DatasetFolder :param table_name: The table name. Type: string (or Expression with resultType string). :type table_name: object """ _validation = { 'type': {'required': True}, 'linked_service_name': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'description': {'key': 'description', 'type': 'str'}, 'structure': {'key': 'structure', 'type': 'object'}, 'schema': {'key': 'schema', 'type': 'object'}, 'linked_service_name': {'key': 'linkedServiceName', 'type': 'LinkedServiceReference'}, 'parameters': {'key': 'parameters', 'type': '{ParameterSpecification}'}, 'annotations': {'key': 'annotations', 'type': '[object]'}, 'folder': {'key': 'folder', 'type': 'DatasetFolder'}, 'table_name': {'key': 'typeProperties.tableName', 'type': 'object'}, } def __init__( self, *, linked_service_name: "LinkedServiceReference", additional_properties: Optional[Dict[str, object]] = None, description: Optional[str] = None, structure: Optional[object] = None, schema: Optional[object] = None, parameters: Optional[Dict[str, "ParameterSpecification"]] = None, annotations: Optional[List[object]] = None, folder: Optional["DatasetFolder"] = None, table_name: Optional[object] = None, **kwargs ): super(MagentoObjectDataset, self).__init__(additional_properties=additional_properties, description=description, structure=structure, schema=schema, linked_service_name=linked_service_name, parameters=parameters, annotations=annotations, folder=folder, **kwargs) self.type = 'MagentoObject' # type: str self.table_name = table_name
[docs]class MagentoSource(TabularSource): """A copy activity Magento server source. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Copy source type.Constant filled by server. :type type: str :param source_retry_count: Source retry count. Type: integer (or Expression with resultType integer). :type source_retry_count: object :param source_retry_wait: Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type source_retry_wait: object :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object :param query_timeout: Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type query_timeout: object :param additional_columns: Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects). :type additional_columns: list[~azure.synapse.artifacts.models.AdditionalColumns] :param query: A query to retrieve data from source. Type: string (or Expression with resultType string). :type query: object """ _validation = { 'type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, 'query': {'key': 'query', 'type': 'object'}, } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, source_retry_count: Optional[object] = None, source_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, query_timeout: Optional[object] = None, additional_columns: Optional[List["AdditionalColumns"]] = None, query: Optional[object] = None, **kwargs ): super(MagentoSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, query_timeout=query_timeout, additional_columns=additional_columns, **kwargs) self.type = 'MagentoSource' # type: str self.query = query
[docs]class ManagedIdentity(msrest.serialization.Model): """The workspace managed identity. Variables are only populated by the server, and will be ignored when sending a request. :ivar principal_id: The principal ID of the workspace managed identity. :vartype principal_id: str :ivar tenant_id: The tenant ID of the workspace managed identity. :vartype tenant_id: str :param type: The type of managed identity for the workspace. Possible values include: "None", "SystemAssigned". :type type: str or ~azure.synapse.artifacts.models.ResourceIdentityType """ _validation = { 'principal_id': {'readonly': True}, 'tenant_id': {'readonly': True}, } _attribute_map = { 'principal_id': {'key': 'principalId', 'type': 'str'}, 'tenant_id': {'key': 'tenantId', 'type': 'str'}, 'type': {'key': 'type', 'type': 'str'}, } def __init__( self, *, type: Optional[Union[str, "ResourceIdentityType"]] = None, **kwargs ): super(ManagedIdentity, self).__init__(**kwargs) self.principal_id = None self.tenant_id = None self.type = type
[docs]class ManagedIntegrationRuntime(IntegrationRuntime): """Managed integration runtime, including managed elastic and managed dedicated integration runtimes. Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Type of integration runtime.Constant filled by server. Possible values include: "Managed", "SelfHosted". :type type: str or ~azure.synapse.artifacts.models.IntegrationRuntimeType :param description: Integration runtime description. :type description: str :ivar state: Integration runtime state, only valid for managed dedicated integration runtime. Possible values include: "Initial", "Stopped", "Started", "Starting", "Stopping", "NeedRegistration", "Online", "Limited", "Offline", "AccessDenied". :vartype state: str or ~azure.synapse.artifacts.models.IntegrationRuntimeState :param managed_virtual_network: Managed Virtual Network reference. :type managed_virtual_network: ~azure.synapse.artifacts.models.ManagedVirtualNetworkReference :param compute_properties: The compute resource for managed integration runtime. :type compute_properties: ~azure.synapse.artifacts.models.IntegrationRuntimeComputeProperties :param ssis_properties: SSIS properties for managed integration runtime. :type ssis_properties: ~azure.synapse.artifacts.models.IntegrationRuntimeSsisProperties """ _validation = { 'type': {'required': True}, 'state': {'readonly': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'description': {'key': 'description', 'type': 'str'}, 'state': {'key': 'state', 'type': 'str'}, 'managed_virtual_network': {'key': 'managedVirtualNetwork', 'type': 'ManagedVirtualNetworkReference'}, 'compute_properties': {'key': 'typeProperties.computeProperties', 'type': 'IntegrationRuntimeComputeProperties'}, 'ssis_properties': {'key': 'typeProperties.ssisProperties', 'type': 'IntegrationRuntimeSsisProperties'}, } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, description: Optional[str] = None, managed_virtual_network: Optional["ManagedVirtualNetworkReference"] = None, compute_properties: Optional["IntegrationRuntimeComputeProperties"] = None, ssis_properties: Optional["IntegrationRuntimeSsisProperties"] = None, **kwargs ): super(ManagedIntegrationRuntime, self).__init__(additional_properties=additional_properties, description=description, **kwargs) self.type = 'Managed' # type: str self.state = None self.managed_virtual_network = managed_virtual_network self.compute_properties = compute_properties self.ssis_properties = ssis_properties
[docs]class ManagedVirtualNetworkReference(msrest.serialization.Model): """Managed Virtual Network reference type. Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. :ivar type: Required. Managed Virtual Network reference type. Default value: "ManagedVirtualNetworkReference". :vartype type: str :param reference_name: Required. Reference ManagedVirtualNetwork name. :type reference_name: str """ _validation = { 'type': {'required': True, 'constant': True}, 'reference_name': {'required': True}, } _attribute_map = { 'type': {'key': 'type', 'type': 'str'}, 'reference_name': {'key': 'referenceName', 'type': 'str'}, } type = "ManagedVirtualNetworkReference" def __init__( self, *, reference_name: str, **kwargs ): super(ManagedVirtualNetworkReference, self).__init__(**kwargs) self.reference_name = reference_name
[docs]class ManagedVirtualNetworkSettings(msrest.serialization.Model): """Managed Virtual Network Settings. :param prevent_data_exfiltration: Prevent Data Exfiltration. :type prevent_data_exfiltration: bool :param linked_access_check_on_target_resource: Linked Access Check On Target Resource. :type linked_access_check_on_target_resource: bool :param allowed_aad_tenant_ids_for_linking: Allowed Aad Tenant Ids For Linking. :type allowed_aad_tenant_ids_for_linking: list[str] """ _attribute_map = { 'prevent_data_exfiltration': {'key': 'preventDataExfiltration', 'type': 'bool'}, 'linked_access_check_on_target_resource': {'key': 'linkedAccessCheckOnTargetResource', 'type': 'bool'}, 'allowed_aad_tenant_ids_for_linking': {'key': 'allowedAadTenantIdsForLinking', 'type': '[str]'}, } def __init__( self, *, prevent_data_exfiltration: Optional[bool] = None, linked_access_check_on_target_resource: Optional[bool] = None, allowed_aad_tenant_ids_for_linking: Optional[List[str]] = None, **kwargs ): super(ManagedVirtualNetworkSettings, self).__init__(**kwargs) self.prevent_data_exfiltration = prevent_data_exfiltration self.linked_access_check_on_target_resource = linked_access_check_on_target_resource self.allowed_aad_tenant_ids_for_linking = allowed_aad_tenant_ids_for_linking
[docs]class MappingDataFlow(DataFlow): """Mapping data flow. All required parameters must be populated in order to send to Azure. :param type: Required. Type of data flow.Constant filled by server. :type type: str :param description: The description of the data flow. :type description: str :param annotations: List of tags that can be used for describing the data flow. :type annotations: list[object] :param folder: The folder that this data flow is in. If not specified, Data flow will appear at the root level. :type folder: ~azure.synapse.artifacts.models.DataFlowFolder :param sources: List of sources in data flow. :type sources: list[~azure.synapse.artifacts.models.DataFlowSource] :param sinks: List of sinks in data flow. :type sinks: list[~azure.synapse.artifacts.models.DataFlowSink] :param transformations: List of transformations in data flow. :type transformations: list[~azure.synapse.artifacts.models.Transformation] :param script: DataFlow script. :type script: str """ _validation = { 'type': {'required': True}, } _attribute_map = { 'type': {'key': 'type', 'type': 'str'}, 'description': {'key': 'description', 'type': 'str'}, 'annotations': {'key': 'annotations', 'type': '[object]'}, 'folder': {'key': 'folder', 'type': 'DataFlowFolder'}, 'sources': {'key': 'typeProperties.sources', 'type': '[DataFlowSource]'}, 'sinks': {'key': 'typeProperties.sinks', 'type': '[DataFlowSink]'}, 'transformations': {'key': 'typeProperties.transformations', 'type': '[Transformation]'}, 'script': {'key': 'typeProperties.script', 'type': 'str'}, } def __init__( self, *, description: Optional[str] = None, annotations: Optional[List[object]] = None, folder: Optional["DataFlowFolder"] = None, sources: Optional[List["DataFlowSource"]] = None, sinks: Optional[List["DataFlowSink"]] = None, transformations: Optional[List["Transformation"]] = None, script: Optional[str] = None, **kwargs ): super(MappingDataFlow, self).__init__(description=description, annotations=annotations, folder=folder, **kwargs) self.type = 'MappingDataFlow' # type: str self.sources = sources self.sinks = sinks self.transformations = transformations self.script = script
[docs]class MariaDBLinkedService(LinkedService): """MariaDB server linked service. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. :type connect_via: ~azure.synapse.artifacts.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. :type parameters: dict[str, ~azure.synapse.artifacts.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param connection_string: An ODBC connection string. Type: string, SecureString or AzureKeyVaultSecretReference. :type connection_string: object :param pwd: The Azure key vault secret reference of password in connection string. :type pwd: ~azure.synapse.artifacts.models.AzureKeyVaultSecretReference :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). :type encrypted_credential: object """ _validation = { 'type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'connect_via': {'key': 'connectVia', 'type': 'IntegrationRuntimeReference'}, 'description': {'key': 'description', 'type': 'str'}, 'parameters': {'key': 'parameters', 'type': '{ParameterSpecification}'}, 'annotations': {'key': 'annotations', 'type': '[object]'}, 'connection_string': {'key': 'typeProperties.connectionString', 'type': 'object'}, 'pwd': {'key': 'typeProperties.pwd', 'type': 'AzureKeyVaultSecretReference'}, 'encrypted_credential': {'key': 'typeProperties.encryptedCredential', 'type': 'object'}, } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, connect_via: Optional["IntegrationRuntimeReference"] = None, description: Optional[str] = None, parameters: Optional[Dict[str, "ParameterSpecification"]] = None, annotations: Optional[List[object]] = None, connection_string: Optional[object] = None, pwd: Optional["AzureKeyVaultSecretReference"] = None, encrypted_credential: Optional[object] = None, **kwargs ): super(MariaDBLinkedService, self).__init__(additional_properties=additional_properties, connect_via=connect_via, description=description, parameters=parameters, annotations=annotations, **kwargs) self.type = 'MariaDB' # type: str self.connection_string = connection_string self.pwd = pwd self.encrypted_credential = encrypted_credential
[docs]class MariaDBSource(TabularSource): """A copy activity MariaDB server source. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Copy source type.Constant filled by server. :type type: str :param source_retry_count: Source retry count. Type: integer (or Expression with resultType integer). :type source_retry_count: object :param source_retry_wait: Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type source_retry_wait: object :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object :param query_timeout: Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type query_timeout: object :param additional_columns: Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects). :type additional_columns: list[~azure.synapse.artifacts.models.AdditionalColumns] :param query: A query to retrieve data from source. Type: string (or Expression with resultType string). :type query: object """ _validation = { 'type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, 'query': {'key': 'query', 'type': 'object'}, } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, source_retry_count: Optional[object] = None, source_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, query_timeout: Optional[object] = None, additional_columns: Optional[List["AdditionalColumns"]] = None, query: Optional[object] = None, **kwargs ): super(MariaDBSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, query_timeout=query_timeout, additional_columns=additional_columns, **kwargs) self.type = 'MariaDBSource' # type: str self.query = query
[docs]class MariaDBTableDataset(Dataset): """MariaDB server dataset. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Type of dataset.Constant filled by server. :type type: str :param description: Dataset description. :type description: str :param structure: Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. :type structure: object :param schema: Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. :type linked_service_name: ~azure.synapse.artifacts.models.LinkedServiceReference :param parameters: Parameters for dataset. :type parameters: dict[str, ~azure.synapse.artifacts.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. :type folder: ~azure.synapse.artifacts.models.DatasetFolder :param table_name: The table name. Type: string (or Expression with resultType string). :type table_name: object """ _validation = { 'type': {'required': True}, 'linked_service_name': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'description': {'key': 'description', 'type': 'str'}, 'structure': {'key': 'structure', 'type': 'object'}, 'schema': {'key': 'schema', 'type': 'object'}, 'linked_service_name': {'key': 'linkedServiceName', 'type': 'LinkedServiceReference'}, 'parameters': {'key': 'parameters', 'type': '{ParameterSpecification}'}, 'annotations': {'key': 'annotations', 'type': '[object]'}, 'folder': {'key': 'folder', 'type': 'DatasetFolder'}, 'table_name': {'key': 'typeProperties.tableName', 'type': 'object'}, } def __init__( self, *, linked_service_name: "LinkedServiceReference", additional_properties: Optional[Dict[str, object]] = None, description: Optional[str] = None, structure: Optional[object] = None, schema: Optional[object] = None, parameters: Optional[Dict[str, "ParameterSpecification"]] = None, annotations: Optional[List[object]] = None, folder: Optional["DatasetFolder"] = None, table_name: Optional[object] = None, **kwargs ): super(MariaDBTableDataset, self).__init__(additional_properties=additional_properties, description=description, structure=structure, schema=schema, linked_service_name=linked_service_name, parameters=parameters, annotations=annotations, folder=folder, **kwargs) self.type = 'MariaDBTable' # type: str self.table_name = table_name
[docs]class MarketoLinkedService(LinkedService): """Marketo server linked service. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. :type connect_via: ~azure.synapse.artifacts.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. :type parameters: dict[str, ~azure.synapse.artifacts.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param endpoint: Required. The endpoint of the Marketo server. (i.e. 123-ABC-321.mktorest.com). :type endpoint: object :param client_id: Required. The client Id of your Marketo service. :type client_id: object :param client_secret: The client secret of your Marketo service. :type client_secret: ~azure.synapse.artifacts.models.SecretBase :param use_encrypted_endpoints: Specifies whether the data source endpoints are encrypted using HTTPS. The default value is true. :type use_encrypted_endpoints: object :param use_host_verification: Specifies whether to require the host name in the server's certificate to match the host name of the server when connecting over SSL. The default value is true. :type use_host_verification: object :param use_peer_verification: Specifies whether to verify the identity of the server when connecting over SSL. The default value is true. :type use_peer_verification: 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). :type encrypted_credential: object """ _validation = { 'type': {'required': True}, 'endpoint': {'required': True}, 'client_id': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'connect_via': {'key': 'connectVia', 'type': 'IntegrationRuntimeReference'}, 'description': {'key': 'description', 'type': 'str'}, 'parameters': {'key': 'parameters', 'type': '{ParameterSpecification}'}, 'annotations': {'key': 'annotations', 'type': '[object]'}, 'endpoint': {'key': 'typeProperties.endpoint', 'type': 'object'}, 'client_id': {'key': 'typeProperties.clientId', 'type': 'object'}, 'client_secret': {'key': 'typeProperties.clientSecret', 'type': 'SecretBase'}, 'use_encrypted_endpoints': {'key': 'typeProperties.useEncryptedEndpoints', 'type': 'object'}, 'use_host_verification': {'key': 'typeProperties.useHostVerification', 'type': 'object'}, 'use_peer_verification': {'key': 'typeProperties.usePeerVerification', 'type': 'object'}, 'encrypted_credential': {'key': 'typeProperties.encryptedCredential', 'type': 'object'}, } def __init__( self, *, endpoint: object, client_id: object, additional_properties: Optional[Dict[str, object]] = None, connect_via: Optional["IntegrationRuntimeReference"] = None, description: Optional[str] = None, parameters: Optional[Dict[str, "ParameterSpecification"]] = None, annotations: Optional[List[object]] = None, client_secret: Optional["SecretBase"] = None, use_encrypted_endpoints: Optional[object] = None, use_host_verification: Optional[object] = None, use_peer_verification: Optional[object] = None, encrypted_credential: Optional[object] = None, **kwargs ): super(MarketoLinkedService, self).__init__(additional_properties=additional_properties, connect_via=connect_via, description=description, parameters=parameters, annotations=annotations, **kwargs) self.type = 'Marketo' # type: str self.endpoint = endpoint self.client_id = client_id self.client_secret = client_secret self.use_encrypted_endpoints = use_encrypted_endpoints self.use_host_verification = use_host_verification self.use_peer_verification = use_peer_verification self.encrypted_credential = encrypted_credential
[docs]class MarketoObjectDataset(Dataset): """Marketo server dataset. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Type of dataset.Constant filled by server. :type type: str :param description: Dataset description. :type description: str :param structure: Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. :type structure: object :param schema: Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. :type linked_service_name: ~azure.synapse.artifacts.models.LinkedServiceReference :param parameters: Parameters for dataset. :type parameters: dict[str, ~azure.synapse.artifacts.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. :type folder: ~azure.synapse.artifacts.models.DatasetFolder :param table_name: The table name. Type: string (or Expression with resultType string). :type table_name: object """ _validation = { 'type': {'required': True}, 'linked_service_name': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'description': {'key': 'description', 'type': 'str'}, 'structure': {'key': 'structure', 'type': 'object'}, 'schema': {'key': 'schema', 'type': 'object'}, 'linked_service_name': {'key': 'linkedServiceName', 'type': 'LinkedServiceReference'}, 'parameters': {'key': 'parameters', 'type': '{ParameterSpecification}'}, 'annotations': {'key': 'annotations', 'type': '[object]'}, 'folder': {'key': 'folder', 'type': 'DatasetFolder'}, 'table_name': {'key': 'typeProperties.tableName', 'type': 'object'}, } def __init__( self, *, linked_service_name: "LinkedServiceReference", additional_properties: Optional[Dict[str, object]] = None, description: Optional[str] = None, structure: Optional[object] = None, schema: Optional[object] = None, parameters: Optional[Dict[str, "ParameterSpecification"]] = None, annotations: Optional[List[object]] = None, folder: Optional["DatasetFolder"] = None, table_name: Optional[object] = None, **kwargs ): super(MarketoObjectDataset, self).__init__(additional_properties=additional_properties, description=description, structure=structure, schema=schema, linked_service_name=linked_service_name, parameters=parameters, annotations=annotations, folder=folder, **kwargs) self.type = 'MarketoObject' # type: str self.table_name = table_name
[docs]class MarketoSource(TabularSource): """A copy activity Marketo server source. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Copy source type.Constant filled by server. :type type: str :param source_retry_count: Source retry count. Type: integer (or Expression with resultType integer). :type source_retry_count: object :param source_retry_wait: Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type source_retry_wait: object :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object :param query_timeout: Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type query_timeout: object :param additional_columns: Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects). :type additional_columns: list[~azure.synapse.artifacts.models.AdditionalColumns] :param query: A query to retrieve data from source. Type: string (or Expression with resultType string). :type query: object """ _validation = { 'type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, 'query': {'key': 'query', 'type': 'object'}, } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, source_retry_count: Optional[object] = None, source_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, query_timeout: Optional[object] = None, additional_columns: Optional[List["AdditionalColumns"]] = None, query: Optional[object] = None, **kwargs ): super(MarketoSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, query_timeout=query_timeout, additional_columns=additional_columns, **kwargs) self.type = 'MarketoSource' # type: str self.query = query
[docs]class MicrosoftAccessLinkedService(LinkedService): """Microsoft Access linked service. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. :type connect_via: ~azure.synapse.artifacts.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. :type parameters: dict[str, ~azure.synapse.artifacts.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param connection_string: Required. The non-access credential portion of the connection string as well as an optional encrypted credential. Type: string, SecureString or AzureKeyVaultSecretReference. :type connection_string: object :param authentication_type: Type of authentication used to connect to the Microsoft Access as ODBC data store. Possible values are: Anonymous and Basic. Type: string (or Expression with resultType string). :type authentication_type: object :param credential: The access credential portion of the connection string specified in driver-specific property-value format. :type credential: ~azure.synapse.artifacts.models.SecretBase :param user_name: User name for Basic authentication. Type: string (or Expression with resultType string). :type user_name: object :param password: Password for Basic authentication. :type password: ~azure.synapse.artifacts.models.SecretBase :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). :type encrypted_credential: object """ _validation = { 'type': {'required': True}, 'connection_string': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'connect_via': {'key': 'connectVia', 'type': 'IntegrationRuntimeReference'}, 'description': {'key': 'description', 'type': 'str'}, 'parameters': {'key': 'parameters', 'type': '{ParameterSpecification}'}, 'annotations': {'key': 'annotations', 'type': '[object]'}, 'connection_string': {'key': 'typeProperties.connectionString', 'type': 'object'}, 'authentication_type': {'key': 'typeProperties.authenticationType', 'type': 'object'}, 'credential': {'key': 'typeProperties.credential', 'type': 'SecretBase'}, 'user_name': {'key': 'typeProperties.userName', 'type': 'object'}, 'password': {'key': 'typeProperties.password', 'type': 'SecretBase'}, 'encrypted_credential': {'key': 'typeProperties.encryptedCredential', 'type': 'object'}, } def __init__( self, *, connection_string: object, additional_properties: Optional[Dict[str, object]] = None, connect_via: Optional["IntegrationRuntimeReference"] = None, description: Optional[str] = None, parameters: Optional[Dict[str, "ParameterSpecification"]] = None, annotations: Optional[List[object]] = None, authentication_type: Optional[object] = None, credential: Optional["SecretBase"] = None, user_name: Optional[object] = None, password: Optional["SecretBase"] = None, encrypted_credential: Optional[object] = None, **kwargs ): super(MicrosoftAccessLinkedService, self).__init__(additional_properties=additional_properties, connect_via=connect_via, description=description, parameters=parameters, annotations=annotations, **kwargs) self.type = 'MicrosoftAccess' # type: str self.connection_string = connection_string self.authentication_type = authentication_type self.credential = credential self.user_name = user_name self.password = password self.encrypted_credential = encrypted_credential
[docs]class MicrosoftAccessSink(CopySink): """A copy activity Microsoft Access sink. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Copy sink type.Constant filled by server. :type type: str :param write_batch_size: Write batch size. Type: integer (or Expression with resultType integer), minimum: 0. :type write_batch_size: object :param write_batch_timeout: Write batch timeout. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type write_batch_timeout: object :param sink_retry_count: Sink retry count. Type: integer (or Expression with resultType integer). :type sink_retry_count: object :param sink_retry_wait: Sink retry wait. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type sink_retry_wait: object :param max_concurrent_connections: The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object :param pre_copy_script: A query to execute before starting the copy. Type: string (or Expression with resultType string). :type pre_copy_script: object """ _validation = { 'type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'write_batch_size': {'key': 'writeBatchSize', 'type': 'object'}, 'write_batch_timeout': {'key': 'writeBatchTimeout', 'type': 'object'}, 'sink_retry_count': {'key': 'sinkRetryCount', 'type': 'object'}, 'sink_retry_wait': {'key': 'sinkRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'pre_copy_script': {'key': 'preCopyScript', 'type': 'object'}, } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, write_batch_size: Optional[object] = None, write_batch_timeout: Optional[object] = None, sink_retry_count: Optional[object] = None, sink_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, pre_copy_script: Optional[object] = None, **kwargs ): super(MicrosoftAccessSink, self).__init__(additional_properties=additional_properties, write_batch_size=write_batch_size, write_batch_timeout=write_batch_timeout, sink_retry_count=sink_retry_count, sink_retry_wait=sink_retry_wait, max_concurrent_connections=max_concurrent_connections, **kwargs) self.type = 'MicrosoftAccessSink' # type: str self.pre_copy_script = pre_copy_script
[docs]class MicrosoftAccessSource(CopySource): """A copy activity source for Microsoft Access. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Copy source type.Constant filled by server. :type type: str :param source_retry_count: Source retry count. Type: integer (or Expression with resultType integer). :type source_retry_count: object :param source_retry_wait: Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type source_retry_wait: object :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object :param query: Database query. Type: string (or Expression with resultType string). :type query: object :param additional_columns: Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects). :type additional_columns: list[~azure.synapse.artifacts.models.AdditionalColumns] """ _validation = { 'type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, source_retry_count: Optional[object] = None, source_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, query: Optional[object] = None, additional_columns: Optional[List["AdditionalColumns"]] = None, **kwargs ): super(MicrosoftAccessSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, **kwargs) self.type = 'MicrosoftAccessSource' # type: str self.query = query self.additional_columns = additional_columns
[docs]class MicrosoftAccessTableDataset(Dataset): """The Microsoft Access table dataset. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Type of dataset.Constant filled by server. :type type: str :param description: Dataset description. :type description: str :param structure: Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. :type structure: object :param schema: Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. :type linked_service_name: ~azure.synapse.artifacts.models.LinkedServiceReference :param parameters: Parameters for dataset. :type parameters: dict[str, ~azure.synapse.artifacts.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. :type folder: ~azure.synapse.artifacts.models.DatasetFolder :param table_name: The Microsoft Access table name. Type: string (or Expression with resultType string). :type table_name: object """ _validation = { 'type': {'required': True}, 'linked_service_name': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'description': {'key': 'description', 'type': 'str'}, 'structure': {'key': 'structure', 'type': 'object'}, 'schema': {'key': 'schema', 'type': 'object'}, 'linked_service_name': {'key': 'linkedServiceName', 'type': 'LinkedServiceReference'}, 'parameters': {'key': 'parameters', 'type': '{ParameterSpecification}'}, 'annotations': {'key': 'annotations', 'type': '[object]'}, 'folder': {'key': 'folder', 'type': 'DatasetFolder'}, 'table_name': {'key': 'typeProperties.tableName', 'type': 'object'}, } def __init__( self, *, linked_service_name: "LinkedServiceReference", additional_properties: Optional[Dict[str, object]] = None, description: Optional[str] = None, structure: Optional[object] = None, schema: Optional[object] = None, parameters: Optional[Dict[str, "ParameterSpecification"]] = None, annotations: Optional[List[object]] = None, folder: Optional["DatasetFolder"] = None, table_name: Optional[object] = None, **kwargs ): super(MicrosoftAccessTableDataset, self).__init__(additional_properties=additional_properties, description=description, structure=structure, schema=schema, linked_service_name=linked_service_name, parameters=parameters, annotations=annotations, folder=folder, **kwargs) self.type = 'MicrosoftAccessTable' # type: str self.table_name = table_name
[docs]class MongoDbAtlasCollectionDataset(Dataset): """The MongoDB Atlas database dataset. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Type of dataset.Constant filled by server. :type type: str :param description: Dataset description. :type description: str :param structure: Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. :type structure: object :param schema: Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. :type linked_service_name: ~azure.synapse.artifacts.models.LinkedServiceReference :param parameters: Parameters for dataset. :type parameters: dict[str, ~azure.synapse.artifacts.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. :type folder: ~azure.synapse.artifacts.models.DatasetFolder :param collection: Required. The collection name of the MongoDB Atlas database. Type: string (or Expression with resultType string). :type collection: object """ _validation = { 'type': {'required': True}, 'linked_service_name': {'required': True}, 'collection': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'description': {'key': 'description', 'type': 'str'}, 'structure': {'key': 'structure', 'type': 'object'}, 'schema': {'key': 'schema', 'type': 'object'}, 'linked_service_name': {'key': 'linkedServiceName', 'type': 'LinkedServiceReference'}, 'parameters': {'key': 'parameters', 'type': '{ParameterSpecification}'}, 'annotations': {'key': 'annotations', 'type': '[object]'}, 'folder': {'key': 'folder', 'type': 'DatasetFolder'}, 'collection': {'key': 'typeProperties.collection', 'type': 'object'}, } def __init__( self, *, linked_service_name: "LinkedServiceReference", collection: object, additional_properties: Optional[Dict[str, object]] = None, description: Optional[str] = None, structure: Optional[object] = None, schema: Optional[object] = None, parameters: Optional[Dict[str, "ParameterSpecification"]] = None, annotations: Optional[List[object]] = None, folder: Optional["DatasetFolder"] = None, **kwargs ): super(MongoDbAtlasCollectionDataset, self).__init__(additional_properties=additional_properties, description=description, structure=structure, schema=schema, linked_service_name=linked_service_name, parameters=parameters, annotations=annotations, folder=folder, **kwargs) self.type = 'MongoDbAtlasCollection' # type: str self.collection = collection
[docs]class MongoDbAtlasLinkedService(LinkedService): """Linked service for MongoDB Atlas data source. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. :type connect_via: ~azure.synapse.artifacts.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. :type parameters: dict[str, ~azure.synapse.artifacts.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param connection_string: Required. The MongoDB Atlas connection string. Type: string, SecureString or AzureKeyVaultSecretReference. Type: string, SecureString or AzureKeyVaultSecretReference. :type connection_string: object :param database: Required. The name of the MongoDB Atlas database that you want to access. Type: string (or Expression with resultType string). :type database: object """ _validation = { 'type': {'required': True}, 'connection_string': {'required': True}, 'database': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'connect_via': {'key': 'connectVia', 'type': 'IntegrationRuntimeReference'}, 'description': {'key': 'description', 'type': 'str'}, 'parameters': {'key': 'parameters', 'type': '{ParameterSpecification}'}, 'annotations': {'key': 'annotations', 'type': '[object]'}, 'connection_string': {'key': 'typeProperties.connectionString', 'type': 'object'}, 'database': {'key': 'typeProperties.database', 'type': 'object'}, } def __init__( self, *, connection_string: object, database: object, additional_properties: Optional[Dict[str, object]] = None, connect_via: Optional["IntegrationRuntimeReference"] = None, description: Optional[str] = None, parameters: Optional[Dict[str, "ParameterSpecification"]] = None, annotations: Optional[List[object]] = None, **kwargs ): super(MongoDbAtlasLinkedService, self).__init__(additional_properties=additional_properties, connect_via=connect_via, description=description, parameters=parameters, annotations=annotations, **kwargs) self.type = 'MongoDbAtlas' # type: str self.connection_string = connection_string self.database = database
[docs]class MongoDbAtlasSource(CopySource): """A copy activity source for a MongoDB Atlas database. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Copy source type.Constant filled by server. :type type: str :param source_retry_count: Source retry count. Type: integer (or Expression with resultType integer). :type source_retry_count: object :param source_retry_wait: Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type source_retry_wait: object :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object :param filter: Specifies selection filter using query operators. To return all documents in a collection, omit this parameter or pass an empty document ({}). Type: string (or Expression with resultType string). :type filter: object :param cursor_methods: Cursor methods for Mongodb query. :type cursor_methods: ~azure.synapse.artifacts.models.MongoDbCursorMethodsProperties :param batch_size: Specifies the number of documents to return in each batch of the response from MongoDB Atlas instance. In most cases, modifying the batch size will not affect the user or the application. This property's main purpose is to avoid hit the limitation of response size. Type: integer (or Expression with resultType integer). :type batch_size: object :param query_timeout: Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type query_timeout: object :param additional_columns: Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects). :type additional_columns: list[~azure.synapse.artifacts.models.AdditionalColumns] """ _validation = { 'type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'filter': {'key': 'filter', 'type': 'object'}, 'cursor_methods': {'key': 'cursorMethods', 'type': 'MongoDbCursorMethodsProperties'}, 'batch_size': {'key': 'batchSize', 'type': 'object'}, 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, source_retry_count: Optional[object] = None, source_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, filter: Optional[object] = None, cursor_methods: Optional["MongoDbCursorMethodsProperties"] = None, batch_size: Optional[object] = None, query_timeout: Optional[object] = None, additional_columns: Optional[List["AdditionalColumns"]] = None, **kwargs ): super(MongoDbAtlasSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, **kwargs) self.type = 'MongoDbAtlasSource' # type: str self.filter = filter self.cursor_methods = cursor_methods self.batch_size = batch_size self.query_timeout = query_timeout self.additional_columns = additional_columns
[docs]class MongoDbCollectionDataset(Dataset): """The MongoDB database dataset. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Type of dataset.Constant filled by server. :type type: str :param description: Dataset description. :type description: str :param structure: Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. :type structure: object :param schema: Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. :type linked_service_name: ~azure.synapse.artifacts.models.LinkedServiceReference :param parameters: Parameters for dataset. :type parameters: dict[str, ~azure.synapse.artifacts.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. :type folder: ~azure.synapse.artifacts.models.DatasetFolder :param collection_name: Required. The table name of the MongoDB database. Type: string (or Expression with resultType string). :type collection_name: object """ _validation = { 'type': {'required': True}, 'linked_service_name': {'required': True}, 'collection_name': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'description': {'key': 'description', 'type': 'str'}, 'structure': {'key': 'structure', 'type': 'object'}, 'schema': {'key': 'schema', 'type': 'object'}, 'linked_service_name': {'key': 'linkedServiceName', 'type': 'LinkedServiceReference'}, 'parameters': {'key': 'parameters', 'type': '{ParameterSpecification}'}, 'annotations': {'key': 'annotations', 'type': '[object]'}, 'folder': {'key': 'folder', 'type': 'DatasetFolder'}, 'collection_name': {'key': 'typeProperties.collectionName', 'type': 'object'}, } def __init__( self, *, linked_service_name: "LinkedServiceReference", collection_name: object, additional_properties: Optional[Dict[str, object]] = None, description: Optional[str] = None, structure: Optional[object] = None, schema: Optional[object] = None, parameters: Optional[Dict[str, "ParameterSpecification"]] = None, annotations: Optional[List[object]] = None, folder: Optional["DatasetFolder"] = None, **kwargs ): super(MongoDbCollectionDataset, self).__init__(additional_properties=additional_properties, description=description, structure=structure, schema=schema, linked_service_name=linked_service_name, parameters=parameters, annotations=annotations, folder=folder, **kwargs) self.type = 'MongoDbCollection' # type: str self.collection_name = collection_name
[docs]class MongoDbCursorMethodsProperties(msrest.serialization.Model): """Cursor methods for Mongodb query. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param project: Specifies the fields to return in the documents that match the query filter. To return all fields in the matching documents, omit this parameter. Type: string (or Expression with resultType string). :type project: object :param sort: Specifies the order in which the query returns matching documents. Type: string (or Expression with resultType string). Type: string (or Expression with resultType string). :type sort: object :param skip: Specifies the how many documents skipped and where MongoDB begins returning results. This approach may be useful in implementing paginated results. Type: integer (or Expression with resultType integer). :type skip: object :param limit: Specifies the maximum number of documents the server returns. limit() is analogous to the LIMIT statement in a SQL database. Type: integer (or Expression with resultType integer). :type limit: object """ _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'project': {'key': 'project', 'type': 'object'}, 'sort': {'key': 'sort', 'type': 'object'}, 'skip': {'key': 'skip', 'type': 'object'}, 'limit': {'key': 'limit', 'type': 'object'}, } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, project: Optional[object] = None, sort: Optional[object] = None, skip: Optional[object] = None, limit: Optional[object] = None, **kwargs ): super(MongoDbCursorMethodsProperties, self).__init__(**kwargs) self.additional_properties = additional_properties self.project = project self.sort = sort self.skip = skip self.limit = limit
[docs]class MongoDbLinkedService(LinkedService): """Linked service for MongoDb data source. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. :type connect_via: ~azure.synapse.artifacts.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. :type parameters: dict[str, ~azure.synapse.artifacts.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param server: Required. The IP address or server name of the MongoDB server. Type: string (or Expression with resultType string). :type server: object :param authentication_type: The authentication type to be used to connect to the MongoDB database. Possible values include: "Basic", "Anonymous". :type authentication_type: str or ~azure.synapse.artifacts.models.MongoDbAuthenticationType :param database_name: Required. The name of the MongoDB database that you want to access. Type: string (or Expression with resultType string). :type database_name: object :param username: Username for authentication. Type: string (or Expression with resultType string). :type username: object :param password: Password for authentication. :type password: ~azure.synapse.artifacts.models.SecretBase :param auth_source: Database to verify the username and password. Type: string (or Expression with resultType string). :type auth_source: object :param port: The TCP port number that the MongoDB server uses to listen for client connections. The default value is 27017. Type: integer (or Expression with resultType integer), minimum: 0. :type port: object :param enable_ssl: Specifies whether the connections to the server are encrypted using SSL. The default value is false. Type: boolean (or Expression with resultType boolean). :type enable_ssl: object :param allow_self_signed_server_cert: Specifies whether to allow self-signed certificates from the server. The default value is false. Type: boolean (or Expression with resultType boolean). :type allow_self_signed_server_cert: 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). :type encrypted_credential: object """ _validation = { 'type': {'required': True}, 'server': {'required': True}, 'database_name': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'connect_via': {'key': 'connectVia', 'type': 'IntegrationRuntimeReference'}, 'description': {'key': 'description', 'type': 'str'}, 'parameters': {'key': 'parameters', 'type': '{ParameterSpecification}'}, 'annotations': {'key': 'annotations', 'type': '[object]'}, 'server': {'key': 'typeProperties.server', 'type': 'object'}, 'authentication_type': {'key': 'typeProperties.authenticationType', 'type': 'str'}, 'database_name': {'key': 'typeProperties.databaseName', 'type': 'object'}, 'username': {'key': 'typeProperties.username', 'type': 'object'}, 'password': {'key': 'typeProperties.password', 'type': 'SecretBase'}, 'auth_source': {'key': 'typeProperties.authSource', 'type': 'object'}, 'port': {'key': 'typeProperties.port', 'type': 'object'}, 'enable_ssl': {'key': 'typeProperties.enableSsl', 'type': 'object'}, 'allow_self_signed_server_cert': {'key': 'typeProperties.allowSelfSignedServerCert', 'type': 'object'}, 'encrypted_credential': {'key': 'typeProperties.encryptedCredential', 'type': 'object'}, } def __init__( self, *, server: object, database_name: object, additional_properties: Optional[Dict[str, object]] = None, connect_via: Optional["IntegrationRuntimeReference"] = None, description: Optional[str] = None, parameters: Optional[Dict[str, "ParameterSpecification"]] = None, annotations: Optional[List[object]] = None, authentication_type: Optional[Union[str, "MongoDbAuthenticationType"]] = None, username: Optional[object] = None, password: Optional["SecretBase"] = None, auth_source: Optional[object] = None, port: Optional[object] = None, enable_ssl: Optional[object] = None, allow_self_signed_server_cert: Optional[object] = None, encrypted_credential: Optional[object] = None, **kwargs ): super(MongoDbLinkedService, self).__init__(additional_properties=additional_properties, connect_via=connect_via, description=description, parameters=parameters, annotations=annotations, **kwargs) self.type = 'MongoDb' # type: str self.server = server self.authentication_type = authentication_type self.database_name = database_name self.username = username self.password = password self.auth_source = auth_source self.port = port self.enable_ssl = enable_ssl self.allow_self_signed_server_cert = allow_self_signed_server_cert self.encrypted_credential = encrypted_credential
[docs]class MongoDbSource(CopySource): """A copy activity source for a MongoDB database. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Copy source type.Constant filled by server. :type type: str :param source_retry_count: Source retry count. Type: integer (or Expression with resultType integer). :type source_retry_count: object :param source_retry_wait: Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type source_retry_wait: object :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object :param query: Database query. Should be a SQL-92 query expression. Type: string (or Expression with resultType string). :type query: object :param additional_columns: Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects). :type additional_columns: list[~azure.synapse.artifacts.models.AdditionalColumns] """ _validation = { 'type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, source_retry_count: Optional[object] = None, source_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, query: Optional[object] = None, additional_columns: Optional[List["AdditionalColumns"]] = None, **kwargs ): super(MongoDbSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, **kwargs) self.type = 'MongoDbSource' # type: str self.query = query self.additional_columns = additional_columns
[docs]class MongoDbV2CollectionDataset(Dataset): """The MongoDB database dataset. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Type of dataset.Constant filled by server. :type type: str :param description: Dataset description. :type description: str :param structure: Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. :type structure: object :param schema: Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. :type linked_service_name: ~azure.synapse.artifacts.models.LinkedServiceReference :param parameters: Parameters for dataset. :type parameters: dict[str, ~azure.synapse.artifacts.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. :type folder: ~azure.synapse.artifacts.models.DatasetFolder :param collection: Required. The collection name of the MongoDB database. Type: string (or Expression with resultType string). :type collection: object """ _validation = { 'type': {'required': True}, 'linked_service_name': {'required': True}, 'collection': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'description': {'key': 'description', 'type': 'str'}, 'structure': {'key': 'structure', 'type': 'object'}, 'schema': {'key': 'schema', 'type': 'object'}, 'linked_service_name': {'key': 'linkedServiceName', 'type': 'LinkedServiceReference'}, 'parameters': {'key': 'parameters', 'type': '{ParameterSpecification}'}, 'annotations': {'key': 'annotations', 'type': '[object]'}, 'folder': {'key': 'folder', 'type': 'DatasetFolder'}, 'collection': {'key': 'typeProperties.collection', 'type': 'object'}, } def __init__( self, *, linked_service_name: "LinkedServiceReference", collection: object, additional_properties: Optional[Dict[str, object]] = None, description: Optional[str] = None, structure: Optional[object] = None, schema: Optional[object] = None, parameters: Optional[Dict[str, "ParameterSpecification"]] = None, annotations: Optional[List[object]] = None, folder: Optional["DatasetFolder"] = None, **kwargs ): super(MongoDbV2CollectionDataset, self).__init__(additional_properties=additional_properties, description=description, structure=structure, schema=schema, linked_service_name=linked_service_name, parameters=parameters, annotations=annotations, folder=folder, **kwargs) self.type = 'MongoDbV2Collection' # type: str self.collection = collection
[docs]class MongoDbV2LinkedService(LinkedService): """Linked service for MongoDB data source. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. :type connect_via: ~azure.synapse.artifacts.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. :type parameters: dict[str, ~azure.synapse.artifacts.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param connection_string: Required. The MongoDB connection string. Type: string, SecureString or AzureKeyVaultSecretReference. Type: string, SecureString or AzureKeyVaultSecretReference. :type connection_string: object :param database: Required. The name of the MongoDB database that you want to access. Type: string (or Expression with resultType string). :type database: object """ _validation = { 'type': {'required': True}, 'connection_string': {'required': True}, 'database': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'connect_via': {'key': 'connectVia', 'type': 'IntegrationRuntimeReference'}, 'description': {'key': 'description', 'type': 'str'}, 'parameters': {'key': 'parameters', 'type': '{ParameterSpecification}'}, 'annotations': {'key': 'annotations', 'type': '[object]'}, 'connection_string': {'key': 'typeProperties.connectionString', 'type': 'object'}, 'database': {'key': 'typeProperties.database', 'type': 'object'}, } def __init__( self, *, connection_string: object, database: object, additional_properties: Optional[Dict[str, object]] = None, connect_via: Optional["IntegrationRuntimeReference"] = None, description: Optional[str] = None, parameters: Optional[Dict[str, "ParameterSpecification"]] = None, annotations: Optional[List[object]] = None, **kwargs ): super(MongoDbV2LinkedService, self).__init__(additional_properties=additional_properties, connect_via=connect_via, description=description, parameters=parameters, annotations=annotations, **kwargs) self.type = 'MongoDbV2' # type: str self.connection_string = connection_string self.database = database
[docs]class MongoDbV2Source(CopySource): """A copy activity source for a MongoDB database. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Copy source type.Constant filled by server. :type type: str :param source_retry_count: Source retry count. Type: integer (or Expression with resultType integer). :type source_retry_count: object :param source_retry_wait: Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type source_retry_wait: object :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object :param filter: Specifies selection filter using query operators. To return all documents in a collection, omit this parameter or pass an empty document ({}). Type: string (or Expression with resultType string). :type filter: object :param cursor_methods: Cursor methods for Mongodb query. :type cursor_methods: ~azure.synapse.artifacts.models.MongoDbCursorMethodsProperties :param batch_size: Specifies the number of documents to return in each batch of the response from MongoDB instance. In most cases, modifying the batch size will not affect the user or the application. This property's main purpose is to avoid hit the limitation of response size. Type: integer (or Expression with resultType integer). :type batch_size: object :param query_timeout: Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type query_timeout: object :param additional_columns: Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects). :type additional_columns: list[~azure.synapse.artifacts.models.AdditionalColumns] """ _validation = { 'type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'filter': {'key': 'filter', 'type': 'object'}, 'cursor_methods': {'key': 'cursorMethods', 'type': 'MongoDbCursorMethodsProperties'}, 'batch_size': {'key': 'batchSize', 'type': 'object'}, 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, source_retry_count: Optional[object] = None, source_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, filter: Optional[object] = None, cursor_methods: Optional["MongoDbCursorMethodsProperties"] = None, batch_size: Optional[object] = None, query_timeout: Optional[object] = None, additional_columns: Optional[List["AdditionalColumns"]] = None, **kwargs ): super(MongoDbV2Source, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, **kwargs) self.type = 'MongoDbV2Source' # type: str self.filter = filter self.cursor_methods = cursor_methods self.batch_size = batch_size self.query_timeout = query_timeout self.additional_columns = additional_columns
[docs]class MySqlLinkedService(LinkedService): """Linked service for MySQL data source. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. :type connect_via: ~azure.synapse.artifacts.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. :type parameters: dict[str, ~azure.synapse.artifacts.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param connection_string: Required. The connection string. :type connection_string: object :param password: The Azure key vault secret reference of password in connection string. :type password: ~azure.synapse.artifacts.models.AzureKeyVaultSecretReference :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). :type encrypted_credential: object """ _validation = { 'type': {'required': True}, 'connection_string': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'connect_via': {'key': 'connectVia', 'type': 'IntegrationRuntimeReference'}, 'description': {'key': 'description', 'type': 'str'}, 'parameters': {'key': 'parameters', 'type': '{ParameterSpecification}'}, 'annotations': {'key': 'annotations', 'type': '[object]'}, 'connection_string': {'key': 'typeProperties.connectionString', 'type': 'object'}, 'password': {'key': 'typeProperties.password', 'type': 'AzureKeyVaultSecretReference'}, 'encrypted_credential': {'key': 'typeProperties.encryptedCredential', 'type': 'object'}, } def __init__( self, *, connection_string: object, additional_properties: Optional[Dict[str, object]] = None, connect_via: Optional["IntegrationRuntimeReference"] = None, description: Optional[str] = None, parameters: Optional[Dict[str, "ParameterSpecification"]] = None, annotations: Optional[List[object]] = None, password: Optional["AzureKeyVaultSecretReference"] = None, encrypted_credential: Optional[object] = None, **kwargs ): super(MySqlLinkedService, self).__init__(additional_properties=additional_properties, connect_via=connect_via, description=description, parameters=parameters, annotations=annotations, **kwargs) self.type = 'MySql' # type: str self.connection_string = connection_string self.password = password self.encrypted_credential = encrypted_credential
[docs]class MySqlSource(TabularSource): """A copy activity source for MySQL databases. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Copy source type.Constant filled by server. :type type: str :param source_retry_count: Source retry count. Type: integer (or Expression with resultType integer). :type source_retry_count: object :param source_retry_wait: Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type source_retry_wait: object :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object :param query_timeout: Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type query_timeout: object :param additional_columns: Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects). :type additional_columns: list[~azure.synapse.artifacts.models.AdditionalColumns] :param query: Database query. Type: string (or Expression with resultType string). :type query: object """ _validation = { 'type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, 'query': {'key': 'query', 'type': 'object'}, } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, source_retry_count: Optional[object] = None, source_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, query_timeout: Optional[object] = None, additional_columns: Optional[List["AdditionalColumns"]] = None, query: Optional[object] = None, **kwargs ): super(MySqlSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, query_timeout=query_timeout, additional_columns=additional_columns, **kwargs) self.type = 'MySqlSource' # type: str self.query = query
[docs]class MySqlTableDataset(Dataset): """The MySQL table dataset. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Type of dataset.Constant filled by server. :type type: str :param description: Dataset description. :type description: str :param structure: Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. :type structure: object :param schema: Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. :type linked_service_name: ~azure.synapse.artifacts.models.LinkedServiceReference :param parameters: Parameters for dataset. :type parameters: dict[str, ~azure.synapse.artifacts.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. :type folder: ~azure.synapse.artifacts.models.DatasetFolder :param table_name: The MySQL table name. Type: string (or Expression with resultType string). :type table_name: object """ _validation = { 'type': {'required': True}, 'linked_service_name': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'description': {'key': 'description', 'type': 'str'}, 'structure': {'key': 'structure', 'type': 'object'}, 'schema': {'key': 'schema', 'type': 'object'}, 'linked_service_name': {'key': 'linkedServiceName', 'type': 'LinkedServiceReference'}, 'parameters': {'key': 'parameters', 'type': '{ParameterSpecification}'}, 'annotations': {'key': 'annotations', 'type': '[object]'}, 'folder': {'key': 'folder', 'type': 'DatasetFolder'}, 'table_name': {'key': 'typeProperties.tableName', 'type': 'object'}, } def __init__( self, *, linked_service_name: "LinkedServiceReference", additional_properties: Optional[Dict[str, object]] = None, description: Optional[str] = None, structure: Optional[object] = None, schema: Optional[object] = None, parameters: Optional[Dict[str, "ParameterSpecification"]] = None, annotations: Optional[List[object]] = None, folder: Optional["DatasetFolder"] = None, table_name: Optional[object] = None, **kwargs ): super(MySqlTableDataset, self).__init__(additional_properties=additional_properties, description=description, structure=structure, schema=schema, linked_service_name=linked_service_name, parameters=parameters, annotations=annotations, folder=folder, **kwargs) self.type = 'MySqlTable' # type: str self.table_name = table_name
[docs]class NetezzaLinkedService(LinkedService): """Netezza linked service. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. :type connect_via: ~azure.synapse.artifacts.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. :type parameters: dict[str, ~azure.synapse.artifacts.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param connection_string: An ODBC connection string. Type: string, SecureString or AzureKeyVaultSecretReference. :type connection_string: object :param pwd: The Azure key vault secret reference of password in connection string. :type pwd: ~azure.synapse.artifacts.models.AzureKeyVaultSecretReference :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). :type encrypted_credential: object """ _validation = { 'type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'connect_via': {'key': 'connectVia', 'type': 'IntegrationRuntimeReference'}, 'description': {'key': 'description', 'type': 'str'}, 'parameters': {'key': 'parameters', 'type': '{ParameterSpecification}'}, 'annotations': {'key': 'annotations', 'type': '[object]'}, 'connection_string': {'key': 'typeProperties.connectionString', 'type': 'object'}, 'pwd': {'key': 'typeProperties.pwd', 'type': 'AzureKeyVaultSecretReference'}, 'encrypted_credential': {'key': 'typeProperties.encryptedCredential', 'type': 'object'}, } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, connect_via: Optional["IntegrationRuntimeReference"] = None, description: Optional[str] = None, parameters: Optional[Dict[str, "ParameterSpecification"]] = None, annotations: Optional[List[object]] = None, connection_string: Optional[object] = None, pwd: Optional["AzureKeyVaultSecretReference"] = None, encrypted_credential: Optional[object] = None, **kwargs ): super(NetezzaLinkedService, self).__init__(additional_properties=additional_properties, connect_via=connect_via, description=description, parameters=parameters, annotations=annotations, **kwargs) self.type = 'Netezza' # type: str self.connection_string = connection_string self.pwd = pwd self.encrypted_credential = encrypted_credential
[docs]class NetezzaPartitionSettings(msrest.serialization.Model): """The settings that will be leveraged for Netezza source partitioning. :param partition_column_name: The name of the column in integer type that will be used for proceeding range partitioning. Type: string (or Expression with resultType string). :type partition_column_name: object :param partition_upper_bound: The maximum value of column specified in partitionColumnName that will be used for proceeding range partitioning. Type: string (or Expression with resultType string). :type partition_upper_bound: object :param partition_lower_bound: The minimum value of column specified in partitionColumnName that will be used for proceeding range partitioning. Type: string (or Expression with resultType string). :type partition_lower_bound: object """ _attribute_map = { 'partition_column_name': {'key': 'partitionColumnName', 'type': 'object'}, 'partition_upper_bound': {'key': 'partitionUpperBound', 'type': 'object'}, 'partition_lower_bound': {'key': 'partitionLowerBound', 'type': 'object'}, } def __init__( self, *, partition_column_name: Optional[object] = None, partition_upper_bound: Optional[object] = None, partition_lower_bound: Optional[object] = None, **kwargs ): super(NetezzaPartitionSettings, self).__init__(**kwargs) self.partition_column_name = partition_column_name self.partition_upper_bound = partition_upper_bound self.partition_lower_bound = partition_lower_bound
[docs]class NetezzaSource(TabularSource): """A copy activity Netezza source. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Copy source type.Constant filled by server. :type type: str :param source_retry_count: Source retry count. Type: integer (or Expression with resultType integer). :type source_retry_count: object :param source_retry_wait: Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type source_retry_wait: object :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object :param query_timeout: Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type query_timeout: object :param additional_columns: Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects). :type additional_columns: list[~azure.synapse.artifacts.models.AdditionalColumns] :param query: A query to retrieve data from source. Type: string (or Expression with resultType string). :type query: object :param partition_option: The partition mechanism that will be used for Netezza read in parallel. Possible values include: "None", "DataSlice", "DynamicRange". :type partition_option: str or ~azure.synapse.artifacts.models.NetezzaPartitionOption :param partition_settings: The settings that will be leveraged for Netezza source partitioning. :type partition_settings: ~azure.synapse.artifacts.models.NetezzaPartitionSettings """ _validation = { 'type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, 'query': {'key': 'query', 'type': 'object'}, 'partition_option': {'key': 'partitionOption', 'type': 'str'}, 'partition_settings': {'key': 'partitionSettings', 'type': 'NetezzaPartitionSettings'}, } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, source_retry_count: Optional[object] = None, source_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, query_timeout: Optional[object] = None, additional_columns: Optional[List["AdditionalColumns"]] = None, query: Optional[object] = None, partition_option: Optional[Union[str, "NetezzaPartitionOption"]] = None, partition_settings: Optional["NetezzaPartitionSettings"] = None, **kwargs ): super(NetezzaSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, query_timeout=query_timeout, additional_columns=additional_columns, **kwargs) self.type = 'NetezzaSource' # type: str self.query = query self.partition_option = partition_option self.partition_settings = partition_settings
[docs]class NetezzaTableDataset(Dataset): """Netezza dataset. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Type of dataset.Constant filled by server. :type type: str :param description: Dataset description. :type description: str :param structure: Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. :type structure: object :param schema: Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. :type linked_service_name: ~azure.synapse.artifacts.models.LinkedServiceReference :param parameters: Parameters for dataset. :type parameters: dict[str, ~azure.synapse.artifacts.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. :type folder: ~azure.synapse.artifacts.models.DatasetFolder :param table_name: This property will be retired. Please consider using schema + table properties instead. :type table_name: object :param table: The table name of the Netezza. Type: string (or Expression with resultType string). :type table: object :param schema_type_properties_schema: The schema name of the Netezza. Type: string (or Expression with resultType string). :type schema_type_properties_schema: object """ _validation = { 'type': {'required': True}, 'linked_service_name': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'description': {'key': 'description', 'type': 'str'}, 'structure': {'key': 'structure', 'type': 'object'}, 'schema': {'key': 'schema', 'type': 'object'}, 'linked_service_name': {'key': 'linkedServiceName', 'type': 'LinkedServiceReference'}, 'parameters': {'key': 'parameters', 'type': '{ParameterSpecification}'}, 'annotations': {'key': 'annotations', 'type': '[object]'}, 'folder': {'key': 'folder', 'type': 'DatasetFolder'}, 'table_name': {'key': 'typeProperties.tableName', 'type': 'object'}, 'table': {'key': 'typeProperties.table', 'type': 'object'}, 'schema_type_properties_schema': {'key': 'typeProperties.schema', 'type': 'object'}, } def __init__( self, *, linked_service_name: "LinkedServiceReference", additional_properties: Optional[Dict[str, object]] = None, description: Optional[str] = None, structure: Optional[object] = None, schema: Optional[object] = None, parameters: Optional[Dict[str, "ParameterSpecification"]] = None, annotations: Optional[List[object]] = None, folder: Optional["DatasetFolder"] = None, table_name: Optional[object] = None, table: Optional[object] = None, schema_type_properties_schema: Optional[object] = None, **kwargs ): super(NetezzaTableDataset, self).__init__(additional_properties=additional_properties, description=description, structure=structure, schema=schema, linked_service_name=linked_service_name, parameters=parameters, annotations=annotations, folder=folder, **kwargs) self.type = 'NetezzaTable' # type: str self.table_name = table_name self.table = table self.schema_type_properties_schema = schema_type_properties_schema
[docs]class Notebook(msrest.serialization.Model): """Notebook. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param description: The description of the notebook. :type description: str :param big_data_pool: Big data pool reference. :type big_data_pool: ~azure.synapse.artifacts.models.BigDataPoolReference :param session_properties: Session properties. :type session_properties: ~azure.synapse.artifacts.models.NotebookSessionProperties :param metadata: Required. Notebook root-level metadata. :type metadata: ~azure.synapse.artifacts.models.NotebookMetadata :param nbformat: Required. Notebook format (major number). Incremented between backwards incompatible changes to the notebook format. :type nbformat: int :param nbformat_minor: Required. Notebook format (minor number). Incremented for backward compatible changes to the notebook format. :type nbformat_minor: int :param cells: Required. Array of cells of the current notebook. :type cells: list[~azure.synapse.artifacts.models.NotebookCell] """ _validation = { 'metadata': {'required': True}, 'nbformat': {'required': True}, 'nbformat_minor': {'required': True}, 'cells': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'description': {'key': 'description', 'type': 'str'}, 'big_data_pool': {'key': 'bigDataPool', 'type': 'BigDataPoolReference'}, 'session_properties': {'key': 'sessionProperties', 'type': 'NotebookSessionProperties'}, 'metadata': {'key': 'metadata', 'type': 'NotebookMetadata'}, 'nbformat': {'key': 'nbformat', 'type': 'int'}, 'nbformat_minor': {'key': 'nbformat_minor', 'type': 'int'}, 'cells': {'key': 'cells', 'type': '[NotebookCell]'}, } def __init__( self, *, metadata: "NotebookMetadata", nbformat: int, nbformat_minor: int, cells: List["NotebookCell"], additional_properties: Optional[Dict[str, object]] = None, description: Optional[str] = None, big_data_pool: Optional["BigDataPoolReference"] = None, session_properties: Optional["NotebookSessionProperties"] = None, **kwargs ): super(Notebook, self).__init__(**kwargs) self.additional_properties = additional_properties self.description = description self.big_data_pool = big_data_pool self.session_properties = session_properties self.metadata = metadata self.nbformat = nbformat self.nbformat_minor = nbformat_minor self.cells = cells
[docs]class NotebookCell(msrest.serialization.Model): """Notebook cell. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param cell_type: Required. String identifying the type of cell. :type cell_type: str :param metadata: Required. Cell-level metadata. :type metadata: object :param source: Required. Contents of the cell, represented as an array of lines. :type source: list[str] :param attachments: Attachments associated with the cell. :type attachments: object :param outputs: Cell-level output items. :type outputs: list[~azure.synapse.artifacts.models.NotebookCellOutputItem] """ _validation = { 'cell_type': {'required': True}, 'metadata': {'required': True}, 'source': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'cell_type': {'key': 'cell_type', 'type': 'str'}, 'metadata': {'key': 'metadata', 'type': 'object'}, 'source': {'key': 'source', 'type': '[str]'}, 'attachments': {'key': 'attachments', 'type': 'object'}, 'outputs': {'key': 'outputs', 'type': '[NotebookCellOutputItem]'}, } def __init__( self, *, cell_type: str, metadata: object, source: List[str], additional_properties: Optional[Dict[str, object]] = None, attachments: Optional[object] = None, outputs: Optional[List["NotebookCellOutputItem"]] = None, **kwargs ): super(NotebookCell, self).__init__(**kwargs) self.additional_properties = additional_properties self.cell_type = cell_type self.metadata = metadata self.source = source self.attachments = attachments self.outputs = outputs
[docs]class NotebookCellOutputItem(msrest.serialization.Model): """An item of the notebook cell execution output. All required parameters must be populated in order to send to Azure. :param name: For output_type=stream, determines the name of stream (stdout / stderr). :type name: str :param execution_count: Execution sequence number. :type execution_count: int :param output_type: Required. Execution, display, or stream outputs. Possible values include: "execute_result", "display_data", "stream", "error". :type output_type: str or ~azure.synapse.artifacts.models.CellOutputType :param text: For output_type=stream, the stream's text output, represented as a string or an array of strings. :type text: object :param data: Output data. Use MIME type as key, and content as value. :type data: object :param metadata: Metadata for the output item. :type metadata: object """ _validation = { 'output_type': {'required': True}, } _attribute_map = { 'name': {'key': 'name', 'type': 'str'}, 'execution_count': {'key': 'execution_count', 'type': 'int'}, 'output_type': {'key': 'output_type', 'type': 'str'}, 'text': {'key': 'text', 'type': 'object'}, 'data': {'key': 'data', 'type': 'object'}, 'metadata': {'key': 'metadata', 'type': 'object'}, } def __init__( self, *, output_type: Union[str, "CellOutputType"], name: Optional[str] = None, execution_count: Optional[int] = None, text: Optional[object] = None, data: Optional[object] = None, metadata: Optional[object] = None, **kwargs ): super(NotebookCellOutputItem, self).__init__(**kwargs) self.name = name self.execution_count = execution_count self.output_type = output_type self.text = text self.data = data self.metadata = metadata
[docs]class NotebookKernelSpec(msrest.serialization.Model): """Kernel information. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param name: Required. Name of the kernel specification. :type name: str :param display_name: Required. Name to display in UI. :type display_name: str """ _validation = { 'name': {'required': True}, 'display_name': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'name': {'key': 'name', 'type': 'str'}, 'display_name': {'key': 'display_name', 'type': 'str'}, } def __init__( self, *, name: str, display_name: str, additional_properties: Optional[Dict[str, object]] = None, **kwargs ): super(NotebookKernelSpec, self).__init__(**kwargs) self.additional_properties = additional_properties self.name = name self.display_name = display_name
[docs]class NotebookLanguageInfo(msrest.serialization.Model): """Language info. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param name: Required. The programming language which this kernel runs. :type name: str :param codemirror_mode: The codemirror mode to use for code in this language. :type codemirror_mode: str """ _validation = { 'name': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'name': {'key': 'name', 'type': 'str'}, 'codemirror_mode': {'key': 'codemirror_mode', 'type': 'str'}, } def __init__( self, *, name: str, additional_properties: Optional[Dict[str, object]] = None, codemirror_mode: Optional[str] = None, **kwargs ): super(NotebookLanguageInfo, self).__init__(**kwargs) self.additional_properties = additional_properties self.name = name self.codemirror_mode = codemirror_mode
[docs]class NotebookListResponse(msrest.serialization.Model): """A list of Notebook resources. All required parameters must be populated in order to send to Azure. :param value: Required. List of Notebooks. :type value: list[~azure.synapse.artifacts.models.NotebookResource] :param next_link: The link to the next page of results, if any remaining results exist. :type next_link: str """ _validation = { 'value': {'required': True}, } _attribute_map = { 'value': {'key': 'value', 'type': '[NotebookResource]'}, 'next_link': {'key': 'nextLink', 'type': 'str'}, } def __init__( self, *, value: List["NotebookResource"], next_link: Optional[str] = None, **kwargs ): super(NotebookListResponse, self).__init__(**kwargs) self.value = value self.next_link = next_link
[docs]class NotebookMetadata(msrest.serialization.Model): """Notebook root-level metadata. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param kernelspec: Kernel information. :type kernelspec: ~azure.synapse.artifacts.models.NotebookKernelSpec :param language_info: Language info. :type language_info: ~azure.synapse.artifacts.models.NotebookLanguageInfo """ _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'kernelspec': {'key': 'kernelspec', 'type': 'NotebookKernelSpec'}, 'language_info': {'key': 'language_info', 'type': 'NotebookLanguageInfo'}, } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, kernelspec: Optional["NotebookKernelSpec"] = None, language_info: Optional["NotebookLanguageInfo"] = None, **kwargs ): super(NotebookMetadata, self).__init__(**kwargs) self.additional_properties = additional_properties self.kernelspec = kernelspec self.language_info = language_info
[docs]class NotebookResource(msrest.serialization.Model): """Notebook resource type. Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. :ivar id: Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. :vartype id: str :param name: Required. The name of the resource. :type name: str :ivar type: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. :vartype type: str :ivar etag: Resource Etag. :vartype etag: str :param properties: Required. Properties of Notebook. :type properties: ~azure.synapse.artifacts.models.Notebook """ _validation = { 'id': {'readonly': True}, 'name': {'required': True}, 'type': {'readonly': True}, 'etag': {'readonly': True}, 'properties': {'required': True}, } _attribute_map = { 'id': {'key': 'id', 'type': 'str'}, 'name': {'key': 'name', 'type': 'str'}, 'type': {'key': 'type', 'type': 'str'}, 'etag': {'key': 'etag', 'type': 'str'}, 'properties': {'key': 'properties', 'type': 'Notebook'}, } def __init__( self, *, name: str, properties: "Notebook", **kwargs ): super(NotebookResource, self).__init__(**kwargs) self.id = None self.name = name self.type = None self.etag = None self.properties = properties
[docs]class NotebookSessionProperties(msrest.serialization.Model): """Session properties. All required parameters must be populated in order to send to Azure. :param driver_memory: Required. Amount of memory to use for the driver process. :type driver_memory: str :param driver_cores: Required. Number of cores to use for the driver. :type driver_cores: int :param executor_memory: Required. Amount of memory to use per executor process. :type executor_memory: str :param executor_cores: Required. Number of cores to use for each executor. :type executor_cores: int :param num_executors: Required. Number of executors to launch for this session. :type num_executors: int """ _validation = { 'driver_memory': {'required': True}, 'driver_cores': {'required': True}, 'executor_memory': {'required': True}, 'executor_cores': {'required': True}, 'num_executors': {'required': True}, } _attribute_map = { 'driver_memory': {'key': 'driverMemory', 'type': 'str'}, 'driver_cores': {'key': 'driverCores', 'type': 'int'}, 'executor_memory': {'key': 'executorMemory', 'type': 'str'}, 'executor_cores': {'key': 'executorCores', 'type': 'int'}, 'num_executors': {'key': 'numExecutors', 'type': 'int'}, } def __init__( self, *, driver_memory: str, driver_cores: int, executor_memory: str, executor_cores: int, num_executors: int, **kwargs ): super(NotebookSessionProperties, self).__init__(**kwargs) self.driver_memory = driver_memory self.driver_cores = driver_cores self.executor_memory = executor_memory self.executor_cores = executor_cores self.num_executors = num_executors
[docs]class ODataLinkedService(LinkedService): """Open Data Protocol (OData) linked service. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. :type connect_via: ~azure.synapse.artifacts.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. :type parameters: dict[str, ~azure.synapse.artifacts.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param url: Required. The URL of the OData service endpoint. Type: string (or Expression with resultType string). :type url: object :param authentication_type: Type of authentication used to connect to the OData service. Possible values include: "Basic", "Anonymous", "Windows", "AadServicePrincipal", "ManagedServiceIdentity". :type authentication_type: str or ~azure.synapse.artifacts.models.ODataAuthenticationType :param user_name: User name of the OData service. Type: string (or Expression with resultType string). :type user_name: object :param password: Password of the OData service. :type password: ~azure.synapse.artifacts.models.SecretBase :param tenant: Specify the tenant information (domain name or tenant ID) under which your application resides. Type: string (or Expression with resultType string). :type tenant: object :param service_principal_id: Specify the application id of your 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). :type aad_resource_id: object :param aad_service_principal_credential_type: Specify the credential type (key or cert) is used for service principal. Possible values include: "ServicePrincipalKey", "ServicePrincipalCert". :type aad_service_principal_credential_type: str or ~azure.synapse.artifacts.models.ODataAadServicePrincipalCredentialType :param service_principal_key: Specify the secret of your application registered in Azure Active Directory. Type: string (or Expression with resultType string). :type service_principal_key: ~azure.synapse.artifacts.models.SecretBase :param service_principal_embedded_cert: Specify the base64 encoded certificate of your application registered in Azure Active Directory. Type: string (or Expression with resultType string). :type service_principal_embedded_cert: ~azure.synapse.artifacts.models.SecretBase :param service_principal_embedded_cert_password: Specify the password of your certificate if your certificate has a password and you are using AadServicePrincipal authentication. Type: string (or Expression with resultType string). :type service_principal_embedded_cert_password: ~azure.synapse.artifacts.models.SecretBase :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). :type encrypted_credential: object """ _validation = { 'type': {'required': True}, 'url': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'connect_via': {'key': 'connectVia', 'type': 'IntegrationRuntimeReference'}, 'description': {'key': 'description', 'type': 'str'}, 'parameters': {'key': 'parameters', 'type': '{ParameterSpecification}'}, 'annotations': {'key': 'annotations', 'type': '[object]'}, 'url': {'key': 'typeProperties.url', 'type': 'object'}, 'authentication_type': {'key': 'typeProperties.authenticationType', 'type': 'str'}, 'user_name': {'key': 'typeProperties.userName', 'type': 'object'}, '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'}, 'service_principal_embedded_cert': {'key': 'typeProperties.servicePrincipalEmbeddedCert', 'type': 'SecretBase'}, 'service_principal_embedded_cert_password': {'key': 'typeProperties.servicePrincipalEmbeddedCertPassword', 'type': 'SecretBase'}, 'encrypted_credential': {'key': 'typeProperties.encryptedCredential', 'type': 'object'}, } def __init__( self, *, url: object, additional_properties: Optional[Dict[str, object]] = None, connect_via: Optional["IntegrationRuntimeReference"] = None, description: Optional[str] = None, parameters: Optional[Dict[str, "ParameterSpecification"]] = None, annotations: Optional[List[object]] = None, authentication_type: Optional[Union[str, "ODataAuthenticationType"]] = None, user_name: Optional[object] = None, password: Optional["SecretBase"] = None, tenant: Optional[object] = None, service_principal_id: Optional[object] = None, azure_cloud_type: Optional[object] = None, aad_resource_id: Optional[object] = None, aad_service_principal_credential_type: Optional[Union[str, "ODataAadServicePrincipalCredentialType"]] = None, service_principal_key: Optional["SecretBase"] = None, service_principal_embedded_cert: Optional["SecretBase"] = None, service_principal_embedded_cert_password: Optional["SecretBase"] = None, encrypted_credential: Optional[object] = None, **kwargs ): super(ODataLinkedService, self).__init__(additional_properties=additional_properties, connect_via=connect_via, description=description, parameters=parameters, annotations=annotations, **kwargs) self.type = 'OData' # type: str self.url = url self.authentication_type = authentication_type self.user_name = user_name self.password = password self.tenant = tenant self.service_principal_id = service_principal_id self.azure_cloud_type = azure_cloud_type self.aad_resource_id = aad_resource_id self.aad_service_principal_credential_type = aad_service_principal_credential_type self.service_principal_key = service_principal_key self.service_principal_embedded_cert = service_principal_embedded_cert self.service_principal_embedded_cert_password = service_principal_embedded_cert_password self.encrypted_credential = encrypted_credential
[docs]class ODataResourceDataset(Dataset): """The Open Data Protocol (OData) resource dataset. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Type of dataset.Constant filled by server. :type type: str :param description: Dataset description. :type description: str :param structure: Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. :type structure: object :param schema: Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. :type linked_service_name: ~azure.synapse.artifacts.models.LinkedServiceReference :param parameters: Parameters for dataset. :type parameters: dict[str, ~azure.synapse.artifacts.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. :type folder: ~azure.synapse.artifacts.models.DatasetFolder :param path: The OData resource path. Type: string (or Expression with resultType string). :type path: object """ _validation = { 'type': {'required': True}, 'linked_service_name': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'description': {'key': 'description', 'type': 'str'}, 'structure': {'key': 'structure', 'type': 'object'}, 'schema': {'key': 'schema', 'type': 'object'}, 'linked_service_name': {'key': 'linkedServiceName', 'type': 'LinkedServiceReference'}, 'parameters': {'key': 'parameters', 'type': '{ParameterSpecification}'}, 'annotations': {'key': 'annotations', 'type': '[object]'}, 'folder': {'key': 'folder', 'type': 'DatasetFolder'}, 'path': {'key': 'typeProperties.path', 'type': 'object'}, } def __init__( self, *, linked_service_name: "LinkedServiceReference", additional_properties: Optional[Dict[str, object]] = None, description: Optional[str] = None, structure: Optional[object] = None, schema: Optional[object] = None, parameters: Optional[Dict[str, "ParameterSpecification"]] = None, annotations: Optional[List[object]] = None, folder: Optional["DatasetFolder"] = None, path: Optional[object] = None, **kwargs ): super(ODataResourceDataset, self).__init__(additional_properties=additional_properties, description=description, structure=structure, schema=schema, linked_service_name=linked_service_name, parameters=parameters, annotations=annotations, folder=folder, **kwargs) self.type = 'ODataResource' # type: str self.path = path
[docs]class ODataSource(CopySource): """A copy activity source for OData source. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Copy source type.Constant filled by server. :type type: str :param source_retry_count: Source retry count. Type: integer (or Expression with resultType integer). :type source_retry_count: object :param source_retry_wait: Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type source_retry_wait: object :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object :param query: OData query. For example, "$top=1". Type: string (or Expression with resultType string). :type query: object :param http_request_timeout: The timeout (TimeSpan) to get an HTTP response. It is the timeout to get a response, not the timeout to read response data. Default value: 00:05:00. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type http_request_timeout: object :param additional_columns: Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects). :type additional_columns: list[~azure.synapse.artifacts.models.AdditionalColumns] """ _validation = { 'type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, 'http_request_timeout': {'key': 'httpRequestTimeout', 'type': 'object'}, 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, source_retry_count: Optional[object] = None, source_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, query: Optional[object] = None, http_request_timeout: Optional[object] = None, additional_columns: Optional[List["AdditionalColumns"]] = None, **kwargs ): super(ODataSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, **kwargs) self.type = 'ODataSource' # type: str self.query = query self.http_request_timeout = http_request_timeout self.additional_columns = additional_columns
[docs]class OdbcLinkedService(LinkedService): """Open Database Connectivity (ODBC) linked service. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. :type connect_via: ~azure.synapse.artifacts.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. :type parameters: dict[str, ~azure.synapse.artifacts.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param connection_string: Required. The non-access credential portion of the connection string as well as an optional encrypted credential. Type: string, SecureString or AzureKeyVaultSecretReference. :type connection_string: object :param authentication_type: Type of authentication used to connect to the ODBC data store. Possible values are: Anonymous and Basic. Type: string (or Expression with resultType string). :type authentication_type: object :param credential: The access credential portion of the connection string specified in driver-specific property-value format. :type credential: ~azure.synapse.artifacts.models.SecretBase :param user_name: User name for Basic authentication. Type: string (or Expression with resultType string). :type user_name: object :param password: Password for Basic authentication. :type password: ~azure.synapse.artifacts.models.SecretBase :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). :type encrypted_credential: object """ _validation = { 'type': {'required': True}, 'connection_string': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'connect_via': {'key': 'connectVia', 'type': 'IntegrationRuntimeReference'}, 'description': {'key': 'description', 'type': 'str'}, 'parameters': {'key': 'parameters', 'type': '{ParameterSpecification}'}, 'annotations': {'key': 'annotations', 'type': '[object]'}, 'connection_string': {'key': 'typeProperties.connectionString', 'type': 'object'}, 'authentication_type': {'key': 'typeProperties.authenticationType', 'type': 'object'}, 'credential': {'key': 'typeProperties.credential', 'type': 'SecretBase'}, 'user_name': {'key': 'typeProperties.userName', 'type': 'object'}, 'password': {'key': 'typeProperties.password', 'type': 'SecretBase'}, 'encrypted_credential': {'key': 'typeProperties.encryptedCredential', 'type': 'object'}, } def __init__( self, *, connection_string: object, additional_properties: Optional[Dict[str, object]] = None, connect_via: Optional["IntegrationRuntimeReference"] = None, description: Optional[str] = None, parameters: Optional[Dict[str, "ParameterSpecification"]] = None, annotations: Optional[List[object]] = None, authentication_type: Optional[object] = None, credential: Optional["SecretBase"] = None, user_name: Optional[object] = None, password: Optional["SecretBase"] = None, encrypted_credential: Optional[object] = None, **kwargs ): super(OdbcLinkedService, self).__init__(additional_properties=additional_properties, connect_via=connect_via, description=description, parameters=parameters, annotations=annotations, **kwargs) self.type = 'Odbc' # type: str self.connection_string = connection_string self.authentication_type = authentication_type self.credential = credential self.user_name = user_name self.password = password self.encrypted_credential = encrypted_credential
[docs]class OdbcSink(CopySink): """A copy activity ODBC sink. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Copy sink type.Constant filled by server. :type type: str :param write_batch_size: Write batch size. Type: integer (or Expression with resultType integer), minimum: 0. :type write_batch_size: object :param write_batch_timeout: Write batch timeout. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type write_batch_timeout: object :param sink_retry_count: Sink retry count. Type: integer (or Expression with resultType integer). :type sink_retry_count: object :param sink_retry_wait: Sink retry wait. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type sink_retry_wait: object :param max_concurrent_connections: The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object :param pre_copy_script: A query to execute before starting the copy. Type: string (or Expression with resultType string). :type pre_copy_script: object """ _validation = { 'type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'write_batch_size': {'key': 'writeBatchSize', 'type': 'object'}, 'write_batch_timeout': {'key': 'writeBatchTimeout', 'type': 'object'}, 'sink_retry_count': {'key': 'sinkRetryCount', 'type': 'object'}, 'sink_retry_wait': {'key': 'sinkRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'pre_copy_script': {'key': 'preCopyScript', 'type': 'object'}, } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, write_batch_size: Optional[object] = None, write_batch_timeout: Optional[object] = None, sink_retry_count: Optional[object] = None, sink_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, pre_copy_script: Optional[object] = None, **kwargs ): super(OdbcSink, self).__init__(additional_properties=additional_properties, write_batch_size=write_batch_size, write_batch_timeout=write_batch_timeout, sink_retry_count=sink_retry_count, sink_retry_wait=sink_retry_wait, max_concurrent_connections=max_concurrent_connections, **kwargs) self.type = 'OdbcSink' # type: str self.pre_copy_script = pre_copy_script
[docs]class OdbcSource(TabularSource): """A copy activity source for ODBC databases. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Copy source type.Constant filled by server. :type type: str :param source_retry_count: Source retry count. Type: integer (or Expression with resultType integer). :type source_retry_count: object :param source_retry_wait: Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type source_retry_wait: object :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object :param query_timeout: Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type query_timeout: object :param additional_columns: Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects). :type additional_columns: list[~azure.synapse.artifacts.models.AdditionalColumns] :param query: Database query. Type: string (or Expression with resultType string). :type query: object """ _validation = { 'type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, 'query': {'key': 'query', 'type': 'object'}, } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, source_retry_count: Optional[object] = None, source_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, query_timeout: Optional[object] = None, additional_columns: Optional[List["AdditionalColumns"]] = None, query: Optional[object] = None, **kwargs ): super(OdbcSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, query_timeout=query_timeout, additional_columns=additional_columns, **kwargs) self.type = 'OdbcSource' # type: str self.query = query
[docs]class OdbcTableDataset(Dataset): """The ODBC table dataset. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Type of dataset.Constant filled by server. :type type: str :param description: Dataset description. :type description: str :param structure: Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. :type structure: object :param schema: Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. :type linked_service_name: ~azure.synapse.artifacts.models.LinkedServiceReference :param parameters: Parameters for dataset. :type parameters: dict[str, ~azure.synapse.artifacts.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. :type folder: ~azure.synapse.artifacts.models.DatasetFolder :param table_name: The ODBC table name. Type: string (or Expression with resultType string). :type table_name: object """ _validation = { 'type': {'required': True}, 'linked_service_name': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'description': {'key': 'description', 'type': 'str'}, 'structure': {'key': 'structure', 'type': 'object'}, 'schema': {'key': 'schema', 'type': 'object'}, 'linked_service_name': {'key': 'linkedServiceName', 'type': 'LinkedServiceReference'}, 'parameters': {'key': 'parameters', 'type': '{ParameterSpecification}'}, 'annotations': {'key': 'annotations', 'type': '[object]'}, 'folder': {'key': 'folder', 'type': 'DatasetFolder'}, 'table_name': {'key': 'typeProperties.tableName', 'type': 'object'}, } def __init__( self, *, linked_service_name: "LinkedServiceReference", additional_properties: Optional[Dict[str, object]] = None, description: Optional[str] = None, structure: Optional[object] = None, schema: Optional[object] = None, parameters: Optional[Dict[str, "ParameterSpecification"]] = None, annotations: Optional[List[object]] = None, folder: Optional["DatasetFolder"] = None, table_name: Optional[object] = None, **kwargs ): super(OdbcTableDataset, self).__init__(additional_properties=additional_properties, description=description, structure=structure, schema=schema, linked_service_name=linked_service_name, parameters=parameters, annotations=annotations, folder=folder, **kwargs) self.type = 'OdbcTable' # type: str self.table_name = table_name
[docs]class Office365Dataset(Dataset): """The Office365 account. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Type of dataset.Constant filled by server. :type type: str :param description: Dataset description. :type description: str :param structure: Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. :type structure: object :param schema: Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. :type linked_service_name: ~azure.synapse.artifacts.models.LinkedServiceReference :param parameters: Parameters for dataset. :type parameters: dict[str, ~azure.synapse.artifacts.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. :type folder: ~azure.synapse.artifacts.models.DatasetFolder :param table_name: Required. Name of the dataset to extract from Office 365. Type: string (or Expression with resultType string). :type table_name: object :param predicate: A predicate expression that can be used to filter the specific rows to extract from Office 365. Type: string (or Expression with resultType string). :type predicate: object """ _validation = { 'type': {'required': True}, 'linked_service_name': {'required': True}, 'table_name': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'description': {'key': 'description', 'type': 'str'}, 'structure': {'key': 'structure', 'type': 'object'}, 'schema': {'key': 'schema', 'type': 'object'}, 'linked_service_name': {'key': 'linkedServiceName', 'type': 'LinkedServiceReference'}, 'parameters': {'key': 'parameters', 'type': '{ParameterSpecification}'}, 'annotations': {'key': 'annotations', 'type': '[object]'}, 'folder': {'key': 'folder', 'type': 'DatasetFolder'}, 'table_name': {'key': 'typeProperties.tableName', 'type': 'object'}, 'predicate': {'key': 'typeProperties.predicate', 'type': 'object'}, } def __init__( self, *, linked_service_name: "LinkedServiceReference", table_name: object, additional_properties: Optional[Dict[str, object]] = None, description: Optional[str] = None, structure: Optional[object] = None, schema: Optional[object] = None, parameters: Optional[Dict[str, "ParameterSpecification"]] = None, annotations: Optional[List[object]] = None, folder: Optional["DatasetFolder"] = None, predicate: Optional[object] = None, **kwargs ): super(Office365Dataset, self).__init__(additional_properties=additional_properties, description=description, structure=structure, schema=schema, linked_service_name=linked_service_name, parameters=parameters, annotations=annotations, folder=folder, **kwargs) self.type = 'Office365Table' # type: str self.table_name = table_name self.predicate = predicate
[docs]class Office365LinkedService(LinkedService): """Office365 linked service. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. :type connect_via: ~azure.synapse.artifacts.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. :type parameters: dict[str, ~azure.synapse.artifacts.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param office365_tenant_id: Required. Azure tenant ID to which the Office 365 account belongs. Type: string (or Expression with resultType string). :type office365_tenant_id: object :param service_principal_tenant_id: Required. Specify the tenant information under which your Azure AD web application resides. Type: string (or Expression with resultType string). :type service_principal_tenant_id: object :param service_principal_id: Required. Specify the application's client ID. Type: string (or Expression with resultType string). :type service_principal_id: object :param service_principal_key: Required. Specify the application's key. :type service_principal_key: ~azure.synapse.artifacts.models.SecretBase :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). :type encrypted_credential: object """ _validation = { 'type': {'required': True}, 'office365_tenant_id': {'required': True}, 'service_principal_tenant_id': {'required': True}, 'service_principal_id': {'required': True}, 'service_principal_key': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'connect_via': {'key': 'connectVia', 'type': 'IntegrationRuntimeReference'}, 'description': {'key': 'description', 'type': 'str'}, 'parameters': {'key': 'parameters', 'type': '{ParameterSpecification}'}, 'annotations': {'key': 'annotations', 'type': '[object]'}, 'office365_tenant_id': {'key': 'typeProperties.office365TenantId', 'type': 'object'}, 'service_principal_tenant_id': {'key': 'typeProperties.servicePrincipalTenantId', 'type': 'object'}, 'service_principal_id': {'key': 'typeProperties.servicePrincipalId', 'type': 'object'}, 'service_principal_key': {'key': 'typeProperties.servicePrincipalKey', 'type': 'SecretBase'}, 'encrypted_credential': {'key': 'typeProperties.encryptedCredential', 'type': 'object'}, } def __init__( self, *, office365_tenant_id: object, service_principal_tenant_id: object, service_principal_id: object, service_principal_key: "SecretBase", additional_properties: Optional[Dict[str, object]] = None, connect_via: Optional["IntegrationRuntimeReference"] = None, description: Optional[str] = None, parameters: Optional[Dict[str, "ParameterSpecification"]] = None, annotations: Optional[List[object]] = None, encrypted_credential: Optional[object] = None, **kwargs ): super(Office365LinkedService, self).__init__(additional_properties=additional_properties, connect_via=connect_via, description=description, parameters=parameters, annotations=annotations, **kwargs) self.type = 'Office365' # type: str self.office365_tenant_id = office365_tenant_id self.service_principal_tenant_id = service_principal_tenant_id self.service_principal_id = service_principal_id self.service_principal_key = service_principal_key self.encrypted_credential = encrypted_credential
[docs]class Office365Source(CopySource): """A copy activity source for an Office 365 service. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Copy source type.Constant filled by server. :type type: str :param source_retry_count: Source retry count. Type: integer (or Expression with resultType integer). :type source_retry_count: object :param source_retry_wait: Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type source_retry_wait: object :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object :param allowed_groups: The groups containing all the users. Type: array of strings (or Expression with resultType array of strings). :type allowed_groups: object :param user_scope_filter_uri: The user scope uri. Type: string (or Expression with resultType string). :type user_scope_filter_uri: object :param date_filter_column: The Column to apply the :code:`<paramref name="StartTime"/>` and :code:`<paramref name="EndTime"/>`. Type: string (or Expression with resultType string). :type date_filter_column: object :param start_time: Start time of the requested range for this dataset. Type: string (or Expression with resultType string). :type start_time: object :param end_time: End time of the requested range for this dataset. Type: string (or Expression with resultType string). :type end_time: object :param output_columns: The columns to be read out from the Office 365 table. Type: array of objects (or Expression with resultType array of objects). Example: [ { "name": "Id" }, { "name": "CreatedDateTime" } ]. :type output_columns: object """ _validation = { 'type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'allowed_groups': {'key': 'allowedGroups', 'type': 'object'}, 'user_scope_filter_uri': {'key': 'userScopeFilterUri', 'type': 'object'}, 'date_filter_column': {'key': 'dateFilterColumn', 'type': 'object'}, 'start_time': {'key': 'startTime', 'type': 'object'}, 'end_time': {'key': 'endTime', 'type': 'object'}, 'output_columns': {'key': 'outputColumns', 'type': 'object'}, } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, source_retry_count: Optional[object] = None, source_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, allowed_groups: Optional[object] = None, user_scope_filter_uri: Optional[object] = None, date_filter_column: Optional[object] = None, start_time: Optional[object] = None, end_time: Optional[object] = None, output_columns: Optional[object] = None, **kwargs ): super(Office365Source, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, **kwargs) self.type = 'Office365Source' # type: str self.allowed_groups = allowed_groups self.user_scope_filter_uri = user_scope_filter_uri self.date_filter_column = date_filter_column self.start_time = start_time self.end_time = end_time self.output_columns = output_columns
[docs]class OperationResult(msrest.serialization.Model): """Operation status for the operation. Variables are only populated by the server, and will be ignored when sending a request. :ivar status: Operation status. :vartype status: str :param code: Error code. :type code: str :param message: Error message. :type message: str :param target: Property name/path in request associated with error. :type target: str :param details: Array with additional error details. :type details: list[~azure.synapse.artifacts.models.CloudError] """ _validation = { 'status': {'readonly': True}, } _attribute_map = { 'status': {'key': 'status', 'type': 'str'}, 'code': {'key': 'error.code', 'type': 'str'}, 'message': {'key': 'error.message', 'type': 'str'}, 'target': {'key': 'error.target', 'type': 'str'}, 'details': {'key': 'error.details', 'type': '[CloudError]'}, } def __init__( self, *, code: Optional[str] = None, message: Optional[str] = None, target: Optional[str] = None, details: Optional[List["CloudError"]] = None, **kwargs ): super(OperationResult, self).__init__(**kwargs) self.status = None self.code = code self.message = message self.target = target self.details = details
[docs]class OracleLinkedService(LinkedService): """Oracle database. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. :type connect_via: ~azure.synapse.artifacts.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. :type parameters: dict[str, ~azure.synapse.artifacts.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param connection_string: Required. The connection string. Type: string, SecureString or AzureKeyVaultSecretReference. :type connection_string: object :param password: The Azure key vault secret reference of password in connection string. :type password: ~azure.synapse.artifacts.models.AzureKeyVaultSecretReference :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). :type encrypted_credential: object """ _validation = { 'type': {'required': True}, 'connection_string': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'connect_via': {'key': 'connectVia', 'type': 'IntegrationRuntimeReference'}, 'description': {'key': 'description', 'type': 'str'}, 'parameters': {'key': 'parameters', 'type': '{ParameterSpecification}'}, 'annotations': {'key': 'annotations', 'type': '[object]'}, 'connection_string': {'key': 'typeProperties.connectionString', 'type': 'object'}, 'password': {'key': 'typeProperties.password', 'type': 'AzureKeyVaultSecretReference'}, 'encrypted_credential': {'key': 'typeProperties.encryptedCredential', 'type': 'object'}, } def __init__( self, *, connection_string: object, additional_properties: Optional[Dict[str, object]] = None, connect_via: Optional["IntegrationRuntimeReference"] = None, description: Optional[str] = None, parameters: Optional[Dict[str, "ParameterSpecification"]] = None, annotations: Optional[List[object]] = None, password: Optional["AzureKeyVaultSecretReference"] = None, encrypted_credential: Optional[object] = None, **kwargs ): super(OracleLinkedService, self).__init__(additional_properties=additional_properties, connect_via=connect_via, description=description, parameters=parameters, annotations=annotations, **kwargs) self.type = 'Oracle' # type: str self.connection_string = connection_string self.password = password self.encrypted_credential = encrypted_credential
[docs]class OraclePartitionSettings(msrest.serialization.Model): """The settings that will be leveraged for Oracle source partitioning. :param partition_names: Names of the physical partitions of Oracle table. :type partition_names: object :param partition_column_name: The name of the column in integer type that will be used for proceeding range partitioning. Type: string (or Expression with resultType string). :type partition_column_name: object :param partition_upper_bound: The maximum value of column specified in partitionColumnName that will be used for proceeding range partitioning. Type: string (or Expression with resultType string). :type partition_upper_bound: object :param partition_lower_bound: The minimum value of column specified in partitionColumnName that will be used for proceeding range partitioning. Type: string (or Expression with resultType string). :type partition_lower_bound: object """ _attribute_map = { 'partition_names': {'key': 'partitionNames', 'type': 'object'}, 'partition_column_name': {'key': 'partitionColumnName', 'type': 'object'}, 'partition_upper_bound': {'key': 'partitionUpperBound', 'type': 'object'}, 'partition_lower_bound': {'key': 'partitionLowerBound', 'type': 'object'}, } def __init__( self, *, partition_names: Optional[object] = None, partition_column_name: Optional[object] = None, partition_upper_bound: Optional[object] = None, partition_lower_bound: Optional[object] = None, **kwargs ): super(OraclePartitionSettings, self).__init__(**kwargs) self.partition_names = partition_names self.partition_column_name = partition_column_name self.partition_upper_bound = partition_upper_bound self.partition_lower_bound = partition_lower_bound
[docs]class OracleServiceCloudLinkedService(LinkedService): """Oracle Service Cloud linked service. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. :type connect_via: ~azure.synapse.artifacts.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. :type parameters: dict[str, ~azure.synapse.artifacts.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param host: Required. The URL of the Oracle Service Cloud instance. :type host: object :param username: Required. The user name that you use to access Oracle Service Cloud server. :type username: object :param password: Required. The password corresponding to the user name that you provided in the username key. :type password: ~azure.synapse.artifacts.models.SecretBase :param use_encrypted_endpoints: Specifies whether the data source endpoints are encrypted using HTTPS. The default value is true. Type: boolean (or Expression with resultType boolean). :type use_encrypted_endpoints: object :param use_host_verification: Specifies whether to require the host name in the server's certificate to match the host name of the server when connecting over SSL. The default value is true. Type: boolean (or Expression with resultType boolean). :type use_host_verification: object :param use_peer_verification: Specifies whether to verify the identity of the server when connecting over SSL. The default value is true. Type: boolean (or Expression with resultType boolean). :type use_peer_verification: 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). :type encrypted_credential: object """ _validation = { 'type': {'required': True}, 'host': {'required': True}, 'username': {'required': True}, 'password': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'connect_via': {'key': 'connectVia', 'type': 'IntegrationRuntimeReference'}, 'description': {'key': 'description', 'type': 'str'}, 'parameters': {'key': 'parameters', 'type': '{ParameterSpecification}'}, 'annotations': {'key': 'annotations', 'type': '[object]'}, 'host': {'key': 'typeProperties.host', 'type': 'object'}, 'username': {'key': 'typeProperties.username', 'type': 'object'}, 'password': {'key': 'typeProperties.password', 'type': 'SecretBase'}, 'use_encrypted_endpoints': {'key': 'typeProperties.useEncryptedEndpoints', 'type': 'object'}, 'use_host_verification': {'key': 'typeProperties.useHostVerification', 'type': 'object'}, 'use_peer_verification': {'key': 'typeProperties.usePeerVerification', 'type': 'object'}, 'encrypted_credential': {'key': 'typeProperties.encryptedCredential', 'type': 'object'}, } def __init__( self, *, host: object, username: object, password: "SecretBase", additional_properties: Optional[Dict[str, object]] = None, connect_via: Optional["IntegrationRuntimeReference"] = None, description: Optional[str] = None, parameters: Optional[Dict[str, "ParameterSpecification"]] = None, annotations: Optional[List[object]] = None, use_encrypted_endpoints: Optional[object] = None, use_host_verification: Optional[object] = None, use_peer_verification: Optional[object] = None, encrypted_credential: Optional[object] = None, **kwargs ): super(OracleServiceCloudLinkedService, self).__init__(additional_properties=additional_properties, connect_via=connect_via, description=description, parameters=parameters, annotations=annotations, **kwargs) self.type = 'OracleServiceCloud' # type: str self.host = host self.username = username self.password = password self.use_encrypted_endpoints = use_encrypted_endpoints self.use_host_verification = use_host_verification self.use_peer_verification = use_peer_verification self.encrypted_credential = encrypted_credential
[docs]class OracleServiceCloudObjectDataset(Dataset): """Oracle Service Cloud dataset. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Type of dataset.Constant filled by server. :type type: str :param description: Dataset description. :type description: str :param structure: Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. :type structure: object :param schema: Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. :type linked_service_name: ~azure.synapse.artifacts.models.LinkedServiceReference :param parameters: Parameters for dataset. :type parameters: dict[str, ~azure.synapse.artifacts.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. :type folder: ~azure.synapse.artifacts.models.DatasetFolder :param table_name: The table name. Type: string (or Expression with resultType string). :type table_name: object """ _validation = { 'type': {'required': True}, 'linked_service_name': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'description': {'key': 'description', 'type': 'str'}, 'structure': {'key': 'structure', 'type': 'object'}, 'schema': {'key': 'schema', 'type': 'object'}, 'linked_service_name': {'key': 'linkedServiceName', 'type': 'LinkedServiceReference'}, 'parameters': {'key': 'parameters', 'type': '{ParameterSpecification}'}, 'annotations': {'key': 'annotations', 'type': '[object]'}, 'folder': {'key': 'folder', 'type': 'DatasetFolder'}, 'table_name': {'key': 'typeProperties.tableName', 'type': 'object'}, } def __init__( self, *, linked_service_name: "LinkedServiceReference", additional_properties: Optional[Dict[str, object]] = None, description: Optional[str] = None, structure: Optional[object] = None, schema: Optional[object] = None, parameters: Optional[Dict[str, "ParameterSpecification"]] = None, annotations: Optional[List[object]] = None, folder: Optional["DatasetFolder"] = None, table_name: Optional[object] = None, **kwargs ): super(OracleServiceCloudObjectDataset, self).__init__(additional_properties=additional_properties, description=description, structure=structure, schema=schema, linked_service_name=linked_service_name, parameters=parameters, annotations=annotations, folder=folder, **kwargs) self.type = 'OracleServiceCloudObject' # type: str self.table_name = table_name
[docs]class OracleServiceCloudSource(TabularSource): """A copy activity Oracle Service Cloud source. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Copy source type.Constant filled by server. :type type: str :param source_retry_count: Source retry count. Type: integer (or Expression with resultType integer). :type source_retry_count: object :param source_retry_wait: Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type source_retry_wait: object :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object :param query_timeout: Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type query_timeout: object :param additional_columns: Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects). :type additional_columns: list[~azure.synapse.artifacts.models.AdditionalColumns] :param query: A query to retrieve data from source. Type: string (or Expression with resultType string). :type query: object """ _validation = { 'type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, 'query': {'key': 'query', 'type': 'object'}, } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, source_retry_count: Optional[object] = None, source_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, query_timeout: Optional[object] = None, additional_columns: Optional[List["AdditionalColumns"]] = None, query: Optional[object] = None, **kwargs ): super(OracleServiceCloudSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, query_timeout=query_timeout, additional_columns=additional_columns, **kwargs) self.type = 'OracleServiceCloudSource' # type: str self.query = query
[docs]class OracleSink(CopySink): """A copy activity Oracle sink. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Copy sink type.Constant filled by server. :type type: str :param write_batch_size: Write batch size. Type: integer (or Expression with resultType integer), minimum: 0. :type write_batch_size: object :param write_batch_timeout: Write batch timeout. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type write_batch_timeout: object :param sink_retry_count: Sink retry count. Type: integer (or Expression with resultType integer). :type sink_retry_count: object :param sink_retry_wait: Sink retry wait. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type sink_retry_wait: object :param max_concurrent_connections: The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object :param pre_copy_script: SQL pre-copy script. Type: string (or Expression with resultType string). :type pre_copy_script: object """ _validation = { 'type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'write_batch_size': {'key': 'writeBatchSize', 'type': 'object'}, 'write_batch_timeout': {'key': 'writeBatchTimeout', 'type': 'object'}, 'sink_retry_count': {'key': 'sinkRetryCount', 'type': 'object'}, 'sink_retry_wait': {'key': 'sinkRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'pre_copy_script': {'key': 'preCopyScript', 'type': 'object'}, } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, write_batch_size: Optional[object] = None, write_batch_timeout: Optional[object] = None, sink_retry_count: Optional[object] = None, sink_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, pre_copy_script: Optional[object] = None, **kwargs ): super(OracleSink, self).__init__(additional_properties=additional_properties, write_batch_size=write_batch_size, write_batch_timeout=write_batch_timeout, sink_retry_count=sink_retry_count, sink_retry_wait=sink_retry_wait, max_concurrent_connections=max_concurrent_connections, **kwargs) self.type = 'OracleSink' # type: str self.pre_copy_script = pre_copy_script
[docs]class OracleSource(CopySource): """A copy activity Oracle source. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Copy source type.Constant filled by server. :type type: str :param source_retry_count: Source retry count. Type: integer (or Expression with resultType integer). :type source_retry_count: object :param source_retry_wait: Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type source_retry_wait: object :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object :param oracle_reader_query: Oracle reader query. Type: string (or Expression with resultType string). :type oracle_reader_query: object :param query_timeout: Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type query_timeout: object :param partition_option: The partition mechanism that will be used for Oracle read in parallel. Possible values include: "None", "PhysicalPartitionsOfTable", "DynamicRange". :type partition_option: str or ~azure.synapse.artifacts.models.OraclePartitionOption :param partition_settings: The settings that will be leveraged for Oracle source partitioning. :type partition_settings: ~azure.synapse.artifacts.models.OraclePartitionSettings :param additional_columns: Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects). :type additional_columns: list[~azure.synapse.artifacts.models.AdditionalColumns] """ _validation = { 'type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'oracle_reader_query': {'key': 'oracleReaderQuery', 'type': 'object'}, 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, 'partition_option': {'key': 'partitionOption', 'type': 'str'}, 'partition_settings': {'key': 'partitionSettings', 'type': 'OraclePartitionSettings'}, 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, source_retry_count: Optional[object] = None, source_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, oracle_reader_query: Optional[object] = None, query_timeout: Optional[object] = None, partition_option: Optional[Union[str, "OraclePartitionOption"]] = None, partition_settings: Optional["OraclePartitionSettings"] = None, additional_columns: Optional[List["AdditionalColumns"]] = None, **kwargs ): super(OracleSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, **kwargs) self.type = 'OracleSource' # type: str self.oracle_reader_query = oracle_reader_query self.query_timeout = query_timeout self.partition_option = partition_option self.partition_settings = partition_settings self.additional_columns = additional_columns
[docs]class OracleTableDataset(Dataset): """The on-premises Oracle database dataset. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Type of dataset.Constant filled by server. :type type: str :param description: Dataset description. :type description: str :param structure: Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. :type structure: object :param schema: Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. :type linked_service_name: ~azure.synapse.artifacts.models.LinkedServiceReference :param parameters: Parameters for dataset. :type parameters: dict[str, ~azure.synapse.artifacts.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. :type folder: ~azure.synapse.artifacts.models.DatasetFolder :param table_name: This property will be retired. Please consider using schema + table properties instead. :type table_name: object :param schema_type_properties_schema: The schema name of the on-premises Oracle database. Type: string (or Expression with resultType string). :type schema_type_properties_schema: object :param table: The table name of the on-premises Oracle database. Type: string (or Expression with resultType string). :type table: object """ _validation = { 'type': {'required': True}, 'linked_service_name': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'description': {'key': 'description', 'type': 'str'}, 'structure': {'key': 'structure', 'type': 'object'}, 'schema': {'key': 'schema', 'type': 'object'}, 'linked_service_name': {'key': 'linkedServiceName', 'type': 'LinkedServiceReference'}, 'parameters': {'key': 'parameters', 'type': '{ParameterSpecification}'}, 'annotations': {'key': 'annotations', 'type': '[object]'}, 'folder': {'key': 'folder', 'type': 'DatasetFolder'}, 'table_name': {'key': 'typeProperties.tableName', 'type': 'object'}, 'schema_type_properties_schema': {'key': 'typeProperties.schema', 'type': 'object'}, 'table': {'key': 'typeProperties.table', 'type': 'object'}, } def __init__( self, *, linked_service_name: "LinkedServiceReference", additional_properties: Optional[Dict[str, object]] = None, description: Optional[str] = None, structure: Optional[object] = None, schema: Optional[object] = None, parameters: Optional[Dict[str, "ParameterSpecification"]] = None, annotations: Optional[List[object]] = None, folder: Optional["DatasetFolder"] = None, table_name: Optional[object] = None, schema_type_properties_schema: Optional[object] = None, table: Optional[object] = None, **kwargs ): super(OracleTableDataset, self).__init__(additional_properties=additional_properties, description=description, structure=structure, schema=schema, linked_service_name=linked_service_name, parameters=parameters, annotations=annotations, folder=folder, **kwargs) self.type = 'OracleTable' # type: str self.table_name = table_name self.schema_type_properties_schema = schema_type_properties_schema self.table = table
[docs]class OrcDataset(Dataset): """ORC dataset. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Type of dataset.Constant filled by server. :type type: str :param description: Dataset description. :type description: str :param structure: Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. :type structure: object :param schema: Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. :type linked_service_name: ~azure.synapse.artifacts.models.LinkedServiceReference :param parameters: Parameters for dataset. :type parameters: dict[str, ~azure.synapse.artifacts.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. :type folder: ~azure.synapse.artifacts.models.DatasetFolder :param location: The location of the ORC data storage. :type location: ~azure.synapse.artifacts.models.DatasetLocation :param orc_compression_codec: Possible values include: "none", "zlib", "snappy", "lzo". :type orc_compression_codec: str or ~azure.synapse.artifacts.models.OrcCompressionCodec """ _validation = { 'type': {'required': True}, 'linked_service_name': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'description': {'key': 'description', 'type': 'str'}, 'structure': {'key': 'structure', 'type': 'object'}, 'schema': {'key': 'schema', 'type': 'object'}, 'linked_service_name': {'key': 'linkedServiceName', 'type': 'LinkedServiceReference'}, 'parameters': {'key': 'parameters', 'type': '{ParameterSpecification}'}, 'annotations': {'key': 'annotations', 'type': '[object]'}, 'folder': {'key': 'folder', 'type': 'DatasetFolder'}, 'location': {'key': 'typeProperties.location', 'type': 'DatasetLocation'}, 'orc_compression_codec': {'key': 'typeProperties.orcCompressionCodec', 'type': 'str'}, } def __init__( self, *, linked_service_name: "LinkedServiceReference", additional_properties: Optional[Dict[str, object]] = None, description: Optional[str] = None, structure: Optional[object] = None, schema: Optional[object] = None, parameters: Optional[Dict[str, "ParameterSpecification"]] = None, annotations: Optional[List[object]] = None, folder: Optional["DatasetFolder"] = None, location: Optional["DatasetLocation"] = None, orc_compression_codec: Optional[Union[str, "OrcCompressionCodec"]] = None, **kwargs ): super(OrcDataset, self).__init__(additional_properties=additional_properties, description=description, structure=structure, schema=schema, linked_service_name=linked_service_name, parameters=parameters, annotations=annotations, folder=folder, **kwargs) self.type = 'Orc' # type: str self.location = location self.orc_compression_codec = orc_compression_codec
[docs]class OrcFormat(DatasetStorageFormat): """The data stored in Optimized Row Columnar (ORC) format. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Type of dataset storage format.Constant filled by server. :type type: str :param serializer: Serializer. Type: string (or Expression with resultType string). :type serializer: object :param deserializer: Deserializer. Type: string (or Expression with resultType string). :type deserializer: object """ _validation = { 'type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'serializer': {'key': 'serializer', 'type': 'object'}, 'deserializer': {'key': 'deserializer', 'type': 'object'}, } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, serializer: Optional[object] = None, deserializer: Optional[object] = None, **kwargs ): super(OrcFormat, self).__init__(additional_properties=additional_properties, serializer=serializer, deserializer=deserializer, **kwargs) self.type = 'OrcFormat' # type: str
[docs]class OrcSink(CopySink): """A copy activity ORC sink. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Copy sink type.Constant filled by server. :type type: str :param write_batch_size: Write batch size. Type: integer (or Expression with resultType integer), minimum: 0. :type write_batch_size: object :param write_batch_timeout: Write batch timeout. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type write_batch_timeout: object :param sink_retry_count: Sink retry count. Type: integer (or Expression with resultType integer). :type sink_retry_count: object :param sink_retry_wait: Sink retry wait. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type sink_retry_wait: object :param max_concurrent_connections: The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object :param store_settings: ORC store settings. :type store_settings: ~azure.synapse.artifacts.models.StoreWriteSettings :param format_settings: ORC format settings. :type format_settings: ~azure.synapse.artifacts.models.OrcWriteSettings """ _validation = { 'type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'write_batch_size': {'key': 'writeBatchSize', 'type': 'object'}, 'write_batch_timeout': {'key': 'writeBatchTimeout', 'type': 'object'}, 'sink_retry_count': {'key': 'sinkRetryCount', 'type': 'object'}, 'sink_retry_wait': {'key': 'sinkRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'store_settings': {'key': 'storeSettings', 'type': 'StoreWriteSettings'}, 'format_settings': {'key': 'formatSettings', 'type': 'OrcWriteSettings'}, } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, write_batch_size: Optional[object] = None, write_batch_timeout: Optional[object] = None, sink_retry_count: Optional[object] = None, sink_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, store_settings: Optional["StoreWriteSettings"] = None, format_settings: Optional["OrcWriteSettings"] = None, **kwargs ): super(OrcSink, self).__init__(additional_properties=additional_properties, write_batch_size=write_batch_size, write_batch_timeout=write_batch_timeout, sink_retry_count=sink_retry_count, sink_retry_wait=sink_retry_wait, max_concurrent_connections=max_concurrent_connections, **kwargs) self.type = 'OrcSink' # type: str self.store_settings = store_settings self.format_settings = format_settings
[docs]class OrcSource(CopySource): """A copy activity ORC source. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Copy source type.Constant filled by server. :type type: str :param source_retry_count: Source retry count. Type: integer (or Expression with resultType integer). :type source_retry_count: object :param source_retry_wait: Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type source_retry_wait: object :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object :param store_settings: ORC store settings. :type store_settings: ~azure.synapse.artifacts.models.StoreReadSettings :param additional_columns: Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects). :type additional_columns: list[~azure.synapse.artifacts.models.AdditionalColumns] """ _validation = { 'type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'store_settings': {'key': 'storeSettings', 'type': 'StoreReadSettings'}, 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, source_retry_count: Optional[object] = None, source_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, store_settings: Optional["StoreReadSettings"] = None, additional_columns: Optional[List["AdditionalColumns"]] = None, **kwargs ): super(OrcSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, **kwargs) self.type = 'OrcSource' # type: str self.store_settings = store_settings self.additional_columns = additional_columns
[docs]class OrcWriteSettings(FormatWriteSettings): """Orc write settings. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. The write setting type.Constant filled by server. :type type: str :param max_rows_per_file: Limit the written file's row count to be smaller than or equal to the specified count. Type: integer (or Expression with resultType integer). :type max_rows_per_file: object :param file_name_prefix: Specifies the file name pattern :code:`<fileNamePrefix>`_:code:`<fileIndex>`.:code:`<fileExtension>` when copy from non-file based store without partitionOptions. Type: string (or Expression with resultType string). :type file_name_prefix: object """ _validation = { 'type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'max_rows_per_file': {'key': 'maxRowsPerFile', 'type': 'object'}, 'file_name_prefix': {'key': 'fileNamePrefix', 'type': 'object'}, } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, max_rows_per_file: Optional[object] = None, file_name_prefix: Optional[object] = None, **kwargs ): super(OrcWriteSettings, self).__init__(additional_properties=additional_properties, **kwargs) self.type = 'OrcWriteSettings' # type: str self.max_rows_per_file = max_rows_per_file self.file_name_prefix = file_name_prefix
[docs]class ParameterSpecification(msrest.serialization.Model): """Definition of a single parameter for an entity. All required parameters must be populated in order to send to Azure. :param type: Required. Parameter type. Possible values include: "Object", "String", "Int", "Float", "Bool", "Array", "SecureString". :type type: str or ~azure.synapse.artifacts.models.ParameterType :param default_value: Default value of parameter. :type default_value: object """ _validation = { 'type': {'required': True}, } _attribute_map = { 'type': {'key': 'type', 'type': 'str'}, 'default_value': {'key': 'defaultValue', 'type': 'object'}, } def __init__( self, *, type: Union[str, "ParameterType"], default_value: Optional[object] = None, **kwargs ): super(ParameterSpecification, self).__init__(**kwargs) self.type = type self.default_value = default_value
[docs]class ParquetDataset(Dataset): """Parquet dataset. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Type of dataset.Constant filled by server. :type type: str :param description: Dataset description. :type description: str :param structure: Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. :type structure: object :param schema: Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. :type linked_service_name: ~azure.synapse.artifacts.models.LinkedServiceReference :param parameters: Parameters for dataset. :type parameters: dict[str, ~azure.synapse.artifacts.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. :type folder: ~azure.synapse.artifacts.models.DatasetFolder :param location: The location of the parquet storage. :type location: ~azure.synapse.artifacts.models.DatasetLocation :param compression_codec: A string from ParquetCompressionCodecEnum or an expression. :type compression_codec: object """ _validation = { 'type': {'required': True}, 'linked_service_name': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'description': {'key': 'description', 'type': 'str'}, 'structure': {'key': 'structure', 'type': 'object'}, 'schema': {'key': 'schema', 'type': 'object'}, 'linked_service_name': {'key': 'linkedServiceName', 'type': 'LinkedServiceReference'}, 'parameters': {'key': 'parameters', 'type': '{ParameterSpecification}'}, 'annotations': {'key': 'annotations', 'type': '[object]'}, 'folder': {'key': 'folder', 'type': 'DatasetFolder'}, 'location': {'key': 'typeProperties.location', 'type': 'DatasetLocation'}, 'compression_codec': {'key': 'typeProperties.compressionCodec', 'type': 'object'}, } def __init__( self, *, linked_service_name: "LinkedServiceReference", additional_properties: Optional[Dict[str, object]] = None, description: Optional[str] = None, structure: Optional[object] = None, schema: Optional[object] = None, parameters: Optional[Dict[str, "ParameterSpecification"]] = None, annotations: Optional[List[object]] = None, folder: Optional["DatasetFolder"] = None, location: Optional["DatasetLocation"] = None, compression_codec: Optional[object] = None, **kwargs ): super(ParquetDataset, self).__init__(additional_properties=additional_properties, description=description, structure=structure, schema=schema, linked_service_name=linked_service_name, parameters=parameters, annotations=annotations, folder=folder, **kwargs) self.type = 'Parquet' # type: str self.location = location self.compression_codec = compression_codec
[docs]class ParquetFormat(DatasetStorageFormat): """The data stored in Parquet format. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Type of dataset storage format.Constant filled by server. :type type: str :param serializer: Serializer. Type: string (or Expression with resultType string). :type serializer: object :param deserializer: Deserializer. Type: string (or Expression with resultType string). :type deserializer: object """ _validation = { 'type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'serializer': {'key': 'serializer', 'type': 'object'}, 'deserializer': {'key': 'deserializer', 'type': 'object'}, } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, serializer: Optional[object] = None, deserializer: Optional[object] = None, **kwargs ): super(ParquetFormat, self).__init__(additional_properties=additional_properties, serializer=serializer, deserializer=deserializer, **kwargs) self.type = 'ParquetFormat' # type: str
[docs]class ParquetSink(CopySink): """A copy activity Parquet sink. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Copy sink type.Constant filled by server. :type type: str :param write_batch_size: Write batch size. Type: integer (or Expression with resultType integer), minimum: 0. :type write_batch_size: object :param write_batch_timeout: Write batch timeout. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type write_batch_timeout: object :param sink_retry_count: Sink retry count. Type: integer (or Expression with resultType integer). :type sink_retry_count: object :param sink_retry_wait: Sink retry wait. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type sink_retry_wait: object :param max_concurrent_connections: The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object :param store_settings: Parquet store settings. :type store_settings: ~azure.synapse.artifacts.models.StoreWriteSettings :param format_settings: Parquet format settings. :type format_settings: ~azure.synapse.artifacts.models.ParquetWriteSettings """ _validation = { 'type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'write_batch_size': {'key': 'writeBatchSize', 'type': 'object'}, 'write_batch_timeout': {'key': 'writeBatchTimeout', 'type': 'object'}, 'sink_retry_count': {'key': 'sinkRetryCount', 'type': 'object'}, 'sink_retry_wait': {'key': 'sinkRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'store_settings': {'key': 'storeSettings', 'type': 'StoreWriteSettings'}, 'format_settings': {'key': 'formatSettings', 'type': 'ParquetWriteSettings'}, } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, write_batch_size: Optional[object] = None, write_batch_timeout: Optional[object] = None, sink_retry_count: Optional[object] = None, sink_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, store_settings: Optional["StoreWriteSettings"] = None, format_settings: Optional["ParquetWriteSettings"] = None, **kwargs ): super(ParquetSink, self).__init__(additional_properties=additional_properties, write_batch_size=write_batch_size, write_batch_timeout=write_batch_timeout, sink_retry_count=sink_retry_count, sink_retry_wait=sink_retry_wait, max_concurrent_connections=max_concurrent_connections, **kwargs) self.type = 'ParquetSink' # type: str self.store_settings = store_settings self.format_settings = format_settings
[docs]class ParquetSource(CopySource): """A copy activity Parquet source. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Copy source type.Constant filled by server. :type type: str :param source_retry_count: Source retry count. Type: integer (or Expression with resultType integer). :type source_retry_count: object :param source_retry_wait: Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type source_retry_wait: object :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object :param store_settings: Parquet store settings. :type store_settings: ~azure.synapse.artifacts.models.StoreReadSettings :param additional_columns: Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects). :type additional_columns: list[~azure.synapse.artifacts.models.AdditionalColumns] """ _validation = { 'type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'store_settings': {'key': 'storeSettings', 'type': 'StoreReadSettings'}, 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, source_retry_count: Optional[object] = None, source_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, store_settings: Optional["StoreReadSettings"] = None, additional_columns: Optional[List["AdditionalColumns"]] = None, **kwargs ): super(ParquetSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, **kwargs) self.type = 'ParquetSource' # type: str self.store_settings = store_settings self.additional_columns = additional_columns
[docs]class ParquetWriteSettings(FormatWriteSettings): """Parquet write settings. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. The write setting type.Constant filled by server. :type type: str :param max_rows_per_file: Limit the written file's row count to be smaller than or equal to the specified count. Type: integer (or Expression with resultType integer). :type max_rows_per_file: object :param file_name_prefix: Specifies the file name pattern :code:`<fileNamePrefix>`_:code:`<fileIndex>`.:code:`<fileExtension>` when copy from non-file based store without partitionOptions. Type: string (or Expression with resultType string). :type file_name_prefix: object """ _validation = { 'type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'max_rows_per_file': {'key': 'maxRowsPerFile', 'type': 'object'}, 'file_name_prefix': {'key': 'fileNamePrefix', 'type': 'object'}, } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, max_rows_per_file: Optional[object] = None, file_name_prefix: Optional[object] = None, **kwargs ): super(ParquetWriteSettings, self).__init__(additional_properties=additional_properties, **kwargs) self.type = 'ParquetWriteSettings' # type: str self.max_rows_per_file = max_rows_per_file self.file_name_prefix = file_name_prefix
[docs]class PaypalLinkedService(LinkedService): """Paypal Service linked service. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. :type connect_via: ~azure.synapse.artifacts.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. :type parameters: dict[str, ~azure.synapse.artifacts.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param host: Required. The URL of the PayPal instance. (i.e. api.sandbox.paypal.com). :type host: object :param client_id: Required. The client ID associated with your PayPal application. :type client_id: object :param client_secret: The client secret associated with your PayPal application. :type client_secret: ~azure.synapse.artifacts.models.SecretBase :param use_encrypted_endpoints: Specifies whether the data source endpoints are encrypted using HTTPS. The default value is true. :type use_encrypted_endpoints: object :param use_host_verification: Specifies whether to require the host name in the server's certificate to match the host name of the server when connecting over SSL. The default value is true. :type use_host_verification: object :param use_peer_verification: Specifies whether to verify the identity of the server when connecting over SSL. The default value is true. :type use_peer_verification: 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). :type encrypted_credential: object """ _validation = { 'type': {'required': True}, 'host': {'required': True}, 'client_id': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'connect_via': {'key': 'connectVia', 'type': 'IntegrationRuntimeReference'}, 'description': {'key': 'description', 'type': 'str'}, 'parameters': {'key': 'parameters', 'type': '{ParameterSpecification}'}, 'annotations': {'key': 'annotations', 'type': '[object]'}, 'host': {'key': 'typeProperties.host', 'type': 'object'}, 'client_id': {'key': 'typeProperties.clientId', 'type': 'object'}, 'client_secret': {'key': 'typeProperties.clientSecret', 'type': 'SecretBase'}, 'use_encrypted_endpoints': {'key': 'typeProperties.useEncryptedEndpoints', 'type': 'object'}, 'use_host_verification': {'key': 'typeProperties.useHostVerification', 'type': 'object'}, 'use_peer_verification': {'key': 'typeProperties.usePeerVerification', 'type': 'object'}, 'encrypted_credential': {'key': 'typeProperties.encryptedCredential', 'type': 'object'}, } def __init__( self, *, host: object, client_id: object, additional_properties: Optional[Dict[str, object]] = None, connect_via: Optional["IntegrationRuntimeReference"] = None, description: Optional[str] = None, parameters: Optional[Dict[str, "ParameterSpecification"]] = None, annotations: Optional[List[object]] = None, client_secret: Optional["SecretBase"] = None, use_encrypted_endpoints: Optional[object] = None, use_host_verification: Optional[object] = None, use_peer_verification: Optional[object] = None, encrypted_credential: Optional[object] = None, **kwargs ): super(PaypalLinkedService, self).__init__(additional_properties=additional_properties, connect_via=connect_via, description=description, parameters=parameters, annotations=annotations, **kwargs) self.type = 'Paypal' # type: str self.host = host self.client_id = client_id self.client_secret = client_secret self.use_encrypted_endpoints = use_encrypted_endpoints self.use_host_verification = use_host_verification self.use_peer_verification = use_peer_verification self.encrypted_credential = encrypted_credential
[docs]class PaypalObjectDataset(Dataset): """Paypal Service dataset. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Type of dataset.Constant filled by server. :type type: str :param description: Dataset description. :type description: str :param structure: Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. :type structure: object :param schema: Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. :type linked_service_name: ~azure.synapse.artifacts.models.LinkedServiceReference :param parameters: Parameters for dataset. :type parameters: dict[str, ~azure.synapse.artifacts.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. :type folder: ~azure.synapse.artifacts.models.DatasetFolder :param table_name: The table name. Type: string (or Expression with resultType string). :type table_name: object """ _validation = { 'type': {'required': True}, 'linked_service_name': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'description': {'key': 'description', 'type': 'str'}, 'structure': {'key': 'structure', 'type': 'object'}, 'schema': {'key': 'schema', 'type': 'object'}, 'linked_service_name': {'key': 'linkedServiceName', 'type': 'LinkedServiceReference'}, 'parameters': {'key': 'parameters', 'type': '{ParameterSpecification}'}, 'annotations': {'key': 'annotations', 'type': '[object]'}, 'folder': {'key': 'folder', 'type': 'DatasetFolder'}, 'table_name': {'key': 'typeProperties.tableName', 'type': 'object'}, } def __init__( self, *, linked_service_name: "LinkedServiceReference", additional_properties: Optional[Dict[str, object]] = None, description: Optional[str] = None, structure: Optional[object] = None, schema: Optional[object] = None, parameters: Optional[Dict[str, "ParameterSpecification"]] = None, annotations: Optional[List[object]] = None, folder: Optional["DatasetFolder"] = None, table_name: Optional[object] = None, **kwargs ): super(PaypalObjectDataset, self).__init__(additional_properties=additional_properties, description=description, structure=structure, schema=schema, linked_service_name=linked_service_name, parameters=parameters, annotations=annotations, folder=folder, **kwargs) self.type = 'PaypalObject' # type: str self.table_name = table_name
[docs]class PaypalSource(TabularSource): """A copy activity Paypal Service source. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Copy source type.Constant filled by server. :type type: str :param source_retry_count: Source retry count. Type: integer (or Expression with resultType integer). :type source_retry_count: object :param source_retry_wait: Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type source_retry_wait: object :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object :param query_timeout: Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type query_timeout: object :param additional_columns: Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects). :type additional_columns: list[~azure.synapse.artifacts.models.AdditionalColumns] :param query: A query to retrieve data from source. Type: string (or Expression with resultType string). :type query: object """ _validation = { 'type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, 'query': {'key': 'query', 'type': 'object'}, } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, source_retry_count: Optional[object] = None, source_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, query_timeout: Optional[object] = None, additional_columns: Optional[List["AdditionalColumns"]] = None, query: Optional[object] = None, **kwargs ): super(PaypalSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, query_timeout=query_timeout, additional_columns=additional_columns, **kwargs) self.type = 'PaypalSource' # type: str self.query = query
[docs]class PhoenixLinkedService(LinkedService): """Phoenix server linked service. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. :type connect_via: ~azure.synapse.artifacts.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. :type parameters: dict[str, ~azure.synapse.artifacts.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param host: Required. The IP address or host name of the Phoenix server. (i.e. 192.168.222.160). :type host: object :param port: The TCP port that the Phoenix server uses to listen for client connections. The default value is 8765. :type port: object :param http_path: The partial URL corresponding to the Phoenix server. (i.e. /gateway/sandbox/phoenix/version). The default value is hbasephoenix if using WindowsAzureHDInsightService. :type http_path: object :param authentication_type: Required. The authentication mechanism used to connect to the Phoenix server. Possible values include: "Anonymous", "UsernameAndPassword", "WindowsAzureHDInsightService". :type authentication_type: str or ~azure.synapse.artifacts.models.PhoenixAuthenticationType :param username: The user name used to connect to the Phoenix server. :type username: object :param password: The password corresponding to the user name. :type password: ~azure.synapse.artifacts.models.SecretBase :param enable_ssl: Specifies whether the connections to the server are encrypted using SSL. The default value is false. :type enable_ssl: object :param trusted_cert_path: The full path of the .pem file containing trusted CA certificates for verifying the server when connecting over SSL. This property can only be set when using SSL on self-hosted IR. The default value is the cacerts.pem file installed with the IR. :type trusted_cert_path: object :param use_system_trust_store: Specifies whether to use a CA certificate from the system trust store or from a specified PEM file. The default value is false. :type use_system_trust_store: object :param allow_host_name_cn_mismatch: Specifies whether to require a CA-issued SSL certificate name to match the host name of the server when connecting over SSL. The default value is false. :type allow_host_name_cn_mismatch: object :param allow_self_signed_server_cert: Specifies whether to allow self-signed certificates from the server. The default value is false. :type allow_self_signed_server_cert: 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). :type encrypted_credential: object """ _validation = { 'type': {'required': True}, 'host': {'required': True}, 'authentication_type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'connect_via': {'key': 'connectVia', 'type': 'IntegrationRuntimeReference'}, 'description': {'key': 'description', 'type': 'str'}, 'parameters': {'key': 'parameters', 'type': '{ParameterSpecification}'}, 'annotations': {'key': 'annotations', 'type': '[object]'}, 'host': {'key': 'typeProperties.host', 'type': 'object'}, 'port': {'key': 'typeProperties.port', 'type': 'object'}, 'http_path': {'key': 'typeProperties.httpPath', 'type': 'object'}, 'authentication_type': {'key': 'typeProperties.authenticationType', 'type': 'str'}, 'username': {'key': 'typeProperties.username', 'type': 'object'}, 'password': {'key': 'typeProperties.password', 'type': 'SecretBase'}, 'enable_ssl': {'key': 'typeProperties.enableSsl', 'type': 'object'}, 'trusted_cert_path': {'key': 'typeProperties.trustedCertPath', 'type': 'object'}, 'use_system_trust_store': {'key': 'typeProperties.useSystemTrustStore', 'type': 'object'}, 'allow_host_name_cn_mismatch': {'key': 'typeProperties.allowHostNameCNMismatch', 'type': 'object'}, 'allow_self_signed_server_cert': {'key': 'typeProperties.allowSelfSignedServerCert', 'type': 'object'}, 'encrypted_credential': {'key': 'typeProperties.encryptedCredential', 'type': 'object'}, } def __init__( self, *, host: object, authentication_type: Union[str, "PhoenixAuthenticationType"], additional_properties: Optional[Dict[str, object]] = None, connect_via: Optional["IntegrationRuntimeReference"] = None, description: Optional[str] = None, parameters: Optional[Dict[str, "ParameterSpecification"]] = None, annotations: Optional[List[object]] = None, port: Optional[object] = None, http_path: Optional[object] = None, username: Optional[object] = None, password: Optional["SecretBase"] = None, enable_ssl: Optional[object] = None, trusted_cert_path: Optional[object] = None, use_system_trust_store: Optional[object] = None, allow_host_name_cn_mismatch: Optional[object] = None, allow_self_signed_server_cert: Optional[object] = None, encrypted_credential: Optional[object] = None, **kwargs ): super(PhoenixLinkedService, self).__init__(additional_properties=additional_properties, connect_via=connect_via, description=description, parameters=parameters, annotations=annotations, **kwargs) self.type = 'Phoenix' # type: str self.host = host self.port = port self.http_path = http_path self.authentication_type = authentication_type self.username = username self.password = password self.enable_ssl = enable_ssl self.trusted_cert_path = trusted_cert_path self.use_system_trust_store = use_system_trust_store self.allow_host_name_cn_mismatch = allow_host_name_cn_mismatch self.allow_self_signed_server_cert = allow_self_signed_server_cert self.encrypted_credential = encrypted_credential
[docs]class PhoenixObjectDataset(Dataset): """Phoenix server dataset. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Type of dataset.Constant filled by server. :type type: str :param description: Dataset description. :type description: str :param structure: Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. :type structure: object :param schema: Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. :type linked_service_name: ~azure.synapse.artifacts.models.LinkedServiceReference :param parameters: Parameters for dataset. :type parameters: dict[str, ~azure.synapse.artifacts.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. :type folder: ~azure.synapse.artifacts.models.DatasetFolder :param table_name: This property will be retired. Please consider using schema + table properties instead. :type table_name: object :param table: The table name of the Phoenix. Type: string (or Expression with resultType string). :type table: object :param schema_type_properties_schema: The schema name of the Phoenix. Type: string (or Expression with resultType string). :type schema_type_properties_schema: object """ _validation = { 'type': {'required': True}, 'linked_service_name': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'description': {'key': 'description', 'type': 'str'}, 'structure': {'key': 'structure', 'type': 'object'}, 'schema': {'key': 'schema', 'type': 'object'}, 'linked_service_name': {'key': 'linkedServiceName', 'type': 'LinkedServiceReference'}, 'parameters': {'key': 'parameters', 'type': '{ParameterSpecification}'}, 'annotations': {'key': 'annotations', 'type': '[object]'}, 'folder': {'key': 'folder', 'type': 'DatasetFolder'}, 'table_name': {'key': 'typeProperties.tableName', 'type': 'object'}, 'table': {'key': 'typeProperties.table', 'type': 'object'}, 'schema_type_properties_schema': {'key': 'typeProperties.schema', 'type': 'object'}, } def __init__( self, *, linked_service_name: "LinkedServiceReference", additional_properties: Optional[Dict[str, object]] = None, description: Optional[str] = None, structure: Optional[object] = None, schema: Optional[object] = None, parameters: Optional[Dict[str, "ParameterSpecification"]] = None, annotations: Optional[List[object]] = None, folder: Optional["DatasetFolder"] = None, table_name: Optional[object] = None, table: Optional[object] = None, schema_type_properties_schema: Optional[object] = None, **kwargs ): super(PhoenixObjectDataset, self).__init__(additional_properties=additional_properties, description=description, structure=structure, schema=schema, linked_service_name=linked_service_name, parameters=parameters, annotations=annotations, folder=folder, **kwargs) self.type = 'PhoenixObject' # type: str self.table_name = table_name self.table = table self.schema_type_properties_schema = schema_type_properties_schema
[docs]class PhoenixSource(TabularSource): """A copy activity Phoenix server source. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Copy source type.Constant filled by server. :type type: str :param source_retry_count: Source retry count. Type: integer (or Expression with resultType integer). :type source_retry_count: object :param source_retry_wait: Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type source_retry_wait: object :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object :param query_timeout: Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type query_timeout: object :param additional_columns: Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects). :type additional_columns: list[~azure.synapse.artifacts.models.AdditionalColumns] :param query: A query to retrieve data from source. Type: string (or Expression with resultType string). :type query: object """ _validation = { 'type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, 'query': {'key': 'query', 'type': 'object'}, } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, source_retry_count: Optional[object] = None, source_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, query_timeout: Optional[object] = None, additional_columns: Optional[List["AdditionalColumns"]] = None, query: Optional[object] = None, **kwargs ): super(PhoenixSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, query_timeout=query_timeout, additional_columns=additional_columns, **kwargs) self.type = 'PhoenixSource' # type: str self.query = query
[docs]class PipelineFolder(msrest.serialization.Model): """The folder that this Pipeline is in. If not specified, Pipeline will appear at the root level. :param name: The name of the folder that this Pipeline is in. :type name: str """ _attribute_map = { 'name': {'key': 'name', 'type': 'str'}, } def __init__( self, *, name: Optional[str] = None, **kwargs ): super(PipelineFolder, self).__init__(**kwargs) self.name = name
[docs]class PipelineListResponse(msrest.serialization.Model): """A list of pipeline resources. All required parameters must be populated in order to send to Azure. :param value: Required. List of pipelines. :type value: list[~azure.synapse.artifacts.models.PipelineResource] :param next_link: The link to the next page of results, if any remaining results exist. :type next_link: str """ _validation = { 'value': {'required': True}, } _attribute_map = { 'value': {'key': 'value', 'type': '[PipelineResource]'}, 'next_link': {'key': 'nextLink', 'type': 'str'}, } def __init__( self, *, value: List["PipelineResource"], next_link: Optional[str] = None, **kwargs ): super(PipelineListResponse, self).__init__(**kwargs) self.value = value self.next_link = next_link
[docs]class PipelineReference(msrest.serialization.Model): """Pipeline reference type. All required parameters must be populated in order to send to Azure. :param type: Required. Pipeline reference type. Possible values include: "PipelineReference". :type type: str or ~azure.synapse.artifacts.models.PipelineReferenceType :param reference_name: Required. Reference pipeline name. :type reference_name: str :param name: Reference name. :type name: str """ _validation = { 'type': {'required': True}, 'reference_name': {'required': True}, } _attribute_map = { 'type': {'key': 'type', 'type': 'str'}, 'reference_name': {'key': 'referenceName', 'type': 'str'}, 'name': {'key': 'name', 'type': 'str'}, } def __init__( self, *, type: Union[str, "PipelineReferenceType"], reference_name: str, name: Optional[str] = None, **kwargs ): super(PipelineReference, self).__init__(**kwargs) self.type = type self.reference_name = reference_name self.name = name
[docs]class PipelineResource(SubResource): """Pipeline resource type. Variables are only populated by the server, and will be ignored when sending a request. :ivar id: Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. :vartype id: str :ivar name: The name of the resource. :vartype name: str :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts". :vartype type: str :ivar etag: Resource Etag. :vartype etag: str :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param description: The description of the pipeline. :type description: str :param activities: List of activities in pipeline. :type activities: list[~azure.synapse.artifacts.models.Activity] :param parameters: List of parameters for pipeline. :type parameters: dict[str, ~azure.synapse.artifacts.models.ParameterSpecification] :param variables: List of variables for pipeline. :type variables: dict[str, ~azure.synapse.artifacts.models.VariableSpecification] :param concurrency: The max number of concurrent runs for the pipeline. :type concurrency: int :param annotations: List of tags that can be used for describing the Pipeline. :type annotations: list[object] :param run_dimensions: Dimensions emitted by Pipeline. :type run_dimensions: dict[str, object] :param folder: The folder that this Pipeline is in. If not specified, Pipeline will appear at the root level. :type folder: ~azure.synapse.artifacts.models.PipelineFolder """ _validation = { 'id': {'readonly': True}, 'name': {'readonly': True}, 'type': {'readonly': True}, 'etag': {'readonly': True}, 'concurrency': {'minimum': 1}, } _attribute_map = { 'id': {'key': 'id', 'type': 'str'}, 'name': {'key': 'name', 'type': 'str'}, 'type': {'key': 'type', 'type': 'str'}, 'etag': {'key': 'etag', 'type': 'str'}, 'additional_properties': {'key': '', 'type': '{object}'}, 'description': {'key': 'properties.description', 'type': 'str'}, 'activities': {'key': 'properties.activities', 'type': '[Activity]'}, 'parameters': {'key': 'properties.parameters', 'type': '{ParameterSpecification}'}, 'variables': {'key': 'properties.variables', 'type': '{VariableSpecification}'}, 'concurrency': {'key': 'properties.concurrency', 'type': 'int'}, 'annotations': {'key': 'properties.annotations', 'type': '[object]'}, 'run_dimensions': {'key': 'properties.runDimensions', 'type': '{object}'}, 'folder': {'key': 'properties.folder', 'type': 'PipelineFolder'}, } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, description: Optional[str] = None, activities: Optional[List["Activity"]] = None, parameters: Optional[Dict[str, "ParameterSpecification"]] = None, variables: Optional[Dict[str, "VariableSpecification"]] = None, concurrency: Optional[int] = None, annotations: Optional[List[object]] = None, run_dimensions: Optional[Dict[str, object]] = None, folder: Optional["PipelineFolder"] = None, **kwargs ): super(PipelineResource, self).__init__(**kwargs) self.additional_properties = additional_properties self.description = description self.activities = activities self.parameters = parameters self.variables = variables self.concurrency = concurrency self.annotations = annotations self.run_dimensions = run_dimensions self.folder = folder
[docs]class PipelineRun(msrest.serialization.Model): """Information about a pipeline run. Variables are only populated by the server, and will be ignored when sending a request. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :ivar run_id: Identifier of a run. :vartype run_id: str :ivar run_group_id: Identifier that correlates all the recovery runs of a pipeline run. :vartype run_group_id: str :ivar is_latest: Indicates if the recovered pipeline run is the latest in its group. :vartype is_latest: bool :ivar pipeline_name: The pipeline name. :vartype pipeline_name: str :ivar parameters: The full or partial list of parameter name, value pair used in the pipeline run. :vartype parameters: dict[str, str] :ivar invoked_by: Entity that started the pipeline run. :vartype invoked_by: ~azure.synapse.artifacts.models.PipelineRunInvokedBy :ivar last_updated: The last updated timestamp for the pipeline run event in ISO8601 format. :vartype last_updated: ~datetime.datetime :ivar run_start: The start time of a pipeline run in ISO8601 format. :vartype run_start: ~datetime.datetime :ivar run_end: The end time of a pipeline run in ISO8601 format. :vartype run_end: ~datetime.datetime :ivar duration_in_ms: The duration of a pipeline run. :vartype duration_in_ms: int :ivar status: The status of a pipeline run. :vartype status: str :ivar message: The message from a pipeline run. :vartype message: str """ _validation = { 'run_id': {'readonly': True}, 'run_group_id': {'readonly': True}, 'is_latest': {'readonly': True}, 'pipeline_name': {'readonly': True}, 'parameters': {'readonly': True}, 'invoked_by': {'readonly': True}, 'last_updated': {'readonly': True}, 'run_start': {'readonly': True}, 'run_end': {'readonly': True}, 'duration_in_ms': {'readonly': True}, 'status': {'readonly': True}, 'message': {'readonly': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'run_id': {'key': 'runId', 'type': 'str'}, 'run_group_id': {'key': 'runGroupId', 'type': 'str'}, 'is_latest': {'key': 'isLatest', 'type': 'bool'}, 'pipeline_name': {'key': 'pipelineName', 'type': 'str'}, 'parameters': {'key': 'parameters', 'type': '{str}'}, 'invoked_by': {'key': 'invokedBy', 'type': 'PipelineRunInvokedBy'}, 'last_updated': {'key': 'lastUpdated', 'type': 'iso-8601'}, 'run_start': {'key': 'runStart', 'type': 'iso-8601'}, 'run_end': {'key': 'runEnd', 'type': 'iso-8601'}, 'duration_in_ms': {'key': 'durationInMs', 'type': 'int'}, 'status': {'key': 'status', 'type': 'str'}, 'message': {'key': 'message', 'type': 'str'}, } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, **kwargs ): super(PipelineRun, self).__init__(**kwargs) self.additional_properties = additional_properties self.run_id = None self.run_group_id = None self.is_latest = None self.pipeline_name = None self.parameters = None self.invoked_by = None self.last_updated = None self.run_start = None self.run_end = None self.duration_in_ms = None self.status = None self.message = None
[docs]class PipelineRunInvokedBy(msrest.serialization.Model): """Provides entity name and id that started the pipeline run. Variables are only populated by the server, and will be ignored when sending a request. :ivar name: Name of the entity that started the pipeline run. :vartype name: str :ivar id: The ID of the entity that started the run. :vartype id: str :ivar invoked_by_type: The type of the entity that started the run. :vartype invoked_by_type: str """ _validation = { 'name': {'readonly': True}, 'id': {'readonly': True}, 'invoked_by_type': {'readonly': True}, } _attribute_map = { 'name': {'key': 'name', 'type': 'str'}, 'id': {'key': 'id', 'type': 'str'}, 'invoked_by_type': {'key': 'invokedByType', 'type': 'str'}, } def __init__( self, **kwargs ): super(PipelineRunInvokedBy, self).__init__(**kwargs) self.name = None self.id = None self.invoked_by_type = None
[docs]class PipelineRunsQueryResponse(msrest.serialization.Model): """A list pipeline runs. All required parameters must be populated in order to send to Azure. :param value: Required. List of pipeline runs. :type value: list[~azure.synapse.artifacts.models.PipelineRun] :param continuation_token: The continuation token for getting the next page of results, if any remaining results exist, null otherwise. :type continuation_token: str """ _validation = { 'value': {'required': True}, } _attribute_map = { 'value': {'key': 'value', 'type': '[PipelineRun]'}, 'continuation_token': {'key': 'continuationToken', 'type': 'str'}, } def __init__( self, *, value: List["PipelineRun"], continuation_token: Optional[str] = None, **kwargs ): super(PipelineRunsQueryResponse, self).__init__(**kwargs) self.value = value self.continuation_token = continuation_token
[docs]class PolybaseSettings(msrest.serialization.Model): """PolyBase settings. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param reject_type: Reject type. Possible values include: "value", "percentage". :type reject_type: str or ~azure.synapse.artifacts.models.PolybaseSettingsRejectType :param reject_value: Specifies the value or the percentage of rows that can be rejected before the query fails. Type: number (or Expression with resultType number), minimum: 0. :type reject_value: object :param reject_sample_value: Determines the number of rows to attempt to retrieve before the PolyBase recalculates the percentage of rejected rows. Type: integer (or Expression with resultType integer), minimum: 0. :type reject_sample_value: object :param use_type_default: Specifies how to handle missing values in delimited text files when PolyBase retrieves data from the text file. Type: boolean (or Expression with resultType boolean). :type use_type_default: object """ _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'reject_type': {'key': 'rejectType', 'type': 'str'}, 'reject_value': {'key': 'rejectValue', 'type': 'object'}, 'reject_sample_value': {'key': 'rejectSampleValue', 'type': 'object'}, 'use_type_default': {'key': 'useTypeDefault', 'type': 'object'}, } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, reject_type: Optional[Union[str, "PolybaseSettingsRejectType"]] = None, reject_value: Optional[object] = None, reject_sample_value: Optional[object] = None, use_type_default: Optional[object] = None, **kwargs ): super(PolybaseSettings, self).__init__(**kwargs) self.additional_properties = additional_properties self.reject_type = reject_type self.reject_value = reject_value self.reject_sample_value = reject_sample_value self.use_type_default = use_type_default
[docs]class PostgreSqlLinkedService(LinkedService): """Linked service for PostgreSQL data source. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. :type connect_via: ~azure.synapse.artifacts.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. :type parameters: dict[str, ~azure.synapse.artifacts.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param connection_string: Required. The connection string. :type connection_string: object :param password: The Azure key vault secret reference of password in connection string. :type password: ~azure.synapse.artifacts.models.AzureKeyVaultSecretReference :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). :type encrypted_credential: object """ _validation = { 'type': {'required': True}, 'connection_string': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'connect_via': {'key': 'connectVia', 'type': 'IntegrationRuntimeReference'}, 'description': {'key': 'description', 'type': 'str'}, 'parameters': {'key': 'parameters', 'type': '{ParameterSpecification}'}, 'annotations': {'key': 'annotations', 'type': '[object]'}, 'connection_string': {'key': 'typeProperties.connectionString', 'type': 'object'}, 'password': {'key': 'typeProperties.password', 'type': 'AzureKeyVaultSecretReference'}, 'encrypted_credential': {'key': 'typeProperties.encryptedCredential', 'type': 'object'}, } def __init__( self, *, connection_string: object, additional_properties: Optional[Dict[str, object]] = None, connect_via: Optional["IntegrationRuntimeReference"] = None, description: Optional[str] = None, parameters: Optional[Dict[str, "ParameterSpecification"]] = None, annotations: Optional[List[object]] = None, password: Optional["AzureKeyVaultSecretReference"] = None, encrypted_credential: Optional[object] = None, **kwargs ): super(PostgreSqlLinkedService, self).__init__(additional_properties=additional_properties, connect_via=connect_via, description=description, parameters=parameters, annotations=annotations, **kwargs) self.type = 'PostgreSql' # type: str self.connection_string = connection_string self.password = password self.encrypted_credential = encrypted_credential
[docs]class PostgreSqlSource(TabularSource): """A copy activity source for PostgreSQL databases. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Copy source type.Constant filled by server. :type type: str :param source_retry_count: Source retry count. Type: integer (or Expression with resultType integer). :type source_retry_count: object :param source_retry_wait: Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type source_retry_wait: object :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object :param query_timeout: Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type query_timeout: object :param additional_columns: Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects). :type additional_columns: list[~azure.synapse.artifacts.models.AdditionalColumns] :param query: Database query. Type: string (or Expression with resultType string). :type query: object """ _validation = { 'type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, 'query': {'key': 'query', 'type': 'object'}, } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, source_retry_count: Optional[object] = None, source_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, query_timeout: Optional[object] = None, additional_columns: Optional[List["AdditionalColumns"]] = None, query: Optional[object] = None, **kwargs ): super(PostgreSqlSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, query_timeout=query_timeout, additional_columns=additional_columns, **kwargs) self.type = 'PostgreSqlSource' # type: str self.query = query
[docs]class PostgreSqlTableDataset(Dataset): """The PostgreSQL table dataset. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Type of dataset.Constant filled by server. :type type: str :param description: Dataset description. :type description: str :param structure: Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. :type structure: object :param schema: Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. :type linked_service_name: ~azure.synapse.artifacts.models.LinkedServiceReference :param parameters: Parameters for dataset. :type parameters: dict[str, ~azure.synapse.artifacts.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. :type folder: ~azure.synapse.artifacts.models.DatasetFolder :param table_name: This property will be retired. Please consider using schema + table properties instead. :type table_name: object :param table: The PostgreSQL table name. Type: string (or Expression with resultType string). :type table: object :param schema_type_properties_schema: The PostgreSQL schema name. Type: string (or Expression with resultType string). :type schema_type_properties_schema: object """ _validation = { 'type': {'required': True}, 'linked_service_name': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'description': {'key': 'description', 'type': 'str'}, 'structure': {'key': 'structure', 'type': 'object'}, 'schema': {'key': 'schema', 'type': 'object'}, 'linked_service_name': {'key': 'linkedServiceName', 'type': 'LinkedServiceReference'}, 'parameters': {'key': 'parameters', 'type': '{ParameterSpecification}'}, 'annotations': {'key': 'annotations', 'type': '[object]'}, 'folder': {'key': 'folder', 'type': 'DatasetFolder'}, 'table_name': {'key': 'typeProperties.tableName', 'type': 'object'}, 'table': {'key': 'typeProperties.table', 'type': 'object'}, 'schema_type_properties_schema': {'key': 'typeProperties.schema', 'type': 'object'}, } def __init__( self, *, linked_service_name: "LinkedServiceReference", additional_properties: Optional[Dict[str, object]] = None, description: Optional[str] = None, structure: Optional[object] = None, schema: Optional[object] = None, parameters: Optional[Dict[str, "ParameterSpecification"]] = None, annotations: Optional[List[object]] = None, folder: Optional["DatasetFolder"] = None, table_name: Optional[object] = None, table: Optional[object] = None, schema_type_properties_schema: Optional[object] = None, **kwargs ): super(PostgreSqlTableDataset, self).__init__(additional_properties=additional_properties, description=description, structure=structure, schema=schema, linked_service_name=linked_service_name, parameters=parameters, annotations=annotations, folder=folder, **kwargs) self.type = 'PostgreSqlTable' # type: str self.table_name = table_name self.table = table self.schema_type_properties_schema = schema_type_properties_schema
[docs]class PrestoLinkedService(LinkedService): """Presto server linked service. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. :type connect_via: ~azure.synapse.artifacts.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. :type parameters: dict[str, ~azure.synapse.artifacts.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param host: Required. The IP address or host name of the Presto server. (i.e. 192.168.222.160). :type host: object :param server_version: Required. The version of the Presto server. (i.e. 0.148-t). :type server_version: object :param catalog: Required. The catalog context for all request against the server. :type catalog: object :param port: The TCP port that the Presto server uses to listen for client connections. The default value is 8080. :type port: object :param authentication_type: Required. The authentication mechanism used to connect to the Presto server. Possible values include: "Anonymous", "LDAP". :type authentication_type: str or ~azure.synapse.artifacts.models.PrestoAuthenticationType :param username: The user name used to connect to the Presto server. :type username: object :param password: The password corresponding to the user name. :type password: ~azure.synapse.artifacts.models.SecretBase :param enable_ssl: Specifies whether the connections to the server are encrypted using SSL. The default value is false. :type enable_ssl: object :param trusted_cert_path: The full path of the .pem file containing trusted CA certificates for verifying the server when connecting over SSL. This property can only be set when using SSL on self-hosted IR. The default value is the cacerts.pem file installed with the IR. :type trusted_cert_path: object :param use_system_trust_store: Specifies whether to use a CA certificate from the system trust store or from a specified PEM file. The default value is false. :type use_system_trust_store: object :param allow_host_name_cn_mismatch: Specifies whether to require a CA-issued SSL certificate name to match the host name of the server when connecting over SSL. The default value is false. :type allow_host_name_cn_mismatch: object :param allow_self_signed_server_cert: Specifies whether to allow self-signed certificates from the server. The default value is false. :type allow_self_signed_server_cert: object :param time_zone_id: The local time zone used by the connection. Valid values for this option are specified in the IANA Time Zone Database. The default value is the system time zone. :type time_zone_id: 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). :type encrypted_credential: object """ _validation = { 'type': {'required': True}, 'host': {'required': True}, 'server_version': {'required': True}, 'catalog': {'required': True}, 'authentication_type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'connect_via': {'key': 'connectVia', 'type': 'IntegrationRuntimeReference'}, 'description': {'key': 'description', 'type': 'str'}, 'parameters': {'key': 'parameters', 'type': '{ParameterSpecification}'}, 'annotations': {'key': 'annotations', 'type': '[object]'}, 'host': {'key': 'typeProperties.host', 'type': 'object'}, 'server_version': {'key': 'typeProperties.serverVersion', 'type': 'object'}, 'catalog': {'key': 'typeProperties.catalog', 'type': 'object'}, 'port': {'key': 'typeProperties.port', 'type': 'object'}, 'authentication_type': {'key': 'typeProperties.authenticationType', 'type': 'str'}, 'username': {'key': 'typeProperties.username', 'type': 'object'}, 'password': {'key': 'typeProperties.password', 'type': 'SecretBase'}, 'enable_ssl': {'key': 'typeProperties.enableSsl', 'type': 'object'}, 'trusted_cert_path': {'key': 'typeProperties.trustedCertPath', 'type': 'object'}, 'use_system_trust_store': {'key': 'typeProperties.useSystemTrustStore', 'type': 'object'}, 'allow_host_name_cn_mismatch': {'key': 'typeProperties.allowHostNameCNMismatch', 'type': 'object'}, 'allow_self_signed_server_cert': {'key': 'typeProperties.allowSelfSignedServerCert', 'type': 'object'}, 'time_zone_id': {'key': 'typeProperties.timeZoneID', 'type': 'object'}, 'encrypted_credential': {'key': 'typeProperties.encryptedCredential', 'type': 'object'}, } def __init__( self, *, host: object, server_version: object, catalog: object, authentication_type: Union[str, "PrestoAuthenticationType"], additional_properties: Optional[Dict[str, object]] = None, connect_via: Optional["IntegrationRuntimeReference"] = None, description: Optional[str] = None, parameters: Optional[Dict[str, "ParameterSpecification"]] = None, annotations: Optional[List[object]] = None, port: Optional[object] = None, username: Optional[object] = None, password: Optional["SecretBase"] = None, enable_ssl: Optional[object] = None, trusted_cert_path: Optional[object] = None, use_system_trust_store: Optional[object] = None, allow_host_name_cn_mismatch: Optional[object] = None, allow_self_signed_server_cert: Optional[object] = None, time_zone_id: Optional[object] = None, encrypted_credential: Optional[object] = None, **kwargs ): super(PrestoLinkedService, self).__init__(additional_properties=additional_properties, connect_via=connect_via, description=description, parameters=parameters, annotations=annotations, **kwargs) self.type = 'Presto' # type: str self.host = host self.server_version = server_version self.catalog = catalog self.port = port self.authentication_type = authentication_type self.username = username self.password = password self.enable_ssl = enable_ssl self.trusted_cert_path = trusted_cert_path self.use_system_trust_store = use_system_trust_store self.allow_host_name_cn_mismatch = allow_host_name_cn_mismatch self.allow_self_signed_server_cert = allow_self_signed_server_cert self.time_zone_id = time_zone_id self.encrypted_credential = encrypted_credential
[docs]class PrestoObjectDataset(Dataset): """Presto server dataset. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Type of dataset.Constant filled by server. :type type: str :param description: Dataset description. :type description: str :param structure: Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. :type structure: object :param schema: Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. :type linked_service_name: ~azure.synapse.artifacts.models.LinkedServiceReference :param parameters: Parameters for dataset. :type parameters: dict[str, ~azure.synapse.artifacts.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. :type folder: ~azure.synapse.artifacts.models.DatasetFolder :param table_name: This property will be retired. Please consider using schema + table properties instead. :type table_name: object :param table: The table name of the Presto. Type: string (or Expression with resultType string). :type table: object :param schema_type_properties_schema: The schema name of the Presto. Type: string (or Expression with resultType string). :type schema_type_properties_schema: object """ _validation = { 'type': {'required': True}, 'linked_service_name': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'description': {'key': 'description', 'type': 'str'}, 'structure': {'key': 'structure', 'type': 'object'}, 'schema': {'key': 'schema', 'type': 'object'}, 'linked_service_name': {'key': 'linkedServiceName', 'type': 'LinkedServiceReference'}, 'parameters': {'key': 'parameters', 'type': '{ParameterSpecification}'}, 'annotations': {'key': 'annotations', 'type': '[object]'}, 'folder': {'key': 'folder', 'type': 'DatasetFolder'}, 'table_name': {'key': 'typeProperties.tableName', 'type': 'object'}, 'table': {'key': 'typeProperties.table', 'type': 'object'}, 'schema_type_properties_schema': {'key': 'typeProperties.schema', 'type': 'object'}, } def __init__( self, *, linked_service_name: "LinkedServiceReference", additional_properties: Optional[Dict[str, object]] = None, description: Optional[str] = None, structure: Optional[object] = None, schema: Optional[object] = None, parameters: Optional[Dict[str, "ParameterSpecification"]] = None, annotations: Optional[List[object]] = None, folder: Optional["DatasetFolder"] = None, table_name: Optional[object] = None, table: Optional[object] = None, schema_type_properties_schema: Optional[object] = None, **kwargs ): super(PrestoObjectDataset, self).__init__(additional_properties=additional_properties, description=description, structure=structure, schema=schema, linked_service_name=linked_service_name, parameters=parameters, annotations=annotations, folder=folder, **kwargs) self.type = 'PrestoObject' # type: str self.table_name = table_name self.table = table self.schema_type_properties_schema = schema_type_properties_schema
[docs]class PrestoSource(TabularSource): """A copy activity Presto server source. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Copy source type.Constant filled by server. :type type: str :param source_retry_count: Source retry count. Type: integer (or Expression with resultType integer). :type source_retry_count: object :param source_retry_wait: Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type source_retry_wait: object :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object :param query_timeout: Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type query_timeout: object :param additional_columns: Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects). :type additional_columns: list[~azure.synapse.artifacts.models.AdditionalColumns] :param query: A query to retrieve data from source. Type: string (or Expression with resultType string). :type query: object """ _validation = { 'type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, 'query': {'key': 'query', 'type': 'object'}, } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, source_retry_count: Optional[object] = None, source_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, query_timeout: Optional[object] = None, additional_columns: Optional[List["AdditionalColumns"]] = None, query: Optional[object] = None, **kwargs ): super(PrestoSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, query_timeout=query_timeout, additional_columns=additional_columns, **kwargs) self.type = 'PrestoSource' # type: str self.query = query
[docs]class PrivateEndpoint(msrest.serialization.Model): """Private endpoint details. Variables are only populated by the server, and will be ignored when sending a request. :ivar id: Resource id of the private endpoint. :vartype id: str """ _validation = { 'id': {'readonly': True}, } _attribute_map = { 'id': {'key': 'id', 'type': 'str'}, } def __init__( self, **kwargs ): super(PrivateEndpoint, self).__init__(**kwargs) self.id = None
[docs]class ProxyResource(Resource): """The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location. Variables are only populated by the server, and will be ignored when sending a request. :ivar id: Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. :vartype id: str :ivar name: The name of the resource. :vartype name: str :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts". :vartype type: str """ _validation = { 'id': {'readonly': True}, 'name': {'readonly': True}, 'type': {'readonly': True}, } _attribute_map = { 'id': {'key': 'id', 'type': 'str'}, 'name': {'key': 'name', 'type': 'str'}, 'type': {'key': 'type', 'type': 'str'}, } def __init__( self, **kwargs ): super(ProxyResource, self).__init__(**kwargs)
[docs]class PrivateEndpointConnection(ProxyResource): """A private endpoint connection. Variables are only populated by the server, and will be ignored when sending a request. :ivar id: Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. :vartype id: str :ivar name: The name of the resource. :vartype name: str :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts". :vartype type: str :param private_endpoint: The private endpoint which the connection belongs to. :type private_endpoint: ~azure.synapse.artifacts.models.PrivateEndpoint :param private_link_service_connection_state: Connection state of the private endpoint connection. :type private_link_service_connection_state: ~azure.synapse.artifacts.models.PrivateLinkServiceConnectionState :ivar provisioning_state: Provisioning state of the private endpoint connection. :vartype provisioning_state: str """ _validation = { 'id': {'readonly': True}, 'name': {'readonly': True}, 'type': {'readonly': True}, 'provisioning_state': {'readonly': True}, } _attribute_map = { 'id': {'key': 'id', 'type': 'str'}, 'name': {'key': 'name', 'type': 'str'}, 'type': {'key': 'type', 'type': 'str'}, 'private_endpoint': {'key': 'properties.privateEndpoint', 'type': 'PrivateEndpoint'}, 'private_link_service_connection_state': {'key': 'properties.privateLinkServiceConnectionState', 'type': 'PrivateLinkServiceConnectionState'}, 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, } def __init__( self, *, private_endpoint: Optional["PrivateEndpoint"] = None, private_link_service_connection_state: Optional["PrivateLinkServiceConnectionState"] = None, **kwargs ): super(PrivateEndpointConnection, self).__init__(**kwargs) self.private_endpoint = private_endpoint self.private_link_service_connection_state = private_link_service_connection_state self.provisioning_state = None
[docs]class PrivateLinkServiceConnectionState(msrest.serialization.Model): """Connection state details of the private endpoint. Variables are only populated by the server, and will be ignored when sending a request. :param status: The private link service connection status. :type status: str :param description: The private link service connection description. :type description: str :ivar actions_required: The actions required for private link service connection. :vartype actions_required: str """ _validation = { 'actions_required': {'readonly': True}, } _attribute_map = { 'status': {'key': 'status', 'type': 'str'}, 'description': {'key': 'description', 'type': 'str'}, 'actions_required': {'key': 'actionsRequired', 'type': 'str'}, } def __init__( self, *, status: Optional[str] = None, description: Optional[str] = None, **kwargs ): super(PrivateLinkServiceConnectionState, self).__init__(**kwargs) self.status = status self.description = description self.actions_required = None
[docs]class PurviewConfiguration(msrest.serialization.Model): """Purview Configuration. :param purview_resource_id: Purview Resource ID. :type purview_resource_id: str """ _attribute_map = { 'purview_resource_id': {'key': 'purviewResourceId', 'type': 'str'}, } def __init__( self, *, purview_resource_id: Optional[str] = None, **kwargs ): super(PurviewConfiguration, self).__init__(**kwargs) self.purview_resource_id = purview_resource_id
[docs]class QueryDataFlowDebugSessionsResponse(msrest.serialization.Model): """A list of active debug sessions. :param value: Array with all active debug sessions. :type value: list[~azure.synapse.artifacts.models.DataFlowDebugSessionInfo] :param next_link: The link to the next page of results, if any remaining results exist. :type next_link: str """ _attribute_map = { 'value': {'key': 'value', 'type': '[DataFlowDebugSessionInfo]'}, 'next_link': {'key': 'nextLink', 'type': 'str'}, } def __init__( self, *, value: Optional[List["DataFlowDebugSessionInfo"]] = None, next_link: Optional[str] = None, **kwargs ): super(QueryDataFlowDebugSessionsResponse, self).__init__(**kwargs) self.value = value self.next_link = next_link
[docs]class QuickBooksLinkedService(LinkedService): """QuickBooks server linked service. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. :type connect_via: ~azure.synapse.artifacts.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. :type parameters: dict[str, ~azure.synapse.artifacts.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param connection_properties: Properties used to connect to QuickBooks. It is mutually exclusive with any other properties in the linked service. Type: object. :type connection_properties: object :param endpoint: Required. The endpoint of the QuickBooks server. (i.e. quickbooks.api.intuit.com). :type endpoint: object :param company_id: Required. The company ID of the QuickBooks company to authorize. :type company_id: object :param consumer_key: Required. The consumer key for OAuth 1.0 authentication. :type consumer_key: object :param consumer_secret: Required. The consumer secret for OAuth 1.0 authentication. :type consumer_secret: ~azure.synapse.artifacts.models.SecretBase :param access_token: Required. The access token for OAuth 1.0 authentication. :type access_token: ~azure.synapse.artifacts.models.SecretBase :param access_token_secret: Required. The access token secret for OAuth 1.0 authentication. :type access_token_secret: ~azure.synapse.artifacts.models.SecretBase :param use_encrypted_endpoints: Specifies whether the data source endpoints are encrypted using HTTPS. The default value is true. :type use_encrypted_endpoints: 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). :type encrypted_credential: object """ _validation = { 'type': {'required': True}, 'endpoint': {'required': True}, 'company_id': {'required': True}, 'consumer_key': {'required': True}, 'consumer_secret': {'required': True}, 'access_token': {'required': True}, 'access_token_secret': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'connect_via': {'key': 'connectVia', 'type': 'IntegrationRuntimeReference'}, 'description': {'key': 'description', 'type': 'str'}, 'parameters': {'key': 'parameters', 'type': '{ParameterSpecification}'}, 'annotations': {'key': 'annotations', 'type': '[object]'}, 'connection_properties': {'key': 'typeProperties.connectionProperties', 'type': 'object'}, 'endpoint': {'key': 'typeProperties.endpoint', 'type': 'object'}, 'company_id': {'key': 'typeProperties.companyId', 'type': 'object'}, 'consumer_key': {'key': 'typeProperties.consumerKey', 'type': 'object'}, 'consumer_secret': {'key': 'typeProperties.consumerSecret', 'type': 'SecretBase'}, 'access_token': {'key': 'typeProperties.accessToken', 'type': 'SecretBase'}, 'access_token_secret': {'key': 'typeProperties.accessTokenSecret', 'type': 'SecretBase'}, 'use_encrypted_endpoints': {'key': 'typeProperties.useEncryptedEndpoints', 'type': 'object'}, 'encrypted_credential': {'key': 'typeProperties.encryptedCredential', 'type': 'object'}, } def __init__( self, *, endpoint: object, company_id: object, consumer_key: object, consumer_secret: "SecretBase", access_token: "SecretBase", access_token_secret: "SecretBase", additional_properties: Optional[Dict[str, object]] = None, connect_via: Optional["IntegrationRuntimeReference"] = None, description: Optional[str] = None, parameters: Optional[Dict[str, "ParameterSpecification"]] = None, annotations: Optional[List[object]] = None, connection_properties: Optional[object] = None, use_encrypted_endpoints: Optional[object] = None, encrypted_credential: Optional[object] = None, **kwargs ): super(QuickBooksLinkedService, self).__init__(additional_properties=additional_properties, connect_via=connect_via, description=description, parameters=parameters, annotations=annotations, **kwargs) self.type = 'QuickBooks' # type: str self.connection_properties = connection_properties self.endpoint = endpoint self.company_id = company_id self.consumer_key = consumer_key self.consumer_secret = consumer_secret self.access_token = access_token self.access_token_secret = access_token_secret self.use_encrypted_endpoints = use_encrypted_endpoints self.encrypted_credential = encrypted_credential
[docs]class QuickBooksObjectDataset(Dataset): """QuickBooks server dataset. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Type of dataset.Constant filled by server. :type type: str :param description: Dataset description. :type description: str :param structure: Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. :type structure: object :param schema: Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. :type linked_service_name: ~azure.synapse.artifacts.models.LinkedServiceReference :param parameters: Parameters for dataset. :type parameters: dict[str, ~azure.synapse.artifacts.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. :type folder: ~azure.synapse.artifacts.models.DatasetFolder :param table_name: The table name. Type: string (or Expression with resultType string). :type table_name: object """ _validation = { 'type': {'required': True}, 'linked_service_name': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'description': {'key': 'description', 'type': 'str'}, 'structure': {'key': 'structure', 'type': 'object'}, 'schema': {'key': 'schema', 'type': 'object'}, 'linked_service_name': {'key': 'linkedServiceName', 'type': 'LinkedServiceReference'}, 'parameters': {'key': 'parameters', 'type': '{ParameterSpecification}'}, 'annotations': {'key': 'annotations', 'type': '[object]'}, 'folder': {'key': 'folder', 'type': 'DatasetFolder'}, 'table_name': {'key': 'typeProperties.tableName', 'type': 'object'}, } def __init__( self, *, linked_service_name: "LinkedServiceReference", additional_properties: Optional[Dict[str, object]] = None, description: Optional[str] = None, structure: Optional[object] = None, schema: Optional[object] = None, parameters: Optional[Dict[str, "ParameterSpecification"]] = None, annotations: Optional[List[object]] = None, folder: Optional["DatasetFolder"] = None, table_name: Optional[object] = None, **kwargs ): super(QuickBooksObjectDataset, self).__init__(additional_properties=additional_properties, description=description, structure=structure, schema=schema, linked_service_name=linked_service_name, parameters=parameters, annotations=annotations, folder=folder, **kwargs) self.type = 'QuickBooksObject' # type: str self.table_name = table_name
[docs]class QuickBooksSource(TabularSource): """A copy activity QuickBooks server source. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Copy source type.Constant filled by server. :type type: str :param source_retry_count: Source retry count. Type: integer (or Expression with resultType integer). :type source_retry_count: object :param source_retry_wait: Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type source_retry_wait: object :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object :param query_timeout: Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type query_timeout: object :param additional_columns: Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects). :type additional_columns: list[~azure.synapse.artifacts.models.AdditionalColumns] :param query: A query to retrieve data from source. Type: string (or Expression with resultType string). :type query: object """ _validation = { 'type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, 'query': {'key': 'query', 'type': 'object'}, } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, source_retry_count: Optional[object] = None, source_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, query_timeout: Optional[object] = None, additional_columns: Optional[List["AdditionalColumns"]] = None, query: Optional[object] = None, **kwargs ): super(QuickBooksSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, query_timeout=query_timeout, additional_columns=additional_columns, **kwargs) self.type = 'QuickBooksSource' # type: str self.query = query
[docs]class RecurrenceSchedule(msrest.serialization.Model): """The recurrence schedule. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param minutes: The minutes. :type minutes: list[int] :param hours: The hours. :type hours: list[int] :param week_days: The days of the week. :type week_days: list[str or ~azure.synapse.artifacts.models.DayOfWeek] :param month_days: The month days. :type month_days: list[int] :param monthly_occurrences: The monthly occurrences. :type monthly_occurrences: list[~azure.synapse.artifacts.models.RecurrenceScheduleOccurrence] """ _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'minutes': {'key': 'minutes', 'type': '[int]'}, 'hours': {'key': 'hours', 'type': '[int]'}, 'week_days': {'key': 'weekDays', 'type': '[str]'}, 'month_days': {'key': 'monthDays', 'type': '[int]'}, 'monthly_occurrences': {'key': 'monthlyOccurrences', 'type': '[RecurrenceScheduleOccurrence]'}, } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, minutes: Optional[List[int]] = None, hours: Optional[List[int]] = None, week_days: Optional[List[Union[str, "DayOfWeek"]]] = None, month_days: Optional[List[int]] = None, monthly_occurrences: Optional[List["RecurrenceScheduleOccurrence"]] = None, **kwargs ): super(RecurrenceSchedule, self).__init__(**kwargs) self.additional_properties = additional_properties self.minutes = minutes self.hours = hours self.week_days = week_days self.month_days = month_days self.monthly_occurrences = monthly_occurrences
[docs]class RecurrenceScheduleOccurrence(msrest.serialization.Model): """The recurrence schedule occurrence. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param day: The day of the week. Possible values include: "Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday". :type day: str or ~azure.synapse.artifacts.models.DayOfWeek :param occurrence: The occurrence. :type occurrence: int """ _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'day': {'key': 'day', 'type': 'str'}, 'occurrence': {'key': 'occurrence', 'type': 'int'}, } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, day: Optional[Union[str, "DayOfWeek"]] = None, occurrence: Optional[int] = None, **kwargs ): super(RecurrenceScheduleOccurrence, self).__init__(**kwargs) self.additional_properties = additional_properties self.day = day self.occurrence = occurrence
[docs]class RedirectIncompatibleRowSettings(msrest.serialization.Model): """Redirect incompatible row settings. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param linked_service_name: Required. Name of the Azure Storage, Storage SAS, or Azure Data Lake Store linked service used for redirecting incompatible row. Must be specified if redirectIncompatibleRowSettings is specified. Type: string (or Expression with resultType string). :type linked_service_name: object :param path: The path for storing the redirect incompatible row data. Type: string (or Expression with resultType string). :type path: object """ _validation = { 'linked_service_name': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'linked_service_name': {'key': 'linkedServiceName', 'type': 'object'}, 'path': {'key': 'path', 'type': 'object'}, } def __init__( self, *, linked_service_name: object, additional_properties: Optional[Dict[str, object]] = None, path: Optional[object] = None, **kwargs ): super(RedirectIncompatibleRowSettings, self).__init__(**kwargs) self.additional_properties = additional_properties self.linked_service_name = linked_service_name self.path = path
[docs]class RedshiftUnloadSettings(msrest.serialization.Model): """The Amazon S3 settings needed for the interim Amazon S3 when copying from Amazon Redshift with unload. With this, data from Amazon Redshift source will be unloaded into S3 first and then copied into the targeted sink from the interim S3. All required parameters must be populated in order to send to Azure. :param s3_linked_service_name: Required. The name of the Amazon S3 linked service which will be used for the unload operation when copying from the Amazon Redshift source. :type s3_linked_service_name: ~azure.synapse.artifacts.models.LinkedServiceReference :param bucket_name: Required. The bucket of the interim Amazon S3 which will be used to store the unloaded data from Amazon Redshift source. The bucket must be in the same region as the Amazon Redshift source. Type: string (or Expression with resultType string). :type bucket_name: object """ _validation = { 's3_linked_service_name': {'required': True}, 'bucket_name': {'required': True}, } _attribute_map = { 's3_linked_service_name': {'key': 's3LinkedServiceName', 'type': 'LinkedServiceReference'}, 'bucket_name': {'key': 'bucketName', 'type': 'object'}, } def __init__( self, *, s3_linked_service_name: "LinkedServiceReference", bucket_name: object, **kwargs ): super(RedshiftUnloadSettings, self).__init__(**kwargs) self.s3_linked_service_name = s3_linked_service_name self.bucket_name = bucket_name
[docs]class RelationalSource(CopySource): """A copy activity source for various relational databases. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Copy source type.Constant filled by server. :type type: str :param source_retry_count: Source retry count. Type: integer (or Expression with resultType integer). :type source_retry_count: object :param source_retry_wait: Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type source_retry_wait: object :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object :param query: Database query. Type: string (or Expression with resultType string). :type query: object :param additional_columns: Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects). :type additional_columns: list[~azure.synapse.artifacts.models.AdditionalColumns] """ _validation = { 'type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, source_retry_count: Optional[object] = None, source_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, query: Optional[object] = None, additional_columns: Optional[List["AdditionalColumns"]] = None, **kwargs ): super(RelationalSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, **kwargs) self.type = 'RelationalSource' # type: str self.query = query self.additional_columns = additional_columns
[docs]class RelationalTableDataset(Dataset): """The relational table dataset. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Type of dataset.Constant filled by server. :type type: str :param description: Dataset description. :type description: str :param structure: Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. :type structure: object :param schema: Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. :type linked_service_name: ~azure.synapse.artifacts.models.LinkedServiceReference :param parameters: Parameters for dataset. :type parameters: dict[str, ~azure.synapse.artifacts.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. :type folder: ~azure.synapse.artifacts.models.DatasetFolder :param table_name: The relational table name. Type: string (or Expression with resultType string). :type table_name: object """ _validation = { 'type': {'required': True}, 'linked_service_name': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'description': {'key': 'description', 'type': 'str'}, 'structure': {'key': 'structure', 'type': 'object'}, 'schema': {'key': 'schema', 'type': 'object'}, 'linked_service_name': {'key': 'linkedServiceName', 'type': 'LinkedServiceReference'}, 'parameters': {'key': 'parameters', 'type': '{ParameterSpecification}'}, 'annotations': {'key': 'annotations', 'type': '[object]'}, 'folder': {'key': 'folder', 'type': 'DatasetFolder'}, 'table_name': {'key': 'typeProperties.tableName', 'type': 'object'}, } def __init__( self, *, linked_service_name: "LinkedServiceReference", additional_properties: Optional[Dict[str, object]] = None, description: Optional[str] = None, structure: Optional[object] = None, schema: Optional[object] = None, parameters: Optional[Dict[str, "ParameterSpecification"]] = None, annotations: Optional[List[object]] = None, folder: Optional["DatasetFolder"] = None, table_name: Optional[object] = None, **kwargs ): super(RelationalTableDataset, self).__init__(additional_properties=additional_properties, description=description, structure=structure, schema=schema, linked_service_name=linked_service_name, parameters=parameters, annotations=annotations, folder=folder, **kwargs) self.type = 'RelationalTable' # type: str self.table_name = table_name
[docs]class RerunTriggerListResponse(msrest.serialization.Model): """A list of rerun triggers. Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. :param value: Required. List of rerun triggers. :type value: list[~azure.synapse.artifacts.models.RerunTriggerResource] :ivar next_link: The continuation token for getting the next page of results, if any remaining results exist, null otherwise. :vartype next_link: str """ _validation = { 'value': {'required': True}, 'next_link': {'readonly': True}, } _attribute_map = { 'value': {'key': 'value', 'type': '[RerunTriggerResource]'}, 'next_link': {'key': 'nextLink', 'type': 'str'}, } def __init__( self, *, value: List["RerunTriggerResource"], **kwargs ): super(RerunTriggerListResponse, self).__init__(**kwargs) self.value = value self.next_link = None
[docs]class RerunTriggerResource(SubResource): """RerunTrigger resource type. Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. :ivar id: Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. :vartype id: str :ivar name: The name of the resource. :vartype name: str :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts". :vartype type: str :ivar etag: Resource Etag. :vartype etag: str :param properties: Required. Properties of the rerun trigger. :type properties: ~azure.synapse.artifacts.models.RerunTumblingWindowTrigger """ _validation = { 'id': {'readonly': True}, 'name': {'readonly': True}, 'type': {'readonly': True}, 'etag': {'readonly': True}, 'properties': {'required': True}, } _attribute_map = { 'id': {'key': 'id', 'type': 'str'}, 'name': {'key': 'name', 'type': 'str'}, 'type': {'key': 'type', 'type': 'str'}, 'etag': {'key': 'etag', 'type': 'str'}, 'properties': {'key': 'properties', 'type': 'RerunTumblingWindowTrigger'}, } def __init__( self, *, properties: "RerunTumblingWindowTrigger", **kwargs ): super(RerunTriggerResource, self).__init__(**kwargs) self.properties = properties
[docs]class RerunTumblingWindowTrigger(Trigger): """Trigger that schedules pipeline reruns for all fixed time interval windows from a requested start time to requested end time. Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Trigger type.Constant filled by server. :type type: str :param description: Trigger description. :type description: str :ivar runtime_state: Indicates if trigger is running or not. Updated when Start/Stop APIs are called on the Trigger. Possible values include: "Started", "Stopped", "Disabled". :vartype runtime_state: str or ~azure.synapse.artifacts.models.TriggerRuntimeState :param annotations: List of tags that can be used for describing the trigger. :type annotations: list[object] :param parent_trigger: Required. The parent trigger reference. :type parent_trigger: object :param requested_start_time: Required. The start time for the time period for which restatement is initiated. Only UTC time is currently supported. :type requested_start_time: ~datetime.datetime :param requested_end_time: Required. The end time for the time period for which restatement is initiated. Only UTC time is currently supported. :type requested_end_time: ~datetime.datetime :param rerun_concurrency: Required. The max number of parallel time windows (ready for execution) for which a rerun is triggered. :type rerun_concurrency: int """ _validation = { 'type': {'required': True}, 'runtime_state': {'readonly': True}, 'parent_trigger': {'required': True}, 'requested_start_time': {'required': True}, 'requested_end_time': {'required': True}, 'rerun_concurrency': {'required': True, 'maximum': 50, 'minimum': 1}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'description': {'key': 'description', 'type': 'str'}, 'runtime_state': {'key': 'runtimeState', 'type': 'str'}, 'annotations': {'key': 'annotations', 'type': '[object]'}, 'parent_trigger': {'key': 'typeProperties.parentTrigger', 'type': 'object'}, 'requested_start_time': {'key': 'typeProperties.requestedStartTime', 'type': 'iso-8601'}, 'requested_end_time': {'key': 'typeProperties.requestedEndTime', 'type': 'iso-8601'}, 'rerun_concurrency': {'key': 'typeProperties.rerunConcurrency', 'type': 'int'}, } def __init__( self, *, parent_trigger: object, requested_start_time: datetime.datetime, requested_end_time: datetime.datetime, rerun_concurrency: int, additional_properties: Optional[Dict[str, object]] = None, description: Optional[str] = None, annotations: Optional[List[object]] = None, **kwargs ): super(RerunTumblingWindowTrigger, self).__init__(additional_properties=additional_properties, description=description, annotations=annotations, **kwargs) self.type = 'RerunTumblingWindowTrigger' # type: str self.parent_trigger = parent_trigger self.requested_start_time = requested_start_time self.requested_end_time = requested_end_time self.rerun_concurrency = rerun_concurrency
[docs]class RerunTumblingWindowTriggerActionParameters(msrest.serialization.Model): """Rerun tumbling window trigger Parameters. All required parameters must be populated in order to send to Azure. :param start_time: Required. The start time for the time period for which restatement is initiated. Only UTC time is currently supported. :type start_time: ~datetime.datetime :param end_time: Required. The end time for the time period for which restatement is initiated. Only UTC time is currently supported. :type end_time: ~datetime.datetime :param max_concurrency: Required. The max number of parallel time windows (ready for execution) for which a rerun is triggered. :type max_concurrency: int """ _validation = { 'start_time': {'required': True}, 'end_time': {'required': True}, 'max_concurrency': {'required': True, 'maximum': 50, 'minimum': 1}, } _attribute_map = { 'start_time': {'key': 'startTime', 'type': 'iso-8601'}, 'end_time': {'key': 'endTime', 'type': 'iso-8601'}, 'max_concurrency': {'key': 'maxConcurrency', 'type': 'int'}, } def __init__( self, *, start_time: datetime.datetime, end_time: datetime.datetime, max_concurrency: int, **kwargs ): super(RerunTumblingWindowTriggerActionParameters, self).__init__(**kwargs) self.start_time = start_time self.end_time = end_time self.max_concurrency = max_concurrency
[docs]class ResponsysLinkedService(LinkedService): """Responsys linked service. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. :type connect_via: ~azure.synapse.artifacts.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. :type parameters: dict[str, ~azure.synapse.artifacts.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param endpoint: Required. The endpoint of the Responsys server. :type endpoint: object :param client_id: Required. The client ID associated with the Responsys application. Type: string (or Expression with resultType string). :type client_id: object :param client_secret: The client secret associated with the Responsys application. Type: string (or Expression with resultType string). :type client_secret: ~azure.synapse.artifacts.models.SecretBase :param use_encrypted_endpoints: Specifies whether the data source endpoints are encrypted using HTTPS. The default value is true. Type: boolean (or Expression with resultType boolean). :type use_encrypted_endpoints: object :param use_host_verification: Specifies whether to require the host name in the server's certificate to match the host name of the server when connecting over SSL. The default value is true. Type: boolean (or Expression with resultType boolean). :type use_host_verification: object :param use_peer_verification: Specifies whether to verify the identity of the server when connecting over SSL. The default value is true. Type: boolean (or Expression with resultType boolean). :type use_peer_verification: 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). :type encrypted_credential: object """ _validation = { 'type': {'required': True}, 'endpoint': {'required': True}, 'client_id': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'connect_via': {'key': 'connectVia', 'type': 'IntegrationRuntimeReference'}, 'description': {'key': 'description', 'type': 'str'}, 'parameters': {'key': 'parameters', 'type': '{ParameterSpecification}'}, 'annotations': {'key': 'annotations', 'type': '[object]'}, 'endpoint': {'key': 'typeProperties.endpoint', 'type': 'object'}, 'client_id': {'key': 'typeProperties.clientId', 'type': 'object'}, 'client_secret': {'key': 'typeProperties.clientSecret', 'type': 'SecretBase'}, 'use_encrypted_endpoints': {'key': 'typeProperties.useEncryptedEndpoints', 'type': 'object'}, 'use_host_verification': {'key': 'typeProperties.useHostVerification', 'type': 'object'}, 'use_peer_verification': {'key': 'typeProperties.usePeerVerification', 'type': 'object'}, 'encrypted_credential': {'key': 'typeProperties.encryptedCredential', 'type': 'object'}, } def __init__( self, *, endpoint: object, client_id: object, additional_properties: Optional[Dict[str, object]] = None, connect_via: Optional["IntegrationRuntimeReference"] = None, description: Optional[str] = None, parameters: Optional[Dict[str, "ParameterSpecification"]] = None, annotations: Optional[List[object]] = None, client_secret: Optional["SecretBase"] = None, use_encrypted_endpoints: Optional[object] = None, use_host_verification: Optional[object] = None, use_peer_verification: Optional[object] = None, encrypted_credential: Optional[object] = None, **kwargs ): super(ResponsysLinkedService, self).__init__(additional_properties=additional_properties, connect_via=connect_via, description=description, parameters=parameters, annotations=annotations, **kwargs) self.type = 'Responsys' # type: str self.endpoint = endpoint self.client_id = client_id self.client_secret = client_secret self.use_encrypted_endpoints = use_encrypted_endpoints self.use_host_verification = use_host_verification self.use_peer_verification = use_peer_verification self.encrypted_credential = encrypted_credential
[docs]class ResponsysObjectDataset(Dataset): """Responsys dataset. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Type of dataset.Constant filled by server. :type type: str :param description: Dataset description. :type description: str :param structure: Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. :type structure: object :param schema: Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. :type linked_service_name: ~azure.synapse.artifacts.models.LinkedServiceReference :param parameters: Parameters for dataset. :type parameters: dict[str, ~azure.synapse.artifacts.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. :type folder: ~azure.synapse.artifacts.models.DatasetFolder :param table_name: The table name. Type: string (or Expression with resultType string). :type table_name: object """ _validation = { 'type': {'required': True}, 'linked_service_name': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'description': {'key': 'description', 'type': 'str'}, 'structure': {'key': 'structure', 'type': 'object'}, 'schema': {'key': 'schema', 'type': 'object'}, 'linked_service_name': {'key': 'linkedServiceName', 'type': 'LinkedServiceReference'}, 'parameters': {'key': 'parameters', 'type': '{ParameterSpecification}'}, 'annotations': {'key': 'annotations', 'type': '[object]'}, 'folder': {'key': 'folder', 'type': 'DatasetFolder'}, 'table_name': {'key': 'typeProperties.tableName', 'type': 'object'}, } def __init__( self, *, linked_service_name: "LinkedServiceReference", additional_properties: Optional[Dict[str, object]] = None, description: Optional[str] = None, structure: Optional[object] = None, schema: Optional[object] = None, parameters: Optional[Dict[str, "ParameterSpecification"]] = None, annotations: Optional[List[object]] = None, folder: Optional["DatasetFolder"] = None, table_name: Optional[object] = None, **kwargs ): super(ResponsysObjectDataset, self).__init__(additional_properties=additional_properties, description=description, structure=structure, schema=schema, linked_service_name=linked_service_name, parameters=parameters, annotations=annotations, folder=folder, **kwargs) self.type = 'ResponsysObject' # type: str self.table_name = table_name
[docs]class ResponsysSource(TabularSource): """A copy activity Responsys source. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Copy source type.Constant filled by server. :type type: str :param source_retry_count: Source retry count. Type: integer (or Expression with resultType integer). :type source_retry_count: object :param source_retry_wait: Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type source_retry_wait: object :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object :param query_timeout: Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type query_timeout: object :param additional_columns: Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects). :type additional_columns: list[~azure.synapse.artifacts.models.AdditionalColumns] :param query: A query to retrieve data from source. Type: string (or Expression with resultType string). :type query: object """ _validation = { 'type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, 'query': {'key': 'query', 'type': 'object'}, } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, source_retry_count: Optional[object] = None, source_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, query_timeout: Optional[object] = None, additional_columns: Optional[List["AdditionalColumns"]] = None, query: Optional[object] = None, **kwargs ): super(ResponsysSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, query_timeout=query_timeout, additional_columns=additional_columns, **kwargs) self.type = 'ResponsysSource' # type: str self.query = query
[docs]class RestResourceDataset(Dataset): """A Rest service dataset. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Type of dataset.Constant filled by server. :type type: str :param description: Dataset description. :type description: str :param structure: Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. :type structure: object :param schema: Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. :type linked_service_name: ~azure.synapse.artifacts.models.LinkedServiceReference :param parameters: Parameters for dataset. :type parameters: dict[str, ~azure.synapse.artifacts.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. :type folder: ~azure.synapse.artifacts.models.DatasetFolder :param relative_url: The relative URL to the resource that the RESTful API provides. Type: string (or Expression with resultType string). :type relative_url: object :param request_method: The HTTP method used to call the RESTful API. The default is GET. Type: string (or Expression with resultType string). :type request_method: object :param request_body: The HTTP request body to the RESTful API if requestMethod is POST. Type: string (or Expression with resultType string). :type request_body: object :param additional_headers: The additional HTTP headers in the request to the RESTful API. Type: string (or Expression with resultType string). :type additional_headers: object :param pagination_rules: The pagination rules to compose next page requests. Type: string (or Expression with resultType string). :type pagination_rules: object """ _validation = { 'type': {'required': True}, 'linked_service_name': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'description': {'key': 'description', 'type': 'str'}, 'structure': {'key': 'structure', 'type': 'object'}, 'schema': {'key': 'schema', 'type': 'object'}, 'linked_service_name': {'key': 'linkedServiceName', 'type': 'LinkedServiceReference'}, 'parameters': {'key': 'parameters', 'type': '{ParameterSpecification}'}, 'annotations': {'key': 'annotations', 'type': '[object]'}, 'folder': {'key': 'folder', 'type': 'DatasetFolder'}, 'relative_url': {'key': 'typeProperties.relativeUrl', 'type': 'object'}, 'request_method': {'key': 'typeProperties.requestMethod', 'type': 'object'}, 'request_body': {'key': 'typeProperties.requestBody', 'type': 'object'}, 'additional_headers': {'key': 'typeProperties.additionalHeaders', 'type': 'object'}, 'pagination_rules': {'key': 'typeProperties.paginationRules', 'type': 'object'}, } def __init__( self, *, linked_service_name: "LinkedServiceReference", additional_properties: Optional[Dict[str, object]] = None, description: Optional[str] = None, structure: Optional[object] = None, schema: Optional[object] = None, parameters: Optional[Dict[str, "ParameterSpecification"]] = None, annotations: Optional[List[object]] = None, folder: Optional["DatasetFolder"] = None, relative_url: Optional[object] = None, request_method: Optional[object] = None, request_body: Optional[object] = None, additional_headers: Optional[object] = None, pagination_rules: Optional[object] = None, **kwargs ): super(RestResourceDataset, self).__init__(additional_properties=additional_properties, description=description, structure=structure, schema=schema, linked_service_name=linked_service_name, parameters=parameters, annotations=annotations, folder=folder, **kwargs) self.type = 'RestResource' # type: str self.relative_url = relative_url self.request_method = request_method self.request_body = request_body self.additional_headers = additional_headers self.pagination_rules = pagination_rules
[docs]class RestServiceLinkedService(LinkedService): """Rest Service linked service. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. :type connect_via: ~azure.synapse.artifacts.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. :type parameters: dict[str, ~azure.synapse.artifacts.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param url: Required. The base URL of the REST service. :type url: object :param enable_server_certificate_validation: Whether to validate server side SSL certificate when connecting to the endpoint.The default value is true. Type: boolean (or Expression with resultType boolean). :type enable_server_certificate_validation: object :param authentication_type: Required. Type of authentication used to connect to the REST service. Possible values include: "Anonymous", "Basic", "AadServicePrincipal", "ManagedServiceIdentity". :type authentication_type: str or ~azure.synapse.artifacts.models.RestServiceAuthenticationType :param user_name: The user name used in Basic authentication type. :type user_name: object :param password: The password used in Basic authentication type. :type password: ~azure.synapse.artifacts.models.SecretBase :param service_principal_id: The application's client ID used in AadServicePrincipal authentication type. :type service_principal_id: object :param service_principal_key: The application's key used in AadServicePrincipal authentication type. :type service_principal_key: ~azure.synapse.artifacts.models.SecretBase :param tenant: The tenant information (domain name or tenant ID) used in 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 :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). :type encrypted_credential: object """ _validation = { 'type': {'required': True}, 'url': {'required': True}, 'authentication_type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'connect_via': {'key': 'connectVia', 'type': 'IntegrationRuntimeReference'}, 'description': {'key': 'description', 'type': 'str'}, 'parameters': {'key': 'parameters', 'type': '{ParameterSpecification}'}, 'annotations': {'key': 'annotations', 'type': '[object]'}, 'url': {'key': 'typeProperties.url', 'type': 'object'}, 'enable_server_certificate_validation': {'key': 'typeProperties.enableServerCertificateValidation', 'type': 'object'}, 'authentication_type': {'key': 'typeProperties.authenticationType', 'type': 'str'}, 'user_name': {'key': 'typeProperties.userName', 'type': 'object'}, 'password': {'key': 'typeProperties.password', 'type': 'SecretBase'}, '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'}, } def __init__( self, *, url: object, authentication_type: Union[str, "RestServiceAuthenticationType"], additional_properties: Optional[Dict[str, object]] = None, connect_via: Optional["IntegrationRuntimeReference"] = None, description: Optional[str] = None, parameters: Optional[Dict[str, "ParameterSpecification"]] = None, annotations: Optional[List[object]] = None, enable_server_certificate_validation: Optional[object] = None, user_name: Optional[object] = None, password: Optional["SecretBase"] = None, service_principal_id: Optional[object] = None, service_principal_key: Optional["SecretBase"] = None, tenant: Optional[object] = None, azure_cloud_type: Optional[object] = None, aad_resource_id: Optional[object] = None, encrypted_credential: Optional[object] = None, **kwargs ): super(RestServiceLinkedService, self).__init__(additional_properties=additional_properties, connect_via=connect_via, description=description, parameters=parameters, annotations=annotations, **kwargs) self.type = 'RestService' # type: str self.url = url self.enable_server_certificate_validation = enable_server_certificate_validation self.authentication_type = authentication_type self.user_name = user_name self.password = password self.service_principal_id = service_principal_id self.service_principal_key = service_principal_key self.tenant = tenant self.azure_cloud_type = azure_cloud_type self.aad_resource_id = aad_resource_id self.encrypted_credential = encrypted_credential
[docs]class RestSink(CopySink): """A copy activity Rest service Sink. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Copy sink type.Constant filled by server. :type type: str :param write_batch_size: Write batch size. Type: integer (or Expression with resultType integer), minimum: 0. :type write_batch_size: object :param write_batch_timeout: Write batch timeout. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type write_batch_timeout: object :param sink_retry_count: Sink retry count. Type: integer (or Expression with resultType integer). :type sink_retry_count: object :param sink_retry_wait: Sink retry wait. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type sink_retry_wait: object :param max_concurrent_connections: The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object :param request_method: The HTTP method used to call the RESTful API. The default is POST. Type: string (or Expression with resultType string). :type request_method: object :param additional_headers: The additional HTTP headers in the request to the RESTful API. Type: string (or Expression with resultType string). :type additional_headers: object :param http_request_timeout: The timeout (TimeSpan) to get an HTTP response. It is the timeout to get a response, not the timeout to read response data. Default value: 00:01:40. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type http_request_timeout: object :param request_interval: The time to await before sending next request, in milliseconds. :type request_interval: object :param http_compression_type: Http Compression Type to Send data in compressed format with Optimal Compression Level, Default is None. And The Only Supported option is Gzip. :type http_compression_type: object """ _validation = { 'type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'write_batch_size': {'key': 'writeBatchSize', 'type': 'object'}, 'write_batch_timeout': {'key': 'writeBatchTimeout', 'type': 'object'}, 'sink_retry_count': {'key': 'sinkRetryCount', 'type': 'object'}, 'sink_retry_wait': {'key': 'sinkRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'request_method': {'key': 'requestMethod', 'type': 'object'}, 'additional_headers': {'key': 'additionalHeaders', 'type': 'object'}, 'http_request_timeout': {'key': 'httpRequestTimeout', 'type': 'object'}, 'request_interval': {'key': 'requestInterval', 'type': 'object'}, 'http_compression_type': {'key': 'httpCompressionType', 'type': 'object'}, } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, write_batch_size: Optional[object] = None, write_batch_timeout: Optional[object] = None, sink_retry_count: Optional[object] = None, sink_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, request_method: Optional[object] = None, additional_headers: Optional[object] = None, http_request_timeout: Optional[object] = None, request_interval: Optional[object] = None, http_compression_type: Optional[object] = None, **kwargs ): super(RestSink, self).__init__(additional_properties=additional_properties, write_batch_size=write_batch_size, write_batch_timeout=write_batch_timeout, sink_retry_count=sink_retry_count, sink_retry_wait=sink_retry_wait, max_concurrent_connections=max_concurrent_connections, **kwargs) self.type = 'RestSink' # type: str self.request_method = request_method self.additional_headers = additional_headers self.http_request_timeout = http_request_timeout self.request_interval = request_interval self.http_compression_type = http_compression_type
[docs]class RestSource(CopySource): """A copy activity Rest service source. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Copy source type.Constant filled by server. :type type: str :param source_retry_count: Source retry count. Type: integer (or Expression with resultType integer). :type source_retry_count: object :param source_retry_wait: Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type source_retry_wait: object :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object :param request_method: The HTTP method used to call the RESTful API. The default is GET. Type: string (or Expression with resultType string). :type request_method: object :param request_body: The HTTP request body to the RESTful API if requestMethod is POST. Type: string (or Expression with resultType string). :type request_body: object :param additional_headers: The additional HTTP headers in the request to the RESTful API. Type: string (or Expression with resultType string). :type additional_headers: object :param pagination_rules: The pagination rules to compose next page requests. Type: string (or Expression with resultType string). :type pagination_rules: object :param http_request_timeout: The timeout (TimeSpan) to get an HTTP response. It is the timeout to get a response, not the timeout to read response data. Default value: 00:01:40. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type http_request_timeout: object :param request_interval: The time to await before sending next page request. :type request_interval: object :param additional_columns: Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects). :type additional_columns: list[~azure.synapse.artifacts.models.AdditionalColumns] """ _validation = { 'type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'request_method': {'key': 'requestMethod', 'type': 'object'}, 'request_body': {'key': 'requestBody', 'type': 'object'}, 'additional_headers': {'key': 'additionalHeaders', 'type': 'object'}, 'pagination_rules': {'key': 'paginationRules', 'type': 'object'}, 'http_request_timeout': {'key': 'httpRequestTimeout', 'type': 'object'}, 'request_interval': {'key': 'requestInterval', 'type': 'object'}, 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, source_retry_count: Optional[object] = None, source_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, request_method: Optional[object] = None, request_body: Optional[object] = None, additional_headers: Optional[object] = None, pagination_rules: Optional[object] = None, http_request_timeout: Optional[object] = None, request_interval: Optional[object] = None, additional_columns: Optional[List["AdditionalColumns"]] = None, **kwargs ): super(RestSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, **kwargs) self.type = 'RestSource' # type: str self.request_method = request_method self.request_body = request_body self.additional_headers = additional_headers self.pagination_rules = pagination_rules self.http_request_timeout = http_request_timeout self.request_interval = request_interval self.additional_columns = additional_columns
[docs]class RetryPolicy(msrest.serialization.Model): """Execution policy for an activity. :param count: Maximum ordinary retry attempts. Default is 0. Type: integer (or Expression with resultType integer), minimum: 0. :type count: object :param interval_in_seconds: Interval between retries in seconds. Default is 30. :type interval_in_seconds: int """ _validation = { 'interval_in_seconds': {'maximum': 86400, 'minimum': 30}, } _attribute_map = { 'count': {'key': 'count', 'type': 'object'}, 'interval_in_seconds': {'key': 'intervalInSeconds', 'type': 'int'}, } def __init__( self, *, count: Optional[object] = None, interval_in_seconds: Optional[int] = None, **kwargs ): super(RetryPolicy, self).__init__(**kwargs) self.count = count self.interval_in_seconds = interval_in_seconds
[docs]class RunFilterParameters(msrest.serialization.Model): """Query parameters for listing runs. All required parameters must be populated in order to send to Azure. :param continuation_token: The continuation token for getting the next page of results. Null for first page. :type continuation_token: str :param last_updated_after: Required. The time at or after which the run event was updated in 'ISO 8601' format. :type last_updated_after: ~datetime.datetime :param last_updated_before: Required. The time at or before which the run event was updated in 'ISO 8601' format. :type last_updated_before: ~datetime.datetime :param filters: List of filters. :type filters: list[~azure.synapse.artifacts.models.RunQueryFilter] :param order_by: List of OrderBy option. :type order_by: list[~azure.synapse.artifacts.models.RunQueryOrderBy] """ _validation = { 'last_updated_after': {'required': True}, 'last_updated_before': {'required': True}, } _attribute_map = { 'continuation_token': {'key': 'continuationToken', 'type': 'str'}, 'last_updated_after': {'key': 'lastUpdatedAfter', 'type': 'iso-8601'}, 'last_updated_before': {'key': 'lastUpdatedBefore', 'type': 'iso-8601'}, 'filters': {'key': 'filters', 'type': '[RunQueryFilter]'}, 'order_by': {'key': 'orderBy', 'type': '[RunQueryOrderBy]'}, } def __init__( self, *, last_updated_after: datetime.datetime, last_updated_before: datetime.datetime, continuation_token: Optional[str] = None, filters: Optional[List["RunQueryFilter"]] = None, order_by: Optional[List["RunQueryOrderBy"]] = None, **kwargs ): super(RunFilterParameters, self).__init__(**kwargs) self.continuation_token = continuation_token self.last_updated_after = last_updated_after self.last_updated_before = last_updated_before self.filters = filters self.order_by = order_by
[docs]class RunQueryFilter(msrest.serialization.Model): """Query filter option for listing runs. All required parameters must be populated in order to send to Azure. :param operand: Required. Parameter name to be used for filter. The allowed operands to query pipeline runs are PipelineName, RunStart, RunEnd and Status; to query activity runs are ActivityName, ActivityRunStart, ActivityRunEnd, ActivityType and Status, and to query trigger runs are TriggerName, TriggerRunTimestamp and Status. Possible values include: "PipelineName", "Status", "RunStart", "RunEnd", "ActivityName", "ActivityRunStart", "ActivityRunEnd", "ActivityType", "TriggerName", "TriggerRunTimestamp", "RunGroupId", "LatestOnly". :type operand: str or ~azure.synapse.artifacts.models.RunQueryFilterOperand :param operator: Required. Operator to be used for filter. Possible values include: "Equals", "NotEquals", "In", "NotIn". :type operator: str or ~azure.synapse.artifacts.models.RunQueryFilterOperator :param values: Required. List of filter values. :type values: list[str] """ _validation = { 'operand': {'required': True}, 'operator': {'required': True}, 'values': {'required': True}, } _attribute_map = { 'operand': {'key': 'operand', 'type': 'str'}, 'operator': {'key': 'operator', 'type': 'str'}, 'values': {'key': 'values', 'type': '[str]'}, } def __init__( self, *, operand: Union[str, "RunQueryFilterOperand"], operator: Union[str, "RunQueryFilterOperator"], values: List[str], **kwargs ): super(RunQueryFilter, self).__init__(**kwargs) self.operand = operand self.operator = operator self.values = values
[docs]class RunQueryOrderBy(msrest.serialization.Model): """An object to provide order by options for listing runs. All required parameters must be populated in order to send to Azure. :param order_by: Required. Parameter name to be used for order by. The allowed parameters to order by for pipeline runs are PipelineName, RunStart, RunEnd and Status; for activity runs are ActivityName, ActivityRunStart, ActivityRunEnd and Status; for trigger runs are TriggerName, TriggerRunTimestamp and Status. Possible values include: "RunStart", "RunEnd", "PipelineName", "Status", "ActivityName", "ActivityRunStart", "ActivityRunEnd", "TriggerName", "TriggerRunTimestamp". :type order_by: str or ~azure.synapse.artifacts.models.RunQueryOrderByField :param order: Required. Sorting order of the parameter. Possible values include: "ASC", "DESC". :type order: str or ~azure.synapse.artifacts.models.RunQueryOrder """ _validation = { 'order_by': {'required': True}, 'order': {'required': True}, } _attribute_map = { 'order_by': {'key': 'orderBy', 'type': 'str'}, 'order': {'key': 'order', 'type': 'str'}, } def __init__( self, *, order_by: Union[str, "RunQueryOrderByField"], order: Union[str, "RunQueryOrder"], **kwargs ): super(RunQueryOrderBy, self).__init__(**kwargs) self.order_by = order_by self.order = order
[docs]class SalesforceLinkedService(LinkedService): """Linked service for Salesforce. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. :type connect_via: ~azure.synapse.artifacts.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. :type parameters: dict[str, ~azure.synapse.artifacts.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param environment_url: The URL of Salesforce instance. Default is 'https://login.salesforce.com'. To copy data from sandbox, specify 'https://test.salesforce.com'. To copy data from custom domain, specify, for example, 'https://[domain].my.salesforce.com'. Type: string (or Expression with resultType string). :type environment_url: object :param username: The username for Basic authentication of the Salesforce instance. Type: string (or Expression with resultType string). :type username: object :param password: The password for Basic authentication of the Salesforce instance. :type password: ~azure.synapse.artifacts.models.SecretBase :param security_token: The security token is optional to remotely access Salesforce instance. :type security_token: ~azure.synapse.artifacts.models.SecretBase :param api_version: The Salesforce API version used in ADF. Type: string (or Expression with resultType string). :type api_version: 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). :type encrypted_credential: object """ _validation = { 'type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'connect_via': {'key': 'connectVia', 'type': 'IntegrationRuntimeReference'}, 'description': {'key': 'description', 'type': 'str'}, 'parameters': {'key': 'parameters', 'type': '{ParameterSpecification}'}, 'annotations': {'key': 'annotations', 'type': '[object]'}, 'environment_url': {'key': 'typeProperties.environmentUrl', 'type': 'object'}, 'username': {'key': 'typeProperties.username', 'type': 'object'}, 'password': {'key': 'typeProperties.password', 'type': 'SecretBase'}, 'security_token': {'key': 'typeProperties.securityToken', 'type': 'SecretBase'}, 'api_version': {'key': 'typeProperties.apiVersion', 'type': 'object'}, 'encrypted_credential': {'key': 'typeProperties.encryptedCredential', 'type': 'object'}, } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, connect_via: Optional["IntegrationRuntimeReference"] = None, description: Optional[str] = None, parameters: Optional[Dict[str, "ParameterSpecification"]] = None, annotations: Optional[List[object]] = None, environment_url: Optional[object] = None, username: Optional[object] = None, password: Optional["SecretBase"] = None, security_token: Optional["SecretBase"] = None, api_version: Optional[object] = None, encrypted_credential: Optional[object] = None, **kwargs ): super(SalesforceLinkedService, self).__init__(additional_properties=additional_properties, connect_via=connect_via, description=description, parameters=parameters, annotations=annotations, **kwargs) self.type = 'Salesforce' # type: str self.environment_url = environment_url self.username = username self.password = password self.security_token = security_token self.api_version = api_version self.encrypted_credential = encrypted_credential
[docs]class SalesforceMarketingCloudLinkedService(LinkedService): """Salesforce Marketing Cloud linked service. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. :type connect_via: ~azure.synapse.artifacts.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. :type parameters: dict[str, ~azure.synapse.artifacts.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param connection_properties: Properties used to connect to Salesforce Marketing Cloud. It is mutually exclusive with any other properties in the linked service. Type: object. :type connection_properties: object :param client_id: Required. The client ID associated with the Salesforce Marketing Cloud application. Type: string (or Expression with resultType string). :type client_id: object :param client_secret: The client secret associated with the Salesforce Marketing Cloud application. Type: string (or Expression with resultType string). :type client_secret: ~azure.synapse.artifacts.models.SecretBase :param use_encrypted_endpoints: Specifies whether the data source endpoints are encrypted using HTTPS. The default value is true. Type: boolean (or Expression with resultType boolean). :type use_encrypted_endpoints: object :param use_host_verification: Specifies whether to require the host name in the server's certificate to match the host name of the server when connecting over SSL. The default value is true. Type: boolean (or Expression with resultType boolean). :type use_host_verification: object :param use_peer_verification: Specifies whether to verify the identity of the server when connecting over SSL. The default value is true. Type: boolean (or Expression with resultType boolean). :type use_peer_verification: 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). :type encrypted_credential: object """ _validation = { 'type': {'required': True}, 'client_id': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'connect_via': {'key': 'connectVia', 'type': 'IntegrationRuntimeReference'}, 'description': {'key': 'description', 'type': 'str'}, 'parameters': {'key': 'parameters', 'type': '{ParameterSpecification}'}, 'annotations': {'key': 'annotations', 'type': '[object]'}, 'connection_properties': {'key': 'typeProperties.connectionProperties', 'type': 'object'}, 'client_id': {'key': 'typeProperties.clientId', 'type': 'object'}, 'client_secret': {'key': 'typeProperties.clientSecret', 'type': 'SecretBase'}, 'use_encrypted_endpoints': {'key': 'typeProperties.useEncryptedEndpoints', 'type': 'object'}, 'use_host_verification': {'key': 'typeProperties.useHostVerification', 'type': 'object'}, 'use_peer_verification': {'key': 'typeProperties.usePeerVerification', 'type': 'object'}, 'encrypted_credential': {'key': 'typeProperties.encryptedCredential', 'type': 'object'}, } def __init__( self, *, client_id: object, additional_properties: Optional[Dict[str, object]] = None, connect_via: Optional["IntegrationRuntimeReference"] = None, description: Optional[str] = None, parameters: Optional[Dict[str, "ParameterSpecification"]] = None, annotations: Optional[List[object]] = None, connection_properties: Optional[object] = None, client_secret: Optional["SecretBase"] = None, use_encrypted_endpoints: Optional[object] = None, use_host_verification: Optional[object] = None, use_peer_verification: Optional[object] = None, encrypted_credential: Optional[object] = None, **kwargs ): super(SalesforceMarketingCloudLinkedService, self).__init__(additional_properties=additional_properties, connect_via=connect_via, description=description, parameters=parameters, annotations=annotations, **kwargs) self.type = 'SalesforceMarketingCloud' # type: str self.connection_properties = connection_properties self.client_id = client_id self.client_secret = client_secret self.use_encrypted_endpoints = use_encrypted_endpoints self.use_host_verification = use_host_verification self.use_peer_verification = use_peer_verification self.encrypted_credential = encrypted_credential
[docs]class SalesforceMarketingCloudObjectDataset(Dataset): """Salesforce Marketing Cloud dataset. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Type of dataset.Constant filled by server. :type type: str :param description: Dataset description. :type description: str :param structure: Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. :type structure: object :param schema: Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. :type linked_service_name: ~azure.synapse.artifacts.models.LinkedServiceReference :param parameters: Parameters for dataset. :type parameters: dict[str, ~azure.synapse.artifacts.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. :type folder: ~azure.synapse.artifacts.models.DatasetFolder :param table_name: The table name. Type: string (or Expression with resultType string). :type table_name: object """ _validation = { 'type': {'required': True}, 'linked_service_name': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'description': {'key': 'description', 'type': 'str'}, 'structure': {'key': 'structure', 'type': 'object'}, 'schema': {'key': 'schema', 'type': 'object'}, 'linked_service_name': {'key': 'linkedServiceName', 'type': 'LinkedServiceReference'}, 'parameters': {'key': 'parameters', 'type': '{ParameterSpecification}'}, 'annotations': {'key': 'annotations', 'type': '[object]'}, 'folder': {'key': 'folder', 'type': 'DatasetFolder'}, 'table_name': {'key': 'typeProperties.tableName', 'type': 'object'}, } def __init__( self, *, linked_service_name: "LinkedServiceReference", additional_properties: Optional[Dict[str, object]] = None, description: Optional[str] = None, structure: Optional[object] = None, schema: Optional[object] = None, parameters: Optional[Dict[str, "ParameterSpecification"]] = None, annotations: Optional[List[object]] = None, folder: Optional["DatasetFolder"] = None, table_name: Optional[object] = None, **kwargs ): super(SalesforceMarketingCloudObjectDataset, self).__init__(additional_properties=additional_properties, description=description, structure=structure, schema=schema, linked_service_name=linked_service_name, parameters=parameters, annotations=annotations, folder=folder, **kwargs) self.type = 'SalesforceMarketingCloudObject' # type: str self.table_name = table_name
[docs]class SalesforceMarketingCloudSource(TabularSource): """A copy activity Salesforce Marketing Cloud source. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Copy source type.Constant filled by server. :type type: str :param source_retry_count: Source retry count. Type: integer (or Expression with resultType integer). :type source_retry_count: object :param source_retry_wait: Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type source_retry_wait: object :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object :param query_timeout: Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type query_timeout: object :param additional_columns: Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects). :type additional_columns: list[~azure.synapse.artifacts.models.AdditionalColumns] :param query: A query to retrieve data from source. Type: string (or Expression with resultType string). :type query: object """ _validation = { 'type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, 'query': {'key': 'query', 'type': 'object'}, } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, source_retry_count: Optional[object] = None, source_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, query_timeout: Optional[object] = None, additional_columns: Optional[List["AdditionalColumns"]] = None, query: Optional[object] = None, **kwargs ): super(SalesforceMarketingCloudSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, query_timeout=query_timeout, additional_columns=additional_columns, **kwargs) self.type = 'SalesforceMarketingCloudSource' # type: str self.query = query
[docs]class SalesforceObjectDataset(Dataset): """The Salesforce object dataset. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Type of dataset.Constant filled by server. :type type: str :param description: Dataset description. :type description: str :param structure: Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. :type structure: object :param schema: Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. :type linked_service_name: ~azure.synapse.artifacts.models.LinkedServiceReference :param parameters: Parameters for dataset. :type parameters: dict[str, ~azure.synapse.artifacts.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. :type folder: ~azure.synapse.artifacts.models.DatasetFolder :param object_api_name: The Salesforce object API name. Type: string (or Expression with resultType string). :type object_api_name: object """ _validation = { 'type': {'required': True}, 'linked_service_name': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'description': {'key': 'description', 'type': 'str'}, 'structure': {'key': 'structure', 'type': 'object'}, 'schema': {'key': 'schema', 'type': 'object'}, 'linked_service_name': {'key': 'linkedServiceName', 'type': 'LinkedServiceReference'}, 'parameters': {'key': 'parameters', 'type': '{ParameterSpecification}'}, 'annotations': {'key': 'annotations', 'type': '[object]'}, 'folder': {'key': 'folder', 'type': 'DatasetFolder'}, 'object_api_name': {'key': 'typeProperties.objectApiName', 'type': 'object'}, } def __init__( self, *, linked_service_name: "LinkedServiceReference", additional_properties: Optional[Dict[str, object]] = None, description: Optional[str] = None, structure: Optional[object] = None, schema: Optional[object] = None, parameters: Optional[Dict[str, "ParameterSpecification"]] = None, annotations: Optional[List[object]] = None, folder: Optional["DatasetFolder"] = None, object_api_name: Optional[object] = None, **kwargs ): super(SalesforceObjectDataset, self).__init__(additional_properties=additional_properties, description=description, structure=structure, schema=schema, linked_service_name=linked_service_name, parameters=parameters, annotations=annotations, folder=folder, **kwargs) self.type = 'SalesforceObject' # type: str self.object_api_name = object_api_name
[docs]class SalesforceServiceCloudLinkedService(LinkedService): """Linked service for Salesforce Service Cloud. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. :type connect_via: ~azure.synapse.artifacts.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. :type parameters: dict[str, ~azure.synapse.artifacts.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param environment_url: The URL of Salesforce Service Cloud instance. Default is 'https://login.salesforce.com'. To copy data from sandbox, specify 'https://test.salesforce.com'. To copy data from custom domain, specify, for example, 'https://[domain].my.salesforce.com'. Type: string (or Expression with resultType string). :type environment_url: object :param username: The username for Basic authentication of the Salesforce instance. Type: string (or Expression with resultType string). :type username: object :param password: The password for Basic authentication of the Salesforce instance. :type password: ~azure.synapse.artifacts.models.SecretBase :param security_token: The security token is optional to remotely access Salesforce instance. :type security_token: ~azure.synapse.artifacts.models.SecretBase :param api_version: The Salesforce API version used in ADF. Type: string (or Expression with resultType string). :type api_version: object :param extended_properties: Extended properties appended to the connection string. Type: string (or Expression with resultType string). :type extended_properties: 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). :type encrypted_credential: object """ _validation = { 'type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'connect_via': {'key': 'connectVia', 'type': 'IntegrationRuntimeReference'}, 'description': {'key': 'description', 'type': 'str'}, 'parameters': {'key': 'parameters', 'type': '{ParameterSpecification}'}, 'annotations': {'key': 'annotations', 'type': '[object]'}, 'environment_url': {'key': 'typeProperties.environmentUrl', 'type': 'object'}, 'username': {'key': 'typeProperties.username', 'type': 'object'}, 'password': {'key': 'typeProperties.password', 'type': 'SecretBase'}, 'security_token': {'key': 'typeProperties.securityToken', 'type': 'SecretBase'}, 'api_version': {'key': 'typeProperties.apiVersion', 'type': 'object'}, 'extended_properties': {'key': 'typeProperties.extendedProperties', 'type': 'object'}, 'encrypted_credential': {'key': 'typeProperties.encryptedCredential', 'type': 'object'}, } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, connect_via: Optional["IntegrationRuntimeReference"] = None, description: Optional[str] = None, parameters: Optional[Dict[str, "ParameterSpecification"]] = None, annotations: Optional[List[object]] = None, environment_url: Optional[object] = None, username: Optional[object] = None, password: Optional["SecretBase"] = None, security_token: Optional["SecretBase"] = None, api_version: Optional[object] = None, extended_properties: Optional[object] = None, encrypted_credential: Optional[object] = None, **kwargs ): super(SalesforceServiceCloudLinkedService, self).__init__(additional_properties=additional_properties, connect_via=connect_via, description=description, parameters=parameters, annotations=annotations, **kwargs) self.type = 'SalesforceServiceCloud' # type: str self.environment_url = environment_url self.username = username self.password = password self.security_token = security_token self.api_version = api_version self.extended_properties = extended_properties self.encrypted_credential = encrypted_credential
[docs]class SalesforceServiceCloudObjectDataset(Dataset): """The Salesforce Service Cloud object dataset. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Type of dataset.Constant filled by server. :type type: str :param description: Dataset description. :type description: str :param structure: Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. :type structure: object :param schema: Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. :type linked_service_name: ~azure.synapse.artifacts.models.LinkedServiceReference :param parameters: Parameters for dataset. :type parameters: dict[str, ~azure.synapse.artifacts.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. :type folder: ~azure.synapse.artifacts.models.DatasetFolder :param object_api_name: The Salesforce Service Cloud object API name. Type: string (or Expression with resultType string). :type object_api_name: object """ _validation = { 'type': {'required': True}, 'linked_service_name': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'description': {'key': 'description', 'type': 'str'}, 'structure': {'key': 'structure', 'type': 'object'}, 'schema': {'key': 'schema', 'type': 'object'}, 'linked_service_name': {'key': 'linkedServiceName', 'type': 'LinkedServiceReference'}, 'parameters': {'key': 'parameters', 'type': '{ParameterSpecification}'}, 'annotations': {'key': 'annotations', 'type': '[object]'}, 'folder': {'key': 'folder', 'type': 'DatasetFolder'}, 'object_api_name': {'key': 'typeProperties.objectApiName', 'type': 'object'}, } def __init__( self, *, linked_service_name: "LinkedServiceReference", additional_properties: Optional[Dict[str, object]] = None, description: Optional[str] = None, structure: Optional[object] = None, schema: Optional[object] = None, parameters: Optional[Dict[str, "ParameterSpecification"]] = None, annotations: Optional[List[object]] = None, folder: Optional["DatasetFolder"] = None, object_api_name: Optional[object] = None, **kwargs ): super(SalesforceServiceCloudObjectDataset, self).__init__(additional_properties=additional_properties, description=description, structure=structure, schema=schema, linked_service_name=linked_service_name, parameters=parameters, annotations=annotations, folder=folder, **kwargs) self.type = 'SalesforceServiceCloudObject' # type: str self.object_api_name = object_api_name
[docs]class SalesforceServiceCloudSink(CopySink): """A copy activity Salesforce Service Cloud sink. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Copy sink type.Constant filled by server. :type type: str :param write_batch_size: Write batch size. Type: integer (or Expression with resultType integer), minimum: 0. :type write_batch_size: object :param write_batch_timeout: Write batch timeout. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type write_batch_timeout: object :param sink_retry_count: Sink retry count. Type: integer (or Expression with resultType integer). :type sink_retry_count: object :param sink_retry_wait: Sink retry wait. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type sink_retry_wait: object :param max_concurrent_connections: The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object :param write_behavior: The write behavior for the operation. Default is Insert. Possible values include: "Insert", "Upsert". :type write_behavior: str or ~azure.synapse.artifacts.models.SalesforceSinkWriteBehavior :param external_id_field_name: The name of the external ID field for upsert operation. Default value is 'Id' column. Type: string (or Expression with resultType string). :type external_id_field_name: object :param ignore_null_values: The flag indicating whether or not to ignore null values from input dataset (except key fields) during write operation. Default value is false. If set it to true, it means ADF will leave the data in the destination object unchanged when doing upsert/update operation and insert defined default value when doing insert operation, versus ADF will update the data in the destination object to NULL when doing upsert/update operation and insert NULL value when doing insert operation. Type: boolean (or Expression with resultType boolean). :type ignore_null_values: object """ _validation = { 'type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'write_batch_size': {'key': 'writeBatchSize', 'type': 'object'}, 'write_batch_timeout': {'key': 'writeBatchTimeout', 'type': 'object'}, 'sink_retry_count': {'key': 'sinkRetryCount', 'type': 'object'}, 'sink_retry_wait': {'key': 'sinkRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'write_behavior': {'key': 'writeBehavior', 'type': 'str'}, 'external_id_field_name': {'key': 'externalIdFieldName', 'type': 'object'}, 'ignore_null_values': {'key': 'ignoreNullValues', 'type': 'object'}, } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, write_batch_size: Optional[object] = None, write_batch_timeout: Optional[object] = None, sink_retry_count: Optional[object] = None, sink_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, write_behavior: Optional[Union[str, "SalesforceSinkWriteBehavior"]] = None, external_id_field_name: Optional[object] = None, ignore_null_values: Optional[object] = None, **kwargs ): super(SalesforceServiceCloudSink, self).__init__(additional_properties=additional_properties, write_batch_size=write_batch_size, write_batch_timeout=write_batch_timeout, sink_retry_count=sink_retry_count, sink_retry_wait=sink_retry_wait, max_concurrent_connections=max_concurrent_connections, **kwargs) self.type = 'SalesforceServiceCloudSink' # type: str self.write_behavior = write_behavior self.external_id_field_name = external_id_field_name self.ignore_null_values = ignore_null_values
[docs]class SalesforceServiceCloudSource(CopySource): """A copy activity Salesforce Service Cloud source. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Copy source type.Constant filled by server. :type type: str :param source_retry_count: Source retry count. Type: integer (or Expression with resultType integer). :type source_retry_count: object :param source_retry_wait: Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type source_retry_wait: object :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object :param query: Database query. Type: string (or Expression with resultType string). :type query: object :param read_behavior: The read behavior for the operation. Default is Query. Possible values include: "Query", "QueryAll". :type read_behavior: str or ~azure.synapse.artifacts.models.SalesforceSourceReadBehavior :param additional_columns: Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects). :type additional_columns: list[~azure.synapse.artifacts.models.AdditionalColumns] """ _validation = { 'type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, 'read_behavior': {'key': 'readBehavior', 'type': 'str'}, 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, source_retry_count: Optional[object] = None, source_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, query: Optional[object] = None, read_behavior: Optional[Union[str, "SalesforceSourceReadBehavior"]] = None, additional_columns: Optional[List["AdditionalColumns"]] = None, **kwargs ): super(SalesforceServiceCloudSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, **kwargs) self.type = 'SalesforceServiceCloudSource' # type: str self.query = query self.read_behavior = read_behavior self.additional_columns = additional_columns
[docs]class SalesforceSink(CopySink): """A copy activity Salesforce sink. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Copy sink type.Constant filled by server. :type type: str :param write_batch_size: Write batch size. Type: integer (or Expression with resultType integer), minimum: 0. :type write_batch_size: object :param write_batch_timeout: Write batch timeout. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type write_batch_timeout: object :param sink_retry_count: Sink retry count. Type: integer (or Expression with resultType integer). :type sink_retry_count: object :param sink_retry_wait: Sink retry wait. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type sink_retry_wait: object :param max_concurrent_connections: The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object :param write_behavior: The write behavior for the operation. Default is Insert. Possible values include: "Insert", "Upsert". :type write_behavior: str or ~azure.synapse.artifacts.models.SalesforceSinkWriteBehavior :param external_id_field_name: The name of the external ID field for upsert operation. Default value is 'Id' column. Type: string (or Expression with resultType string). :type external_id_field_name: object :param ignore_null_values: The flag indicating whether or not to ignore null values from input dataset (except key fields) during write operation. Default value is false. If set it to true, it means ADF will leave the data in the destination object unchanged when doing upsert/update operation and insert defined default value when doing insert operation, versus ADF will update the data in the destination object to NULL when doing upsert/update operation and insert NULL value when doing insert operation. Type: boolean (or Expression with resultType boolean). :type ignore_null_values: object """ _validation = { 'type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'write_batch_size': {'key': 'writeBatchSize', 'type': 'object'}, 'write_batch_timeout': {'key': 'writeBatchTimeout', 'type': 'object'}, 'sink_retry_count': {'key': 'sinkRetryCount', 'type': 'object'}, 'sink_retry_wait': {'key': 'sinkRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'write_behavior': {'key': 'writeBehavior', 'type': 'str'}, 'external_id_field_name': {'key': 'externalIdFieldName', 'type': 'object'}, 'ignore_null_values': {'key': 'ignoreNullValues', 'type': 'object'}, } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, write_batch_size: Optional[object] = None, write_batch_timeout: Optional[object] = None, sink_retry_count: Optional[object] = None, sink_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, write_behavior: Optional[Union[str, "SalesforceSinkWriteBehavior"]] = None, external_id_field_name: Optional[object] = None, ignore_null_values: Optional[object] = None, **kwargs ): super(SalesforceSink, self).__init__(additional_properties=additional_properties, write_batch_size=write_batch_size, write_batch_timeout=write_batch_timeout, sink_retry_count=sink_retry_count, sink_retry_wait=sink_retry_wait, max_concurrent_connections=max_concurrent_connections, **kwargs) self.type = 'SalesforceSink' # type: str self.write_behavior = write_behavior self.external_id_field_name = external_id_field_name self.ignore_null_values = ignore_null_values
[docs]class SalesforceSource(TabularSource): """A copy activity Salesforce source. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Copy source type.Constant filled by server. :type type: str :param source_retry_count: Source retry count. Type: integer (or Expression with resultType integer). :type source_retry_count: object :param source_retry_wait: Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type source_retry_wait: object :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object :param query_timeout: Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type query_timeout: object :param additional_columns: Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects). :type additional_columns: list[~azure.synapse.artifacts.models.AdditionalColumns] :param query: Database query. Type: string (or Expression with resultType string). :type query: object :param read_behavior: The read behavior for the operation. Default is Query. Possible values include: "Query", "QueryAll". :type read_behavior: str or ~azure.synapse.artifacts.models.SalesforceSourceReadBehavior """ _validation = { 'type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, 'query': {'key': 'query', 'type': 'object'}, 'read_behavior': {'key': 'readBehavior', 'type': 'str'}, } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, source_retry_count: Optional[object] = None, source_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, query_timeout: Optional[object] = None, additional_columns: Optional[List["AdditionalColumns"]] = None, query: Optional[object] = None, read_behavior: Optional[Union[str, "SalesforceSourceReadBehavior"]] = None, **kwargs ): super(SalesforceSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, query_timeout=query_timeout, additional_columns=additional_columns, **kwargs) self.type = 'SalesforceSource' # type: str self.query = query self.read_behavior = read_behavior
[docs]class SapBwCubeDataset(Dataset): """The SAP BW cube dataset. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Type of dataset.Constant filled by server. :type type: str :param description: Dataset description. :type description: str :param structure: Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. :type structure: object :param schema: Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. :type linked_service_name: ~azure.synapse.artifacts.models.LinkedServiceReference :param parameters: Parameters for dataset. :type parameters: dict[str, ~azure.synapse.artifacts.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. :type folder: ~azure.synapse.artifacts.models.DatasetFolder """ _validation = { 'type': {'required': True}, 'linked_service_name': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'description': {'key': 'description', 'type': 'str'}, 'structure': {'key': 'structure', 'type': 'object'}, 'schema': {'key': 'schema', 'type': 'object'}, 'linked_service_name': {'key': 'linkedServiceName', 'type': 'LinkedServiceReference'}, 'parameters': {'key': 'parameters', 'type': '{ParameterSpecification}'}, 'annotations': {'key': 'annotations', 'type': '[object]'}, 'folder': {'key': 'folder', 'type': 'DatasetFolder'}, } def __init__( self, *, linked_service_name: "LinkedServiceReference", additional_properties: Optional[Dict[str, object]] = None, description: Optional[str] = None, structure: Optional[object] = None, schema: Optional[object] = None, parameters: Optional[Dict[str, "ParameterSpecification"]] = None, annotations: Optional[List[object]] = None, folder: Optional["DatasetFolder"] = None, **kwargs ): super(SapBwCubeDataset, self).__init__(additional_properties=additional_properties, description=description, structure=structure, schema=schema, linked_service_name=linked_service_name, parameters=parameters, annotations=annotations, folder=folder, **kwargs) self.type = 'SapBwCube' # type: str
[docs]class SapBWLinkedService(LinkedService): """SAP Business Warehouse Linked Service. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. :type connect_via: ~azure.synapse.artifacts.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. :type parameters: dict[str, ~azure.synapse.artifacts.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param server: Required. Host name of the SAP BW instance. Type: string (or Expression with resultType string). :type server: object :param system_number: Required. System number of the BW system. (Usually a two-digit decimal number represented as a string.) Type: string (or Expression with resultType string). :type system_number: object :param client_id: Required. Client ID of the client on the BW system. (Usually a three-digit decimal number represented as a string) Type: string (or Expression with resultType string). :type client_id: object :param user_name: Username to access the SAP BW server. Type: string (or Expression with resultType string). :type user_name: object :param password: Password to access the SAP BW server. :type password: ~azure.synapse.artifacts.models.SecretBase :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). :type encrypted_credential: object """ _validation = { 'type': {'required': True}, 'server': {'required': True}, 'system_number': {'required': True}, 'client_id': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'connect_via': {'key': 'connectVia', 'type': 'IntegrationRuntimeReference'}, 'description': {'key': 'description', 'type': 'str'}, 'parameters': {'key': 'parameters', 'type': '{ParameterSpecification}'}, 'annotations': {'key': 'annotations', 'type': '[object]'}, 'server': {'key': 'typeProperties.server', 'type': 'object'}, 'system_number': {'key': 'typeProperties.systemNumber', 'type': 'object'}, 'client_id': {'key': 'typeProperties.clientId', 'type': 'object'}, 'user_name': {'key': 'typeProperties.userName', 'type': 'object'}, 'password': {'key': 'typeProperties.password', 'type': 'SecretBase'}, 'encrypted_credential': {'key': 'typeProperties.encryptedCredential', 'type': 'object'}, } def __init__( self, *, server: object, system_number: object, client_id: object, additional_properties: Optional[Dict[str, object]] = None, connect_via: Optional["IntegrationRuntimeReference"] = None, description: Optional[str] = None, parameters: Optional[Dict[str, "ParameterSpecification"]] = None, annotations: Optional[List[object]] = None, user_name: Optional[object] = None, password: Optional["SecretBase"] = None, encrypted_credential: Optional[object] = None, **kwargs ): super(SapBWLinkedService, self).__init__(additional_properties=additional_properties, connect_via=connect_via, description=description, parameters=parameters, annotations=annotations, **kwargs) self.type = 'SapBW' # type: str self.server = server self.system_number = system_number self.client_id = client_id self.user_name = user_name self.password = password self.encrypted_credential = encrypted_credential
[docs]class SapBwSource(TabularSource): """A copy activity source for SapBW server via MDX. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Copy source type.Constant filled by server. :type type: str :param source_retry_count: Source retry count. Type: integer (or Expression with resultType integer). :type source_retry_count: object :param source_retry_wait: Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type source_retry_wait: object :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object :param query_timeout: Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type query_timeout: object :param additional_columns: Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects). :type additional_columns: list[~azure.synapse.artifacts.models.AdditionalColumns] :param query: MDX query. Type: string (or Expression with resultType string). :type query: object """ _validation = { 'type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, 'query': {'key': 'query', 'type': 'object'}, } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, source_retry_count: Optional[object] = None, source_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, query_timeout: Optional[object] = None, additional_columns: Optional[List["AdditionalColumns"]] = None, query: Optional[object] = None, **kwargs ): super(SapBwSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, query_timeout=query_timeout, additional_columns=additional_columns, **kwargs) self.type = 'SapBwSource' # type: str self.query = query
[docs]class SapCloudForCustomerLinkedService(LinkedService): """Linked service for SAP Cloud for Customer. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. :type connect_via: ~azure.synapse.artifacts.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. :type parameters: dict[str, ~azure.synapse.artifacts.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param url: Required. The URL of SAP Cloud for Customer OData API. For example, '[https://[tenantname].crm.ondemand.com/sap/c4c/odata/v1]'. Type: string (or Expression with resultType string). :type url: object :param username: The username for Basic authentication. Type: string (or Expression with resultType string). :type username: object :param password: The password for Basic authentication. :type password: ~azure.synapse.artifacts.models.SecretBase :param encrypted_credential: The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Either encryptedCredential or username/password must be provided. Type: string (or Expression with resultType string). :type encrypted_credential: object """ _validation = { 'type': {'required': True}, 'url': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'connect_via': {'key': 'connectVia', 'type': 'IntegrationRuntimeReference'}, 'description': {'key': 'description', 'type': 'str'}, 'parameters': {'key': 'parameters', 'type': '{ParameterSpecification}'}, 'annotations': {'key': 'annotations', 'type': '[object]'}, 'url': {'key': 'typeProperties.url', 'type': 'object'}, 'username': {'key': 'typeProperties.username', 'type': 'object'}, 'password': {'key': 'typeProperties.password', 'type': 'SecretBase'}, 'encrypted_credential': {'key': 'typeProperties.encryptedCredential', 'type': 'object'}, } def __init__( self, *, url: object, additional_properties: Optional[Dict[str, object]] = None, connect_via: Optional["IntegrationRuntimeReference"] = None, description: Optional[str] = None, parameters: Optional[Dict[str, "ParameterSpecification"]] = None, annotations: Optional[List[object]] = None, username: Optional[object] = None, password: Optional["SecretBase"] = None, encrypted_credential: Optional[object] = None, **kwargs ): super(SapCloudForCustomerLinkedService, self).__init__(additional_properties=additional_properties, connect_via=connect_via, description=description, parameters=parameters, annotations=annotations, **kwargs) self.type = 'SapCloudForCustomer' # type: str self.url = url self.username = username self.password = password self.encrypted_credential = encrypted_credential
[docs]class SapCloudForCustomerResourceDataset(Dataset): """The path of the SAP Cloud for Customer OData entity. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Type of dataset.Constant filled by server. :type type: str :param description: Dataset description. :type description: str :param structure: Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. :type structure: object :param schema: Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. :type linked_service_name: ~azure.synapse.artifacts.models.LinkedServiceReference :param parameters: Parameters for dataset. :type parameters: dict[str, ~azure.synapse.artifacts.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. :type folder: ~azure.synapse.artifacts.models.DatasetFolder :param path: Required. The path of the SAP Cloud for Customer OData entity. Type: string (or Expression with resultType string). :type path: object """ _validation = { 'type': {'required': True}, 'linked_service_name': {'required': True}, 'path': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'description': {'key': 'description', 'type': 'str'}, 'structure': {'key': 'structure', 'type': 'object'}, 'schema': {'key': 'schema', 'type': 'object'}, 'linked_service_name': {'key': 'linkedServiceName', 'type': 'LinkedServiceReference'}, 'parameters': {'key': 'parameters', 'type': '{ParameterSpecification}'}, 'annotations': {'key': 'annotations', 'type': '[object]'}, 'folder': {'key': 'folder', 'type': 'DatasetFolder'}, 'path': {'key': 'typeProperties.path', 'type': 'object'}, } def __init__( self, *, linked_service_name: "LinkedServiceReference", path: object, additional_properties: Optional[Dict[str, object]] = None, description: Optional[str] = None, structure: Optional[object] = None, schema: Optional[object] = None, parameters: Optional[Dict[str, "ParameterSpecification"]] = None, annotations: Optional[List[object]] = None, folder: Optional["DatasetFolder"] = None, **kwargs ): super(SapCloudForCustomerResourceDataset, self).__init__(additional_properties=additional_properties, description=description, structure=structure, schema=schema, linked_service_name=linked_service_name, parameters=parameters, annotations=annotations, folder=folder, **kwargs) self.type = 'SapCloudForCustomerResource' # type: str self.path = path
[docs]class SapCloudForCustomerSink(CopySink): """A copy activity SAP Cloud for Customer sink. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Copy sink type.Constant filled by server. :type type: str :param write_batch_size: Write batch size. Type: integer (or Expression with resultType integer), minimum: 0. :type write_batch_size: object :param write_batch_timeout: Write batch timeout. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type write_batch_timeout: object :param sink_retry_count: Sink retry count. Type: integer (or Expression with resultType integer). :type sink_retry_count: object :param sink_retry_wait: Sink retry wait. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type sink_retry_wait: object :param max_concurrent_connections: The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object :param write_behavior: The write behavior for the operation. Default is 'Insert'. Possible values include: "Insert", "Update". :type write_behavior: str or ~azure.synapse.artifacts.models.SapCloudForCustomerSinkWriteBehavior :param http_request_timeout: The timeout (TimeSpan) to get an HTTP response. It is the timeout to get a response, not the timeout to read response data. Default value: 00:05:00. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type http_request_timeout: object """ _validation = { 'type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'write_batch_size': {'key': 'writeBatchSize', 'type': 'object'}, 'write_batch_timeout': {'key': 'writeBatchTimeout', 'type': 'object'}, 'sink_retry_count': {'key': 'sinkRetryCount', 'type': 'object'}, 'sink_retry_wait': {'key': 'sinkRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'write_behavior': {'key': 'writeBehavior', 'type': 'str'}, 'http_request_timeout': {'key': 'httpRequestTimeout', 'type': 'object'}, } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, write_batch_size: Optional[object] = None, write_batch_timeout: Optional[object] = None, sink_retry_count: Optional[object] = None, sink_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, write_behavior: Optional[Union[str, "SapCloudForCustomerSinkWriteBehavior"]] = None, http_request_timeout: Optional[object] = None, **kwargs ): super(SapCloudForCustomerSink, self).__init__(additional_properties=additional_properties, write_batch_size=write_batch_size, write_batch_timeout=write_batch_timeout, sink_retry_count=sink_retry_count, sink_retry_wait=sink_retry_wait, max_concurrent_connections=max_concurrent_connections, **kwargs) self.type = 'SapCloudForCustomerSink' # type: str self.write_behavior = write_behavior self.http_request_timeout = http_request_timeout
[docs]class SapCloudForCustomerSource(TabularSource): """A copy activity source for SAP Cloud for Customer source. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Copy source type.Constant filled by server. :type type: str :param source_retry_count: Source retry count. Type: integer (or Expression with resultType integer). :type source_retry_count: object :param source_retry_wait: Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type source_retry_wait: object :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object :param query_timeout: Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type query_timeout: object :param additional_columns: Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects). :type additional_columns: list[~azure.synapse.artifacts.models.AdditionalColumns] :param query: SAP Cloud for Customer OData query. For example, "$top=1". Type: string (or Expression with resultType string). :type query: object :param http_request_timeout: The timeout (TimeSpan) to get an HTTP response. It is the timeout to get a response, not the timeout to read response data. Default value: 00:05:00. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type http_request_timeout: object """ _validation = { 'type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, 'query': {'key': 'query', 'type': 'object'}, 'http_request_timeout': {'key': 'httpRequestTimeout', 'type': 'object'}, } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, source_retry_count: Optional[object] = None, source_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, query_timeout: Optional[object] = None, additional_columns: Optional[List["AdditionalColumns"]] = None, query: Optional[object] = None, http_request_timeout: Optional[object] = None, **kwargs ): super(SapCloudForCustomerSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, query_timeout=query_timeout, additional_columns=additional_columns, **kwargs) self.type = 'SapCloudForCustomerSource' # type: str self.query = query self.http_request_timeout = http_request_timeout
[docs]class SapEccLinkedService(LinkedService): """Linked service for SAP ERP Central Component(SAP ECC). All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. :type connect_via: ~azure.synapse.artifacts.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. :type parameters: dict[str, ~azure.synapse.artifacts.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param url: Required. The URL of SAP ECC OData API. For example, '[https://hostname:port/sap/opu/odata/sap/servicename/]'. Type: string (or Expression with resultType string). :type url: str :param username: The username for Basic authentication. Type: string (or Expression with resultType string). :type username: str :param password: The password for Basic authentication. :type password: ~azure.synapse.artifacts.models.SecretBase :param encrypted_credential: The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Either encryptedCredential or username/password must be provided. Type: string (or Expression with resultType string). :type encrypted_credential: str """ _validation = { 'type': {'required': True}, 'url': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'connect_via': {'key': 'connectVia', 'type': 'IntegrationRuntimeReference'}, 'description': {'key': 'description', 'type': 'str'}, 'parameters': {'key': 'parameters', 'type': '{ParameterSpecification}'}, 'annotations': {'key': 'annotations', 'type': '[object]'}, 'url': {'key': 'typeProperties.url', 'type': 'str'}, 'username': {'key': 'typeProperties.username', 'type': 'str'}, 'password': {'key': 'typeProperties.password', 'type': 'SecretBase'}, 'encrypted_credential': {'key': 'typeProperties.encryptedCredential', 'type': 'str'}, } def __init__( self, *, url: str, additional_properties: Optional[Dict[str, object]] = None, connect_via: Optional["IntegrationRuntimeReference"] = None, description: Optional[str] = None, parameters: Optional[Dict[str, "ParameterSpecification"]] = None, annotations: Optional[List[object]] = None, username: Optional[str] = None, password: Optional["SecretBase"] = None, encrypted_credential: Optional[str] = None, **kwargs ): super(SapEccLinkedService, self).__init__(additional_properties=additional_properties, connect_via=connect_via, description=description, parameters=parameters, annotations=annotations, **kwargs) self.type = 'SapEcc' # type: str self.url = url self.username = username self.password = password self.encrypted_credential = encrypted_credential
[docs]class SapEccResourceDataset(Dataset): """The path of the SAP ECC OData entity. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Type of dataset.Constant filled by server. :type type: str :param description: Dataset description. :type description: str :param structure: Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. :type structure: object :param schema: Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. :type linked_service_name: ~azure.synapse.artifacts.models.LinkedServiceReference :param parameters: Parameters for dataset. :type parameters: dict[str, ~azure.synapse.artifacts.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. :type folder: ~azure.synapse.artifacts.models.DatasetFolder :param path: Required. The path of the SAP ECC OData entity. Type: string (or Expression with resultType string). :type path: object """ _validation = { 'type': {'required': True}, 'linked_service_name': {'required': True}, 'path': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'description': {'key': 'description', 'type': 'str'}, 'structure': {'key': 'structure', 'type': 'object'}, 'schema': {'key': 'schema', 'type': 'object'}, 'linked_service_name': {'key': 'linkedServiceName', 'type': 'LinkedServiceReference'}, 'parameters': {'key': 'parameters', 'type': '{ParameterSpecification}'}, 'annotations': {'key': 'annotations', 'type': '[object]'}, 'folder': {'key': 'folder', 'type': 'DatasetFolder'}, 'path': {'key': 'typeProperties.path', 'type': 'object'}, } def __init__( self, *, linked_service_name: "LinkedServiceReference", path: object, additional_properties: Optional[Dict[str, object]] = None, description: Optional[str] = None, structure: Optional[object] = None, schema: Optional[object] = None, parameters: Optional[Dict[str, "ParameterSpecification"]] = None, annotations: Optional[List[object]] = None, folder: Optional["DatasetFolder"] = None, **kwargs ): super(SapEccResourceDataset, self).__init__(additional_properties=additional_properties, description=description, structure=structure, schema=schema, linked_service_name=linked_service_name, parameters=parameters, annotations=annotations, folder=folder, **kwargs) self.type = 'SapEccResource' # type: str self.path = path
[docs]class SapEccSource(TabularSource): """A copy activity source for SAP ECC source. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Copy source type.Constant filled by server. :type type: str :param source_retry_count: Source retry count. Type: integer (or Expression with resultType integer). :type source_retry_count: object :param source_retry_wait: Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type source_retry_wait: object :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object :param query_timeout: Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type query_timeout: object :param additional_columns: Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects). :type additional_columns: list[~azure.synapse.artifacts.models.AdditionalColumns] :param query: SAP ECC OData query. For example, "$top=1". Type: string (or Expression with resultType string). :type query: object :param http_request_timeout: The timeout (TimeSpan) to get an HTTP response. It is the timeout to get a response, not the timeout to read response data. Default value: 00:05:00. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type http_request_timeout: object """ _validation = { 'type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, 'query': {'key': 'query', 'type': 'object'}, 'http_request_timeout': {'key': 'httpRequestTimeout', 'type': 'object'}, } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, source_retry_count: Optional[object] = None, source_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, query_timeout: Optional[object] = None, additional_columns: Optional[List["AdditionalColumns"]] = None, query: Optional[object] = None, http_request_timeout: Optional[object] = None, **kwargs ): super(SapEccSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, query_timeout=query_timeout, additional_columns=additional_columns, **kwargs) self.type = 'SapEccSource' # type: str self.query = query self.http_request_timeout = http_request_timeout
[docs]class SapHanaLinkedService(LinkedService): """SAP HANA Linked Service. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. :type connect_via: ~azure.synapse.artifacts.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. :type parameters: dict[str, ~azure.synapse.artifacts.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param connection_string: SAP HANA ODBC connection string. Type: string, SecureString or AzureKeyVaultSecretReference. :type connection_string: object :param server: Required. Host name of the SAP HANA server. Type: string (or Expression with resultType string). :type server: object :param authentication_type: The authentication type to be used to connect to the SAP HANA server. Possible values include: "Basic", "Windows". :type authentication_type: str or ~azure.synapse.artifacts.models.SapHanaAuthenticationType :param user_name: Username to access the SAP HANA server. Type: string (or Expression with resultType string). :type user_name: object :param password: Password to access the SAP HANA server. :type password: ~azure.synapse.artifacts.models.SecretBase :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). :type encrypted_credential: object """ _validation = { 'type': {'required': True}, 'server': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'connect_via': {'key': 'connectVia', 'type': 'IntegrationRuntimeReference'}, 'description': {'key': 'description', 'type': 'str'}, 'parameters': {'key': 'parameters', 'type': '{ParameterSpecification}'}, 'annotations': {'key': 'annotations', 'type': '[object]'}, 'connection_string': {'key': 'typeProperties.connectionString', 'type': 'object'}, 'server': {'key': 'typeProperties.server', 'type': 'object'}, 'authentication_type': {'key': 'typeProperties.authenticationType', 'type': 'str'}, 'user_name': {'key': 'typeProperties.userName', 'type': 'object'}, 'password': {'key': 'typeProperties.password', 'type': 'SecretBase'}, 'encrypted_credential': {'key': 'typeProperties.encryptedCredential', 'type': 'object'}, } def __init__( self, *, server: object, additional_properties: Optional[Dict[str, object]] = None, connect_via: Optional["IntegrationRuntimeReference"] = None, description: Optional[str] = None, parameters: Optional[Dict[str, "ParameterSpecification"]] = None, annotations: Optional[List[object]] = None, connection_string: Optional[object] = None, authentication_type: Optional[Union[str, "SapHanaAuthenticationType"]] = None, user_name: Optional[object] = None, password: Optional["SecretBase"] = None, encrypted_credential: Optional[object] = None, **kwargs ): super(SapHanaLinkedService, self).__init__(additional_properties=additional_properties, connect_via=connect_via, description=description, parameters=parameters, annotations=annotations, **kwargs) self.type = 'SapHana' # type: str self.connection_string = connection_string self.server = server self.authentication_type = authentication_type self.user_name = user_name self.password = password self.encrypted_credential = encrypted_credential
[docs]class SapHanaPartitionSettings(msrest.serialization.Model): """The settings that will be leveraged for SAP HANA source partitioning. :param partition_column_name: The name of the column that will be used for proceeding range partitioning. Type: string (or Expression with resultType string). :type partition_column_name: object """ _attribute_map = { 'partition_column_name': {'key': 'partitionColumnName', 'type': 'object'}, } def __init__( self, *, partition_column_name: Optional[object] = None, **kwargs ): super(SapHanaPartitionSettings, self).__init__(**kwargs) self.partition_column_name = partition_column_name
[docs]class SapHanaSource(TabularSource): """A copy activity source for SAP HANA source. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Copy source type.Constant filled by server. :type type: str :param source_retry_count: Source retry count. Type: integer (or Expression with resultType integer). :type source_retry_count: object :param source_retry_wait: Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type source_retry_wait: object :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object :param query_timeout: Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type query_timeout: object :param additional_columns: Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects). :type additional_columns: list[~azure.synapse.artifacts.models.AdditionalColumns] :param query: SAP HANA Sql query. Type: string (or Expression with resultType string). :type query: object :param packet_size: The packet size of data read from SAP HANA. Type: integer(or Expression with resultType integer). :type packet_size: object :param partition_option: The partition mechanism that will be used for SAP HANA read in parallel. Possible values include: "None", "PhysicalPartitionsOfTable", "SapHanaDynamicRange". :type partition_option: str or ~azure.synapse.artifacts.models.SapHanaPartitionOption :param partition_settings: The settings that will be leveraged for SAP HANA source partitioning. :type partition_settings: ~azure.synapse.artifacts.models.SapHanaPartitionSettings """ _validation = { 'type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, 'query': {'key': 'query', 'type': 'object'}, 'packet_size': {'key': 'packetSize', 'type': 'object'}, 'partition_option': {'key': 'partitionOption', 'type': 'str'}, 'partition_settings': {'key': 'partitionSettings', 'type': 'SapHanaPartitionSettings'}, } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, source_retry_count: Optional[object] = None, source_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, query_timeout: Optional[object] = None, additional_columns: Optional[List["AdditionalColumns"]] = None, query: Optional[object] = None, packet_size: Optional[object] = None, partition_option: Optional[Union[str, "SapHanaPartitionOption"]] = None, partition_settings: Optional["SapHanaPartitionSettings"] = None, **kwargs ): super(SapHanaSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, query_timeout=query_timeout, additional_columns=additional_columns, **kwargs) self.type = 'SapHanaSource' # type: str self.query = query self.packet_size = packet_size self.partition_option = partition_option self.partition_settings = partition_settings
[docs]class SapHanaTableDataset(Dataset): """SAP HANA Table properties. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Type of dataset.Constant filled by server. :type type: str :param description: Dataset description. :type description: str :param structure: Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. :type structure: object :param schema: Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. :type linked_service_name: ~azure.synapse.artifacts.models.LinkedServiceReference :param parameters: Parameters for dataset. :type parameters: dict[str, ~azure.synapse.artifacts.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. :type folder: ~azure.synapse.artifacts.models.DatasetFolder :param schema_type_properties_schema: The schema name of SAP HANA. Type: string (or Expression with resultType string). :type schema_type_properties_schema: object :param table: The table name of SAP HANA. Type: string (or Expression with resultType string). :type table: object """ _validation = { 'type': {'required': True}, 'linked_service_name': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'description': {'key': 'description', 'type': 'str'}, 'structure': {'key': 'structure', 'type': 'object'}, 'schema': {'key': 'schema', 'type': 'object'}, 'linked_service_name': {'key': 'linkedServiceName', 'type': 'LinkedServiceReference'}, 'parameters': {'key': 'parameters', 'type': '{ParameterSpecification}'}, 'annotations': {'key': 'annotations', 'type': '[object]'}, 'folder': {'key': 'folder', 'type': 'DatasetFolder'}, 'schema_type_properties_schema': {'key': 'typeProperties.schema', 'type': 'object'}, 'table': {'key': 'typeProperties.table', 'type': 'object'}, } def __init__( self, *, linked_service_name: "LinkedServiceReference", additional_properties: Optional[Dict[str, object]] = None, description: Optional[str] = None, structure: Optional[object] = None, schema: Optional[object] = None, parameters: Optional[Dict[str, "ParameterSpecification"]] = None, annotations: Optional[List[object]] = None, folder: Optional["DatasetFolder"] = None, schema_type_properties_schema: Optional[object] = None, table: Optional[object] = None, **kwargs ): super(SapHanaTableDataset, self).__init__(additional_properties=additional_properties, description=description, structure=structure, schema=schema, linked_service_name=linked_service_name, parameters=parameters, annotations=annotations, folder=folder, **kwargs) self.type = 'SapHanaTable' # type: str self.schema_type_properties_schema = schema_type_properties_schema self.table = table
[docs]class SapOpenHubLinkedService(LinkedService): """SAP Business Warehouse Open Hub Destination Linked Service. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. :type connect_via: ~azure.synapse.artifacts.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. :type parameters: dict[str, ~azure.synapse.artifacts.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param server: Required. Host name of the SAP BW instance where the open hub destination is located. Type: string (or Expression with resultType string). :type server: object :param system_number: Required. System number of the BW system where the open hub destination is located. (Usually a two-digit decimal number represented as a string.) Type: string (or Expression with resultType string). :type system_number: object :param client_id: Required. Client ID of the client on the BW system where the open hub destination is located. (Usually a three-digit decimal number represented as a string) Type: string (or Expression with resultType string). :type client_id: object :param language: Language of the BW system where the open hub destination is located. The default value is EN. Type: string (or Expression with resultType string). :type language: object :param system_id: SystemID of the SAP system where the table is located. Type: string (or Expression with resultType string). :type system_id: object :param user_name: Username to access the SAP BW server where the open hub destination is located. Type: string (or Expression with resultType string). :type user_name: object :param password: Password to access the SAP BW server where the open hub destination is located. :type password: ~azure.synapse.artifacts.models.SecretBase :param message_server: The hostname of the SAP Message Server. Type: string (or Expression with resultType string). :type message_server: object :param message_server_service: The service name or port number of the Message Server. Type: string (or Expression with resultType string). :type message_server_service: object :param logon_group: The Logon Group for the SAP System. Type: string (or Expression with resultType string). :type logon_group: 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). :type encrypted_credential: object """ _validation = { 'type': {'required': True}, 'server': {'required': True}, 'system_number': {'required': True}, 'client_id': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'connect_via': {'key': 'connectVia', 'type': 'IntegrationRuntimeReference'}, 'description': {'key': 'description', 'type': 'str'}, 'parameters': {'key': 'parameters', 'type': '{ParameterSpecification}'}, 'annotations': {'key': 'annotations', 'type': '[object]'}, 'server': {'key': 'typeProperties.server', 'type': 'object'}, 'system_number': {'key': 'typeProperties.systemNumber', 'type': 'object'}, 'client_id': {'key': 'typeProperties.clientId', 'type': 'object'}, 'language': {'key': 'typeProperties.language', 'type': 'object'}, 'system_id': {'key': 'typeProperties.systemId', 'type': 'object'}, 'user_name': {'key': 'typeProperties.userName', 'type': 'object'}, 'password': {'key': 'typeProperties.password', 'type': 'SecretBase'}, 'message_server': {'key': 'typeProperties.messageServer', 'type': 'object'}, 'message_server_service': {'key': 'typeProperties.messageServerService', 'type': 'object'}, 'logon_group': {'key': 'typeProperties.logonGroup', 'type': 'object'}, 'encrypted_credential': {'key': 'typeProperties.encryptedCredential', 'type': 'object'}, } def __init__( self, *, server: object, system_number: object, client_id: object, additional_properties: Optional[Dict[str, object]] = None, connect_via: Optional["IntegrationRuntimeReference"] = None, description: Optional[str] = None, parameters: Optional[Dict[str, "ParameterSpecification"]] = None, annotations: Optional[List[object]] = None, language: Optional[object] = None, system_id: Optional[object] = None, user_name: Optional[object] = None, password: Optional["SecretBase"] = None, message_server: Optional[object] = None, message_server_service: Optional[object] = None, logon_group: Optional[object] = None, encrypted_credential: Optional[object] = None, **kwargs ): super(SapOpenHubLinkedService, self).__init__(additional_properties=additional_properties, connect_via=connect_via, description=description, parameters=parameters, annotations=annotations, **kwargs) self.type = 'SapOpenHub' # type: str self.server = server self.system_number = system_number self.client_id = client_id self.language = language self.system_id = system_id self.user_name = user_name self.password = password self.message_server = message_server self.message_server_service = message_server_service self.logon_group = logon_group self.encrypted_credential = encrypted_credential
[docs]class SapOpenHubSource(TabularSource): """A copy activity source for SAP Business Warehouse Open Hub Destination source. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Copy source type.Constant filled by server. :type type: str :param source_retry_count: Source retry count. Type: integer (or Expression with resultType integer). :type source_retry_count: object :param source_retry_wait: Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type source_retry_wait: object :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object :param query_timeout: Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type query_timeout: object :param additional_columns: Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects). :type additional_columns: list[~azure.synapse.artifacts.models.AdditionalColumns] :param exclude_last_request: Whether to exclude the records of the last request. The default value is true. Type: boolean (or Expression with resultType boolean). :type exclude_last_request: object :param base_request_id: The ID of request for delta loading. Once it is set, only data with requestId larger than the value of this property will be retrieved. The default value is 0. Type: integer (or Expression with resultType integer ). :type base_request_id: object :param custom_rfc_read_table_function_module: Specifies the custom RFC function module that will be used to read data from SAP Table. Type: string (or Expression with resultType string). :type custom_rfc_read_table_function_module: object :param sap_data_column_delimiter: The single character that will be used as delimiter passed to SAP RFC as well as splitting the output data retrieved. Type: string (or Expression with resultType string). :type sap_data_column_delimiter: object """ _validation = { 'type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, 'exclude_last_request': {'key': 'excludeLastRequest', 'type': 'object'}, 'base_request_id': {'key': 'baseRequestId', 'type': 'object'}, 'custom_rfc_read_table_function_module': {'key': 'customRfcReadTableFunctionModule', 'type': 'object'}, 'sap_data_column_delimiter': {'key': 'sapDataColumnDelimiter', 'type': 'object'}, } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, source_retry_count: Optional[object] = None, source_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, query_timeout: Optional[object] = None, additional_columns: Optional[List["AdditionalColumns"]] = None, exclude_last_request: Optional[object] = None, base_request_id: Optional[object] = None, custom_rfc_read_table_function_module: Optional[object] = None, sap_data_column_delimiter: Optional[object] = None, **kwargs ): super(SapOpenHubSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, query_timeout=query_timeout, additional_columns=additional_columns, **kwargs) self.type = 'SapOpenHubSource' # type: str self.exclude_last_request = exclude_last_request self.base_request_id = base_request_id self.custom_rfc_read_table_function_module = custom_rfc_read_table_function_module self.sap_data_column_delimiter = sap_data_column_delimiter
[docs]class SapOpenHubTableDataset(Dataset): """Sap Business Warehouse Open Hub Destination Table properties. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Type of dataset.Constant filled by server. :type type: str :param description: Dataset description. :type description: str :param structure: Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. :type structure: object :param schema: Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. :type linked_service_name: ~azure.synapse.artifacts.models.LinkedServiceReference :param parameters: Parameters for dataset. :type parameters: dict[str, ~azure.synapse.artifacts.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. :type folder: ~azure.synapse.artifacts.models.DatasetFolder :param open_hub_destination_name: Required. The name of the Open Hub Destination with destination type as Database Table. Type: string (or Expression with resultType string). :type open_hub_destination_name: object :param exclude_last_request: Whether to exclude the records of the last request. The default value is true. Type: boolean (or Expression with resultType boolean). :type exclude_last_request: object :param base_request_id: The ID of request for delta loading. Once it is set, only data with requestId larger than the value of this property will be retrieved. The default value is 0. Type: integer (or Expression with resultType integer ). :type base_request_id: object """ _validation = { 'type': {'required': True}, 'linked_service_name': {'required': True}, 'open_hub_destination_name': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'description': {'key': 'description', 'type': 'str'}, 'structure': {'key': 'structure', 'type': 'object'}, 'schema': {'key': 'schema', 'type': 'object'}, 'linked_service_name': {'key': 'linkedServiceName', 'type': 'LinkedServiceReference'}, 'parameters': {'key': 'parameters', 'type': '{ParameterSpecification}'}, 'annotations': {'key': 'annotations', 'type': '[object]'}, 'folder': {'key': 'folder', 'type': 'DatasetFolder'}, 'open_hub_destination_name': {'key': 'typeProperties.openHubDestinationName', 'type': 'object'}, 'exclude_last_request': {'key': 'typeProperties.excludeLastRequest', 'type': 'object'}, 'base_request_id': {'key': 'typeProperties.baseRequestId', 'type': 'object'}, } def __init__( self, *, linked_service_name: "LinkedServiceReference", open_hub_destination_name: object, additional_properties: Optional[Dict[str, object]] = None, description: Optional[str] = None, structure: Optional[object] = None, schema: Optional[object] = None, parameters: Optional[Dict[str, "ParameterSpecification"]] = None, annotations: Optional[List[object]] = None, folder: Optional["DatasetFolder"] = None, exclude_last_request: Optional[object] = None, base_request_id: Optional[object] = None, **kwargs ): super(SapOpenHubTableDataset, self).__init__(additional_properties=additional_properties, description=description, structure=structure, schema=schema, linked_service_name=linked_service_name, parameters=parameters, annotations=annotations, folder=folder, **kwargs) self.type = 'SapOpenHubTable' # type: str self.open_hub_destination_name = open_hub_destination_name self.exclude_last_request = exclude_last_request self.base_request_id = base_request_id
[docs]class SapTableLinkedService(LinkedService): """SAP Table Linked Service. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. :type connect_via: ~azure.synapse.artifacts.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. :type parameters: dict[str, ~azure.synapse.artifacts.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param server: Host name of the SAP instance where the table is located. Type: string (or Expression with resultType string). :type server: object :param system_number: System number of the SAP system where the table is located. (Usually a two-digit decimal number represented as a string.) Type: string (or Expression with resultType string). :type system_number: object :param client_id: Client ID of the client on the SAP system where the table is located. (Usually a three-digit decimal number represented as a string) Type: string (or Expression with resultType string). :type client_id: object :param language: Language of the SAP system where the table is located. The default value is EN. Type: string (or Expression with resultType string). :type language: object :param system_id: SystemID of the SAP system where the table is located. Type: string (or Expression with resultType string). :type system_id: object :param user_name: Username to access the SAP server where the table is located. Type: string (or Expression with resultType string). :type user_name: object :param password: Password to access the SAP server where the table is located. :type password: ~azure.synapse.artifacts.models.SecretBase :param message_server: The hostname of the SAP Message Server. Type: string (or Expression with resultType string). :type message_server: object :param message_server_service: The service name or port number of the Message Server. Type: string (or Expression with resultType string). :type message_server_service: object :param snc_mode: SNC activation indicator to access the SAP server where the table is located. Must be either 0 (off) or 1 (on). Type: string (or Expression with resultType string). :type snc_mode: object :param snc_my_name: Initiator's SNC name to access the SAP server where the table is located. Type: string (or Expression with resultType string). :type snc_my_name: object :param snc_partner_name: Communication partner's SNC name to access the SAP server where the table is located. Type: string (or Expression with resultType string). :type snc_partner_name: object :param snc_library_path: External security product's library to access the SAP server where the table is located. Type: string (or Expression with resultType string). :type snc_library_path: object :param snc_qop: SNC Quality of Protection. Allowed value include: 1, 2, 3, 8, 9. Type: string (or Expression with resultType string). :type snc_qop: object :param logon_group: The Logon Group for the SAP System. Type: string (or Expression with resultType string). :type logon_group: 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). :type encrypted_credential: object """ _validation = { 'type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'connect_via': {'key': 'connectVia', 'type': 'IntegrationRuntimeReference'}, 'description': {'key': 'description', 'type': 'str'}, 'parameters': {'key': 'parameters', 'type': '{ParameterSpecification}'}, 'annotations': {'key': 'annotations', 'type': '[object]'}, 'server': {'key': 'typeProperties.server', 'type': 'object'}, 'system_number': {'key': 'typeProperties.systemNumber', 'type': 'object'}, 'client_id': {'key': 'typeProperties.clientId', 'type': 'object'}, 'language': {'key': 'typeProperties.language', 'type': 'object'}, 'system_id': {'key': 'typeProperties.systemId', 'type': 'object'}, 'user_name': {'key': 'typeProperties.userName', 'type': 'object'}, 'password': {'key': 'typeProperties.password', 'type': 'SecretBase'}, 'message_server': {'key': 'typeProperties.messageServer', 'type': 'object'}, 'message_server_service': {'key': 'typeProperties.messageServerService', 'type': 'object'}, 'snc_mode': {'key': 'typeProperties.sncMode', 'type': 'object'}, 'snc_my_name': {'key': 'typeProperties.sncMyName', 'type': 'object'}, 'snc_partner_name': {'key': 'typeProperties.sncPartnerName', 'type': 'object'}, 'snc_library_path': {'key': 'typeProperties.sncLibraryPath', 'type': 'object'}, 'snc_qop': {'key': 'typeProperties.sncQop', 'type': 'object'}, 'logon_group': {'key': 'typeProperties.logonGroup', 'type': 'object'}, 'encrypted_credential': {'key': 'typeProperties.encryptedCredential', 'type': 'object'}, } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, connect_via: Optional["IntegrationRuntimeReference"] = None, description: Optional[str] = None, parameters: Optional[Dict[str, "ParameterSpecification"]] = None, annotations: Optional[List[object]] = None, server: Optional[object] = None, system_number: Optional[object] = None, client_id: Optional[object] = None, language: Optional[object] = None, system_id: Optional[object] = None, user_name: Optional[object] = None, password: Optional["SecretBase"] = None, message_server: Optional[object] = None, message_server_service: Optional[object] = None, snc_mode: Optional[object] = None, snc_my_name: Optional[object] = None, snc_partner_name: Optional[object] = None, snc_library_path: Optional[object] = None, snc_qop: Optional[object] = None, logon_group: Optional[object] = None, encrypted_credential: Optional[object] = None, **kwargs ): super(SapTableLinkedService, self).__init__(additional_properties=additional_properties, connect_via=connect_via, description=description, parameters=parameters, annotations=annotations, **kwargs) self.type = 'SapTable' # type: str self.server = server self.system_number = system_number self.client_id = client_id self.language = language self.system_id = system_id self.user_name = user_name self.password = password self.message_server = message_server self.message_server_service = message_server_service self.snc_mode = snc_mode self.snc_my_name = snc_my_name self.snc_partner_name = snc_partner_name self.snc_library_path = snc_library_path self.snc_qop = snc_qop self.logon_group = logon_group self.encrypted_credential = encrypted_credential
[docs]class SapTablePartitionSettings(msrest.serialization.Model): """The settings that will be leveraged for SAP table source partitioning. :param partition_column_name: The name of the column that will be used for proceeding range partitioning. Type: string (or Expression with resultType string). :type partition_column_name: object :param partition_upper_bound: The maximum value of column specified in partitionColumnName that will be used for proceeding range partitioning. Type: string (or Expression with resultType string). :type partition_upper_bound: object :param partition_lower_bound: The minimum value of column specified in partitionColumnName that will be used for proceeding range partitioning. Type: string (or Expression with resultType string). :type partition_lower_bound: object :param max_partitions_number: The maximum value of partitions the table will be split into. Type: integer (or Expression with resultType string). :type max_partitions_number: object """ _attribute_map = { 'partition_column_name': {'key': 'partitionColumnName', 'type': 'object'}, 'partition_upper_bound': {'key': 'partitionUpperBound', 'type': 'object'}, 'partition_lower_bound': {'key': 'partitionLowerBound', 'type': 'object'}, 'max_partitions_number': {'key': 'maxPartitionsNumber', 'type': 'object'}, } def __init__( self, *, partition_column_name: Optional[object] = None, partition_upper_bound: Optional[object] = None, partition_lower_bound: Optional[object] = None, max_partitions_number: Optional[object] = None, **kwargs ): super(SapTablePartitionSettings, self).__init__(**kwargs) self.partition_column_name = partition_column_name self.partition_upper_bound = partition_upper_bound self.partition_lower_bound = partition_lower_bound self.max_partitions_number = max_partitions_number
[docs]class SapTableResourceDataset(Dataset): """SAP Table Resource properties. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Type of dataset.Constant filled by server. :type type: str :param description: Dataset description. :type description: str :param structure: Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. :type structure: object :param schema: Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. :type linked_service_name: ~azure.synapse.artifacts.models.LinkedServiceReference :param parameters: Parameters for dataset. :type parameters: dict[str, ~azure.synapse.artifacts.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. :type folder: ~azure.synapse.artifacts.models.DatasetFolder :param table_name: Required. The name of the SAP Table. Type: string (or Expression with resultType string). :type table_name: object """ _validation = { 'type': {'required': True}, 'linked_service_name': {'required': True}, 'table_name': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'description': {'key': 'description', 'type': 'str'}, 'structure': {'key': 'structure', 'type': 'object'}, 'schema': {'key': 'schema', 'type': 'object'}, 'linked_service_name': {'key': 'linkedServiceName', 'type': 'LinkedServiceReference'}, 'parameters': {'key': 'parameters', 'type': '{ParameterSpecification}'}, 'annotations': {'key': 'annotations', 'type': '[object]'}, 'folder': {'key': 'folder', 'type': 'DatasetFolder'}, 'table_name': {'key': 'typeProperties.tableName', 'type': 'object'}, } def __init__( self, *, linked_service_name: "LinkedServiceReference", table_name: object, additional_properties: Optional[Dict[str, object]] = None, description: Optional[str] = None, structure: Optional[object] = None, schema: Optional[object] = None, parameters: Optional[Dict[str, "ParameterSpecification"]] = None, annotations: Optional[List[object]] = None, folder: Optional["DatasetFolder"] = None, **kwargs ): super(SapTableResourceDataset, self).__init__(additional_properties=additional_properties, description=description, structure=structure, schema=schema, linked_service_name=linked_service_name, parameters=parameters, annotations=annotations, folder=folder, **kwargs) self.type = 'SapTableResource' # type: str self.table_name = table_name
[docs]class SapTableSource(TabularSource): """A copy activity source for SAP Table source. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Copy source type.Constant filled by server. :type type: str :param source_retry_count: Source retry count. Type: integer (or Expression with resultType integer). :type source_retry_count: object :param source_retry_wait: Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type source_retry_wait: object :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object :param query_timeout: Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type query_timeout: object :param additional_columns: Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects). :type additional_columns: list[~azure.synapse.artifacts.models.AdditionalColumns] :param row_count: The number of rows to be retrieved. Type: integer(or Expression with resultType integer). :type row_count: object :param row_skips: The number of rows that will be skipped. Type: integer (or Expression with resultType integer). :type row_skips: object :param rfc_table_fields: The fields of the SAP table that will be retrieved. For example, column0, column1. Type: string (or Expression with resultType string). :type rfc_table_fields: object :param rfc_table_options: The options for the filtering of the SAP Table. For example, COLUMN0 EQ SOME VALUE. Type: string (or Expression with resultType string). :type rfc_table_options: object :param batch_size: Specifies the maximum number of rows that will be retrieved at a time when retrieving data from SAP Table. Type: integer (or Expression with resultType integer). :type batch_size: object :param custom_rfc_read_table_function_module: Specifies the custom RFC function module that will be used to read data from SAP Table. Type: string (or Expression with resultType string). :type custom_rfc_read_table_function_module: object :param sap_data_column_delimiter: The single character that will be used as delimiter passed to SAP RFC as well as splitting the output data retrieved. Type: string (or Expression with resultType string). :type sap_data_column_delimiter: object :param partition_option: The partition mechanism that will be used for SAP table read in parallel. Possible values include: "None", "PartitionOnInt", "PartitionOnCalendarYear", "PartitionOnCalendarMonth", "PartitionOnCalendarDate", "PartitionOnTime". :type partition_option: str or ~azure.synapse.artifacts.models.SapTablePartitionOption :param partition_settings: The settings that will be leveraged for SAP table source partitioning. :type partition_settings: ~azure.synapse.artifacts.models.SapTablePartitionSettings """ _validation = { 'type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, 'row_count': {'key': 'rowCount', 'type': 'object'}, 'row_skips': {'key': 'rowSkips', 'type': 'object'}, 'rfc_table_fields': {'key': 'rfcTableFields', 'type': 'object'}, 'rfc_table_options': {'key': 'rfcTableOptions', 'type': 'object'}, 'batch_size': {'key': 'batchSize', 'type': 'object'}, 'custom_rfc_read_table_function_module': {'key': 'customRfcReadTableFunctionModule', 'type': 'object'}, 'sap_data_column_delimiter': {'key': 'sapDataColumnDelimiter', 'type': 'object'}, 'partition_option': {'key': 'partitionOption', 'type': 'str'}, 'partition_settings': {'key': 'partitionSettings', 'type': 'SapTablePartitionSettings'}, } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, source_retry_count: Optional[object] = None, source_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, query_timeout: Optional[object] = None, additional_columns: Optional[List["AdditionalColumns"]] = None, row_count: Optional[object] = None, row_skips: Optional[object] = None, rfc_table_fields: Optional[object] = None, rfc_table_options: Optional[object] = None, batch_size: Optional[object] = None, custom_rfc_read_table_function_module: Optional[object] = None, sap_data_column_delimiter: Optional[object] = None, partition_option: Optional[Union[str, "SapTablePartitionOption"]] = None, partition_settings: Optional["SapTablePartitionSettings"] = None, **kwargs ): super(SapTableSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, query_timeout=query_timeout, additional_columns=additional_columns, **kwargs) self.type = 'SapTableSource' # type: str self.row_count = row_count self.row_skips = row_skips self.rfc_table_fields = rfc_table_fields self.rfc_table_options = rfc_table_options self.batch_size = batch_size self.custom_rfc_read_table_function_module = custom_rfc_read_table_function_module self.sap_data_column_delimiter = sap_data_column_delimiter self.partition_option = partition_option self.partition_settings = partition_settings
[docs]class ScheduleTrigger(MultiplePipelineTrigger): """Trigger that creates pipeline runs periodically, on schedule. Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Trigger type.Constant filled by server. :type type: str :param description: Trigger description. :type description: str :ivar runtime_state: Indicates if trigger is running or not. Updated when Start/Stop APIs are called on the Trigger. Possible values include: "Started", "Stopped", "Disabled". :vartype runtime_state: str or ~azure.synapse.artifacts.models.TriggerRuntimeState :param annotations: List of tags that can be used for describing the trigger. :type annotations: list[object] :param pipelines: Pipelines that need to be started. :type pipelines: list[~azure.synapse.artifacts.models.TriggerPipelineReference] :param recurrence: Required. Recurrence schedule configuration. :type recurrence: ~azure.synapse.artifacts.models.ScheduleTriggerRecurrence """ _validation = { 'type': {'required': True}, 'runtime_state': {'readonly': True}, 'recurrence': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'description': {'key': 'description', 'type': 'str'}, 'runtime_state': {'key': 'runtimeState', 'type': 'str'}, 'annotations': {'key': 'annotations', 'type': '[object]'}, 'pipelines': {'key': 'pipelines', 'type': '[TriggerPipelineReference]'}, 'recurrence': {'key': 'typeProperties.recurrence', 'type': 'ScheduleTriggerRecurrence'}, } def __init__( self, *, recurrence: "ScheduleTriggerRecurrence", additional_properties: Optional[Dict[str, object]] = None, description: Optional[str] = None, annotations: Optional[List[object]] = None, pipelines: Optional[List["TriggerPipelineReference"]] = None, **kwargs ): super(ScheduleTrigger, self).__init__(additional_properties=additional_properties, description=description, annotations=annotations, pipelines=pipelines, **kwargs) self.type = 'ScheduleTrigger' # type: str self.recurrence = recurrence
[docs]class ScheduleTriggerRecurrence(msrest.serialization.Model): """The workflow trigger recurrence. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param frequency: The frequency. Possible values include: "NotSpecified", "Minute", "Hour", "Day", "Week", "Month", "Year". :type frequency: str or ~azure.synapse.artifacts.models.RecurrenceFrequency :param interval: The interval. :type interval: int :param start_time: The start time. :type start_time: ~datetime.datetime :param end_time: The end time. :type end_time: ~datetime.datetime :param time_zone: The time zone. :type time_zone: str :param schedule: The recurrence schedule. :type schedule: ~azure.synapse.artifacts.models.RecurrenceSchedule """ _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'frequency': {'key': 'frequency', 'type': 'str'}, 'interval': {'key': 'interval', 'type': 'int'}, 'start_time': {'key': 'startTime', 'type': 'iso-8601'}, 'end_time': {'key': 'endTime', 'type': 'iso-8601'}, 'time_zone': {'key': 'timeZone', 'type': 'str'}, 'schedule': {'key': 'schedule', 'type': 'RecurrenceSchedule'}, } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, frequency: Optional[Union[str, "RecurrenceFrequency"]] = None, interval: Optional[int] = None, start_time: Optional[datetime.datetime] = None, end_time: Optional[datetime.datetime] = None, time_zone: Optional[str] = None, schedule: Optional["RecurrenceSchedule"] = None, **kwargs ): super(ScheduleTriggerRecurrence, self).__init__(**kwargs) self.additional_properties = additional_properties self.frequency = frequency self.interval = interval self.start_time = start_time self.end_time = end_time self.time_zone = time_zone self.schedule = schedule
[docs]class ScriptAction(msrest.serialization.Model): """Custom script action to run on HDI ondemand cluster once it's up. All required parameters must be populated in order to send to Azure. :param name: Required. The user provided name of the script action. :type name: str :param uri: Required. The URI for the script action. :type uri: str :param roles: Required. The node types on which the script action should be executed. Possible values include: "Headnode", "Workernode", "Zookeeper". :type roles: str or ~azure.synapse.artifacts.models.HdiNodeTypes :param parameters: The parameters for the script action. :type parameters: str """ _validation = { 'name': {'required': True}, 'uri': {'required': True}, 'roles': {'required': True}, } _attribute_map = { 'name': {'key': 'name', 'type': 'str'}, 'uri': {'key': 'uri', 'type': 'str'}, 'roles': {'key': 'roles', 'type': 'str'}, 'parameters': {'key': 'parameters', 'type': 'str'}, } def __init__( self, *, name: str, uri: str, roles: Union[str, "HdiNodeTypes"], parameters: Optional[str] = None, **kwargs ): super(ScriptAction, self).__init__(**kwargs) self.name = name self.uri = uri self.roles = roles self.parameters = parameters
[docs]class SecureString(SecretBase): """Azure Synapse secure string definition. The string value will be masked with asterisks '*' during Get or List API calls. All required parameters must be populated in order to send to Azure. :param type: Required. Type of the secret.Constant filled by server. :type type: str :param value: Required. Value of secure string. :type value: str """ _validation = { 'type': {'required': True}, 'value': {'required': True}, } _attribute_map = { 'type': {'key': 'type', 'type': 'str'}, 'value': {'key': 'value', 'type': 'str'}, } def __init__( self, *, value: str, **kwargs ): super(SecureString, self).__init__(**kwargs) self.type = 'SecureString' # type: str self.value = value
[docs]class SelfDependencyTumblingWindowTriggerReference(DependencyReference): """Self referenced tumbling window trigger dependency. All required parameters must be populated in order to send to Azure. :param type: Required. The type of dependency reference.Constant filled by server. :type type: str :param offset: Required. Timespan applied to the start time of a tumbling window when evaluating dependency. :type offset: str :param size: The size of the window when evaluating the dependency. If undefined the frequency of the tumbling window will be used. :type size: str """ _validation = { 'type': {'required': True}, 'offset': {'required': True, 'max_length': 15, 'min_length': 8, 'pattern': r'-((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9]))'}, 'size': {'max_length': 15, 'min_length': 8, 'pattern': r'((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9]))'}, } _attribute_map = { 'type': {'key': 'type', 'type': 'str'}, 'offset': {'key': 'offset', 'type': 'str'}, 'size': {'key': 'size', 'type': 'str'}, } def __init__( self, *, offset: str, size: Optional[str] = None, **kwargs ): super(SelfDependencyTumblingWindowTriggerReference, self).__init__(**kwargs) self.type = 'SelfDependencyTumblingWindowTriggerReference' # type: str self.offset = offset self.size = size
[docs]class SelfHostedIntegrationRuntime(IntegrationRuntime): """Self-hosted integration runtime. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Type of integration runtime.Constant filled by server. Possible values include: "Managed", "SelfHosted". :type type: str or ~azure.synapse.artifacts.models.IntegrationRuntimeType :param description: Integration runtime description. :type description: str :param linked_info: Linked integration runtime type from data factory. :type linked_info: ~azure.synapse.artifacts.models.LinkedIntegrationRuntimeType """ _validation = { 'type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'description': {'key': 'description', 'type': 'str'}, 'linked_info': {'key': 'typeProperties.linkedInfo', 'type': 'LinkedIntegrationRuntimeType'}, } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, description: Optional[str] = None, linked_info: Optional["LinkedIntegrationRuntimeType"] = None, **kwargs ): super(SelfHostedIntegrationRuntime, self).__init__(additional_properties=additional_properties, description=description, **kwargs) self.type = 'SelfHosted' # type: str self.linked_info = linked_info
[docs]class ServiceNowLinkedService(LinkedService): """ServiceNow server linked service. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. :type connect_via: ~azure.synapse.artifacts.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. :type parameters: dict[str, ~azure.synapse.artifacts.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param endpoint: Required. The endpoint of the ServiceNow server. (i.e. :code:`<instance>`.service-now.com). :type endpoint: object :param authentication_type: Required. The authentication type to use. Possible values include: "Basic", "OAuth2". :type authentication_type: str or ~azure.synapse.artifacts.models.ServiceNowAuthenticationType :param username: The user name used to connect to the ServiceNow server for Basic and OAuth2 authentication. :type username: object :param password: The password corresponding to the user name for Basic and OAuth2 authentication. :type password: ~azure.synapse.artifacts.models.SecretBase :param client_id: The client id for OAuth2 authentication. :type client_id: object :param client_secret: The client secret for OAuth2 authentication. :type client_secret: ~azure.synapse.artifacts.models.SecretBase :param use_encrypted_endpoints: Specifies whether the data source endpoints are encrypted using HTTPS. The default value is true. :type use_encrypted_endpoints: object :param use_host_verification: Specifies whether to require the host name in the server's certificate to match the host name of the server when connecting over SSL. The default value is true. :type use_host_verification: object :param use_peer_verification: Specifies whether to verify the identity of the server when connecting over SSL. The default value is true. :type use_peer_verification: 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). :type encrypted_credential: object """ _validation = { 'type': {'required': True}, 'endpoint': {'required': True}, 'authentication_type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'connect_via': {'key': 'connectVia', 'type': 'IntegrationRuntimeReference'}, 'description': {'key': 'description', 'type': 'str'}, 'parameters': {'key': 'parameters', 'type': '{ParameterSpecification}'}, 'annotations': {'key': 'annotations', 'type': '[object]'}, 'endpoint': {'key': 'typeProperties.endpoint', 'type': 'object'}, 'authentication_type': {'key': 'typeProperties.authenticationType', 'type': 'str'}, 'username': {'key': 'typeProperties.username', 'type': 'object'}, 'password': {'key': 'typeProperties.password', 'type': 'SecretBase'}, 'client_id': {'key': 'typeProperties.clientId', 'type': 'object'}, 'client_secret': {'key': 'typeProperties.clientSecret', 'type': 'SecretBase'}, 'use_encrypted_endpoints': {'key': 'typeProperties.useEncryptedEndpoints', 'type': 'object'}, 'use_host_verification': {'key': 'typeProperties.useHostVerification', 'type': 'object'}, 'use_peer_verification': {'key': 'typeProperties.usePeerVerification', 'type': 'object'}, 'encrypted_credential': {'key': 'typeProperties.encryptedCredential', 'type': 'object'}, } def __init__( self, *, endpoint: object, authentication_type: Union[str, "ServiceNowAuthenticationType"], additional_properties: Optional[Dict[str, object]] = None, connect_via: Optional["IntegrationRuntimeReference"] = None, description: Optional[str] = None, parameters: Optional[Dict[str, "ParameterSpecification"]] = None, annotations: Optional[List[object]] = None, username: Optional[object] = None, password: Optional["SecretBase"] = None, client_id: Optional[object] = None, client_secret: Optional["SecretBase"] = None, use_encrypted_endpoints: Optional[object] = None, use_host_verification: Optional[object] = None, use_peer_verification: Optional[object] = None, encrypted_credential: Optional[object] = None, **kwargs ): super(ServiceNowLinkedService, self).__init__(additional_properties=additional_properties, connect_via=connect_via, description=description, parameters=parameters, annotations=annotations, **kwargs) self.type = 'ServiceNow' # type: str self.endpoint = endpoint self.authentication_type = authentication_type self.username = username self.password = password self.client_id = client_id self.client_secret = client_secret self.use_encrypted_endpoints = use_encrypted_endpoints self.use_host_verification = use_host_verification self.use_peer_verification = use_peer_verification self.encrypted_credential = encrypted_credential
[docs]class ServiceNowObjectDataset(Dataset): """ServiceNow server dataset. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Type of dataset.Constant filled by server. :type type: str :param description: Dataset description. :type description: str :param structure: Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. :type structure: object :param schema: Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. :type linked_service_name: ~azure.synapse.artifacts.models.LinkedServiceReference :param parameters: Parameters for dataset. :type parameters: dict[str, ~azure.synapse.artifacts.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. :type folder: ~azure.synapse.artifacts.models.DatasetFolder :param table_name: The table name. Type: string (or Expression with resultType string). :type table_name: object """ _validation = { 'type': {'required': True}, 'linked_service_name': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'description': {'key': 'description', 'type': 'str'}, 'structure': {'key': 'structure', 'type': 'object'}, 'schema': {'key': 'schema', 'type': 'object'}, 'linked_service_name': {'key': 'linkedServiceName', 'type': 'LinkedServiceReference'}, 'parameters': {'key': 'parameters', 'type': '{ParameterSpecification}'}, 'annotations': {'key': 'annotations', 'type': '[object]'}, 'folder': {'key': 'folder', 'type': 'DatasetFolder'}, 'table_name': {'key': 'typeProperties.tableName', 'type': 'object'}, } def __init__( self, *, linked_service_name: "LinkedServiceReference", additional_properties: Optional[Dict[str, object]] = None, description: Optional[str] = None, structure: Optional[object] = None, schema: Optional[object] = None, parameters: Optional[Dict[str, "ParameterSpecification"]] = None, annotations: Optional[List[object]] = None, folder: Optional["DatasetFolder"] = None, table_name: Optional[object] = None, **kwargs ): super(ServiceNowObjectDataset, self).__init__(additional_properties=additional_properties, description=description, structure=structure, schema=schema, linked_service_name=linked_service_name, parameters=parameters, annotations=annotations, folder=folder, **kwargs) self.type = 'ServiceNowObject' # type: str self.table_name = table_name
[docs]class ServiceNowSource(TabularSource): """A copy activity ServiceNow server source. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Copy source type.Constant filled by server. :type type: str :param source_retry_count: Source retry count. Type: integer (or Expression with resultType integer). :type source_retry_count: object :param source_retry_wait: Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type source_retry_wait: object :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object :param query_timeout: Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type query_timeout: object :param additional_columns: Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects). :type additional_columns: list[~azure.synapse.artifacts.models.AdditionalColumns] :param query: A query to retrieve data from source. Type: string (or Expression with resultType string). :type query: object """ _validation = { 'type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, 'query': {'key': 'query', 'type': 'object'}, } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, source_retry_count: Optional[object] = None, source_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, query_timeout: Optional[object] = None, additional_columns: Optional[List["AdditionalColumns"]] = None, query: Optional[object] = None, **kwargs ): super(ServiceNowSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, query_timeout=query_timeout, additional_columns=additional_columns, **kwargs) self.type = 'ServiceNowSource' # type: str self.query = query
[docs]class SetVariableActivity(ControlActivity): """Set value for a Variable. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param name: Required. Activity name. :type name: str :param type: Required. Type of activity.Constant filled by server. :type type: str :param description: Activity description. :type description: str :param depends_on: Activity depends on condition. :type depends_on: list[~azure.synapse.artifacts.models.ActivityDependency] :param user_properties: Activity user properties. :type user_properties: list[~azure.synapse.artifacts.models.UserProperty] :param variable_name: Name of the variable whose value needs to be set. :type variable_name: str :param value: Value to be set. Could be a static value or Expression. :type value: object """ _validation = { 'name': {'required': True}, 'type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'name': {'key': 'name', 'type': 'str'}, 'type': {'key': 'type', 'type': 'str'}, 'description': {'key': 'description', 'type': 'str'}, 'depends_on': {'key': 'dependsOn', 'type': '[ActivityDependency]'}, 'user_properties': {'key': 'userProperties', 'type': '[UserProperty]'}, 'variable_name': {'key': 'typeProperties.variableName', 'type': 'str'}, 'value': {'key': 'typeProperties.value', 'type': 'object'}, } def __init__( self, *, name: str, additional_properties: Optional[Dict[str, object]] = None, description: Optional[str] = None, depends_on: Optional[List["ActivityDependency"]] = None, user_properties: Optional[List["UserProperty"]] = None, variable_name: Optional[str] = None, value: Optional[object] = None, **kwargs ): super(SetVariableActivity, self).__init__(additional_properties=additional_properties, name=name, description=description, depends_on=depends_on, user_properties=user_properties, **kwargs) self.type = 'SetVariable' # type: str self.variable_name = variable_name self.value = value
[docs]class SftpLocation(DatasetLocation): """The location of SFTP dataset. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Type of dataset storage location.Constant filled by server. :type type: str :param folder_path: Specify the folder path of dataset. Type: string (or Expression with resultType string). :type folder_path: object :param file_name: Specify the file name of dataset. Type: string (or Expression with resultType string). :type file_name: object """ _validation = { 'type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'folder_path': {'key': 'folderPath', 'type': 'object'}, 'file_name': {'key': 'fileName', 'type': 'object'}, } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, folder_path: Optional[object] = None, file_name: Optional[object] = None, **kwargs ): super(SftpLocation, self).__init__(additional_properties=additional_properties, folder_path=folder_path, file_name=file_name, **kwargs) self.type = 'SftpLocation' # type: str
[docs]class SftpReadSettings(StoreReadSettings): """Sftp read settings. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. The read setting type.Constant filled by server. :type type: str :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object :param recursive: If true, files under the folder path will be read recursively. Default is true. Type: boolean (or Expression with resultType boolean). :type recursive: object :param wildcard_folder_path: Sftp wildcardFolderPath. Type: string (or Expression with resultType string). :type wildcard_folder_path: object :param wildcard_file_name: Sftp wildcardFileName. Type: string (or Expression with resultType string). :type wildcard_file_name: object :param enable_partition_discovery: Indicates whether to enable partition discovery. :type enable_partition_discovery: bool :param partition_root_path: Specify the root path where partition discovery starts from. Type: string (or Expression with resultType string). :type partition_root_path: object :param file_list_path: Point to a text file that lists each file (relative path to the path configured in the dataset) that you want to copy. Type: string (or Expression with resultType string). :type file_list_path: object :param delete_files_after_completion: Indicates whether the source files need to be deleted after copy completion. Default is false. Type: boolean (or Expression with resultType boolean). :type delete_files_after_completion: object :param modified_datetime_start: The start of file's modified datetime. Type: string (or Expression with resultType string). :type modified_datetime_start: object :param modified_datetime_end: The end of file's modified datetime. Type: string (or Expression with resultType string). :type modified_datetime_end: object """ _validation = { 'type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'recursive': {'key': 'recursive', 'type': 'object'}, 'wildcard_folder_path': {'key': 'wildcardFolderPath', 'type': 'object'}, 'wildcard_file_name': {'key': 'wildcardFileName', 'type': 'object'}, 'enable_partition_discovery': {'key': 'enablePartitionDiscovery', 'type': 'bool'}, 'partition_root_path': {'key': 'partitionRootPath', 'type': 'object'}, 'file_list_path': {'key': 'fileListPath', 'type': 'object'}, 'delete_files_after_completion': {'key': 'deleteFilesAfterCompletion', 'type': 'object'}, 'modified_datetime_start': {'key': 'modifiedDatetimeStart', 'type': 'object'}, 'modified_datetime_end': {'key': 'modifiedDatetimeEnd', 'type': 'object'}, } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, max_concurrent_connections: Optional[object] = None, recursive: Optional[object] = None, wildcard_folder_path: Optional[object] = None, wildcard_file_name: Optional[object] = None, enable_partition_discovery: Optional[bool] = None, partition_root_path: Optional[object] = None, file_list_path: Optional[object] = None, delete_files_after_completion: Optional[object] = None, modified_datetime_start: Optional[object] = None, modified_datetime_end: Optional[object] = None, **kwargs ): super(SftpReadSettings, self).__init__(additional_properties=additional_properties, max_concurrent_connections=max_concurrent_connections, **kwargs) self.type = 'SftpReadSettings' # type: str self.recursive = recursive self.wildcard_folder_path = wildcard_folder_path self.wildcard_file_name = wildcard_file_name self.enable_partition_discovery = enable_partition_discovery self.partition_root_path = partition_root_path self.file_list_path = file_list_path self.delete_files_after_completion = delete_files_after_completion self.modified_datetime_start = modified_datetime_start self.modified_datetime_end = modified_datetime_end
[docs]class SftpServerLinkedService(LinkedService): """A linked service for an SSH File Transfer Protocol (SFTP) server. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. :type connect_via: ~azure.synapse.artifacts.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. :type parameters: dict[str, ~azure.synapse.artifacts.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param host: Required. The SFTP server host name. Type: string (or Expression with resultType string). :type host: object :param port: The TCP port number that the SFTP server uses to listen for client connections. Default value is 22. Type: integer (or Expression with resultType integer), minimum: 0. :type port: object :param authentication_type: The authentication type to be used to connect to the FTP server. Possible values include: "Basic", "SshPublicKey". :type authentication_type: str or ~azure.synapse.artifacts.models.SftpAuthenticationType :param user_name: The username used to log on to the SFTP server. Type: string (or Expression with resultType string). :type user_name: object :param password: Password to logon the SFTP server for Basic authentication. :type password: ~azure.synapse.artifacts.models.SecretBase :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). :type encrypted_credential: object :param private_key_path: The SSH private key file path for SshPublicKey authentication. Only valid for on-premises copy. For on-premises copy with SshPublicKey authentication, either PrivateKeyPath or PrivateKeyContent should be specified. SSH private key should be OpenSSH format. Type: string (or Expression with resultType string). :type private_key_path: object :param private_key_content: Base64 encoded SSH private key content for SshPublicKey authentication. For on-premises copy with SshPublicKey authentication, either PrivateKeyPath or PrivateKeyContent should be specified. SSH private key should be OpenSSH format. :type private_key_content: ~azure.synapse.artifacts.models.SecretBase :param pass_phrase: The password to decrypt the SSH private key if the SSH private key is encrypted. :type pass_phrase: ~azure.synapse.artifacts.models.SecretBase :param skip_host_key_validation: If true, skip the SSH host key validation. Default value is false. Type: boolean (or Expression with resultType boolean). :type skip_host_key_validation: object :param host_key_fingerprint: The host key finger-print of the SFTP server. When SkipHostKeyValidation is false, HostKeyFingerprint should be specified. Type: string (or Expression with resultType string). :type host_key_fingerprint: object """ _validation = { 'type': {'required': True}, 'host': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'connect_via': {'key': 'connectVia', 'type': 'IntegrationRuntimeReference'}, 'description': {'key': 'description', 'type': 'str'}, 'parameters': {'key': 'parameters', 'type': '{ParameterSpecification}'}, 'annotations': {'key': 'annotations', 'type': '[object]'}, 'host': {'key': 'typeProperties.host', 'type': 'object'}, 'port': {'key': 'typeProperties.port', 'type': 'object'}, 'authentication_type': {'key': 'typeProperties.authenticationType', 'type': 'str'}, 'user_name': {'key': 'typeProperties.userName', 'type': 'object'}, 'password': {'key': 'typeProperties.password', 'type': 'SecretBase'}, 'encrypted_credential': {'key': 'typeProperties.encryptedCredential', 'type': 'object'}, 'private_key_path': {'key': 'typeProperties.privateKeyPath', 'type': 'object'}, 'private_key_content': {'key': 'typeProperties.privateKeyContent', 'type': 'SecretBase'}, 'pass_phrase': {'key': 'typeProperties.passPhrase', 'type': 'SecretBase'}, 'skip_host_key_validation': {'key': 'typeProperties.skipHostKeyValidation', 'type': 'object'}, 'host_key_fingerprint': {'key': 'typeProperties.hostKeyFingerprint', 'type': 'object'}, } def __init__( self, *, host: object, additional_properties: Optional[Dict[str, object]] = None, connect_via: Optional["IntegrationRuntimeReference"] = None, description: Optional[str] = None, parameters: Optional[Dict[str, "ParameterSpecification"]] = None, annotations: Optional[List[object]] = None, port: Optional[object] = None, authentication_type: Optional[Union[str, "SftpAuthenticationType"]] = None, user_name: Optional[object] = None, password: Optional["SecretBase"] = None, encrypted_credential: Optional[object] = None, private_key_path: Optional[object] = None, private_key_content: Optional["SecretBase"] = None, pass_phrase: Optional["SecretBase"] = None, skip_host_key_validation: Optional[object] = None, host_key_fingerprint: Optional[object] = None, **kwargs ): super(SftpServerLinkedService, self).__init__(additional_properties=additional_properties, connect_via=connect_via, description=description, parameters=parameters, annotations=annotations, **kwargs) self.type = 'Sftp' # type: str self.host = host self.port = port self.authentication_type = authentication_type self.user_name = user_name self.password = password self.encrypted_credential = encrypted_credential self.private_key_path = private_key_path self.private_key_content = private_key_content self.pass_phrase = pass_phrase self.skip_host_key_validation = skip_host_key_validation self.host_key_fingerprint = host_key_fingerprint
[docs]class SftpWriteSettings(StoreWriteSettings): """Sftp write settings. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. The write setting type.Constant filled by server. :type type: str :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object :param copy_behavior: The type of copy behavior for copy sink. :type copy_behavior: object :param operation_timeout: Specifies the timeout for writing each chunk to SFTP server. Default value: 01:00:00 (one hour). Type: string (or Expression with resultType string). :type operation_timeout: object :param use_temp_file_rename: Upload to temporary file(s) and rename. Disable this option if your SFTP server doesn't support rename operation. Type: boolean (or Expression with resultType boolean). :type use_temp_file_rename: object """ _validation = { 'type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'copy_behavior': {'key': 'copyBehavior', 'type': 'object'}, 'operation_timeout': {'key': 'operationTimeout', 'type': 'object'}, 'use_temp_file_rename': {'key': 'useTempFileRename', 'type': 'object'}, } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, max_concurrent_connections: Optional[object] = None, copy_behavior: Optional[object] = None, operation_timeout: Optional[object] = None, use_temp_file_rename: Optional[object] = None, **kwargs ): super(SftpWriteSettings, self).__init__(additional_properties=additional_properties, max_concurrent_connections=max_concurrent_connections, copy_behavior=copy_behavior, **kwargs) self.type = 'SftpWriteSettings' # type: str self.operation_timeout = operation_timeout self.use_temp_file_rename = use_temp_file_rename
[docs]class SharePointOnlineListLinkedService(LinkedService): """SharePoint Online List linked service. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. :type connect_via: ~azure.synapse.artifacts.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. :type parameters: dict[str, ~azure.synapse.artifacts.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param site_url: Required. The URL of the SharePoint Online site. For example, https://contoso.sharepoint.com/sites/siteName. Type: string (or Expression with resultType string). :type site_url: object :param tenant_id: Required. The tenant ID under which your application resides. You can find it from Azure portal Active Directory overview page. Type: string (or Expression with resultType string). :type tenant_id: object :param service_principal_id: Required. The application (client) ID of your application registered in Azure Active Directory. Make sure to grant SharePoint site permission to this application. Type: string (or Expression with resultType string). :type service_principal_id: object :param service_principal_key: Required. The client secret of your application registered in Azure Active Directory. Type: string (or Expression with resultType string). :type service_principal_key: ~azure.synapse.artifacts.models.SecretBase :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). :type encrypted_credential: object """ _validation = { 'type': {'required': True}, 'site_url': {'required': True}, 'tenant_id': {'required': True}, 'service_principal_id': {'required': True}, 'service_principal_key': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'connect_via': {'key': 'connectVia', 'type': 'IntegrationRuntimeReference'}, 'description': {'key': 'description', 'type': 'str'}, 'parameters': {'key': 'parameters', 'type': '{ParameterSpecification}'}, 'annotations': {'key': 'annotations', 'type': '[object]'}, 'site_url': {'key': 'typeProperties.siteUrl', 'type': 'object'}, 'tenant_id': {'key': 'typeProperties.tenantId', 'type': 'object'}, 'service_principal_id': {'key': 'typeProperties.servicePrincipalId', 'type': 'object'}, 'service_principal_key': {'key': 'typeProperties.servicePrincipalKey', 'type': 'SecretBase'}, 'encrypted_credential': {'key': 'typeProperties.encryptedCredential', 'type': 'object'}, } def __init__( self, *, site_url: object, tenant_id: object, service_principal_id: object, service_principal_key: "SecretBase", additional_properties: Optional[Dict[str, object]] = None, connect_via: Optional["IntegrationRuntimeReference"] = None, description: Optional[str] = None, parameters: Optional[Dict[str, "ParameterSpecification"]] = None, annotations: Optional[List[object]] = None, encrypted_credential: Optional[object] = None, **kwargs ): super(SharePointOnlineListLinkedService, self).__init__(additional_properties=additional_properties, connect_via=connect_via, description=description, parameters=parameters, annotations=annotations, **kwargs) self.type = 'SharePointOnlineList' # type: str self.site_url = site_url self.tenant_id = tenant_id self.service_principal_id = service_principal_id self.service_principal_key = service_principal_key self.encrypted_credential = encrypted_credential
[docs]class SharePointOnlineListResourceDataset(Dataset): """The sharepoint online list resource dataset. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Type of dataset.Constant filled by server. :type type: str :param description: Dataset description. :type description: str :param structure: Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. :type structure: object :param schema: Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. :type linked_service_name: ~azure.synapse.artifacts.models.LinkedServiceReference :param parameters: Parameters for dataset. :type parameters: dict[str, ~azure.synapse.artifacts.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. :type folder: ~azure.synapse.artifacts.models.DatasetFolder :param list_name: The name of the SharePoint Online list. Type: string (or Expression with resultType string). :type list_name: object """ _validation = { 'type': {'required': True}, 'linked_service_name': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'description': {'key': 'description', 'type': 'str'}, 'structure': {'key': 'structure', 'type': 'object'}, 'schema': {'key': 'schema', 'type': 'object'}, 'linked_service_name': {'key': 'linkedServiceName', 'type': 'LinkedServiceReference'}, 'parameters': {'key': 'parameters', 'type': '{ParameterSpecification}'}, 'annotations': {'key': 'annotations', 'type': '[object]'}, 'folder': {'key': 'folder', 'type': 'DatasetFolder'}, 'list_name': {'key': 'typeProperties.listName', 'type': 'object'}, } def __init__( self, *, linked_service_name: "LinkedServiceReference", additional_properties: Optional[Dict[str, object]] = None, description: Optional[str] = None, structure: Optional[object] = None, schema: Optional[object] = None, parameters: Optional[Dict[str, "ParameterSpecification"]] = None, annotations: Optional[List[object]] = None, folder: Optional["DatasetFolder"] = None, list_name: Optional[object] = None, **kwargs ): super(SharePointOnlineListResourceDataset, self).__init__(additional_properties=additional_properties, description=description, structure=structure, schema=schema, linked_service_name=linked_service_name, parameters=parameters, annotations=annotations, folder=folder, **kwargs) self.type = 'SharePointOnlineListResource' # type: str self.list_name = list_name
[docs]class SharePointOnlineListSource(CopySource): """A copy activity source for sharePoint online list source. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Copy source type.Constant filled by server. :type type: str :param source_retry_count: Source retry count. Type: integer (or Expression with resultType integer). :type source_retry_count: object :param source_retry_wait: Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type source_retry_wait: object :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object :param query: The OData query to filter the data in SharePoint Online list. For example, "$top=1". Type: string (or Expression with resultType string). :type query: object :param http_request_timeout: The wait time to get a response from SharePoint Online. Default value is 5 minutes (00:05:00). Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type http_request_timeout: object """ _validation = { 'type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, 'http_request_timeout': {'key': 'httpRequestTimeout', 'type': 'object'}, } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, source_retry_count: Optional[object] = None, source_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, query: Optional[object] = None, http_request_timeout: Optional[object] = None, **kwargs ): super(SharePointOnlineListSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, **kwargs) self.type = 'SharePointOnlineListSource' # type: str self.query = query self.http_request_timeout = http_request_timeout
[docs]class ShopifyLinkedService(LinkedService): """Shopify Service linked service. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. :type connect_via: ~azure.synapse.artifacts.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. :type parameters: dict[str, ~azure.synapse.artifacts.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param host: Required. The endpoint of the Shopify server. (i.e. mystore.myshopify.com). :type host: object :param access_token: The API access token that can be used to access Shopify’s data. The token won't expire if it is offline mode. :type access_token: ~azure.synapse.artifacts.models.SecretBase :param use_encrypted_endpoints: Specifies whether the data source endpoints are encrypted using HTTPS. The default value is true. :type use_encrypted_endpoints: object :param use_host_verification: Specifies whether to require the host name in the server's certificate to match the host name of the server when connecting over SSL. The default value is true. :type use_host_verification: object :param use_peer_verification: Specifies whether to verify the identity of the server when connecting over SSL. The default value is true. :type use_peer_verification: 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). :type encrypted_credential: object """ _validation = { 'type': {'required': True}, 'host': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'connect_via': {'key': 'connectVia', 'type': 'IntegrationRuntimeReference'}, 'description': {'key': 'description', 'type': 'str'}, 'parameters': {'key': 'parameters', 'type': '{ParameterSpecification}'}, 'annotations': {'key': 'annotations', 'type': '[object]'}, 'host': {'key': 'typeProperties.host', 'type': 'object'}, 'access_token': {'key': 'typeProperties.accessToken', 'type': 'SecretBase'}, 'use_encrypted_endpoints': {'key': 'typeProperties.useEncryptedEndpoints', 'type': 'object'}, 'use_host_verification': {'key': 'typeProperties.useHostVerification', 'type': 'object'}, 'use_peer_verification': {'key': 'typeProperties.usePeerVerification', 'type': 'object'}, 'encrypted_credential': {'key': 'typeProperties.encryptedCredential', 'type': 'object'}, } def __init__( self, *, host: object, additional_properties: Optional[Dict[str, object]] = None, connect_via: Optional["IntegrationRuntimeReference"] = None, description: Optional[str] = None, parameters: Optional[Dict[str, "ParameterSpecification"]] = None, annotations: Optional[List[object]] = None, access_token: Optional["SecretBase"] = None, use_encrypted_endpoints: Optional[object] = None, use_host_verification: Optional[object] = None, use_peer_verification: Optional[object] = None, encrypted_credential: Optional[object] = None, **kwargs ): super(ShopifyLinkedService, self).__init__(additional_properties=additional_properties, connect_via=connect_via, description=description, parameters=parameters, annotations=annotations, **kwargs) self.type = 'Shopify' # type: str self.host = host self.access_token = access_token self.use_encrypted_endpoints = use_encrypted_endpoints self.use_host_verification = use_host_verification self.use_peer_verification = use_peer_verification self.encrypted_credential = encrypted_credential
[docs]class ShopifyObjectDataset(Dataset): """Shopify Service dataset. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Type of dataset.Constant filled by server. :type type: str :param description: Dataset description. :type description: str :param structure: Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. :type structure: object :param schema: Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. :type linked_service_name: ~azure.synapse.artifacts.models.LinkedServiceReference :param parameters: Parameters for dataset. :type parameters: dict[str, ~azure.synapse.artifacts.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. :type folder: ~azure.synapse.artifacts.models.DatasetFolder :param table_name: The table name. Type: string (or Expression with resultType string). :type table_name: object """ _validation = { 'type': {'required': True}, 'linked_service_name': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'description': {'key': 'description', 'type': 'str'}, 'structure': {'key': 'structure', 'type': 'object'}, 'schema': {'key': 'schema', 'type': 'object'}, 'linked_service_name': {'key': 'linkedServiceName', 'type': 'LinkedServiceReference'}, 'parameters': {'key': 'parameters', 'type': '{ParameterSpecification}'}, 'annotations': {'key': 'annotations', 'type': '[object]'}, 'folder': {'key': 'folder', 'type': 'DatasetFolder'}, 'table_name': {'key': 'typeProperties.tableName', 'type': 'object'}, } def __init__( self, *, linked_service_name: "LinkedServiceReference", additional_properties: Optional[Dict[str, object]] = None, description: Optional[str] = None, structure: Optional[object] = None, schema: Optional[object] = None, parameters: Optional[Dict[str, "ParameterSpecification"]] = None, annotations: Optional[List[object]] = None, folder: Optional["DatasetFolder"] = None, table_name: Optional[object] = None, **kwargs ): super(ShopifyObjectDataset, self).__init__(additional_properties=additional_properties, description=description, structure=structure, schema=schema, linked_service_name=linked_service_name, parameters=parameters, annotations=annotations, folder=folder, **kwargs) self.type = 'ShopifyObject' # type: str self.table_name = table_name
[docs]class ShopifySource(TabularSource): """A copy activity Shopify Service source. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Copy source type.Constant filled by server. :type type: str :param source_retry_count: Source retry count. Type: integer (or Expression with resultType integer). :type source_retry_count: object :param source_retry_wait: Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type source_retry_wait: object :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object :param query_timeout: Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type query_timeout: object :param additional_columns: Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects). :type additional_columns: list[~azure.synapse.artifacts.models.AdditionalColumns] :param query: A query to retrieve data from source. Type: string (or Expression with resultType string). :type query: object """ _validation = { 'type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, 'query': {'key': 'query', 'type': 'object'}, } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, source_retry_count: Optional[object] = None, source_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, query_timeout: Optional[object] = None, additional_columns: Optional[List["AdditionalColumns"]] = None, query: Optional[object] = None, **kwargs ): super(ShopifySource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, query_timeout=query_timeout, additional_columns=additional_columns, **kwargs) self.type = 'ShopifySource' # type: str self.query = query
[docs]class SkipErrorFile(msrest.serialization.Model): """Skip error file. :param file_missing: Skip if file is deleted by other client during copy. Default is true. Type: boolean (or Expression with resultType boolean). :type file_missing: object :param data_inconsistency: Skip if source/sink file changed by other concurrent write. Default is false. Type: boolean (or Expression with resultType boolean). :type data_inconsistency: object """ _attribute_map = { 'file_missing': {'key': 'fileMissing', 'type': 'object'}, 'data_inconsistency': {'key': 'dataInconsistency', 'type': 'object'}, } def __init__( self, *, file_missing: Optional[object] = None, data_inconsistency: Optional[object] = None, **kwargs ): super(SkipErrorFile, self).__init__(**kwargs) self.file_missing = file_missing self.data_inconsistency = data_inconsistency
[docs]class Sku(msrest.serialization.Model): """SQL pool SKU. :param tier: The service tier. :type tier: str :param name: The SKU name. :type name: str :param capacity: If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted. :type capacity: int """ _attribute_map = { 'tier': {'key': 'tier', 'type': 'str'}, 'name': {'key': 'name', 'type': 'str'}, 'capacity': {'key': 'capacity', 'type': 'int'}, } def __init__( self, *, tier: Optional[str] = None, name: Optional[str] = None, capacity: Optional[int] = None, **kwargs ): super(Sku, self).__init__(**kwargs) self.tier = tier self.name = name self.capacity = capacity
[docs]class SnowflakeDataset(Dataset): """The snowflake dataset. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Type of dataset.Constant filled by server. :type type: str :param description: Dataset description. :type description: str :param structure: Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. :type structure: object :param schema: Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. :type linked_service_name: ~azure.synapse.artifacts.models.LinkedServiceReference :param parameters: Parameters for dataset. :type parameters: dict[str, ~azure.synapse.artifacts.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. :type folder: ~azure.synapse.artifacts.models.DatasetFolder :param schema_type_properties_schema: The schema name of the Snowflake database. Type: string (or Expression with resultType string). :type schema_type_properties_schema: object :param table: The table name of the Snowflake database. Type: string (or Expression with resultType string). :type table: object """ _validation = { 'type': {'required': True}, 'linked_service_name': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'description': {'key': 'description', 'type': 'str'}, 'structure': {'key': 'structure', 'type': 'object'}, 'schema': {'key': 'schema', 'type': 'object'}, 'linked_service_name': {'key': 'linkedServiceName', 'type': 'LinkedServiceReference'}, 'parameters': {'key': 'parameters', 'type': '{ParameterSpecification}'}, 'annotations': {'key': 'annotations', 'type': '[object]'}, 'folder': {'key': 'folder', 'type': 'DatasetFolder'}, 'schema_type_properties_schema': {'key': 'typeProperties.schema', 'type': 'object'}, 'table': {'key': 'typeProperties.table', 'type': 'object'}, } def __init__( self, *, linked_service_name: "LinkedServiceReference", additional_properties: Optional[Dict[str, object]] = None, description: Optional[str] = None, structure: Optional[object] = None, schema: Optional[object] = None, parameters: Optional[Dict[str, "ParameterSpecification"]] = None, annotations: Optional[List[object]] = None, folder: Optional["DatasetFolder"] = None, schema_type_properties_schema: Optional[object] = None, table: Optional[object] = None, **kwargs ): super(SnowflakeDataset, self).__init__(additional_properties=additional_properties, description=description, structure=structure, schema=schema, linked_service_name=linked_service_name, parameters=parameters, annotations=annotations, folder=folder, **kwargs) self.type = 'SnowflakeTable' # type: str self.schema_type_properties_schema = schema_type_properties_schema self.table = table
[docs]class SnowflakeExportCopyCommand(ExportSettings): """Snowflake export command settings. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. The export setting type.Constant filled by server. :type type: str :param additional_copy_options: Additional copy options directly passed to snowflake Copy Command. Type: key value pairs (value should be string type) (or Expression with resultType object). Example: "additionalCopyOptions": { "DATE_FORMAT": "MM/DD/YYYY", "TIME_FORMAT": "'HH24:MI:SS.FF'" }. :type additional_copy_options: dict[str, object] :param additional_format_options: Additional format options directly passed to snowflake Copy Command. Type: key value pairs (value should be string type) (or Expression with resultType object). Example: "additionalFormatOptions": { "OVERWRITE": "TRUE", "MAX_FILE_SIZE": "'FALSE'" }. :type additional_format_options: dict[str, object] """ _validation = { 'type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'additional_copy_options': {'key': 'additionalCopyOptions', 'type': '{object}'}, 'additional_format_options': {'key': 'additionalFormatOptions', 'type': '{object}'}, } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, additional_copy_options: Optional[Dict[str, object]] = None, additional_format_options: Optional[Dict[str, object]] = None, **kwargs ): super(SnowflakeExportCopyCommand, self).__init__(additional_properties=additional_properties, **kwargs) self.type = 'SnowflakeExportCopyCommand' # type: str self.additional_copy_options = additional_copy_options self.additional_format_options = additional_format_options
[docs]class SnowflakeImportCopyCommand(ImportSettings): """Snowflake import command settings. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. The import setting type.Constant filled by server. :type type: str :param additional_copy_options: Additional copy options directly passed to snowflake Copy Command. Type: key value pairs (value should be string type) (or Expression with resultType object). Example: "additionalCopyOptions": { "DATE_FORMAT": "MM/DD/YYYY", "TIME_FORMAT": "'HH24:MI:SS.FF'" }. :type additional_copy_options: dict[str, object] :param additional_format_options: Additional format options directly passed to snowflake Copy Command. Type: key value pairs (value should be string type) (or Expression with resultType object). Example: "additionalFormatOptions": { "FORCE": "TRUE", "LOAD_UNCERTAIN_FILES": "'FALSE'" }. :type additional_format_options: dict[str, object] """ _validation = { 'type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'additional_copy_options': {'key': 'additionalCopyOptions', 'type': '{object}'}, 'additional_format_options': {'key': 'additionalFormatOptions', 'type': '{object}'}, } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, additional_copy_options: Optional[Dict[str, object]] = None, additional_format_options: Optional[Dict[str, object]] = None, **kwargs ): super(SnowflakeImportCopyCommand, self).__init__(additional_properties=additional_properties, **kwargs) self.type = 'SnowflakeImportCopyCommand' # type: str self.additional_copy_options = additional_copy_options self.additional_format_options = additional_format_options
[docs]class SnowflakeLinkedService(LinkedService): """Snowflake linked service. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. :type connect_via: ~azure.synapse.artifacts.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. :type parameters: dict[str, ~azure.synapse.artifacts.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param connection_string: Required. The connection string of snowflake. Type: string, SecureString. :type connection_string: object :param password: The Azure key vault secret reference of password in connection string. :type password: ~azure.synapse.artifacts.models.AzureKeyVaultSecretReference :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). :type encrypted_credential: object """ _validation = { 'type': {'required': True}, 'connection_string': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'connect_via': {'key': 'connectVia', 'type': 'IntegrationRuntimeReference'}, 'description': {'key': 'description', 'type': 'str'}, 'parameters': {'key': 'parameters', 'type': '{ParameterSpecification}'}, 'annotations': {'key': 'annotations', 'type': '[object]'}, 'connection_string': {'key': 'typeProperties.connectionString', 'type': 'object'}, 'password': {'key': 'typeProperties.password', 'type': 'AzureKeyVaultSecretReference'}, 'encrypted_credential': {'key': 'typeProperties.encryptedCredential', 'type': 'object'}, } def __init__( self, *, connection_string: object, additional_properties: Optional[Dict[str, object]] = None, connect_via: Optional["IntegrationRuntimeReference"] = None, description: Optional[str] = None, parameters: Optional[Dict[str, "ParameterSpecification"]] = None, annotations: Optional[List[object]] = None, password: Optional["AzureKeyVaultSecretReference"] = None, encrypted_credential: Optional[object] = None, **kwargs ): super(SnowflakeLinkedService, self).__init__(additional_properties=additional_properties, connect_via=connect_via, description=description, parameters=parameters, annotations=annotations, **kwargs) self.type = 'Snowflake' # type: str self.connection_string = connection_string self.password = password self.encrypted_credential = encrypted_credential
[docs]class SnowflakeSink(CopySink): """A copy activity snowflake sink. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Copy sink type.Constant filled by server. :type type: str :param write_batch_size: Write batch size. Type: integer (or Expression with resultType integer), minimum: 0. :type write_batch_size: object :param write_batch_timeout: Write batch timeout. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type write_batch_timeout: object :param sink_retry_count: Sink retry count. Type: integer (or Expression with resultType integer). :type sink_retry_count: object :param sink_retry_wait: Sink retry wait. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type sink_retry_wait: object :param max_concurrent_connections: The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object :param pre_copy_script: SQL pre-copy script. Type: string (or Expression with resultType string). :type pre_copy_script: object :param import_settings: Snowflake import settings. :type import_settings: ~azure.synapse.artifacts.models.SnowflakeImportCopyCommand """ _validation = { 'type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'write_batch_size': {'key': 'writeBatchSize', 'type': 'object'}, 'write_batch_timeout': {'key': 'writeBatchTimeout', 'type': 'object'}, 'sink_retry_count': {'key': 'sinkRetryCount', 'type': 'object'}, 'sink_retry_wait': {'key': 'sinkRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'pre_copy_script': {'key': 'preCopyScript', 'type': 'object'}, 'import_settings': {'key': 'importSettings', 'type': 'SnowflakeImportCopyCommand'}, } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, write_batch_size: Optional[object] = None, write_batch_timeout: Optional[object] = None, sink_retry_count: Optional[object] = None, sink_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, pre_copy_script: Optional[object] = None, import_settings: Optional["SnowflakeImportCopyCommand"] = None, **kwargs ): super(SnowflakeSink, self).__init__(additional_properties=additional_properties, write_batch_size=write_batch_size, write_batch_timeout=write_batch_timeout, sink_retry_count=sink_retry_count, sink_retry_wait=sink_retry_wait, max_concurrent_connections=max_concurrent_connections, **kwargs) self.type = 'SnowflakeSink' # type: str self.pre_copy_script = pre_copy_script self.import_settings = import_settings
[docs]class SnowflakeSource(CopySource): """A copy activity snowflake source. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Copy source type.Constant filled by server. :type type: str :param source_retry_count: Source retry count. Type: integer (or Expression with resultType integer). :type source_retry_count: object :param source_retry_wait: Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type source_retry_wait: object :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object :param query: Snowflake Sql query. Type: string (or Expression with resultType string). :type query: object :param export_settings: Snowflake export settings. :type export_settings: ~azure.synapse.artifacts.models.SnowflakeExportCopyCommand """ _validation = { 'type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, 'export_settings': {'key': 'exportSettings', 'type': 'SnowflakeExportCopyCommand'}, } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, source_retry_count: Optional[object] = None, source_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, query: Optional[object] = None, export_settings: Optional["SnowflakeExportCopyCommand"] = None, **kwargs ): super(SnowflakeSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, **kwargs) self.type = 'SnowflakeSource' # type: str self.query = query self.export_settings = export_settings
[docs]class SparkBatchJob(msrest.serialization.Model): """SparkBatchJob. All required parameters must be populated in order to send to Azure. :param livy_info: :type livy_info: ~azure.synapse.artifacts.models.SparkBatchJobState :param name: The batch name. :type name: str :param workspace_name: The workspace name. :type workspace_name: str :param spark_pool_name: The Spark pool name. :type spark_pool_name: str :param submitter_name: The submitter name. :type submitter_name: str :param submitter_id: The submitter identifier. :type submitter_id: str :param artifact_id: The artifact identifier. :type artifact_id: str :param job_type: The job type. Possible values include: "SparkBatch", "SparkSession". :type job_type: str or ~azure.synapse.artifacts.models.SparkJobType :param result: The Spark batch job result. Possible values include: "Uncertain", "Succeeded", "Failed", "Cancelled". :type result: str or ~azure.synapse.artifacts.models.SparkBatchJobResultType :param scheduler: The scheduler information. :type scheduler: ~azure.synapse.artifacts.models.SparkScheduler :param plugin: The plugin information. :type plugin: ~azure.synapse.artifacts.models.SparkServicePlugin :param errors: The error information. :type errors: list[~azure.synapse.artifacts.models.SparkServiceError] :param tags: A set of tags. The tags. :type tags: dict[str, str] :param id: Required. The session Id. :type id: int :param app_id: The application id of this session. :type app_id: str :param app_info: The detailed application info. :type app_info: dict[str, str] :param state: The batch state. :type state: str :param log_lines: The log lines. :type log_lines: list[str] """ _validation = { 'id': {'required': True}, } _attribute_map = { 'livy_info': {'key': 'livyInfo', 'type': 'SparkBatchJobState'}, 'name': {'key': 'name', 'type': 'str'}, 'workspace_name': {'key': 'workspaceName', 'type': 'str'}, 'spark_pool_name': {'key': 'sparkPoolName', 'type': 'str'}, 'submitter_name': {'key': 'submitterName', 'type': 'str'}, 'submitter_id': {'key': 'submitterId', 'type': 'str'}, 'artifact_id': {'key': 'artifactId', 'type': 'str'}, 'job_type': {'key': 'jobType', 'type': 'str'}, 'result': {'key': 'result', 'type': 'str'}, 'scheduler': {'key': 'schedulerInfo', 'type': 'SparkScheduler'}, 'plugin': {'key': 'pluginInfo', 'type': 'SparkServicePlugin'}, 'errors': {'key': 'errorInfo', 'type': '[SparkServiceError]'}, 'tags': {'key': 'tags', 'type': '{str}'}, 'id': {'key': 'id', 'type': 'int'}, 'app_id': {'key': 'appId', 'type': 'str'}, 'app_info': {'key': 'appInfo', 'type': '{str}'}, 'state': {'key': 'state', 'type': 'str'}, 'log_lines': {'key': 'log', 'type': '[str]'}, } def __init__( self, *, id: int, livy_info: Optional["SparkBatchJobState"] = None, name: Optional[str] = None, workspace_name: Optional[str] = None, spark_pool_name: Optional[str] = None, submitter_name: Optional[str] = None, submitter_id: Optional[str] = None, artifact_id: Optional[str] = None, job_type: Optional[Union[str, "SparkJobType"]] = None, result: Optional[Union[str, "SparkBatchJobResultType"]] = None, scheduler: Optional["SparkScheduler"] = None, plugin: Optional["SparkServicePlugin"] = None, errors: Optional[List["SparkServiceError"]] = None, tags: Optional[Dict[str, str]] = None, app_id: Optional[str] = None, app_info: Optional[Dict[str, str]] = None, state: Optional[str] = None, log_lines: Optional[List[str]] = None, **kwargs ): super(SparkBatchJob, self).__init__(**kwargs) self.livy_info = livy_info self.name = name self.workspace_name = workspace_name self.spark_pool_name = spark_pool_name self.submitter_name = submitter_name self.submitter_id = submitter_id self.artifact_id = artifact_id self.job_type = job_type self.result = result self.scheduler = scheduler self.plugin = plugin self.errors = errors self.tags = tags self.id = id self.app_id = app_id self.app_info = app_info self.state = state self.log_lines = log_lines
[docs]class SparkBatchJobState(msrest.serialization.Model): """SparkBatchJobState. :param not_started_at: the time that at which "not_started" livy state was first seen. :type not_started_at: ~datetime.datetime :param starting_at: the time that at which "starting" livy state was first seen. :type starting_at: ~datetime.datetime :param running_at: the time that at which "running" livy state was first seen. :type running_at: ~datetime.datetime :param dead_at: time that at which "dead" livy state was first seen. :type dead_at: ~datetime.datetime :param success_at: the time that at which "success" livy state was first seen. :type success_at: ~datetime.datetime :param terminated_at: the time that at which "killed" livy state was first seen. :type terminated_at: ~datetime.datetime :param recovering_at: the time that at which "recovering" livy state was first seen. :type recovering_at: ~datetime.datetime :param current_state: the Spark job state. :type current_state: str :param job_creation_request: :type job_creation_request: ~azure.synapse.artifacts.models.SparkRequest """ _attribute_map = { 'not_started_at': {'key': 'notStartedAt', 'type': 'iso-8601'}, 'starting_at': {'key': 'startingAt', 'type': 'iso-8601'}, 'running_at': {'key': 'runningAt', 'type': 'iso-8601'}, 'dead_at': {'key': 'deadAt', 'type': 'iso-8601'}, 'success_at': {'key': 'successAt', 'type': 'iso-8601'}, 'terminated_at': {'key': 'killedAt', 'type': 'iso-8601'}, 'recovering_at': {'key': 'recoveringAt', 'type': 'iso-8601'}, 'current_state': {'key': 'currentState', 'type': 'str'}, 'job_creation_request': {'key': 'jobCreationRequest', 'type': 'SparkRequest'}, } def __init__( self, *, not_started_at: Optional[datetime.datetime] = None, starting_at: Optional[datetime.datetime] = None, running_at: Optional[datetime.datetime] = None, dead_at: Optional[datetime.datetime] = None, success_at: Optional[datetime.datetime] = None, terminated_at: Optional[datetime.datetime] = None, recovering_at: Optional[datetime.datetime] = None, current_state: Optional[str] = None, job_creation_request: Optional["SparkRequest"] = None, **kwargs ): super(SparkBatchJobState, self).__init__(**kwargs) self.not_started_at = not_started_at self.starting_at = starting_at self.running_at = running_at self.dead_at = dead_at self.success_at = success_at self.terminated_at = terminated_at self.recovering_at = recovering_at self.current_state = current_state self.job_creation_request = job_creation_request
[docs]class SparkJobDefinition(msrest.serialization.Model): """Spark job definition. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param description: The description of the Spark job definition. :type description: str :param target_big_data_pool: Required. Big data pool reference. :type target_big_data_pool: ~azure.synapse.artifacts.models.BigDataPoolReference :param required_spark_version: The required Spark version of the application. :type required_spark_version: str :param language: The language of the Spark application. :type language: str :param job_properties: Required. The properties of the Spark job. :type job_properties: ~azure.synapse.artifacts.models.SparkJobProperties """ _validation = { 'target_big_data_pool': {'required': True}, 'job_properties': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'description': {'key': 'description', 'type': 'str'}, 'target_big_data_pool': {'key': 'targetBigDataPool', 'type': 'BigDataPoolReference'}, 'required_spark_version': {'key': 'requiredSparkVersion', 'type': 'str'}, 'language': {'key': 'language', 'type': 'str'}, 'job_properties': {'key': 'jobProperties', 'type': 'SparkJobProperties'}, } def __init__( self, *, target_big_data_pool: "BigDataPoolReference", job_properties: "SparkJobProperties", additional_properties: Optional[Dict[str, object]] = None, description: Optional[str] = None, required_spark_version: Optional[str] = None, language: Optional[str] = None, **kwargs ): super(SparkJobDefinition, self).__init__(**kwargs) self.additional_properties = additional_properties self.description = description self.target_big_data_pool = target_big_data_pool self.required_spark_version = required_spark_version self.language = language self.job_properties = job_properties
[docs]class SparkJobDefinitionResource(SubResource): """Spark job definition resource type. Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. :ivar id: Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. :vartype id: str :ivar name: The name of the resource. :vartype name: str :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts". :vartype type: str :ivar etag: Resource Etag. :vartype etag: str :param properties: Required. Properties of spark job definition. :type properties: ~azure.synapse.artifacts.models.SparkJobDefinition """ _validation = { 'id': {'readonly': True}, 'name': {'readonly': True}, 'type': {'readonly': True}, 'etag': {'readonly': True}, 'properties': {'required': True}, } _attribute_map = { 'id': {'key': 'id', 'type': 'str'}, 'name': {'key': 'name', 'type': 'str'}, 'type': {'key': 'type', 'type': 'str'}, 'etag': {'key': 'etag', 'type': 'str'}, 'properties': {'key': 'properties', 'type': 'SparkJobDefinition'}, } def __init__( self, *, properties: "SparkJobDefinition", **kwargs ): super(SparkJobDefinitionResource, self).__init__(**kwargs) self.properties = properties
[docs]class SparkJobDefinitionsListResponse(msrest.serialization.Model): """A list of spark job definitions resources. All required parameters must be populated in order to send to Azure. :param value: Required. List of spark job definitions. :type value: list[~azure.synapse.artifacts.models.SparkJobDefinitionResource] :param next_link: The link to the next page of results, if any remaining results exist. :type next_link: str """ _validation = { 'value': {'required': True}, } _attribute_map = { 'value': {'key': 'value', 'type': '[SparkJobDefinitionResource]'}, 'next_link': {'key': 'nextLink', 'type': 'str'}, } def __init__( self, *, value: List["SparkJobDefinitionResource"], next_link: Optional[str] = None, **kwargs ): super(SparkJobDefinitionsListResponse, self).__init__(**kwargs) self.value = value self.next_link = next_link
[docs]class SparkJobProperties(msrest.serialization.Model): """The properties of the Spark job. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param name: The name of the job. :type name: str :param file: Required. File containing the application to execute. :type file: str :param class_name: Main class for Java/Scala application. :type class_name: str :param conf: Spark configuration properties. :type conf: object :param args: Command line arguments for the application. :type args: list[str] :param jars: Jars to be used in this job. :type jars: list[str] :param files: files to be used in this job. :type files: list[str] :param archives: Archives to be used in this job. :type archives: list[str] :param driver_memory: Required. Amount of memory to use for the driver process. :type driver_memory: str :param driver_cores: Required. Number of cores to use for the driver. :type driver_cores: int :param executor_memory: Required. Amount of memory to use per executor process. :type executor_memory: str :param executor_cores: Required. Number of cores to use for each executor. :type executor_cores: int :param num_executors: Required. Number of executors to launch for this job. :type num_executors: int """ _validation = { 'file': {'required': True}, 'driver_memory': {'required': True}, 'driver_cores': {'required': True}, 'executor_memory': {'required': True}, 'executor_cores': {'required': True}, 'num_executors': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'name': {'key': 'name', 'type': 'str'}, 'file': {'key': 'file', 'type': 'str'}, 'class_name': {'key': 'className', 'type': 'str'}, 'conf': {'key': 'conf', 'type': 'object'}, 'args': {'key': 'args', 'type': '[str]'}, 'jars': {'key': 'jars', 'type': '[str]'}, 'files': {'key': 'files', 'type': '[str]'}, 'archives': {'key': 'archives', 'type': '[str]'}, 'driver_memory': {'key': 'driverMemory', 'type': 'str'}, 'driver_cores': {'key': 'driverCores', 'type': 'int'}, 'executor_memory': {'key': 'executorMemory', 'type': 'str'}, 'executor_cores': {'key': 'executorCores', 'type': 'int'}, 'num_executors': {'key': 'numExecutors', 'type': 'int'}, } def __init__( self, *, file: str, driver_memory: str, driver_cores: int, executor_memory: str, executor_cores: int, num_executors: int, additional_properties: Optional[Dict[str, object]] = None, name: Optional[str] = None, class_name: Optional[str] = None, conf: Optional[object] = None, args: Optional[List[str]] = None, jars: Optional[List[str]] = None, files: Optional[List[str]] = None, archives: Optional[List[str]] = None, **kwargs ): super(SparkJobProperties, self).__init__(**kwargs) self.additional_properties = additional_properties self.name = name self.file = file self.class_name = class_name self.conf = conf self.args = args self.jars = jars self.files = files self.archives = archives self.driver_memory = driver_memory self.driver_cores = driver_cores self.executor_memory = executor_memory self.executor_cores = executor_cores self.num_executors = num_executors
[docs]class SparkLinkedService(LinkedService): """Spark Server linked service. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. :type connect_via: ~azure.synapse.artifacts.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. :type parameters: dict[str, ~azure.synapse.artifacts.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param host: Required. IP address or host name of the Spark server. :type host: object :param port: Required. The TCP port that the Spark server uses to listen for client connections. :type port: object :param server_type: The type of Spark server. Possible values include: "SharkServer", "SharkServer2", "SparkThriftServer". :type server_type: str or ~azure.synapse.artifacts.models.SparkServerType :param thrift_transport_protocol: The transport protocol to use in the Thrift layer. Possible values include: "Binary", "SASL", "HTTP ". :type thrift_transport_protocol: str or ~azure.synapse.artifacts.models.SparkThriftTransportProtocol :param authentication_type: Required. The authentication method used to access the Spark server. Possible values include: "Anonymous", "Username", "UsernameAndPassword", "WindowsAzureHDInsightService". :type authentication_type: str or ~azure.synapse.artifacts.models.SparkAuthenticationType :param username: The user name that you use to access Spark Server. :type username: object :param password: The password corresponding to the user name that you provided in the Username field. :type password: ~azure.synapse.artifacts.models.SecretBase :param http_path: The partial URL corresponding to the Spark server. :type http_path: object :param enable_ssl: Specifies whether the connections to the server are encrypted using SSL. The default value is false. :type enable_ssl: object :param trusted_cert_path: The full path of the .pem file containing trusted CA certificates for verifying the server when connecting over SSL. This property can only be set when using SSL on self-hosted IR. The default value is the cacerts.pem file installed with the IR. :type trusted_cert_path: object :param use_system_trust_store: Specifies whether to use a CA certificate from the system trust store or from a specified PEM file. The default value is false. :type use_system_trust_store: object :param allow_host_name_cn_mismatch: Specifies whether to require a CA-issued SSL certificate name to match the host name of the server when connecting over SSL. The default value is false. :type allow_host_name_cn_mismatch: object :param allow_self_signed_server_cert: Specifies whether to allow self-signed certificates from the server. The default value is false. :type allow_self_signed_server_cert: 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). :type encrypted_credential: object """ _validation = { 'type': {'required': True}, 'host': {'required': True}, 'port': {'required': True}, 'authentication_type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'connect_via': {'key': 'connectVia', 'type': 'IntegrationRuntimeReference'}, 'description': {'key': 'description', 'type': 'str'}, 'parameters': {'key': 'parameters', 'type': '{ParameterSpecification}'}, 'annotations': {'key': 'annotations', 'type': '[object]'}, 'host': {'key': 'typeProperties.host', 'type': 'object'}, 'port': {'key': 'typeProperties.port', 'type': 'object'}, 'server_type': {'key': 'typeProperties.serverType', 'type': 'str'}, 'thrift_transport_protocol': {'key': 'typeProperties.thriftTransportProtocol', 'type': 'str'}, 'authentication_type': {'key': 'typeProperties.authenticationType', 'type': 'str'}, 'username': {'key': 'typeProperties.username', 'type': 'object'}, 'password': {'key': 'typeProperties.password', 'type': 'SecretBase'}, 'http_path': {'key': 'typeProperties.httpPath', 'type': 'object'}, 'enable_ssl': {'key': 'typeProperties.enableSsl', 'type': 'object'}, 'trusted_cert_path': {'key': 'typeProperties.trustedCertPath', 'type': 'object'}, 'use_system_trust_store': {'key': 'typeProperties.useSystemTrustStore', 'type': 'object'}, 'allow_host_name_cn_mismatch': {'key': 'typeProperties.allowHostNameCNMismatch', 'type': 'object'}, 'allow_self_signed_server_cert': {'key': 'typeProperties.allowSelfSignedServerCert', 'type': 'object'}, 'encrypted_credential': {'key': 'typeProperties.encryptedCredential', 'type': 'object'}, } def __init__( self, *, host: object, port: object, authentication_type: Union[str, "SparkAuthenticationType"], additional_properties: Optional[Dict[str, object]] = None, connect_via: Optional["IntegrationRuntimeReference"] = None, description: Optional[str] = None, parameters: Optional[Dict[str, "ParameterSpecification"]] = None, annotations: Optional[List[object]] = None, server_type: Optional[Union[str, "SparkServerType"]] = None, thrift_transport_protocol: Optional[Union[str, "SparkThriftTransportProtocol"]] = None, username: Optional[object] = None, password: Optional["SecretBase"] = None, http_path: Optional[object] = None, enable_ssl: Optional[object] = None, trusted_cert_path: Optional[object] = None, use_system_trust_store: Optional[object] = None, allow_host_name_cn_mismatch: Optional[object] = None, allow_self_signed_server_cert: Optional[object] = None, encrypted_credential: Optional[object] = None, **kwargs ): super(SparkLinkedService, self).__init__(additional_properties=additional_properties, connect_via=connect_via, description=description, parameters=parameters, annotations=annotations, **kwargs) self.type = 'Spark' # type: str self.host = host self.port = port self.server_type = server_type self.thrift_transport_protocol = thrift_transport_protocol self.authentication_type = authentication_type self.username = username self.password = password self.http_path = http_path self.enable_ssl = enable_ssl self.trusted_cert_path = trusted_cert_path self.use_system_trust_store = use_system_trust_store self.allow_host_name_cn_mismatch = allow_host_name_cn_mismatch self.allow_self_signed_server_cert = allow_self_signed_server_cert self.encrypted_credential = encrypted_credential
[docs]class SparkObjectDataset(Dataset): """Spark Server dataset. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Type of dataset.Constant filled by server. :type type: str :param description: Dataset description. :type description: str :param structure: Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. :type structure: object :param schema: Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. :type linked_service_name: ~azure.synapse.artifacts.models.LinkedServiceReference :param parameters: Parameters for dataset. :type parameters: dict[str, ~azure.synapse.artifacts.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. :type folder: ~azure.synapse.artifacts.models.DatasetFolder :param table_name: This property will be retired. Please consider using schema + table properties instead. :type table_name: object :param table: The table name of the Spark. Type: string (or Expression with resultType string). :type table: object :param schema_type_properties_schema: The schema name of the Spark. Type: string (or Expression with resultType string). :type schema_type_properties_schema: object """ _validation = { 'type': {'required': True}, 'linked_service_name': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'description': {'key': 'description', 'type': 'str'}, 'structure': {'key': 'structure', 'type': 'object'}, 'schema': {'key': 'schema', 'type': 'object'}, 'linked_service_name': {'key': 'linkedServiceName', 'type': 'LinkedServiceReference'}, 'parameters': {'key': 'parameters', 'type': '{ParameterSpecification}'}, 'annotations': {'key': 'annotations', 'type': '[object]'}, 'folder': {'key': 'folder', 'type': 'DatasetFolder'}, 'table_name': {'key': 'typeProperties.tableName', 'type': 'object'}, 'table': {'key': 'typeProperties.table', 'type': 'object'}, 'schema_type_properties_schema': {'key': 'typeProperties.schema', 'type': 'object'}, } def __init__( self, *, linked_service_name: "LinkedServiceReference", additional_properties: Optional[Dict[str, object]] = None, description: Optional[str] = None, structure: Optional[object] = None, schema: Optional[object] = None, parameters: Optional[Dict[str, "ParameterSpecification"]] = None, annotations: Optional[List[object]] = None, folder: Optional["DatasetFolder"] = None, table_name: Optional[object] = None, table: Optional[object] = None, schema_type_properties_schema: Optional[object] = None, **kwargs ): super(SparkObjectDataset, self).__init__(additional_properties=additional_properties, description=description, structure=structure, schema=schema, linked_service_name=linked_service_name, parameters=parameters, annotations=annotations, folder=folder, **kwargs) self.type = 'SparkObject' # type: str self.table_name = table_name self.table = table self.schema_type_properties_schema = schema_type_properties_schema
[docs]class SparkRequest(msrest.serialization.Model): """SparkRequest. :param name: :type name: str :param file: :type file: str :param class_name: :type class_name: str :param arguments: :type arguments: list[str] :param jars: :type jars: list[str] :param python_files: :type python_files: list[str] :param files: :type files: list[str] :param archives: :type archives: list[str] :param configuration: Dictionary of :code:`<string>`. :type configuration: dict[str, str] :param driver_memory: :type driver_memory: str :param driver_cores: :type driver_cores: int :param executor_memory: :type executor_memory: str :param executor_cores: :type executor_cores: int :param executor_count: :type executor_count: int """ _attribute_map = { 'name': {'key': 'name', 'type': 'str'}, 'file': {'key': 'file', 'type': 'str'}, 'class_name': {'key': 'className', 'type': 'str'}, 'arguments': {'key': 'args', 'type': '[str]'}, 'jars': {'key': 'jars', 'type': '[str]'}, 'python_files': {'key': 'pyFiles', 'type': '[str]'}, 'files': {'key': 'files', 'type': '[str]'}, 'archives': {'key': 'archives', 'type': '[str]'}, 'configuration': {'key': 'conf', 'type': '{str}'}, 'driver_memory': {'key': 'driverMemory', 'type': 'str'}, 'driver_cores': {'key': 'driverCores', 'type': 'int'}, 'executor_memory': {'key': 'executorMemory', 'type': 'str'}, 'executor_cores': {'key': 'executorCores', 'type': 'int'}, 'executor_count': {'key': 'numExecutors', 'type': 'int'}, } def __init__( self, *, name: Optional[str] = None, file: Optional[str] = None, class_name: Optional[str] = None, arguments: Optional[List[str]] = None, jars: Optional[List[str]] = None, python_files: Optional[List[str]] = None, files: Optional[List[str]] = None, archives: Optional[List[str]] = None, configuration: Optional[Dict[str, str]] = None, driver_memory: Optional[str] = None, driver_cores: Optional[int] = None, executor_memory: Optional[str] = None, executor_cores: Optional[int] = None, executor_count: Optional[int] = None, **kwargs ): super(SparkRequest, self).__init__(**kwargs) self.name = name self.file = file self.class_name = class_name self.arguments = arguments self.jars = jars self.python_files = python_files self.files = files self.archives = archives self.configuration = configuration self.driver_memory = driver_memory self.driver_cores = driver_cores self.executor_memory = executor_memory self.executor_cores = executor_cores self.executor_count = executor_count
[docs]class SparkScheduler(msrest.serialization.Model): """SparkScheduler. :param submitted_at: :type submitted_at: ~datetime.datetime :param scheduled_at: :type scheduled_at: ~datetime.datetime :param ended_at: :type ended_at: ~datetime.datetime :param cancellation_requested_at: :type cancellation_requested_at: ~datetime.datetime :param current_state: Possible values include: "Queued", "Scheduled", "Ended". :type current_state: str or ~azure.synapse.artifacts.models.SchedulerCurrentState """ _attribute_map = { 'submitted_at': {'key': 'submittedAt', 'type': 'iso-8601'}, 'scheduled_at': {'key': 'scheduledAt', 'type': 'iso-8601'}, 'ended_at': {'key': 'endedAt', 'type': 'iso-8601'}, 'cancellation_requested_at': {'key': 'cancellationRequestedAt', 'type': 'iso-8601'}, 'current_state': {'key': 'currentState', 'type': 'str'}, } def __init__( self, *, submitted_at: Optional[datetime.datetime] = None, scheduled_at: Optional[datetime.datetime] = None, ended_at: Optional[datetime.datetime] = None, cancellation_requested_at: Optional[datetime.datetime] = None, current_state: Optional[Union[str, "SchedulerCurrentState"]] = None, **kwargs ): super(SparkScheduler, self).__init__(**kwargs) self.submitted_at = submitted_at self.scheduled_at = scheduled_at self.ended_at = ended_at self.cancellation_requested_at = cancellation_requested_at self.current_state = current_state
[docs]class SparkServiceError(msrest.serialization.Model): """SparkServiceError. :param message: :type message: str :param error_code: :type error_code: str :param source: Possible values include: "System", "User", "Unknown", "Dependency". :type source: str or ~azure.synapse.artifacts.models.SparkErrorSource """ _attribute_map = { 'message': {'key': 'message', 'type': 'str'}, 'error_code': {'key': 'errorCode', 'type': 'str'}, 'source': {'key': 'source', 'type': 'str'}, } def __init__( self, *, message: Optional[str] = None, error_code: Optional[str] = None, source: Optional[Union[str, "SparkErrorSource"]] = None, **kwargs ): super(SparkServiceError, self).__init__(**kwargs) self.message = message self.error_code = error_code self.source = source
[docs]class SparkServicePlugin(msrest.serialization.Model): """SparkServicePlugin. :param preparation_started_at: :type preparation_started_at: ~datetime.datetime :param resource_acquisition_started_at: :type resource_acquisition_started_at: ~datetime.datetime :param submission_started_at: :type submission_started_at: ~datetime.datetime :param monitoring_started_at: :type monitoring_started_at: ~datetime.datetime :param cleanup_started_at: :type cleanup_started_at: ~datetime.datetime :param current_state: Possible values include: "Preparation", "ResourceAcquisition", "Queued", "Submission", "Monitoring", "Cleanup", "Ended". :type current_state: str or ~azure.synapse.artifacts.models.PluginCurrentState """ _attribute_map = { 'preparation_started_at': {'key': 'preparationStartedAt', 'type': 'iso-8601'}, 'resource_acquisition_started_at': {'key': 'resourceAcquisitionStartedAt', 'type': 'iso-8601'}, 'submission_started_at': {'key': 'submissionStartedAt', 'type': 'iso-8601'}, 'monitoring_started_at': {'key': 'monitoringStartedAt', 'type': 'iso-8601'}, 'cleanup_started_at': {'key': 'cleanupStartedAt', 'type': 'iso-8601'}, 'current_state': {'key': 'currentState', 'type': 'str'}, } def __init__( self, *, preparation_started_at: Optional[datetime.datetime] = None, resource_acquisition_started_at: Optional[datetime.datetime] = None, submission_started_at: Optional[datetime.datetime] = None, monitoring_started_at: Optional[datetime.datetime] = None, cleanup_started_at: Optional[datetime.datetime] = None, current_state: Optional[Union[str, "PluginCurrentState"]] = None, **kwargs ): super(SparkServicePlugin, self).__init__(**kwargs) self.preparation_started_at = preparation_started_at self.resource_acquisition_started_at = resource_acquisition_started_at self.submission_started_at = submission_started_at self.monitoring_started_at = monitoring_started_at self.cleanup_started_at = cleanup_started_at self.current_state = current_state
[docs]class SparkSource(TabularSource): """A copy activity Spark Server source. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Copy source type.Constant filled by server. :type type: str :param source_retry_count: Source retry count. Type: integer (or Expression with resultType integer). :type source_retry_count: object :param source_retry_wait: Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type source_retry_wait: object :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object :param query_timeout: Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type query_timeout: object :param additional_columns: Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects). :type additional_columns: list[~azure.synapse.artifacts.models.AdditionalColumns] :param query: A query to retrieve data from source. Type: string (or Expression with resultType string). :type query: object """ _validation = { 'type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, 'query': {'key': 'query', 'type': 'object'}, } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, source_retry_count: Optional[object] = None, source_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, query_timeout: Optional[object] = None, additional_columns: Optional[List["AdditionalColumns"]] = None, query: Optional[object] = None, **kwargs ): super(SparkSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, query_timeout=query_timeout, additional_columns=additional_columns, **kwargs) self.type = 'SparkSource' # type: str self.query = query
[docs]class SqlConnection(msrest.serialization.Model): """The connection used to execute the SQL script. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. The type of the connection. Possible values include: "SqlOnDemand", "SqlPool". :type type: str or ~azure.synapse.artifacts.models.SqlConnectionType :param name: Required. The identifier of the connection. :type name: str """ _validation = { 'type': {'required': True}, 'name': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'name': {'key': 'name', 'type': 'str'}, } def __init__( self, *, type: Union[str, "SqlConnectionType"], name: str, additional_properties: Optional[Dict[str, object]] = None, **kwargs ): super(SqlConnection, self).__init__(**kwargs) self.additional_properties = additional_properties self.type = type self.name = name
[docs]class SqlDWSink(CopySink): """A copy activity SQL Data Warehouse sink. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Copy sink type.Constant filled by server. :type type: str :param write_batch_size: Write batch size. Type: integer (or Expression with resultType integer), minimum: 0. :type write_batch_size: object :param write_batch_timeout: Write batch timeout. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type write_batch_timeout: object :param sink_retry_count: Sink retry count. Type: integer (or Expression with resultType integer). :type sink_retry_count: object :param sink_retry_wait: Sink retry wait. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type sink_retry_wait: object :param max_concurrent_connections: The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object :param pre_copy_script: SQL pre-copy script. Type: string (or Expression with resultType string). :type pre_copy_script: object :param allow_poly_base: Indicates to use PolyBase to copy data into SQL Data Warehouse when applicable. Type: boolean (or Expression with resultType boolean). :type allow_poly_base: object :param poly_base_settings: Specifies PolyBase-related settings when allowPolyBase is true. :type poly_base_settings: ~azure.synapse.artifacts.models.PolybaseSettings :param allow_copy_command: Indicates to use Copy Command to copy data into SQL Data Warehouse. Type: boolean (or Expression with resultType boolean). :type allow_copy_command: object :param copy_command_settings: Specifies Copy Command related settings when allowCopyCommand is true. :type copy_command_settings: ~azure.synapse.artifacts.models.DWCopyCommandSettings :param table_option: The option to handle sink table, such as autoCreate. For now only 'autoCreate' value is supported. Type: string (or Expression with resultType string). :type table_option: object """ _validation = { 'type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'write_batch_size': {'key': 'writeBatchSize', 'type': 'object'}, 'write_batch_timeout': {'key': 'writeBatchTimeout', 'type': 'object'}, 'sink_retry_count': {'key': 'sinkRetryCount', 'type': 'object'}, 'sink_retry_wait': {'key': 'sinkRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'pre_copy_script': {'key': 'preCopyScript', 'type': 'object'}, 'allow_poly_base': {'key': 'allowPolyBase', 'type': 'object'}, 'poly_base_settings': {'key': 'polyBaseSettings', 'type': 'PolybaseSettings'}, 'allow_copy_command': {'key': 'allowCopyCommand', 'type': 'object'}, 'copy_command_settings': {'key': 'copyCommandSettings', 'type': 'DWCopyCommandSettings'}, 'table_option': {'key': 'tableOption', 'type': 'object'}, } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, write_batch_size: Optional[object] = None, write_batch_timeout: Optional[object] = None, sink_retry_count: Optional[object] = None, sink_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, pre_copy_script: Optional[object] = None, allow_poly_base: Optional[object] = None, poly_base_settings: Optional["PolybaseSettings"] = None, allow_copy_command: Optional[object] = None, copy_command_settings: Optional["DWCopyCommandSettings"] = None, table_option: Optional[object] = None, **kwargs ): super(SqlDWSink, self).__init__(additional_properties=additional_properties, write_batch_size=write_batch_size, write_batch_timeout=write_batch_timeout, sink_retry_count=sink_retry_count, sink_retry_wait=sink_retry_wait, max_concurrent_connections=max_concurrent_connections, **kwargs) self.type = 'SqlDWSink' # type: str self.pre_copy_script = pre_copy_script self.allow_poly_base = allow_poly_base self.poly_base_settings = poly_base_settings self.allow_copy_command = allow_copy_command self.copy_command_settings = copy_command_settings self.table_option = table_option
[docs]class SqlDWSource(TabularSource): """A copy activity SQL Data Warehouse source. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Copy source type.Constant filled by server. :type type: str :param source_retry_count: Source retry count. Type: integer (or Expression with resultType integer). :type source_retry_count: object :param source_retry_wait: Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type source_retry_wait: object :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object :param query_timeout: Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type query_timeout: object :param additional_columns: Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects). :type additional_columns: list[~azure.synapse.artifacts.models.AdditionalColumns] :param sql_reader_query: SQL Data Warehouse reader query. Type: string (or Expression with resultType string). :type sql_reader_query: object :param sql_reader_stored_procedure_name: Name of the stored procedure for a SQL Data Warehouse source. This cannot be used at the same time as SqlReaderQuery. Type: string (or Expression with resultType string). :type sql_reader_stored_procedure_name: object :param stored_procedure_parameters: Value and type setting for stored procedure parameters. Example: "{Parameter1: {value: "1", type: "int"}}". Type: object (or Expression with resultType object), itemType: StoredProcedureParameter. :type stored_procedure_parameters: object :param partition_option: The partition mechanism that will be used for Sql read in parallel. Possible values include: "None", "PhysicalPartitionsOfTable", "DynamicRange". :type partition_option: object :param partition_settings: The settings that will be leveraged for Sql source partitioning. :type partition_settings: ~azure.synapse.artifacts.models.SqlPartitionSettings """ _validation = { 'type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, 'sql_reader_query': {'key': 'sqlReaderQuery', 'type': 'object'}, 'sql_reader_stored_procedure_name': {'key': 'sqlReaderStoredProcedureName', 'type': 'object'}, 'stored_procedure_parameters': {'key': 'storedProcedureParameters', 'type': 'object'}, 'partition_option': {'key': 'partitionOption', 'type': 'object'}, 'partition_settings': {'key': 'partitionSettings', 'type': 'SqlPartitionSettings'}, } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, source_retry_count: Optional[object] = None, source_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, query_timeout: Optional[object] = None, additional_columns: Optional[List["AdditionalColumns"]] = None, sql_reader_query: Optional[object] = None, sql_reader_stored_procedure_name: Optional[object] = None, stored_procedure_parameters: Optional[object] = None, partition_option: Optional[object] = None, partition_settings: Optional["SqlPartitionSettings"] = None, **kwargs ): super(SqlDWSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, query_timeout=query_timeout, additional_columns=additional_columns, **kwargs) self.type = 'SqlDWSource' # type: str self.sql_reader_query = sql_reader_query self.sql_reader_stored_procedure_name = sql_reader_stored_procedure_name self.stored_procedure_parameters = stored_procedure_parameters self.partition_option = partition_option self.partition_settings = partition_settings
[docs]class SqlMISink(CopySink): """A copy activity Azure SQL Managed Instance sink. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Copy sink type.Constant filled by server. :type type: str :param write_batch_size: Write batch size. Type: integer (or Expression with resultType integer), minimum: 0. :type write_batch_size: object :param write_batch_timeout: Write batch timeout. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type write_batch_timeout: object :param sink_retry_count: Sink retry count. Type: integer (or Expression with resultType integer). :type sink_retry_count: object :param sink_retry_wait: Sink retry wait. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type sink_retry_wait: object :param max_concurrent_connections: The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object :param sql_writer_stored_procedure_name: SQL writer stored procedure name. Type: string (or Expression with resultType string). :type sql_writer_stored_procedure_name: object :param sql_writer_table_type: SQL writer table type. Type: string (or Expression with resultType string). :type sql_writer_table_type: object :param pre_copy_script: SQL pre-copy script. Type: string (or Expression with resultType string). :type pre_copy_script: object :param stored_procedure_parameters: SQL stored procedure parameters. :type stored_procedure_parameters: dict[str, ~azure.synapse.artifacts.models.StoredProcedureParameter] :param stored_procedure_table_type_parameter_name: The stored procedure parameter name of the table type. Type: string (or Expression with resultType string). :type stored_procedure_table_type_parameter_name: object :param table_option: The option to handle sink table, such as autoCreate. For now only 'autoCreate' value is supported. Type: string (or Expression with resultType string). :type table_option: object """ _validation = { 'type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'write_batch_size': {'key': 'writeBatchSize', 'type': 'object'}, 'write_batch_timeout': {'key': 'writeBatchTimeout', 'type': 'object'}, 'sink_retry_count': {'key': 'sinkRetryCount', 'type': 'object'}, 'sink_retry_wait': {'key': 'sinkRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'sql_writer_stored_procedure_name': {'key': 'sqlWriterStoredProcedureName', 'type': 'object'}, 'sql_writer_table_type': {'key': 'sqlWriterTableType', 'type': 'object'}, 'pre_copy_script': {'key': 'preCopyScript', 'type': 'object'}, 'stored_procedure_parameters': {'key': 'storedProcedureParameters', 'type': '{StoredProcedureParameter}'}, 'stored_procedure_table_type_parameter_name': {'key': 'storedProcedureTableTypeParameterName', 'type': 'object'}, 'table_option': {'key': 'tableOption', 'type': 'object'}, } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, write_batch_size: Optional[object] = None, write_batch_timeout: Optional[object] = None, sink_retry_count: Optional[object] = None, sink_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, sql_writer_stored_procedure_name: Optional[object] = None, sql_writer_table_type: Optional[object] = None, pre_copy_script: Optional[object] = None, stored_procedure_parameters: Optional[Dict[str, "StoredProcedureParameter"]] = None, stored_procedure_table_type_parameter_name: Optional[object] = None, table_option: Optional[object] = None, **kwargs ): super(SqlMISink, self).__init__(additional_properties=additional_properties, write_batch_size=write_batch_size, write_batch_timeout=write_batch_timeout, sink_retry_count=sink_retry_count, sink_retry_wait=sink_retry_wait, max_concurrent_connections=max_concurrent_connections, **kwargs) self.type = 'SqlMISink' # type: str self.sql_writer_stored_procedure_name = sql_writer_stored_procedure_name self.sql_writer_table_type = sql_writer_table_type self.pre_copy_script = pre_copy_script self.stored_procedure_parameters = stored_procedure_parameters self.stored_procedure_table_type_parameter_name = stored_procedure_table_type_parameter_name self.table_option = table_option
[docs]class SqlMISource(TabularSource): """A copy activity Azure SQL Managed Instance source. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Copy source type.Constant filled by server. :type type: str :param source_retry_count: Source retry count. Type: integer (or Expression with resultType integer). :type source_retry_count: object :param source_retry_wait: Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type source_retry_wait: object :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object :param query_timeout: Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type query_timeout: object :param additional_columns: Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects). :type additional_columns: list[~azure.synapse.artifacts.models.AdditionalColumns] :param sql_reader_query: SQL reader query. Type: string (or Expression with resultType string). :type sql_reader_query: object :param sql_reader_stored_procedure_name: Name of the stored procedure for a Azure SQL Managed Instance source. This cannot be used at the same time as SqlReaderQuery. Type: string (or Expression with resultType string). :type sql_reader_stored_procedure_name: object :param stored_procedure_parameters: Value and type setting for stored procedure parameters. Example: "{Parameter1: {value: "1", type: "int"}}". :type stored_procedure_parameters: dict[str, ~azure.synapse.artifacts.models.StoredProcedureParameter] :param produce_additional_types: Which additional types to produce. :type produce_additional_types: object :param partition_option: The partition mechanism that will be used for Sql read in parallel. Possible values include: "None", "PhysicalPartitionsOfTable", "DynamicRange". :type partition_option: object :param partition_settings: The settings that will be leveraged for Sql source partitioning. :type partition_settings: ~azure.synapse.artifacts.models.SqlPartitionSettings """ _validation = { 'type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, 'sql_reader_query': {'key': 'sqlReaderQuery', 'type': 'object'}, 'sql_reader_stored_procedure_name': {'key': 'sqlReaderStoredProcedureName', 'type': 'object'}, 'stored_procedure_parameters': {'key': 'storedProcedureParameters', 'type': '{StoredProcedureParameter}'}, 'produce_additional_types': {'key': 'produceAdditionalTypes', 'type': 'object'}, 'partition_option': {'key': 'partitionOption', 'type': 'object'}, 'partition_settings': {'key': 'partitionSettings', 'type': 'SqlPartitionSettings'}, } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, source_retry_count: Optional[object] = None, source_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, query_timeout: Optional[object] = None, additional_columns: Optional[List["AdditionalColumns"]] = None, sql_reader_query: Optional[object] = None, sql_reader_stored_procedure_name: Optional[object] = None, stored_procedure_parameters: Optional[Dict[str, "StoredProcedureParameter"]] = None, produce_additional_types: Optional[object] = None, partition_option: Optional[object] = None, partition_settings: Optional["SqlPartitionSettings"] = None, **kwargs ): super(SqlMISource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, query_timeout=query_timeout, additional_columns=additional_columns, **kwargs) self.type = 'SqlMISource' # type: str self.sql_reader_query = sql_reader_query self.sql_reader_stored_procedure_name = sql_reader_stored_procedure_name self.stored_procedure_parameters = stored_procedure_parameters self.produce_additional_types = produce_additional_types self.partition_option = partition_option self.partition_settings = partition_settings
[docs]class SqlPartitionSettings(msrest.serialization.Model): """The settings that will be leveraged for Sql source partitioning. :param partition_column_name: The name of the column in integer or datetime type that will be used for proceeding partitioning. If not specified, the primary key of the table is auto-detected and used as the partition column. Type: string (or Expression with resultType string). :type partition_column_name: object :param partition_upper_bound: The maximum value of the partition column for partition range splitting. This value is used to decide the partition stride, not for filtering the rows in table. All rows in the table or query result will be partitioned and copied. Type: string (or Expression with resultType string). :type partition_upper_bound: object :param partition_lower_bound: The minimum value of the partition column for partition range splitting. This value is used to decide the partition stride, not for filtering the rows in table. All rows in the table or query result will be partitioned and copied. Type: string (or Expression with resultType string). :type partition_lower_bound: object """ _attribute_map = { 'partition_column_name': {'key': 'partitionColumnName', 'type': 'object'}, 'partition_upper_bound': {'key': 'partitionUpperBound', 'type': 'object'}, 'partition_lower_bound': {'key': 'partitionLowerBound', 'type': 'object'}, } def __init__( self, *, partition_column_name: Optional[object] = None, partition_upper_bound: Optional[object] = None, partition_lower_bound: Optional[object] = None, **kwargs ): super(SqlPartitionSettings, self).__init__(**kwargs) self.partition_column_name = partition_column_name self.partition_upper_bound = partition_upper_bound self.partition_lower_bound = partition_lower_bound
[docs]class SqlPool(TrackedResource): """A SQL Analytics pool. Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. :ivar id: Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. :vartype id: str :ivar name: The name of the resource. :vartype name: str :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts". :vartype type: str :param tags: A set of tags. Resource tags. :type tags: dict[str, str] :param location: Required. The geo-location where the resource lives. :type location: str :param sku: SQL pool SKU. :type sku: ~azure.synapse.artifacts.models.Sku :param max_size_bytes: Maximum size in bytes. :type max_size_bytes: long :param collation: Collation mode. :type collation: str :param source_database_id: Source database to create from. :type source_database_id: str :param recoverable_database_id: Backup database to restore from. :type recoverable_database_id: str :param provisioning_state: Resource state. :type provisioning_state: str :param status: Resource status. :type status: str :param restore_point_in_time: Snapshot time to restore. :type restore_point_in_time: str :param create_mode: What is this?. :type create_mode: str :param creation_date: Date the SQL pool was created. :type creation_date: ~datetime.datetime """ _validation = { 'id': {'readonly': True}, 'name': {'readonly': True}, 'type': {'readonly': True}, 'location': {'required': True}, } _attribute_map = { 'id': {'key': 'id', 'type': 'str'}, 'name': {'key': 'name', 'type': 'str'}, 'type': {'key': 'type', 'type': 'str'}, 'tags': {'key': 'tags', 'type': '{str}'}, 'location': {'key': 'location', 'type': 'str'}, 'sku': {'key': 'sku', 'type': 'Sku'}, 'max_size_bytes': {'key': 'properties.maxSizeBytes', 'type': 'long'}, 'collation': {'key': 'properties.collation', 'type': 'str'}, 'source_database_id': {'key': 'properties.sourceDatabaseId', 'type': 'str'}, 'recoverable_database_id': {'key': 'properties.recoverableDatabaseId', 'type': 'str'}, 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, 'status': {'key': 'properties.status', 'type': 'str'}, 'restore_point_in_time': {'key': 'properties.restorePointInTime', 'type': 'str'}, 'create_mode': {'key': 'properties.createMode', 'type': 'str'}, 'creation_date': {'key': 'properties.creationDate', 'type': 'iso-8601'}, } def __init__( self, *, location: str, tags: Optional[Dict[str, str]] = None, sku: Optional["Sku"] = None, max_size_bytes: Optional[int] = None, collation: Optional[str] = None, source_database_id: Optional[str] = None, recoverable_database_id: Optional[str] = None, provisioning_state: Optional[str] = None, status: Optional[str] = None, restore_point_in_time: Optional[str] = None, create_mode: Optional[str] = None, creation_date: Optional[datetime.datetime] = None, **kwargs ): super(SqlPool, self).__init__(tags=tags, location=location, **kwargs) self.sku = sku self.max_size_bytes = max_size_bytes self.collation = collation self.source_database_id = source_database_id self.recoverable_database_id = recoverable_database_id self.provisioning_state = provisioning_state self.status = status self.restore_point_in_time = restore_point_in_time self.create_mode = create_mode self.creation_date = creation_date
[docs]class SqlPoolInfoListResult(msrest.serialization.Model): """List of SQL pools. :param next_link: Link to the next page of results. :type next_link: str :param value: List of SQL pools. :type value: list[~azure.synapse.artifacts.models.SqlPool] """ _attribute_map = { 'next_link': {'key': 'nextLink', 'type': 'str'}, 'value': {'key': 'value', 'type': '[SqlPool]'}, } def __init__( self, *, next_link: Optional[str] = None, value: Optional[List["SqlPool"]] = None, **kwargs ): super(SqlPoolInfoListResult, self).__init__(**kwargs) self.next_link = next_link self.value = value
[docs]class SqlPoolReference(msrest.serialization.Model): """SQL pool reference type. All required parameters must be populated in order to send to Azure. :param type: Required. SQL pool reference type. Possible values include: "SqlPoolReference". :type type: str or ~azure.synapse.artifacts.models.SqlPoolReferenceType :param reference_name: Required. Reference SQL pool name. :type reference_name: str """ _validation = { 'type': {'required': True}, 'reference_name': {'required': True}, } _attribute_map = { 'type': {'key': 'type', 'type': 'str'}, 'reference_name': {'key': 'referenceName', 'type': 'str'}, } def __init__( self, *, type: Union[str, "SqlPoolReferenceType"], reference_name: str, **kwargs ): super(SqlPoolReference, self).__init__(**kwargs) self.type = type self.reference_name = reference_name
[docs]class SqlPoolStoredProcedureActivity(Activity): """Execute SQL pool stored procedure activity. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param name: Required. Activity name. :type name: str :param type: Required. Type of activity.Constant filled by server. :type type: str :param description: Activity description. :type description: str :param depends_on: Activity depends on condition. :type depends_on: list[~azure.synapse.artifacts.models.ActivityDependency] :param user_properties: Activity user properties. :type user_properties: list[~azure.synapse.artifacts.models.UserProperty] :param sql_pool: Required. SQL pool stored procedure reference. :type sql_pool: ~azure.synapse.artifacts.models.SqlPoolReference :param stored_procedure_name: Required. Stored procedure name. Type: string (or Expression with resultType string). :type stored_procedure_name: object :param stored_procedure_parameters: Value and type setting for stored procedure parameters. Example: "{Parameter1: {value: "1", type: "int"}}". :type stored_procedure_parameters: dict[str, ~azure.synapse.artifacts.models.StoredProcedureParameter] """ _validation = { 'name': {'required': True}, 'type': {'required': True}, 'sql_pool': {'required': True}, 'stored_procedure_name': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'name': {'key': 'name', 'type': 'str'}, 'type': {'key': 'type', 'type': 'str'}, 'description': {'key': 'description', 'type': 'str'}, 'depends_on': {'key': 'dependsOn', 'type': '[ActivityDependency]'}, 'user_properties': {'key': 'userProperties', 'type': '[UserProperty]'}, 'sql_pool': {'key': 'sqlPool', 'type': 'SqlPoolReference'}, 'stored_procedure_name': {'key': 'typeProperties.storedProcedureName', 'type': 'object'}, 'stored_procedure_parameters': {'key': 'typeProperties.storedProcedureParameters', 'type': '{StoredProcedureParameter}'}, } def __init__( self, *, name: str, sql_pool: "SqlPoolReference", stored_procedure_name: object, additional_properties: Optional[Dict[str, object]] = None, description: Optional[str] = None, depends_on: Optional[List["ActivityDependency"]] = None, user_properties: Optional[List["UserProperty"]] = None, stored_procedure_parameters: Optional[Dict[str, "StoredProcedureParameter"]] = None, **kwargs ): super(SqlPoolStoredProcedureActivity, self).__init__(additional_properties=additional_properties, name=name, description=description, depends_on=depends_on, user_properties=user_properties, **kwargs) self.type = 'SqlPoolStoredProcedure' # type: str self.sql_pool = sql_pool self.stored_procedure_name = stored_procedure_name self.stored_procedure_parameters = stored_procedure_parameters
[docs]class SqlScript(msrest.serialization.Model): """SQL script. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param description: The description of the SQL script. :type description: str :param type: The type of the SQL script. Possible values include: "SqlQuery". :type type: str or ~azure.synapse.artifacts.models.SqlScriptType :param content: Required. The content of the SQL script. :type content: ~azure.synapse.artifacts.models.SqlScriptContent """ _validation = { 'content': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'description': {'key': 'description', 'type': 'str'}, 'type': {'key': 'type', 'type': 'str'}, 'content': {'key': 'content', 'type': 'SqlScriptContent'}, } def __init__( self, *, content: "SqlScriptContent", additional_properties: Optional[Dict[str, object]] = None, description: Optional[str] = None, type: Optional[Union[str, "SqlScriptType"]] = None, **kwargs ): super(SqlScript, self).__init__(**kwargs) self.additional_properties = additional_properties self.description = description self.type = type self.content = content
[docs]class SqlScriptContent(msrest.serialization.Model): """The content of the SQL script. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param query: Required. SQL query to execute. :type query: str :param current_connection: Required. The connection used to execute the SQL script. :type current_connection: ~azure.synapse.artifacts.models.SqlConnection :param metadata: The metadata of the SQL script. :type metadata: ~azure.synapse.artifacts.models.SqlScriptMetadata """ _validation = { 'query': {'required': True}, 'current_connection': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'query': {'key': 'query', 'type': 'str'}, 'current_connection': {'key': 'currentConnection', 'type': 'SqlConnection'}, 'metadata': {'key': 'metadata', 'type': 'SqlScriptMetadata'}, } def __init__( self, *, query: str, current_connection: "SqlConnection", additional_properties: Optional[Dict[str, object]] = None, metadata: Optional["SqlScriptMetadata"] = None, **kwargs ): super(SqlScriptContent, self).__init__(**kwargs) self.additional_properties = additional_properties self.query = query self.current_connection = current_connection self.metadata = metadata
[docs]class SqlScriptMetadata(msrest.serialization.Model): """The metadata of the SQL script. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param language: The language of the SQL script. :type language: str """ _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'language': {'key': 'language', 'type': 'str'}, } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, language: Optional[str] = None, **kwargs ): super(SqlScriptMetadata, self).__init__(**kwargs) self.additional_properties = additional_properties self.language = language
[docs]class SqlScriptResource(msrest.serialization.Model): """Sql Script resource type. Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. :ivar id: Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. :vartype id: str :param name: Required. The name of the resource. :type name: str :ivar type: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. :vartype type: str :ivar etag: Resource Etag. :vartype etag: str :param properties: Required. Properties of sql script. :type properties: ~azure.synapse.artifacts.models.SqlScript """ _validation = { 'id': {'readonly': True}, 'name': {'required': True}, 'type': {'readonly': True}, 'etag': {'readonly': True}, 'properties': {'required': True}, } _attribute_map = { 'id': {'key': 'id', 'type': 'str'}, 'name': {'key': 'name', 'type': 'str'}, 'type': {'key': 'type', 'type': 'str'}, 'etag': {'key': 'etag', 'type': 'str'}, 'properties': {'key': 'properties', 'type': 'SqlScript'}, } def __init__( self, *, name: str, properties: "SqlScript", **kwargs ): super(SqlScriptResource, self).__init__(**kwargs) self.id = None self.name = name self.type = None self.etag = None self.properties = properties
[docs]class SqlScriptsListResponse(msrest.serialization.Model): """A list of sql scripts resources. All required parameters must be populated in order to send to Azure. :param value: Required. List of sql scripts. :type value: list[~azure.synapse.artifacts.models.SqlScriptResource] :param next_link: The link to the next page of results, if any remaining results exist. :type next_link: str """ _validation = { 'value': {'required': True}, } _attribute_map = { 'value': {'key': 'value', 'type': '[SqlScriptResource]'}, 'next_link': {'key': 'nextLink', 'type': 'str'}, } def __init__( self, *, value: List["SqlScriptResource"], next_link: Optional[str] = None, **kwargs ): super(SqlScriptsListResponse, self).__init__(**kwargs) self.value = value self.next_link = next_link
[docs]class SqlServerLinkedService(LinkedService): """SQL Server linked service. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. :type connect_via: ~azure.synapse.artifacts.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. :type parameters: dict[str, ~azure.synapse.artifacts.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param connection_string: Required. The connection string. Type: string, SecureString or AzureKeyVaultSecretReference. :type connection_string: object :param user_name: The on-premises Windows authentication user name. Type: string (or Expression with resultType string). :type user_name: object :param password: The on-premises Windows authentication password. :type password: ~azure.synapse.artifacts.models.SecretBase :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). :type encrypted_credential: object """ _validation = { 'type': {'required': True}, 'connection_string': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'connect_via': {'key': 'connectVia', 'type': 'IntegrationRuntimeReference'}, 'description': {'key': 'description', 'type': 'str'}, 'parameters': {'key': 'parameters', 'type': '{ParameterSpecification}'}, 'annotations': {'key': 'annotations', 'type': '[object]'}, 'connection_string': {'key': 'typeProperties.connectionString', 'type': 'object'}, 'user_name': {'key': 'typeProperties.userName', 'type': 'object'}, 'password': {'key': 'typeProperties.password', 'type': 'SecretBase'}, 'encrypted_credential': {'key': 'typeProperties.encryptedCredential', 'type': 'object'}, } def __init__( self, *, connection_string: object, additional_properties: Optional[Dict[str, object]] = None, connect_via: Optional["IntegrationRuntimeReference"] = None, description: Optional[str] = None, parameters: Optional[Dict[str, "ParameterSpecification"]] = None, annotations: Optional[List[object]] = None, user_name: Optional[object] = None, password: Optional["SecretBase"] = None, encrypted_credential: Optional[object] = None, **kwargs ): super(SqlServerLinkedService, self).__init__(additional_properties=additional_properties, connect_via=connect_via, description=description, parameters=parameters, annotations=annotations, **kwargs) self.type = 'SqlServer' # type: str self.connection_string = connection_string self.user_name = user_name self.password = password self.encrypted_credential = encrypted_credential
[docs]class SqlServerSink(CopySink): """A copy activity SQL server sink. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Copy sink type.Constant filled by server. :type type: str :param write_batch_size: Write batch size. Type: integer (or Expression with resultType integer), minimum: 0. :type write_batch_size: object :param write_batch_timeout: Write batch timeout. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type write_batch_timeout: object :param sink_retry_count: Sink retry count. Type: integer (or Expression with resultType integer). :type sink_retry_count: object :param sink_retry_wait: Sink retry wait. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type sink_retry_wait: object :param max_concurrent_connections: The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object :param sql_writer_stored_procedure_name: SQL writer stored procedure name. Type: string (or Expression with resultType string). :type sql_writer_stored_procedure_name: object :param sql_writer_table_type: SQL writer table type. Type: string (or Expression with resultType string). :type sql_writer_table_type: object :param pre_copy_script: SQL pre-copy script. Type: string (or Expression with resultType string). :type pre_copy_script: object :param stored_procedure_parameters: SQL stored procedure parameters. :type stored_procedure_parameters: dict[str, ~azure.synapse.artifacts.models.StoredProcedureParameter] :param stored_procedure_table_type_parameter_name: The stored procedure parameter name of the table type. Type: string (or Expression with resultType string). :type stored_procedure_table_type_parameter_name: object :param table_option: The option to handle sink table, such as autoCreate. For now only 'autoCreate' value is supported. Type: string (or Expression with resultType string). :type table_option: object """ _validation = { 'type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'write_batch_size': {'key': 'writeBatchSize', 'type': 'object'}, 'write_batch_timeout': {'key': 'writeBatchTimeout', 'type': 'object'}, 'sink_retry_count': {'key': 'sinkRetryCount', 'type': 'object'}, 'sink_retry_wait': {'key': 'sinkRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'sql_writer_stored_procedure_name': {'key': 'sqlWriterStoredProcedureName', 'type': 'object'}, 'sql_writer_table_type': {'key': 'sqlWriterTableType', 'type': 'object'}, 'pre_copy_script': {'key': 'preCopyScript', 'type': 'object'}, 'stored_procedure_parameters': {'key': 'storedProcedureParameters', 'type': '{StoredProcedureParameter}'}, 'stored_procedure_table_type_parameter_name': {'key': 'storedProcedureTableTypeParameterName', 'type': 'object'}, 'table_option': {'key': 'tableOption', 'type': 'object'}, } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, write_batch_size: Optional[object] = None, write_batch_timeout: Optional[object] = None, sink_retry_count: Optional[object] = None, sink_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, sql_writer_stored_procedure_name: Optional[object] = None, sql_writer_table_type: Optional[object] = None, pre_copy_script: Optional[object] = None, stored_procedure_parameters: Optional[Dict[str, "StoredProcedureParameter"]] = None, stored_procedure_table_type_parameter_name: Optional[object] = None, table_option: Optional[object] = None, **kwargs ): super(SqlServerSink, self).__init__(additional_properties=additional_properties, write_batch_size=write_batch_size, write_batch_timeout=write_batch_timeout, sink_retry_count=sink_retry_count, sink_retry_wait=sink_retry_wait, max_concurrent_connections=max_concurrent_connections, **kwargs) self.type = 'SqlServerSink' # type: str self.sql_writer_stored_procedure_name = sql_writer_stored_procedure_name self.sql_writer_table_type = sql_writer_table_type self.pre_copy_script = pre_copy_script self.stored_procedure_parameters = stored_procedure_parameters self.stored_procedure_table_type_parameter_name = stored_procedure_table_type_parameter_name self.table_option = table_option
[docs]class SqlServerSource(TabularSource): """A copy activity SQL server source. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Copy source type.Constant filled by server. :type type: str :param source_retry_count: Source retry count. Type: integer (or Expression with resultType integer). :type source_retry_count: object :param source_retry_wait: Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type source_retry_wait: object :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object :param query_timeout: Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type query_timeout: object :param additional_columns: Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects). :type additional_columns: list[~azure.synapse.artifacts.models.AdditionalColumns] :param sql_reader_query: SQL reader query. Type: string (or Expression with resultType string). :type sql_reader_query: object :param sql_reader_stored_procedure_name: Name of the stored procedure for a SQL Database source. This cannot be used at the same time as SqlReaderQuery. Type: string (or Expression with resultType string). :type sql_reader_stored_procedure_name: object :param stored_procedure_parameters: Value and type setting for stored procedure parameters. Example: "{Parameter1: {value: "1", type: "int"}}". :type stored_procedure_parameters: dict[str, ~azure.synapse.artifacts.models.StoredProcedureParameter] :param produce_additional_types: Which additional types to produce. :type produce_additional_types: object :param partition_option: The partition mechanism that will be used for Sql read in parallel. Possible values include: "None", "PhysicalPartitionsOfTable", "DynamicRange". :type partition_option: object :param partition_settings: The settings that will be leveraged for Sql source partitioning. :type partition_settings: ~azure.synapse.artifacts.models.SqlPartitionSettings """ _validation = { 'type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, 'sql_reader_query': {'key': 'sqlReaderQuery', 'type': 'object'}, 'sql_reader_stored_procedure_name': {'key': 'sqlReaderStoredProcedureName', 'type': 'object'}, 'stored_procedure_parameters': {'key': 'storedProcedureParameters', 'type': '{StoredProcedureParameter}'}, 'produce_additional_types': {'key': 'produceAdditionalTypes', 'type': 'object'}, 'partition_option': {'key': 'partitionOption', 'type': 'object'}, 'partition_settings': {'key': 'partitionSettings', 'type': 'SqlPartitionSettings'}, } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, source_retry_count: Optional[object] = None, source_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, query_timeout: Optional[object] = None, additional_columns: Optional[List["AdditionalColumns"]] = None, sql_reader_query: Optional[object] = None, sql_reader_stored_procedure_name: Optional[object] = None, stored_procedure_parameters: Optional[Dict[str, "StoredProcedureParameter"]] = None, produce_additional_types: Optional[object] = None, partition_option: Optional[object] = None, partition_settings: Optional["SqlPartitionSettings"] = None, **kwargs ): super(SqlServerSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, query_timeout=query_timeout, additional_columns=additional_columns, **kwargs) self.type = 'SqlServerSource' # type: str self.sql_reader_query = sql_reader_query self.sql_reader_stored_procedure_name = sql_reader_stored_procedure_name self.stored_procedure_parameters = stored_procedure_parameters self.produce_additional_types = produce_additional_types self.partition_option = partition_option self.partition_settings = partition_settings
[docs]class SqlServerStoredProcedureActivity(ExecutionActivity): """SQL stored procedure activity type. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param name: Required. Activity name. :type name: str :param type: Required. Type of activity.Constant filled by server. :type type: str :param description: Activity description. :type description: str :param depends_on: Activity depends on condition. :type depends_on: list[~azure.synapse.artifacts.models.ActivityDependency] :param user_properties: Activity user properties. :type user_properties: list[~azure.synapse.artifacts.models.UserProperty] :param linked_service_name: Linked service reference. :type linked_service_name: ~azure.synapse.artifacts.models.LinkedServiceReference :param policy: Activity policy. :type policy: ~azure.synapse.artifacts.models.ActivityPolicy :param stored_procedure_name: Required. Stored procedure name. Type: string (or Expression with resultType string). :type stored_procedure_name: object :param stored_procedure_parameters: Value and type setting for stored procedure parameters. Example: "{Parameter1: {value: "1", type: "int"}}". :type stored_procedure_parameters: dict[str, ~azure.synapse.artifacts.models.StoredProcedureParameter] """ _validation = { 'name': {'required': True}, 'type': {'required': True}, 'stored_procedure_name': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'name': {'key': 'name', 'type': 'str'}, 'type': {'key': 'type', 'type': 'str'}, 'description': {'key': 'description', 'type': 'str'}, 'depends_on': {'key': 'dependsOn', 'type': '[ActivityDependency]'}, 'user_properties': {'key': 'userProperties', 'type': '[UserProperty]'}, 'linked_service_name': {'key': 'linkedServiceName', 'type': 'LinkedServiceReference'}, 'policy': {'key': 'policy', 'type': 'ActivityPolicy'}, 'stored_procedure_name': {'key': 'typeProperties.storedProcedureName', 'type': 'object'}, 'stored_procedure_parameters': {'key': 'typeProperties.storedProcedureParameters', 'type': '{StoredProcedureParameter}'}, } def __init__( self, *, name: str, stored_procedure_name: object, additional_properties: Optional[Dict[str, object]] = None, description: Optional[str] = None, depends_on: Optional[List["ActivityDependency"]] = None, user_properties: Optional[List["UserProperty"]] = None, linked_service_name: Optional["LinkedServiceReference"] = None, policy: Optional["ActivityPolicy"] = None, stored_procedure_parameters: Optional[Dict[str, "StoredProcedureParameter"]] = None, **kwargs ): super(SqlServerStoredProcedureActivity, self).__init__(additional_properties=additional_properties, name=name, description=description, depends_on=depends_on, user_properties=user_properties, linked_service_name=linked_service_name, policy=policy, **kwargs) self.type = 'SqlServerStoredProcedure' # type: str self.stored_procedure_name = stored_procedure_name self.stored_procedure_parameters = stored_procedure_parameters
[docs]class SqlServerTableDataset(Dataset): """The on-premises SQL Server dataset. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Type of dataset.Constant filled by server. :type type: str :param description: Dataset description. :type description: str :param structure: Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. :type structure: object :param schema: Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. :type linked_service_name: ~azure.synapse.artifacts.models.LinkedServiceReference :param parameters: Parameters for dataset. :type parameters: dict[str, ~azure.synapse.artifacts.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. :type folder: ~azure.synapse.artifacts.models.DatasetFolder :param table_name: This property will be retired. Please consider using schema + table properties instead. :type table_name: object :param schema_type_properties_schema: The schema name of the SQL Server dataset. Type: string (or Expression with resultType string). :type schema_type_properties_schema: object :param table: The table name of the SQL Server dataset. Type: string (or Expression with resultType string). :type table: object """ _validation = { 'type': {'required': True}, 'linked_service_name': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'description': {'key': 'description', 'type': 'str'}, 'structure': {'key': 'structure', 'type': 'object'}, 'schema': {'key': 'schema', 'type': 'object'}, 'linked_service_name': {'key': 'linkedServiceName', 'type': 'LinkedServiceReference'}, 'parameters': {'key': 'parameters', 'type': '{ParameterSpecification}'}, 'annotations': {'key': 'annotations', 'type': '[object]'}, 'folder': {'key': 'folder', 'type': 'DatasetFolder'}, 'table_name': {'key': 'typeProperties.tableName', 'type': 'object'}, 'schema_type_properties_schema': {'key': 'typeProperties.schema', 'type': 'object'}, 'table': {'key': 'typeProperties.table', 'type': 'object'}, } def __init__( self, *, linked_service_name: "LinkedServiceReference", additional_properties: Optional[Dict[str, object]] = None, description: Optional[str] = None, structure: Optional[object] = None, schema: Optional[object] = None, parameters: Optional[Dict[str, "ParameterSpecification"]] = None, annotations: Optional[List[object]] = None, folder: Optional["DatasetFolder"] = None, table_name: Optional[object] = None, schema_type_properties_schema: Optional[object] = None, table: Optional[object] = None, **kwargs ): super(SqlServerTableDataset, self).__init__(additional_properties=additional_properties, description=description, structure=structure, schema=schema, linked_service_name=linked_service_name, parameters=parameters, annotations=annotations, folder=folder, **kwargs) self.type = 'SqlServerTable' # type: str self.table_name = table_name self.schema_type_properties_schema = schema_type_properties_schema self.table = table
[docs]class SqlSink(CopySink): """A copy activity SQL sink. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Copy sink type.Constant filled by server. :type type: str :param write_batch_size: Write batch size. Type: integer (or Expression with resultType integer), minimum: 0. :type write_batch_size: object :param write_batch_timeout: Write batch timeout. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type write_batch_timeout: object :param sink_retry_count: Sink retry count. Type: integer (or Expression with resultType integer). :type sink_retry_count: object :param sink_retry_wait: Sink retry wait. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type sink_retry_wait: object :param max_concurrent_connections: The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object :param sql_writer_stored_procedure_name: SQL writer stored procedure name. Type: string (or Expression with resultType string). :type sql_writer_stored_procedure_name: object :param sql_writer_table_type: SQL writer table type. Type: string (or Expression with resultType string). :type sql_writer_table_type: object :param pre_copy_script: SQL pre-copy script. Type: string (or Expression with resultType string). :type pre_copy_script: object :param stored_procedure_parameters: SQL stored procedure parameters. :type stored_procedure_parameters: dict[str, ~azure.synapse.artifacts.models.StoredProcedureParameter] :param stored_procedure_table_type_parameter_name: The stored procedure parameter name of the table type. Type: string (or Expression with resultType string). :type stored_procedure_table_type_parameter_name: object :param table_option: The option to handle sink table, such as autoCreate. For now only 'autoCreate' value is supported. Type: string (or Expression with resultType string). :type table_option: object """ _validation = { 'type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'write_batch_size': {'key': 'writeBatchSize', 'type': 'object'}, 'write_batch_timeout': {'key': 'writeBatchTimeout', 'type': 'object'}, 'sink_retry_count': {'key': 'sinkRetryCount', 'type': 'object'}, 'sink_retry_wait': {'key': 'sinkRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'sql_writer_stored_procedure_name': {'key': 'sqlWriterStoredProcedureName', 'type': 'object'}, 'sql_writer_table_type': {'key': 'sqlWriterTableType', 'type': 'object'}, 'pre_copy_script': {'key': 'preCopyScript', 'type': 'object'}, 'stored_procedure_parameters': {'key': 'storedProcedureParameters', 'type': '{StoredProcedureParameter}'}, 'stored_procedure_table_type_parameter_name': {'key': 'storedProcedureTableTypeParameterName', 'type': 'object'}, 'table_option': {'key': 'tableOption', 'type': 'object'}, } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, write_batch_size: Optional[object] = None, write_batch_timeout: Optional[object] = None, sink_retry_count: Optional[object] = None, sink_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, sql_writer_stored_procedure_name: Optional[object] = None, sql_writer_table_type: Optional[object] = None, pre_copy_script: Optional[object] = None, stored_procedure_parameters: Optional[Dict[str, "StoredProcedureParameter"]] = None, stored_procedure_table_type_parameter_name: Optional[object] = None, table_option: Optional[object] = None, **kwargs ): super(SqlSink, self).__init__(additional_properties=additional_properties, write_batch_size=write_batch_size, write_batch_timeout=write_batch_timeout, sink_retry_count=sink_retry_count, sink_retry_wait=sink_retry_wait, max_concurrent_connections=max_concurrent_connections, **kwargs) self.type = 'SqlSink' # type: str self.sql_writer_stored_procedure_name = sql_writer_stored_procedure_name self.sql_writer_table_type = sql_writer_table_type self.pre_copy_script = pre_copy_script self.stored_procedure_parameters = stored_procedure_parameters self.stored_procedure_table_type_parameter_name = stored_procedure_table_type_parameter_name self.table_option = table_option
[docs]class SqlSource(TabularSource): """A copy activity SQL source. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Copy source type.Constant filled by server. :type type: str :param source_retry_count: Source retry count. Type: integer (or Expression with resultType integer). :type source_retry_count: object :param source_retry_wait: Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type source_retry_wait: object :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object :param query_timeout: Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type query_timeout: object :param additional_columns: Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects). :type additional_columns: list[~azure.synapse.artifacts.models.AdditionalColumns] :param sql_reader_query: SQL reader query. Type: string (or Expression with resultType string). :type sql_reader_query: object :param sql_reader_stored_procedure_name: Name of the stored procedure for a SQL Database source. This cannot be used at the same time as SqlReaderQuery. Type: string (or Expression with resultType string). :type sql_reader_stored_procedure_name: object :param stored_procedure_parameters: Value and type setting for stored procedure parameters. Example: "{Parameter1: {value: "1", type: "int"}}". :type stored_procedure_parameters: dict[str, ~azure.synapse.artifacts.models.StoredProcedureParameter] :param isolation_level: Specifies the transaction locking behavior for the SQL source. Allowed values: ReadCommitted/ReadUncommitted/RepeatableRead/Serializable/Snapshot. The default value is ReadCommitted. Type: string (or Expression with resultType string). :type isolation_level: object :param partition_option: The partition mechanism that will be used for Sql read in parallel. Possible values include: "None", "PhysicalPartitionsOfTable", "DynamicRange". :type partition_option: object :param partition_settings: The settings that will be leveraged for Sql source partitioning. :type partition_settings: ~azure.synapse.artifacts.models.SqlPartitionSettings """ _validation = { 'type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, 'sql_reader_query': {'key': 'sqlReaderQuery', 'type': 'object'}, 'sql_reader_stored_procedure_name': {'key': 'sqlReaderStoredProcedureName', 'type': 'object'}, 'stored_procedure_parameters': {'key': 'storedProcedureParameters', 'type': '{StoredProcedureParameter}'}, 'isolation_level': {'key': 'isolationLevel', 'type': 'object'}, 'partition_option': {'key': 'partitionOption', 'type': 'object'}, 'partition_settings': {'key': 'partitionSettings', 'type': 'SqlPartitionSettings'}, } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, source_retry_count: Optional[object] = None, source_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, query_timeout: Optional[object] = None, additional_columns: Optional[List["AdditionalColumns"]] = None, sql_reader_query: Optional[object] = None, sql_reader_stored_procedure_name: Optional[object] = None, stored_procedure_parameters: Optional[Dict[str, "StoredProcedureParameter"]] = None, isolation_level: Optional[object] = None, partition_option: Optional[object] = None, partition_settings: Optional["SqlPartitionSettings"] = None, **kwargs ): super(SqlSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, query_timeout=query_timeout, additional_columns=additional_columns, **kwargs) self.type = 'SqlSource' # type: str self.sql_reader_query = sql_reader_query self.sql_reader_stored_procedure_name = sql_reader_stored_procedure_name self.stored_procedure_parameters = stored_procedure_parameters self.isolation_level = isolation_level self.partition_option = partition_option self.partition_settings = partition_settings
[docs]class SquareLinkedService(LinkedService): """Square Service linked service. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. :type connect_via: ~azure.synapse.artifacts.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. :type parameters: dict[str, ~azure.synapse.artifacts.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param connection_properties: Properties used to connect to Square. It is mutually exclusive with any other properties in the linked service. Type: object. :type connection_properties: object :param host: Required. The URL of the Square instance. (i.e. mystore.mysquare.com). :type host: object :param client_id: Required. The client ID associated with your Square application. :type client_id: object :param client_secret: The client secret associated with your Square application. :type client_secret: ~azure.synapse.artifacts.models.SecretBase :param redirect_uri: Required. The redirect URL assigned in the Square application dashboard. (i.e. http://localhost:2500). :type redirect_uri: object :param use_encrypted_endpoints: Specifies whether the data source endpoints are encrypted using HTTPS. The default value is true. :type use_encrypted_endpoints: object :param use_host_verification: Specifies whether to require the host name in the server's certificate to match the host name of the server when connecting over SSL. The default value is true. :type use_host_verification: object :param use_peer_verification: Specifies whether to verify the identity of the server when connecting over SSL. The default value is true. :type use_peer_verification: 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). :type encrypted_credential: object """ _validation = { 'type': {'required': True}, 'host': {'required': True}, 'client_id': {'required': True}, 'redirect_uri': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'connect_via': {'key': 'connectVia', 'type': 'IntegrationRuntimeReference'}, 'description': {'key': 'description', 'type': 'str'}, 'parameters': {'key': 'parameters', 'type': '{ParameterSpecification}'}, 'annotations': {'key': 'annotations', 'type': '[object]'}, 'connection_properties': {'key': 'typeProperties.connectionProperties', 'type': 'object'}, 'host': {'key': 'typeProperties.host', 'type': 'object'}, 'client_id': {'key': 'typeProperties.clientId', 'type': 'object'}, 'client_secret': {'key': 'typeProperties.clientSecret', 'type': 'SecretBase'}, 'redirect_uri': {'key': 'typeProperties.redirectUri', 'type': 'object'}, 'use_encrypted_endpoints': {'key': 'typeProperties.useEncryptedEndpoints', 'type': 'object'}, 'use_host_verification': {'key': 'typeProperties.useHostVerification', 'type': 'object'}, 'use_peer_verification': {'key': 'typeProperties.usePeerVerification', 'type': 'object'}, 'encrypted_credential': {'key': 'typeProperties.encryptedCredential', 'type': 'object'}, } def __init__( self, *, host: object, client_id: object, redirect_uri: object, additional_properties: Optional[Dict[str, object]] = None, connect_via: Optional["IntegrationRuntimeReference"] = None, description: Optional[str] = None, parameters: Optional[Dict[str, "ParameterSpecification"]] = None, annotations: Optional[List[object]] = None, connection_properties: Optional[object] = None, client_secret: Optional["SecretBase"] = None, use_encrypted_endpoints: Optional[object] = None, use_host_verification: Optional[object] = None, use_peer_verification: Optional[object] = None, encrypted_credential: Optional[object] = None, **kwargs ): super(SquareLinkedService, self).__init__(additional_properties=additional_properties, connect_via=connect_via, description=description, parameters=parameters, annotations=annotations, **kwargs) self.type = 'Square' # type: str self.connection_properties = connection_properties self.host = host self.client_id = client_id self.client_secret = client_secret self.redirect_uri = redirect_uri self.use_encrypted_endpoints = use_encrypted_endpoints self.use_host_verification = use_host_verification self.use_peer_verification = use_peer_verification self.encrypted_credential = encrypted_credential
[docs]class SquareObjectDataset(Dataset): """Square Service dataset. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Type of dataset.Constant filled by server. :type type: str :param description: Dataset description. :type description: str :param structure: Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. :type structure: object :param schema: Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. :type linked_service_name: ~azure.synapse.artifacts.models.LinkedServiceReference :param parameters: Parameters for dataset. :type parameters: dict[str, ~azure.synapse.artifacts.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. :type folder: ~azure.synapse.artifacts.models.DatasetFolder :param table_name: The table name. Type: string (or Expression with resultType string). :type table_name: object """ _validation = { 'type': {'required': True}, 'linked_service_name': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'description': {'key': 'description', 'type': 'str'}, 'structure': {'key': 'structure', 'type': 'object'}, 'schema': {'key': 'schema', 'type': 'object'}, 'linked_service_name': {'key': 'linkedServiceName', 'type': 'LinkedServiceReference'}, 'parameters': {'key': 'parameters', 'type': '{ParameterSpecification}'}, 'annotations': {'key': 'annotations', 'type': '[object]'}, 'folder': {'key': 'folder', 'type': 'DatasetFolder'}, 'table_name': {'key': 'typeProperties.tableName', 'type': 'object'}, } def __init__( self, *, linked_service_name: "LinkedServiceReference", additional_properties: Optional[Dict[str, object]] = None, description: Optional[str] = None, structure: Optional[object] = None, schema: Optional[object] = None, parameters: Optional[Dict[str, "ParameterSpecification"]] = None, annotations: Optional[List[object]] = None, folder: Optional["DatasetFolder"] = None, table_name: Optional[object] = None, **kwargs ): super(SquareObjectDataset, self).__init__(additional_properties=additional_properties, description=description, structure=structure, schema=schema, linked_service_name=linked_service_name, parameters=parameters, annotations=annotations, folder=folder, **kwargs) self.type = 'SquareObject' # type: str self.table_name = table_name
[docs]class SquareSource(TabularSource): """A copy activity Square Service source. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Copy source type.Constant filled by server. :type type: str :param source_retry_count: Source retry count. Type: integer (or Expression with resultType integer). :type source_retry_count: object :param source_retry_wait: Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type source_retry_wait: object :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object :param query_timeout: Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type query_timeout: object :param additional_columns: Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects). :type additional_columns: list[~azure.synapse.artifacts.models.AdditionalColumns] :param query: A query to retrieve data from source. Type: string (or Expression with resultType string). :type query: object """ _validation = { 'type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, 'query': {'key': 'query', 'type': 'object'}, } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, source_retry_count: Optional[object] = None, source_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, query_timeout: Optional[object] = None, additional_columns: Optional[List["AdditionalColumns"]] = None, query: Optional[object] = None, **kwargs ): super(SquareSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, query_timeout=query_timeout, additional_columns=additional_columns, **kwargs) self.type = 'SquareSource' # type: str self.query = query
[docs]class SSISAccessCredential(msrest.serialization.Model): """SSIS access credential. All required parameters must be populated in order to send to Azure. :param domain: Required. Domain for windows authentication. :type domain: object :param user_name: Required. UseName for windows authentication. :type user_name: object :param password: Required. Password for windows authentication. :type password: ~azure.synapse.artifacts.models.SecretBase """ _validation = { 'domain': {'required': True}, 'user_name': {'required': True}, 'password': {'required': True}, } _attribute_map = { 'domain': {'key': 'domain', 'type': 'object'}, 'user_name': {'key': 'userName', 'type': 'object'}, 'password': {'key': 'password', 'type': 'SecretBase'}, } def __init__( self, *, domain: object, user_name: object, password: "SecretBase", **kwargs ): super(SSISAccessCredential, self).__init__(**kwargs) self.domain = domain self.user_name = user_name self.password = password
[docs]class SSISChildPackage(msrest.serialization.Model): """SSIS embedded child package. All required parameters must be populated in order to send to Azure. :param package_path: Required. Path for embedded child package. Type: string (or Expression with resultType string). :type package_path: object :param package_name: Name for embedded child package. :type package_name: str :param package_content: Required. Content for embedded child package. Type: string (or Expression with resultType string). :type package_content: object :param package_last_modified_date: Last modified date for embedded child package. :type package_last_modified_date: str """ _validation = { 'package_path': {'required': True}, 'package_content': {'required': True}, } _attribute_map = { 'package_path': {'key': 'packagePath', 'type': 'object'}, 'package_name': {'key': 'packageName', 'type': 'str'}, 'package_content': {'key': 'packageContent', 'type': 'object'}, 'package_last_modified_date': {'key': 'packageLastModifiedDate', 'type': 'str'}, } def __init__( self, *, package_path: object, package_content: object, package_name: Optional[str] = None, package_last_modified_date: Optional[str] = None, **kwargs ): super(SSISChildPackage, self).__init__(**kwargs) self.package_path = package_path self.package_name = package_name self.package_content = package_content self.package_last_modified_date = package_last_modified_date
[docs]class SSISExecutionCredential(msrest.serialization.Model): """SSIS package execution credential. All required parameters must be populated in order to send to Azure. :param domain: Required. Domain for windows authentication. :type domain: object :param user_name: Required. UseName for windows authentication. :type user_name: object :param password: Required. Password for windows authentication. :type password: ~azure.synapse.artifacts.models.SecureString """ _validation = { 'domain': {'required': True}, 'user_name': {'required': True}, 'password': {'required': True}, } _attribute_map = { 'domain': {'key': 'domain', 'type': 'object'}, 'user_name': {'key': 'userName', 'type': 'object'}, 'password': {'key': 'password', 'type': 'SecureString'}, } def __init__( self, *, domain: object, user_name: object, password: "SecureString", **kwargs ): super(SSISExecutionCredential, self).__init__(**kwargs) self.domain = domain self.user_name = user_name self.password = password
[docs]class SSISExecutionParameter(msrest.serialization.Model): """SSIS execution parameter. All required parameters must be populated in order to send to Azure. :param value: Required. SSIS package execution parameter value. Type: string (or Expression with resultType string). :type value: object """ _validation = { 'value': {'required': True}, } _attribute_map = { 'value': {'key': 'value', 'type': 'object'}, } def __init__( self, *, value: object, **kwargs ): super(SSISExecutionParameter, self).__init__(**kwargs) self.value = value
[docs]class SSISLogLocation(msrest.serialization.Model): """SSIS package execution log location. All required parameters must be populated in order to send to Azure. :param log_path: Required. The SSIS package execution log path. Type: string (or Expression with resultType string). :type log_path: object :param type: Required. The type of SSIS log location. Possible values include: "File". :type type: str or ~azure.synapse.artifacts.models.SsisLogLocationType :param access_credential: The package execution log access credential. :type access_credential: ~azure.synapse.artifacts.models.SSISAccessCredential :param log_refresh_interval: Specifies the interval to refresh log. The default interval is 5 minutes. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type log_refresh_interval: object """ _validation = { 'log_path': {'required': True}, 'type': {'required': True}, } _attribute_map = { 'log_path': {'key': 'logPath', 'type': 'object'}, 'type': {'key': 'type', 'type': 'str'}, 'access_credential': {'key': 'typeProperties.accessCredential', 'type': 'SSISAccessCredential'}, 'log_refresh_interval': {'key': 'typeProperties.logRefreshInterval', 'type': 'object'}, } def __init__( self, *, log_path: object, type: Union[str, "SsisLogLocationType"], access_credential: Optional["SSISAccessCredential"] = None, log_refresh_interval: Optional[object] = None, **kwargs ): super(SSISLogLocation, self).__init__(**kwargs) self.log_path = log_path self.type = type self.access_credential = access_credential self.log_refresh_interval = log_refresh_interval
[docs]class SsisObjectMetadataStatusResponse(msrest.serialization.Model): """The status of the operation. :param status: The status of the operation. :type status: str :param name: The operation name. :type name: str :param properties: The operation properties. :type properties: str :param error: The operation error message. :type error: str """ _attribute_map = { 'status': {'key': 'status', 'type': 'str'}, 'name': {'key': 'name', 'type': 'str'}, 'properties': {'key': 'properties', 'type': 'str'}, 'error': {'key': 'error', 'type': 'str'}, } def __init__( self, *, status: Optional[str] = None, name: Optional[str] = None, properties: Optional[str] = None, error: Optional[str] = None, **kwargs ): super(SsisObjectMetadataStatusResponse, self).__init__(**kwargs) self.status = status self.name = name self.properties = properties self.error = error
[docs]class SSISPackageLocation(msrest.serialization.Model): """SSIS package location. :param package_path: The SSIS package path. Type: string (or Expression with resultType string). :type package_path: object :param type: The type of SSIS package location. Possible values include: "SSISDB", "File", "InlinePackage", "PackageStore". :type type: str or ~azure.synapse.artifacts.models.SsisPackageLocationType :param package_password: Password of the package. :type package_password: ~azure.synapse.artifacts.models.SecretBase :param access_credential: The package access credential. :type access_credential: ~azure.synapse.artifacts.models.SSISAccessCredential :param configuration_path: The configuration file of the package execution. Type: string (or Expression with resultType string). :type configuration_path: object :param configuration_access_credential: The configuration file access credential. :type configuration_access_credential: ~azure.synapse.artifacts.models.SSISAccessCredential :param package_name: The package name. :type package_name: str :param package_content: The embedded package content. Type: string (or Expression with resultType string). :type package_content: object :param package_last_modified_date: The embedded package last modified date. :type package_last_modified_date: str :param child_packages: The embedded child package list. :type child_packages: list[~azure.synapse.artifacts.models.SSISChildPackage] """ _attribute_map = { 'package_path': {'key': 'packagePath', 'type': 'object'}, 'type': {'key': 'type', 'type': 'str'}, 'package_password': {'key': 'typeProperties.packagePassword', 'type': 'SecretBase'}, 'access_credential': {'key': 'typeProperties.accessCredential', 'type': 'SSISAccessCredential'}, 'configuration_path': {'key': 'typeProperties.configurationPath', 'type': 'object'}, 'configuration_access_credential': {'key': 'typeProperties.configurationAccessCredential', 'type': 'SSISAccessCredential'}, 'package_name': {'key': 'typeProperties.packageName', 'type': 'str'}, 'package_content': {'key': 'typeProperties.packageContent', 'type': 'object'}, 'package_last_modified_date': {'key': 'typeProperties.packageLastModifiedDate', 'type': 'str'}, 'child_packages': {'key': 'typeProperties.childPackages', 'type': '[SSISChildPackage]'}, } def __init__( self, *, package_path: Optional[object] = None, type: Optional[Union[str, "SsisPackageLocationType"]] = None, package_password: Optional["SecretBase"] = None, access_credential: Optional["SSISAccessCredential"] = None, configuration_path: Optional[object] = None, configuration_access_credential: Optional["SSISAccessCredential"] = None, package_name: Optional[str] = None, package_content: Optional[object] = None, package_last_modified_date: Optional[str] = None, child_packages: Optional[List["SSISChildPackage"]] = None, **kwargs ): super(SSISPackageLocation, self).__init__(**kwargs) self.package_path = package_path self.type = type self.package_password = package_password self.access_credential = access_credential self.configuration_path = configuration_path self.configuration_access_credential = configuration_access_credential self.package_name = package_name self.package_content = package_content self.package_last_modified_date = package_last_modified_date self.child_packages = child_packages
[docs]class SSISPropertyOverride(msrest.serialization.Model): """SSIS property override. All required parameters must be populated in order to send to Azure. :param value: Required. SSIS package property override value. Type: string (or Expression with resultType string). :type value: object :param is_sensitive: Whether SSIS package property override value is sensitive data. Value will be encrypted in SSISDB if it is true. :type is_sensitive: bool """ _validation = { 'value': {'required': True}, } _attribute_map = { 'value': {'key': 'value', 'type': 'object'}, 'is_sensitive': {'key': 'isSensitive', 'type': 'bool'}, } def __init__( self, *, value: object, is_sensitive: Optional[bool] = None, **kwargs ): super(SSISPropertyOverride, self).__init__(**kwargs) self.value = value self.is_sensitive = is_sensitive
[docs]class StagingSettings(msrest.serialization.Model): """Staging settings. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param linked_service_name: Required. Staging linked service reference. :type linked_service_name: ~azure.synapse.artifacts.models.LinkedServiceReference :param path: The path to storage for storing the interim data. Type: string (or Expression with resultType string). :type path: object :param enable_compression: Specifies whether to use compression when copying data via an interim staging. Default value is false. Type: boolean (or Expression with resultType boolean). :type enable_compression: object """ _validation = { 'linked_service_name': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'linked_service_name': {'key': 'linkedServiceName', 'type': 'LinkedServiceReference'}, 'path': {'key': 'path', 'type': 'object'}, 'enable_compression': {'key': 'enableCompression', 'type': 'object'}, } def __init__( self, *, linked_service_name: "LinkedServiceReference", additional_properties: Optional[Dict[str, object]] = None, path: Optional[object] = None, enable_compression: Optional[object] = None, **kwargs ): super(StagingSettings, self).__init__(**kwargs) self.additional_properties = additional_properties self.linked_service_name = linked_service_name self.path = path self.enable_compression = enable_compression
[docs]class StartDataFlowDebugSessionRequest(msrest.serialization.Model): """Request body structure for starting data flow debug session. :param session_id: The ID of data flow debug session. :type session_id: str :param data_flow: Data flow instance. :type data_flow: ~azure.synapse.artifacts.models.DataFlowResource :param datasets: List of datasets. :type datasets: list[~azure.synapse.artifacts.models.DatasetResource] :param linked_services: List of linked services. :type linked_services: list[~azure.synapse.artifacts.models.LinkedServiceResource] :param staging: Staging info for debug session. :type staging: object :param debug_settings: Data flow debug settings. :type debug_settings: object :param incremental_debug: The type of new Databricks cluster. :type incremental_debug: bool """ _attribute_map = { 'session_id': {'key': 'sessionId', 'type': 'str'}, 'data_flow': {'key': 'dataFlow', 'type': 'DataFlowResource'}, 'datasets': {'key': 'datasets', 'type': '[DatasetResource]'}, 'linked_services': {'key': 'linkedServices', 'type': '[LinkedServiceResource]'}, 'staging': {'key': 'staging', 'type': 'object'}, 'debug_settings': {'key': 'debugSettings', 'type': 'object'}, 'incremental_debug': {'key': 'incrementalDebug', 'type': 'bool'}, } def __init__( self, *, session_id: Optional[str] = None, data_flow: Optional["DataFlowResource"] = None, datasets: Optional[List["DatasetResource"]] = None, linked_services: Optional[List["LinkedServiceResource"]] = None, staging: Optional[object] = None, debug_settings: Optional[object] = None, incremental_debug: Optional[bool] = None, **kwargs ): super(StartDataFlowDebugSessionRequest, self).__init__(**kwargs) self.session_id = session_id self.data_flow = data_flow self.datasets = datasets self.linked_services = linked_services self.staging = staging self.debug_settings = debug_settings self.incremental_debug = incremental_debug
[docs]class StartDataFlowDebugSessionResponse(msrest.serialization.Model): """Response body structure for starting data flow debug session. :param job_version: The ID of data flow debug job version. :type job_version: str """ _attribute_map = { 'job_version': {'key': 'jobVersion', 'type': 'str'}, } def __init__( self, *, job_version: Optional[str] = None, **kwargs ): super(StartDataFlowDebugSessionResponse, self).__init__(**kwargs) self.job_version = job_version
[docs]class StoredProcedureParameter(msrest.serialization.Model): """SQL stored procedure parameter. :param value: Stored procedure parameter value. Type: string (or Expression with resultType string). :type value: object :param type: Stored procedure parameter type. Possible values include: "String", "Int", "Int64", "Decimal", "Guid", "Boolean", "Date". :type type: str or ~azure.synapse.artifacts.models.StoredProcedureParameterType """ _attribute_map = { 'value': {'key': 'value', 'type': 'object'}, 'type': {'key': 'type', 'type': 'str'}, } def __init__( self, *, value: Optional[object] = None, type: Optional[Union[str, "StoredProcedureParameterType"]] = None, **kwargs ): super(StoredProcedureParameter, self).__init__(**kwargs) self.value = value self.type = type
[docs]class SwitchActivity(ControlActivity): """This activity evaluates an expression and executes activities under the cases property that correspond to the expression evaluation expected in the equals property. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param name: Required. Activity name. :type name: str :param type: Required. Type of activity.Constant filled by server. :type type: str :param description: Activity description. :type description: str :param depends_on: Activity depends on condition. :type depends_on: list[~azure.synapse.artifacts.models.ActivityDependency] :param user_properties: Activity user properties. :type user_properties: list[~azure.synapse.artifacts.models.UserProperty] :param on: Required. An expression that would evaluate to a string or integer. This is used to determine the block of activities in cases that will be executed. :type on: ~azure.synapse.artifacts.models.Expression :param cases: List of cases that correspond to expected values of the 'on' property. This is an optional property and if not provided, the activity will execute activities provided in defaultActivities. :type cases: list[~azure.synapse.artifacts.models.SwitchCase] :param default_activities: List of activities to execute if no case condition is satisfied. This is an optional property and if not provided, the activity will exit without any action. :type default_activities: list[~azure.synapse.artifacts.models.Activity] """ _validation = { 'name': {'required': True}, 'type': {'required': True}, 'on': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'name': {'key': 'name', 'type': 'str'}, 'type': {'key': 'type', 'type': 'str'}, 'description': {'key': 'description', 'type': 'str'}, 'depends_on': {'key': 'dependsOn', 'type': '[ActivityDependency]'}, 'user_properties': {'key': 'userProperties', 'type': '[UserProperty]'}, 'on': {'key': 'typeProperties.on', 'type': 'Expression'}, 'cases': {'key': 'typeProperties.cases', 'type': '[SwitchCase]'}, 'default_activities': {'key': 'typeProperties.defaultActivities', 'type': '[Activity]'}, } def __init__( self, *, name: str, on: "Expression", additional_properties: Optional[Dict[str, object]] = None, description: Optional[str] = None, depends_on: Optional[List["ActivityDependency"]] = None, user_properties: Optional[List["UserProperty"]] = None, cases: Optional[List["SwitchCase"]] = None, default_activities: Optional[List["Activity"]] = None, **kwargs ): super(SwitchActivity, self).__init__(additional_properties=additional_properties, name=name, description=description, depends_on=depends_on, user_properties=user_properties, **kwargs) self.type = 'Switch' # type: str self.on = on self.cases = cases self.default_activities = default_activities
[docs]class SwitchCase(msrest.serialization.Model): """Switch cases with have a value and corresponding activities. :param value: Expected value that satisfies the expression result of the 'on' property. :type value: str :param activities: List of activities to execute for satisfied case condition. :type activities: list[~azure.synapse.artifacts.models.Activity] """ _attribute_map = { 'value': {'key': 'value', 'type': 'str'}, 'activities': {'key': 'activities', 'type': '[Activity]'}, } def __init__( self, *, value: Optional[str] = None, activities: Optional[List["Activity"]] = None, **kwargs ): super(SwitchCase, self).__init__(**kwargs) self.value = value self.activities = activities
[docs]class SybaseLinkedService(LinkedService): """Linked service for Sybase data source. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. :type connect_via: ~azure.synapse.artifacts.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. :type parameters: dict[str, ~azure.synapse.artifacts.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param server: Required. Server name for connection. Type: string (or Expression with resultType string). :type server: object :param database: Required. Database name for connection. Type: string (or Expression with resultType string). :type database: object :param schema: Schema name for connection. Type: string (or Expression with resultType string). :type schema: object :param authentication_type: AuthenticationType to be used for connection. Possible values include: "Basic", "Windows". :type authentication_type: str or ~azure.synapse.artifacts.models.SybaseAuthenticationType :param username: Username for authentication. Type: string (or Expression with resultType string). :type username: object :param password: Password for authentication. :type password: ~azure.synapse.artifacts.models.SecretBase :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). :type encrypted_credential: object """ _validation = { 'type': {'required': True}, 'server': {'required': True}, 'database': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'connect_via': {'key': 'connectVia', 'type': 'IntegrationRuntimeReference'}, 'description': {'key': 'description', 'type': 'str'}, 'parameters': {'key': 'parameters', 'type': '{ParameterSpecification}'}, 'annotations': {'key': 'annotations', 'type': '[object]'}, 'server': {'key': 'typeProperties.server', 'type': 'object'}, 'database': {'key': 'typeProperties.database', 'type': 'object'}, 'schema': {'key': 'typeProperties.schema', 'type': 'object'}, 'authentication_type': {'key': 'typeProperties.authenticationType', 'type': 'str'}, 'username': {'key': 'typeProperties.username', 'type': 'object'}, 'password': {'key': 'typeProperties.password', 'type': 'SecretBase'}, 'encrypted_credential': {'key': 'typeProperties.encryptedCredential', 'type': 'object'}, } def __init__( self, *, server: object, database: object, additional_properties: Optional[Dict[str, object]] = None, connect_via: Optional["IntegrationRuntimeReference"] = None, description: Optional[str] = None, parameters: Optional[Dict[str, "ParameterSpecification"]] = None, annotations: Optional[List[object]] = None, schema: Optional[object] = None, authentication_type: Optional[Union[str, "SybaseAuthenticationType"]] = None, username: Optional[object] = None, password: Optional["SecretBase"] = None, encrypted_credential: Optional[object] = None, **kwargs ): super(SybaseLinkedService, self).__init__(additional_properties=additional_properties, connect_via=connect_via, description=description, parameters=parameters, annotations=annotations, **kwargs) self.type = 'Sybase' # type: str self.server = server self.database = database self.schema = schema self.authentication_type = authentication_type self.username = username self.password = password self.encrypted_credential = encrypted_credential
[docs]class SybaseSource(TabularSource): """A copy activity source for Sybase databases. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Copy source type.Constant filled by server. :type type: str :param source_retry_count: Source retry count. Type: integer (or Expression with resultType integer). :type source_retry_count: object :param source_retry_wait: Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type source_retry_wait: object :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object :param query_timeout: Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type query_timeout: object :param additional_columns: Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects). :type additional_columns: list[~azure.synapse.artifacts.models.AdditionalColumns] :param query: Database query. Type: string (or Expression with resultType string). :type query: object """ _validation = { 'type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, 'query': {'key': 'query', 'type': 'object'}, } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, source_retry_count: Optional[object] = None, source_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, query_timeout: Optional[object] = None, additional_columns: Optional[List["AdditionalColumns"]] = None, query: Optional[object] = None, **kwargs ): super(SybaseSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, query_timeout=query_timeout, additional_columns=additional_columns, **kwargs) self.type = 'SybaseSource' # type: str self.query = query
[docs]class SybaseTableDataset(Dataset): """The Sybase table dataset. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Type of dataset.Constant filled by server. :type type: str :param description: Dataset description. :type description: str :param structure: Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. :type structure: object :param schema: Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. :type linked_service_name: ~azure.synapse.artifacts.models.LinkedServiceReference :param parameters: Parameters for dataset. :type parameters: dict[str, ~azure.synapse.artifacts.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. :type folder: ~azure.synapse.artifacts.models.DatasetFolder :param table_name: The Sybase table name. Type: string (or Expression with resultType string). :type table_name: object """ _validation = { 'type': {'required': True}, 'linked_service_name': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'description': {'key': 'description', 'type': 'str'}, 'structure': {'key': 'structure', 'type': 'object'}, 'schema': {'key': 'schema', 'type': 'object'}, 'linked_service_name': {'key': 'linkedServiceName', 'type': 'LinkedServiceReference'}, 'parameters': {'key': 'parameters', 'type': '{ParameterSpecification}'}, 'annotations': {'key': 'annotations', 'type': '[object]'}, 'folder': {'key': 'folder', 'type': 'DatasetFolder'}, 'table_name': {'key': 'typeProperties.tableName', 'type': 'object'}, } def __init__( self, *, linked_service_name: "LinkedServiceReference", additional_properties: Optional[Dict[str, object]] = None, description: Optional[str] = None, structure: Optional[object] = None, schema: Optional[object] = None, parameters: Optional[Dict[str, "ParameterSpecification"]] = None, annotations: Optional[List[object]] = None, folder: Optional["DatasetFolder"] = None, table_name: Optional[object] = None, **kwargs ): super(SybaseTableDataset, self).__init__(additional_properties=additional_properties, description=description, structure=structure, schema=schema, linked_service_name=linked_service_name, parameters=parameters, annotations=annotations, folder=folder, **kwargs) self.type = 'SybaseTable' # type: str self.table_name = table_name
[docs]class SynapseNotebookActivity(ExecutionActivity): """Execute Synapse notebook activity. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param name: Required. Activity name. :type name: str :param type: Required. Type of activity.Constant filled by server. :type type: str :param description: Activity description. :type description: str :param depends_on: Activity depends on condition. :type depends_on: list[~azure.synapse.artifacts.models.ActivityDependency] :param user_properties: Activity user properties. :type user_properties: list[~azure.synapse.artifacts.models.UserProperty] :param linked_service_name: Linked service reference. :type linked_service_name: ~azure.synapse.artifacts.models.LinkedServiceReference :param policy: Activity policy. :type policy: ~azure.synapse.artifacts.models.ActivityPolicy :param notebook: Required. Synapse notebook reference. :type notebook: ~azure.synapse.artifacts.models.SynapseNotebookReference :param parameters: Notebook parameters. :type parameters: dict[str, object] """ _validation = { 'name': {'required': True}, 'type': {'required': True}, 'notebook': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'name': {'key': 'name', 'type': 'str'}, 'type': {'key': 'type', 'type': 'str'}, 'description': {'key': 'description', 'type': 'str'}, 'depends_on': {'key': 'dependsOn', 'type': '[ActivityDependency]'}, 'user_properties': {'key': 'userProperties', 'type': '[UserProperty]'}, 'linked_service_name': {'key': 'linkedServiceName', 'type': 'LinkedServiceReference'}, 'policy': {'key': 'policy', 'type': 'ActivityPolicy'}, 'notebook': {'key': 'typeProperties.notebook', 'type': 'SynapseNotebookReference'}, 'parameters': {'key': 'typeProperties.parameters', 'type': '{object}'}, } def __init__( self, *, name: str, notebook: "SynapseNotebookReference", additional_properties: Optional[Dict[str, object]] = None, description: Optional[str] = None, depends_on: Optional[List["ActivityDependency"]] = None, user_properties: Optional[List["UserProperty"]] = None, linked_service_name: Optional["LinkedServiceReference"] = None, policy: Optional["ActivityPolicy"] = None, parameters: Optional[Dict[str, object]] = None, **kwargs ): super(SynapseNotebookActivity, self).__init__(additional_properties=additional_properties, name=name, description=description, depends_on=depends_on, user_properties=user_properties, linked_service_name=linked_service_name, policy=policy, **kwargs) self.type = 'SynapseNotebook' # type: str self.notebook = notebook self.parameters = parameters
[docs]class SynapseNotebookReference(msrest.serialization.Model): """Synapse notebook reference type. All required parameters must be populated in order to send to Azure. :param type: Required. Synapse notebook reference type. Possible values include: "NotebookReference". :type type: str or ~azure.synapse.artifacts.models.NotebookReferenceType :param reference_name: Required. Reference notebook name. :type reference_name: str """ _validation = { 'type': {'required': True}, 'reference_name': {'required': True}, } _attribute_map = { 'type': {'key': 'type', 'type': 'str'}, 'reference_name': {'key': 'referenceName', 'type': 'str'}, } def __init__( self, *, type: Union[str, "NotebookReferenceType"], reference_name: str, **kwargs ): super(SynapseNotebookReference, self).__init__(**kwargs) self.type = type self.reference_name = reference_name
[docs]class SynapseSparkJobDefinitionActivity(ExecutionActivity): """Execute spark job activity. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param name: Required. Activity name. :type name: str :param type: Required. Type of activity.Constant filled by server. :type type: str :param description: Activity description. :type description: str :param depends_on: Activity depends on condition. :type depends_on: list[~azure.synapse.artifacts.models.ActivityDependency] :param user_properties: Activity user properties. :type user_properties: list[~azure.synapse.artifacts.models.UserProperty] :param linked_service_name: Linked service reference. :type linked_service_name: ~azure.synapse.artifacts.models.LinkedServiceReference :param policy: Activity policy. :type policy: ~azure.synapse.artifacts.models.ActivityPolicy :param spark_job: Required. Synapse spark job reference. :type spark_job: ~azure.synapse.artifacts.models.SynapseSparkJobReference """ _validation = { 'name': {'required': True}, 'type': {'required': True}, 'spark_job': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'name': {'key': 'name', 'type': 'str'}, 'type': {'key': 'type', 'type': 'str'}, 'description': {'key': 'description', 'type': 'str'}, 'depends_on': {'key': 'dependsOn', 'type': '[ActivityDependency]'}, 'user_properties': {'key': 'userProperties', 'type': '[UserProperty]'}, 'linked_service_name': {'key': 'linkedServiceName', 'type': 'LinkedServiceReference'}, 'policy': {'key': 'policy', 'type': 'ActivityPolicy'}, 'spark_job': {'key': 'typeProperties.sparkJob', 'type': 'SynapseSparkJobReference'}, } def __init__( self, *, name: str, spark_job: "SynapseSparkJobReference", additional_properties: Optional[Dict[str, object]] = None, description: Optional[str] = None, depends_on: Optional[List["ActivityDependency"]] = None, user_properties: Optional[List["UserProperty"]] = None, linked_service_name: Optional["LinkedServiceReference"] = None, policy: Optional["ActivityPolicy"] = None, **kwargs ): super(SynapseSparkJobDefinitionActivity, self).__init__(additional_properties=additional_properties, name=name, description=description, depends_on=depends_on, user_properties=user_properties, linked_service_name=linked_service_name, policy=policy, **kwargs) self.type = 'SparkJob' # type: str self.spark_job = spark_job
[docs]class SynapseSparkJobReference(msrest.serialization.Model): """Synapse spark job reference type. All required parameters must be populated in order to send to Azure. :param type: Required. Synapse spark job reference type. Possible values include: "SparkJobDefinitionReference". :type type: str or ~azure.synapse.artifacts.models.SparkJobReferenceType :param reference_name: Required. Reference spark job name. :type reference_name: str """ _validation = { 'type': {'required': True}, 'reference_name': {'required': True}, } _attribute_map = { 'type': {'key': 'type', 'type': 'str'}, 'reference_name': {'key': 'referenceName', 'type': 'str'}, } def __init__( self, *, type: Union[str, "SparkJobReferenceType"], reference_name: str, **kwargs ): super(SynapseSparkJobReference, self).__init__(**kwargs) self.type = type self.reference_name = reference_name
[docs]class TabularTranslator(CopyTranslator): """A copy activity tabular translator. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Copy translator type.Constant filled by server. :type type: str :param column_mappings: Column mappings. Example: "UserId: MyUserId, Group: MyGroup, Name: MyName" Type: string (or Expression with resultType string). This property will be retired. Please use mappings property. :type column_mappings: object :param schema_mapping: The schema mapping to map between tabular data and hierarchical data. Example: {"Column1": "$.Column1", "Column2": "$.Column2.Property1", "Column3": "$.Column2.Property2"}. Type: object (or Expression with resultType object). This property will be retired. Please use mappings property. :type schema_mapping: object :param collection_reference: The JSON Path of the Nested Array that is going to do cross-apply. Type: object (or Expression with resultType object). :type collection_reference: object :param map_complex_values_to_string: Whether to map complex (array and object) values to simple strings in json format. Type: boolean (or Expression with resultType boolean). :type map_complex_values_to_string: object :param mappings: Column mappings with logical types. Tabular->tabular example: [{"source":{"name":"CustomerName","type":"String"},"sink":{"name":"ClientName","type":"String"}},{"source":{"name":"CustomerAddress","type":"String"},"sink":{"name":"ClientAddress","type":"String"}}]. Hierarchical->tabular example: [{"source":{"path":"$.CustomerName","type":"String"},"sink":{"name":"ClientName","type":"String"}},{"source":{"path":"$.CustomerAddress","type":"String"},"sink":{"name":"ClientAddress","type":"String"}}]. Type: object (or Expression with resultType object). :type mappings: object :param type_conversion: Whether to enable the advanced type conversion feature in the Copy activity. Type: boolean (or Expression with resultType boolean). :type type_conversion: object :param type_conversion_settings: Type conversion settings. :type type_conversion_settings: ~azure.synapse.artifacts.models.TypeConversionSettings """ _validation = { 'type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'column_mappings': {'key': 'columnMappings', 'type': 'object'}, 'schema_mapping': {'key': 'schemaMapping', 'type': 'object'}, 'collection_reference': {'key': 'collectionReference', 'type': 'object'}, 'map_complex_values_to_string': {'key': 'mapComplexValuesToString', 'type': 'object'}, 'mappings': {'key': 'mappings', 'type': 'object'}, 'type_conversion': {'key': 'typeConversion', 'type': 'object'}, 'type_conversion_settings': {'key': 'typeConversionSettings', 'type': 'TypeConversionSettings'}, } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, column_mappings: Optional[object] = None, schema_mapping: Optional[object] = None, collection_reference: Optional[object] = None, map_complex_values_to_string: Optional[object] = None, mappings: Optional[object] = None, type_conversion: Optional[object] = None, type_conversion_settings: Optional["TypeConversionSettings"] = None, **kwargs ): super(TabularTranslator, self).__init__(additional_properties=additional_properties, **kwargs) self.type = 'TabularTranslator' # type: str self.column_mappings = column_mappings self.schema_mapping = schema_mapping self.collection_reference = collection_reference self.map_complex_values_to_string = map_complex_values_to_string self.mappings = mappings self.type_conversion = type_conversion self.type_conversion_settings = type_conversion_settings
[docs]class TarGZipReadSettings(CompressionReadSettings): """The TarGZip compression read settings. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. The Compression setting type.Constant filled by server. :type type: str :param preserve_compression_file_name_as_folder: Preserve the compression file name as folder path. Type: boolean (or Expression with resultType boolean). :type preserve_compression_file_name_as_folder: object """ _validation = { 'type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'preserve_compression_file_name_as_folder': {'key': 'preserveCompressionFileNameAsFolder', 'type': 'object'}, } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, preserve_compression_file_name_as_folder: Optional[object] = None, **kwargs ): super(TarGZipReadSettings, self).__init__(additional_properties=additional_properties, **kwargs) self.type = 'TarGZipReadSettings' # type: str self.preserve_compression_file_name_as_folder = preserve_compression_file_name_as_folder
[docs]class TarReadSettings(CompressionReadSettings): """The Tar compression read settings. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. The Compression setting type.Constant filled by server. :type type: str :param preserve_compression_file_name_as_folder: Preserve the compression file name as folder path. Type: boolean (or Expression with resultType boolean). :type preserve_compression_file_name_as_folder: object """ _validation = { 'type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'preserve_compression_file_name_as_folder': {'key': 'preserveCompressionFileNameAsFolder', 'type': 'object'}, } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, preserve_compression_file_name_as_folder: Optional[object] = None, **kwargs ): super(TarReadSettings, self).__init__(additional_properties=additional_properties, **kwargs) self.type = 'TarReadSettings' # type: str self.preserve_compression_file_name_as_folder = preserve_compression_file_name_as_folder
[docs]class TeradataLinkedService(LinkedService): """Linked service for Teradata data source. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. :type connect_via: ~azure.synapse.artifacts.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. :type parameters: dict[str, ~azure.synapse.artifacts.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param connection_string: Teradata ODBC connection string. Type: string, SecureString or AzureKeyVaultSecretReference. :type connection_string: object :param server: Server name for connection. Type: string (or Expression with resultType string). :type server: object :param authentication_type: AuthenticationType to be used for connection. Possible values include: "Basic", "Windows". :type authentication_type: str or ~azure.synapse.artifacts.models.TeradataAuthenticationType :param username: Username for authentication. Type: string (or Expression with resultType string). :type username: object :param password: Password for authentication. :type password: ~azure.synapse.artifacts.models.SecretBase :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). :type encrypted_credential: object """ _validation = { 'type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'connect_via': {'key': 'connectVia', 'type': 'IntegrationRuntimeReference'}, 'description': {'key': 'description', 'type': 'str'}, 'parameters': {'key': 'parameters', 'type': '{ParameterSpecification}'}, 'annotations': {'key': 'annotations', 'type': '[object]'}, 'connection_string': {'key': 'typeProperties.connectionString', 'type': 'object'}, 'server': {'key': 'typeProperties.server', 'type': 'object'}, 'authentication_type': {'key': 'typeProperties.authenticationType', 'type': 'str'}, 'username': {'key': 'typeProperties.username', 'type': 'object'}, 'password': {'key': 'typeProperties.password', 'type': 'SecretBase'}, 'encrypted_credential': {'key': 'typeProperties.encryptedCredential', 'type': 'object'}, } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, connect_via: Optional["IntegrationRuntimeReference"] = None, description: Optional[str] = None, parameters: Optional[Dict[str, "ParameterSpecification"]] = None, annotations: Optional[List[object]] = None, connection_string: Optional[object] = None, server: Optional[object] = None, authentication_type: Optional[Union[str, "TeradataAuthenticationType"]] = None, username: Optional[object] = None, password: Optional["SecretBase"] = None, encrypted_credential: Optional[object] = None, **kwargs ): super(TeradataLinkedService, self).__init__(additional_properties=additional_properties, connect_via=connect_via, description=description, parameters=parameters, annotations=annotations, **kwargs) self.type = 'Teradata' # type: str self.connection_string = connection_string self.server = server self.authentication_type = authentication_type self.username = username self.password = password self.encrypted_credential = encrypted_credential
[docs]class TeradataPartitionSettings(msrest.serialization.Model): """The settings that will be leveraged for teradata source partitioning. :param partition_column_name: The name of the column that will be used for proceeding range or hash partitioning. Type: string (or Expression with resultType string). :type partition_column_name: object :param partition_upper_bound: The maximum value of column specified in partitionColumnName that will be used for proceeding range partitioning. Type: string (or Expression with resultType string). :type partition_upper_bound: object :param partition_lower_bound: The minimum value of column specified in partitionColumnName that will be used for proceeding range partitioning. Type: string (or Expression with resultType string). :type partition_lower_bound: object """ _attribute_map = { 'partition_column_name': {'key': 'partitionColumnName', 'type': 'object'}, 'partition_upper_bound': {'key': 'partitionUpperBound', 'type': 'object'}, 'partition_lower_bound': {'key': 'partitionLowerBound', 'type': 'object'}, } def __init__( self, *, partition_column_name: Optional[object] = None, partition_upper_bound: Optional[object] = None, partition_lower_bound: Optional[object] = None, **kwargs ): super(TeradataPartitionSettings, self).__init__(**kwargs) self.partition_column_name = partition_column_name self.partition_upper_bound = partition_upper_bound self.partition_lower_bound = partition_lower_bound
[docs]class TeradataSource(TabularSource): """A copy activity Teradata source. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Copy source type.Constant filled by server. :type type: str :param source_retry_count: Source retry count. Type: integer (or Expression with resultType integer). :type source_retry_count: object :param source_retry_wait: Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type source_retry_wait: object :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object :param query_timeout: Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type query_timeout: object :param additional_columns: Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects). :type additional_columns: list[~azure.synapse.artifacts.models.AdditionalColumns] :param query: Teradata query. Type: string (or Expression with resultType string). :type query: object :param partition_option: The partition mechanism that will be used for teradata read in parallel. Possible values include: "None", "Hash", "DynamicRange". :type partition_option: str or ~azure.synapse.artifacts.models.TeradataPartitionOption :param partition_settings: The settings that will be leveraged for teradata source partitioning. :type partition_settings: ~azure.synapse.artifacts.models.TeradataPartitionSettings """ _validation = { 'type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, 'query': {'key': 'query', 'type': 'object'}, 'partition_option': {'key': 'partitionOption', 'type': 'str'}, 'partition_settings': {'key': 'partitionSettings', 'type': 'TeradataPartitionSettings'}, } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, source_retry_count: Optional[object] = None, source_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, query_timeout: Optional[object] = None, additional_columns: Optional[List["AdditionalColumns"]] = None, query: Optional[object] = None, partition_option: Optional[Union[str, "TeradataPartitionOption"]] = None, partition_settings: Optional["TeradataPartitionSettings"] = None, **kwargs ): super(TeradataSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, query_timeout=query_timeout, additional_columns=additional_columns, **kwargs) self.type = 'TeradataSource' # type: str self.query = query self.partition_option = partition_option self.partition_settings = partition_settings
[docs]class TeradataTableDataset(Dataset): """The Teradata database dataset. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Type of dataset.Constant filled by server. :type type: str :param description: Dataset description. :type description: str :param structure: Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. :type structure: object :param schema: Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. :type linked_service_name: ~azure.synapse.artifacts.models.LinkedServiceReference :param parameters: Parameters for dataset. :type parameters: dict[str, ~azure.synapse.artifacts.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. :type folder: ~azure.synapse.artifacts.models.DatasetFolder :param database: The database name of Teradata. Type: string (or Expression with resultType string). :type database: object :param table: The table name of Teradata. Type: string (or Expression with resultType string). :type table: object """ _validation = { 'type': {'required': True}, 'linked_service_name': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'description': {'key': 'description', 'type': 'str'}, 'structure': {'key': 'structure', 'type': 'object'}, 'schema': {'key': 'schema', 'type': 'object'}, 'linked_service_name': {'key': 'linkedServiceName', 'type': 'LinkedServiceReference'}, 'parameters': {'key': 'parameters', 'type': '{ParameterSpecification}'}, 'annotations': {'key': 'annotations', 'type': '[object]'}, 'folder': {'key': 'folder', 'type': 'DatasetFolder'}, 'database': {'key': 'typeProperties.database', 'type': 'object'}, 'table': {'key': 'typeProperties.table', 'type': 'object'}, } def __init__( self, *, linked_service_name: "LinkedServiceReference", additional_properties: Optional[Dict[str, object]] = None, description: Optional[str] = None, structure: Optional[object] = None, schema: Optional[object] = None, parameters: Optional[Dict[str, "ParameterSpecification"]] = None, annotations: Optional[List[object]] = None, folder: Optional["DatasetFolder"] = None, database: Optional[object] = None, table: Optional[object] = None, **kwargs ): super(TeradataTableDataset, self).__init__(additional_properties=additional_properties, description=description, structure=structure, schema=schema, linked_service_name=linked_service_name, parameters=parameters, annotations=annotations, folder=folder, **kwargs) self.type = 'TeradataTable' # type: str self.database = database self.table = table
[docs]class TextFormat(DatasetStorageFormat): """The data stored in text format. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Type of dataset storage format.Constant filled by server. :type type: str :param serializer: Serializer. Type: string (or Expression with resultType string). :type serializer: object :param deserializer: Deserializer. Type: string (or Expression with resultType string). :type deserializer: object :param column_delimiter: The column delimiter. Type: string (or Expression with resultType string). :type column_delimiter: object :param row_delimiter: The row delimiter. Type: string (or Expression with resultType string). :type row_delimiter: object :param escape_char: The escape character. Type: string (or Expression with resultType string). :type escape_char: object :param quote_char: The quote character. Type: string (or Expression with resultType string). :type quote_char: object :param null_value: The null value string. Type: string (or Expression with resultType string). :type null_value: object :param encoding_name: The code page name of the preferred encoding. If miss, the default value is ΓÇ£utf-8ΓÇ¥, unless BOM denotes another Unicode encoding. Refer to the ΓÇ£NameΓÇ¥ column of the table in the following link to set supported values: https://msdn.microsoft.com/library/system.text.encoding.aspx. Type: string (or Expression with resultType string). :type encoding_name: object :param treat_empty_as_null: Treat empty column values in the text file as null. The default value is true. Type: boolean (or Expression with resultType boolean). :type treat_empty_as_null: object :param skip_line_count: The number of lines/rows to be skipped when parsing text files. The default value is 0. Type: integer (or Expression with resultType integer). :type skip_line_count: object :param first_row_as_header: When used as input, treat the first row of data as headers. When used as output,write the headers into the output as the first row of data. The default value is false. Type: boolean (or Expression with resultType boolean). :type first_row_as_header: object """ _validation = { 'type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'serializer': {'key': 'serializer', 'type': 'object'}, 'deserializer': {'key': 'deserializer', 'type': 'object'}, 'column_delimiter': {'key': 'columnDelimiter', 'type': 'object'}, 'row_delimiter': {'key': 'rowDelimiter', 'type': 'object'}, 'escape_char': {'key': 'escapeChar', 'type': 'object'}, 'quote_char': {'key': 'quoteChar', 'type': 'object'}, 'null_value': {'key': 'nullValue', 'type': 'object'}, 'encoding_name': {'key': 'encodingName', 'type': 'object'}, 'treat_empty_as_null': {'key': 'treatEmptyAsNull', 'type': 'object'}, 'skip_line_count': {'key': 'skipLineCount', 'type': 'object'}, 'first_row_as_header': {'key': 'firstRowAsHeader', 'type': 'object'}, } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, serializer: Optional[object] = None, deserializer: Optional[object] = None, column_delimiter: Optional[object] = None, row_delimiter: Optional[object] = None, escape_char: Optional[object] = None, quote_char: Optional[object] = None, null_value: Optional[object] = None, encoding_name: Optional[object] = None, treat_empty_as_null: Optional[object] = None, skip_line_count: Optional[object] = None, first_row_as_header: Optional[object] = None, **kwargs ): super(TextFormat, self).__init__(additional_properties=additional_properties, serializer=serializer, deserializer=deserializer, **kwargs) self.type = 'TextFormat' # type: str self.column_delimiter = column_delimiter self.row_delimiter = row_delimiter self.escape_char = escape_char self.quote_char = quote_char self.null_value = null_value self.encoding_name = encoding_name self.treat_empty_as_null = treat_empty_as_null self.skip_line_count = skip_line_count self.first_row_as_header = first_row_as_header
[docs]class TriggerDependencyProvisioningStatus(msrest.serialization.Model): """Defines the response of a provision trigger dependency operation. All required parameters must be populated in order to send to Azure. :param trigger_name: Required. Trigger name. :type trigger_name: str :param provisioning_status: Required. Provisioning status. :type provisioning_status: str """ _validation = { 'trigger_name': {'required': True}, 'provisioning_status': {'required': True}, } _attribute_map = { 'trigger_name': {'key': 'triggerName', 'type': 'str'}, 'provisioning_status': {'key': 'provisioningStatus', 'type': 'str'}, } def __init__( self, *, trigger_name: str, provisioning_status: str, **kwargs ): super(TriggerDependencyProvisioningStatus, self).__init__(**kwargs) self.trigger_name = trigger_name self.provisioning_status = provisioning_status
[docs]class TriggerDependencyReference(DependencyReference): """Trigger referenced dependency. You probably want to use the sub-classes and not this class directly. Known sub-classes are: TumblingWindowTriggerDependencyReference. All required parameters must be populated in order to send to Azure. :param type: Required. The type of dependency reference.Constant filled by server. :type type: str :param reference_trigger: Required. Referenced trigger. :type reference_trigger: ~azure.synapse.artifacts.models.TriggerReference """ _validation = { 'type': {'required': True}, 'reference_trigger': {'required': True}, } _attribute_map = { 'type': {'key': 'type', 'type': 'str'}, 'reference_trigger': {'key': 'referenceTrigger', 'type': 'TriggerReference'}, } _subtype_map = { 'type': {'TumblingWindowTriggerDependencyReference': 'TumblingWindowTriggerDependencyReference'} } def __init__( self, *, reference_trigger: "TriggerReference", **kwargs ): super(TriggerDependencyReference, self).__init__(**kwargs) self.type = 'TriggerDependencyReference' # type: str self.reference_trigger = reference_trigger
[docs]class TriggerListResponse(msrest.serialization.Model): """A list of trigger resources. All required parameters must be populated in order to send to Azure. :param value: Required. List of triggers. :type value: list[~azure.synapse.artifacts.models.TriggerResource] :param next_link: The link to the next page of results, if any remaining results exist. :type next_link: str """ _validation = { 'value': {'required': True}, } _attribute_map = { 'value': {'key': 'value', 'type': '[TriggerResource]'}, 'next_link': {'key': 'nextLink', 'type': 'str'}, } def __init__( self, *, value: List["TriggerResource"], next_link: Optional[str] = None, **kwargs ): super(TriggerListResponse, self).__init__(**kwargs) self.value = value self.next_link = next_link
[docs]class TriggerPipelineReference(msrest.serialization.Model): """Pipeline that needs to be triggered with the given parameters. :param pipeline_reference: Pipeline reference. :type pipeline_reference: ~azure.synapse.artifacts.models.PipelineReference :param parameters: Pipeline parameters. :type parameters: dict[str, object] """ _attribute_map = { 'pipeline_reference': {'key': 'pipelineReference', 'type': 'PipelineReference'}, 'parameters': {'key': 'parameters', 'type': '{object}'}, } def __init__( self, *, pipeline_reference: Optional["PipelineReference"] = None, parameters: Optional[Dict[str, object]] = None, **kwargs ): super(TriggerPipelineReference, self).__init__(**kwargs) self.pipeline_reference = pipeline_reference self.parameters = parameters
[docs]class TriggerReference(msrest.serialization.Model): """Trigger reference type. All required parameters must be populated in order to send to Azure. :param type: Required. Trigger reference type. Possible values include: "TriggerReference". :type type: str or ~azure.synapse.artifacts.models.TriggerReferenceType :param reference_name: Required. Reference trigger name. :type reference_name: str """ _validation = { 'type': {'required': True}, 'reference_name': {'required': True}, } _attribute_map = { 'type': {'key': 'type', 'type': 'str'}, 'reference_name': {'key': 'referenceName', 'type': 'str'}, } def __init__( self, *, type: Union[str, "TriggerReferenceType"], reference_name: str, **kwargs ): super(TriggerReference, self).__init__(**kwargs) self.type = type self.reference_name = reference_name
[docs]class TriggerResource(SubResource): """Trigger resource type. Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. :ivar id: Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. :vartype id: str :ivar name: The name of the resource. :vartype name: str :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts". :vartype type: str :ivar etag: Resource Etag. :vartype etag: str :param properties: Required. Properties of the trigger. :type properties: ~azure.synapse.artifacts.models.Trigger """ _validation = { 'id': {'readonly': True}, 'name': {'readonly': True}, 'type': {'readonly': True}, 'etag': {'readonly': True}, 'properties': {'required': True}, } _attribute_map = { 'id': {'key': 'id', 'type': 'str'}, 'name': {'key': 'name', 'type': 'str'}, 'type': {'key': 'type', 'type': 'str'}, 'etag': {'key': 'etag', 'type': 'str'}, 'properties': {'key': 'properties', 'type': 'Trigger'}, } def __init__( self, *, properties: "Trigger", **kwargs ): super(TriggerResource, self).__init__(**kwargs) self.properties = properties
[docs]class TriggerRun(msrest.serialization.Model): """Trigger runs. Variables are only populated by the server, and will be ignored when sending a request. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :ivar trigger_run_id: Trigger run id. :vartype trigger_run_id: str :ivar trigger_name: Trigger name. :vartype trigger_name: str :ivar trigger_type: Trigger type. :vartype trigger_type: str :ivar trigger_run_timestamp: Trigger run start time. :vartype trigger_run_timestamp: ~datetime.datetime :ivar status: Trigger run status. Possible values include: "Succeeded", "Failed", "Inprogress". :vartype status: str or ~azure.synapse.artifacts.models.TriggerRunStatus :ivar message: Trigger error message. :vartype message: str :ivar properties: List of property name and value related to trigger run. Name, value pair depends on type of trigger. :vartype properties: dict[str, str] :ivar triggered_pipelines: List of pipeline name and run Id triggered by the trigger run. :vartype triggered_pipelines: dict[str, str] """ _validation = { 'trigger_run_id': {'readonly': True}, 'trigger_name': {'readonly': True}, 'trigger_type': {'readonly': True}, 'trigger_run_timestamp': {'readonly': True}, 'status': {'readonly': True}, 'message': {'readonly': True}, 'properties': {'readonly': True}, 'triggered_pipelines': {'readonly': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'trigger_run_id': {'key': 'triggerRunId', 'type': 'str'}, 'trigger_name': {'key': 'triggerName', 'type': 'str'}, 'trigger_type': {'key': 'triggerType', 'type': 'str'}, 'trigger_run_timestamp': {'key': 'triggerRunTimestamp', 'type': 'iso-8601'}, 'status': {'key': 'status', 'type': 'str'}, 'message': {'key': 'message', 'type': 'str'}, 'properties': {'key': 'properties', 'type': '{str}'}, 'triggered_pipelines': {'key': 'triggeredPipelines', 'type': '{str}'}, } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, **kwargs ): super(TriggerRun, self).__init__(**kwargs) self.additional_properties = additional_properties self.trigger_run_id = None self.trigger_name = None self.trigger_type = None self.trigger_run_timestamp = None self.status = None self.message = None self.properties = None self.triggered_pipelines = None
[docs]class TriggerRunsQueryResponse(msrest.serialization.Model): """A list of trigger runs. All required parameters must be populated in order to send to Azure. :param value: Required. List of trigger runs. :type value: list[~azure.synapse.artifacts.models.TriggerRun] :param continuation_token: The continuation token for getting the next page of results, if any remaining results exist, null otherwise. :type continuation_token: str """ _validation = { 'value': {'required': True}, } _attribute_map = { 'value': {'key': 'value', 'type': '[TriggerRun]'}, 'continuation_token': {'key': 'continuationToken', 'type': 'str'}, } def __init__( self, *, value: List["TriggerRun"], continuation_token: Optional[str] = None, **kwargs ): super(TriggerRunsQueryResponse, self).__init__(**kwargs) self.value = value self.continuation_token = continuation_token
[docs]class TriggerSubscriptionOperationStatus(msrest.serialization.Model): """Defines the response of a trigger subscription operation. Variables are only populated by the server, and will be ignored when sending a request. :ivar trigger_name: Trigger name. :vartype trigger_name: str :ivar status: Event Subscription Status. Possible values include: "Enabled", "Provisioning", "Deprovisioning", "Disabled", "Unknown". :vartype status: str or ~azure.synapse.artifacts.models.EventSubscriptionStatus """ _validation = { 'trigger_name': {'readonly': True}, 'status': {'readonly': True}, } _attribute_map = { 'trigger_name': {'key': 'triggerName', 'type': 'str'}, 'status': {'key': 'status', 'type': 'str'}, } def __init__( self, **kwargs ): super(TriggerSubscriptionOperationStatus, self).__init__(**kwargs) self.trigger_name = None self.status = None
[docs]class TumblingWindowTrigger(Trigger): """Trigger that schedules pipeline runs for all fixed time interval windows from a start time without gaps and also supports backfill scenarios (when start time is in the past). Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Trigger type.Constant filled by server. :type type: str :param description: Trigger description. :type description: str :ivar runtime_state: Indicates if trigger is running or not. Updated when Start/Stop APIs are called on the Trigger. Possible values include: "Started", "Stopped", "Disabled". :vartype runtime_state: str or ~azure.synapse.artifacts.models.TriggerRuntimeState :param annotations: List of tags that can be used for describing the trigger. :type annotations: list[object] :param pipeline: Required. Pipeline for which runs are created when an event is fired for trigger window that is ready. :type pipeline: ~azure.synapse.artifacts.models.TriggerPipelineReference :param frequency: Required. The frequency of the time windows. Possible values include: "Minute", "Hour", "Month". :type frequency: str or ~azure.synapse.artifacts.models.TumblingWindowFrequency :param interval: Required. The interval of the time windows. The minimum interval allowed is 15 Minutes. :type interval: int :param start_time: Required. The start time for the time period for the trigger during which events are fired for windows that are ready. Only UTC time is currently supported. :type start_time: ~datetime.datetime :param end_time: The end time for the time period for the trigger during which events are fired for windows that are ready. Only UTC time is currently supported. :type end_time: ~datetime.datetime :param delay: Specifies how long the trigger waits past due time before triggering new run. It doesn't alter window start and end time. The default is 0. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type delay: object :param max_concurrency: Required. The max number of parallel time windows (ready for execution) for which a new run is triggered. :type max_concurrency: int :param retry_policy: Retry policy that will be applied for failed pipeline runs. :type retry_policy: ~azure.synapse.artifacts.models.RetryPolicy :param depends_on: Triggers that this trigger depends on. Only tumbling window triggers are supported. :type depends_on: list[~azure.synapse.artifacts.models.DependencyReference] """ _validation = { 'type': {'required': True}, 'runtime_state': {'readonly': True}, 'pipeline': {'required': True}, 'frequency': {'required': True}, 'interval': {'required': True}, 'start_time': {'required': True}, 'max_concurrency': {'required': True, 'maximum': 50, 'minimum': 1}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'description': {'key': 'description', 'type': 'str'}, 'runtime_state': {'key': 'runtimeState', 'type': 'str'}, 'annotations': {'key': 'annotations', 'type': '[object]'}, 'pipeline': {'key': 'pipeline', 'type': 'TriggerPipelineReference'}, 'frequency': {'key': 'typeProperties.frequency', 'type': 'str'}, 'interval': {'key': 'typeProperties.interval', 'type': 'int'}, 'start_time': {'key': 'typeProperties.startTime', 'type': 'iso-8601'}, 'end_time': {'key': 'typeProperties.endTime', 'type': 'iso-8601'}, 'delay': {'key': 'typeProperties.delay', 'type': 'object'}, 'max_concurrency': {'key': 'typeProperties.maxConcurrency', 'type': 'int'}, 'retry_policy': {'key': 'typeProperties.retryPolicy', 'type': 'RetryPolicy'}, 'depends_on': {'key': 'typeProperties.dependsOn', 'type': '[DependencyReference]'}, } def __init__( self, *, pipeline: "TriggerPipelineReference", frequency: Union[str, "TumblingWindowFrequency"], interval: int, start_time: datetime.datetime, max_concurrency: int, additional_properties: Optional[Dict[str, object]] = None, description: Optional[str] = None, annotations: Optional[List[object]] = None, end_time: Optional[datetime.datetime] = None, delay: Optional[object] = None, retry_policy: Optional["RetryPolicy"] = None, depends_on: Optional[List["DependencyReference"]] = None, **kwargs ): super(TumblingWindowTrigger, self).__init__(additional_properties=additional_properties, description=description, annotations=annotations, **kwargs) self.type = 'TumblingWindowTrigger' # type: str self.pipeline = pipeline self.frequency = frequency self.interval = interval self.start_time = start_time self.end_time = end_time self.delay = delay self.max_concurrency = max_concurrency self.retry_policy = retry_policy self.depends_on = depends_on
[docs]class TumblingWindowTriggerDependencyReference(TriggerDependencyReference): """Referenced tumbling window trigger dependency. All required parameters must be populated in order to send to Azure. :param type: Required. The type of dependency reference.Constant filled by server. :type type: str :param reference_trigger: Required. Referenced trigger. :type reference_trigger: ~azure.synapse.artifacts.models.TriggerReference :param offset: Timespan applied to the start time of a tumbling window when evaluating dependency. :type offset: str :param size: The size of the window when evaluating the dependency. If undefined the frequency of the tumbling window will be used. :type size: str """ _validation = { 'type': {'required': True}, 'reference_trigger': {'required': True}, 'offset': {'max_length': 15, 'min_length': 8, 'pattern': r'-?((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9]))'}, 'size': {'max_length': 15, 'min_length': 8, 'pattern': r'((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9]))'}, } _attribute_map = { 'type': {'key': 'type', 'type': 'str'}, 'reference_trigger': {'key': 'referenceTrigger', 'type': 'TriggerReference'}, 'offset': {'key': 'offset', 'type': 'str'}, 'size': {'key': 'size', 'type': 'str'}, } def __init__( self, *, reference_trigger: "TriggerReference", offset: Optional[str] = None, size: Optional[str] = None, **kwargs ): super(TumblingWindowTriggerDependencyReference, self).__init__(reference_trigger=reference_trigger, **kwargs) self.type = 'TumblingWindowTriggerDependencyReference' # type: str self.offset = offset self.size = size
[docs]class TypeConversionSettings(msrest.serialization.Model): """Type conversion settings. :param allow_data_truncation: Whether to allow data truncation when converting the data. Type: boolean (or Expression with resultType boolean). :type allow_data_truncation: object :param treat_boolean_as_number: Whether to treat boolean values as numbers. Type: boolean (or Expression with resultType boolean). :type treat_boolean_as_number: object :param date_time_format: The format for DateTime values. Type: string (or Expression with resultType string). :type date_time_format: object :param date_time_offset_format: The format for DateTimeOffset values. Type: string (or Expression with resultType string). :type date_time_offset_format: object :param time_span_format: The format for TimeSpan values. Type: string (or Expression with resultType string). :type time_span_format: object :param culture: The culture used to convert data from/to string. Type: string (or Expression with resultType string). :type culture: object """ _attribute_map = { 'allow_data_truncation': {'key': 'allowDataTruncation', 'type': 'object'}, 'treat_boolean_as_number': {'key': 'treatBooleanAsNumber', 'type': 'object'}, 'date_time_format': {'key': 'dateTimeFormat', 'type': 'object'}, 'date_time_offset_format': {'key': 'dateTimeOffsetFormat', 'type': 'object'}, 'time_span_format': {'key': 'timeSpanFormat', 'type': 'object'}, 'culture': {'key': 'culture', 'type': 'object'}, } def __init__( self, *, allow_data_truncation: Optional[object] = None, treat_boolean_as_number: Optional[object] = None, date_time_format: Optional[object] = None, date_time_offset_format: Optional[object] = None, time_span_format: Optional[object] = None, culture: Optional[object] = None, **kwargs ): super(TypeConversionSettings, self).__init__(**kwargs) self.allow_data_truncation = allow_data_truncation self.treat_boolean_as_number = treat_boolean_as_number self.date_time_format = date_time_format self.date_time_offset_format = date_time_offset_format self.time_span_format = time_span_format self.culture = culture
[docs]class UntilActivity(ControlActivity): """This activity executes inner activities until the specified boolean expression results to true or timeout is reached, whichever is earlier. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param name: Required. Activity name. :type name: str :param type: Required. Type of activity.Constant filled by server. :type type: str :param description: Activity description. :type description: str :param depends_on: Activity depends on condition. :type depends_on: list[~azure.synapse.artifacts.models.ActivityDependency] :param user_properties: Activity user properties. :type user_properties: list[~azure.synapse.artifacts.models.UserProperty] :param expression: Required. An expression that would evaluate to Boolean. The loop will continue until this expression evaluates to true. :type expression: ~azure.synapse.artifacts.models.Expression :param timeout: Specifies the timeout for the activity to run. If there is no value specified, it takes the value of TimeSpan.FromDays(7) which is 1 week as default. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type timeout: object :param activities: Required. List of activities to execute. :type activities: list[~azure.synapse.artifacts.models.Activity] """ _validation = { 'name': {'required': True}, 'type': {'required': True}, 'expression': {'required': True}, 'activities': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'name': {'key': 'name', 'type': 'str'}, 'type': {'key': 'type', 'type': 'str'}, 'description': {'key': 'description', 'type': 'str'}, 'depends_on': {'key': 'dependsOn', 'type': '[ActivityDependency]'}, 'user_properties': {'key': 'userProperties', 'type': '[UserProperty]'}, 'expression': {'key': 'typeProperties.expression', 'type': 'Expression'}, 'timeout': {'key': 'typeProperties.timeout', 'type': 'object'}, 'activities': {'key': 'typeProperties.activities', 'type': '[Activity]'}, } def __init__( self, *, name: str, expression: "Expression", activities: List["Activity"], additional_properties: Optional[Dict[str, object]] = None, description: Optional[str] = None, depends_on: Optional[List["ActivityDependency"]] = None, user_properties: Optional[List["UserProperty"]] = None, timeout: Optional[object] = None, **kwargs ): super(UntilActivity, self).__init__(additional_properties=additional_properties, name=name, description=description, depends_on=depends_on, user_properties=user_properties, **kwargs) self.type = 'Until' # type: str self.expression = expression self.timeout = timeout self.activities = activities
[docs]class UserProperty(msrest.serialization.Model): """User property. All required parameters must be populated in order to send to Azure. :param name: Required. User property name. :type name: str :param value: Required. User property value. Type: string (or Expression with resultType string). :type value: object """ _validation = { 'name': {'required': True}, 'value': {'required': True}, } _attribute_map = { 'name': {'key': 'name', 'type': 'str'}, 'value': {'key': 'value', 'type': 'object'}, } def __init__( self, *, name: str, value: object, **kwargs ): super(UserProperty, self).__init__(**kwargs) self.name = name self.value = value
[docs]class ValidationActivity(ControlActivity): """This activity verifies that an external resource exists. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param name: Required. Activity name. :type name: str :param type: Required. Type of activity.Constant filled by server. :type type: str :param description: Activity description. :type description: str :param depends_on: Activity depends on condition. :type depends_on: list[~azure.synapse.artifacts.models.ActivityDependency] :param user_properties: Activity user properties. :type user_properties: list[~azure.synapse.artifacts.models.UserProperty] :param timeout: Specifies the timeout for the activity to run. If there is no value specified, it takes the value of TimeSpan.FromDays(7) which is 1 week as default. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type timeout: object :param sleep: A delay in seconds between validation attempts. If no value is specified, 10 seconds will be used as the default. Type: integer (or Expression with resultType integer). :type sleep: object :param minimum_size: Can be used if dataset points to a file. The file must be greater than or equal in size to the value specified. Type: integer (or Expression with resultType integer). :type minimum_size: object :param child_items: Can be used if dataset points to a folder. If set to true, the folder must have at least one file. If set to false, the folder must be empty. Type: boolean (or Expression with resultType boolean). :type child_items: object :param dataset: Required. Validation activity dataset reference. :type dataset: ~azure.synapse.artifacts.models.DatasetReference """ _validation = { 'name': {'required': True}, 'type': {'required': True}, 'dataset': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'name': {'key': 'name', 'type': 'str'}, 'type': {'key': 'type', 'type': 'str'}, 'description': {'key': 'description', 'type': 'str'}, 'depends_on': {'key': 'dependsOn', 'type': '[ActivityDependency]'}, 'user_properties': {'key': 'userProperties', 'type': '[UserProperty]'}, 'timeout': {'key': 'typeProperties.timeout', 'type': 'object'}, 'sleep': {'key': 'typeProperties.sleep', 'type': 'object'}, 'minimum_size': {'key': 'typeProperties.minimumSize', 'type': 'object'}, 'child_items': {'key': 'typeProperties.childItems', 'type': 'object'}, 'dataset': {'key': 'typeProperties.dataset', 'type': 'DatasetReference'}, } def __init__( self, *, name: str, dataset: "DatasetReference", additional_properties: Optional[Dict[str, object]] = None, description: Optional[str] = None, depends_on: Optional[List["ActivityDependency"]] = None, user_properties: Optional[List["UserProperty"]] = None, timeout: Optional[object] = None, sleep: Optional[object] = None, minimum_size: Optional[object] = None, child_items: Optional[object] = None, **kwargs ): super(ValidationActivity, self).__init__(additional_properties=additional_properties, name=name, description=description, depends_on=depends_on, user_properties=user_properties, **kwargs) self.type = 'Validation' # type: str self.timeout = timeout self.sleep = sleep self.minimum_size = minimum_size self.child_items = child_items self.dataset = dataset
[docs]class VariableSpecification(msrest.serialization.Model): """Definition of a single variable for a Pipeline. All required parameters must be populated in order to send to Azure. :param type: Required. Variable type. Possible values include: "String", "Bool", "Boolean", "Array". :type type: str or ~azure.synapse.artifacts.models.VariableType :param default_value: Default value of variable. :type default_value: object """ _validation = { 'type': {'required': True}, } _attribute_map = { 'type': {'key': 'type', 'type': 'str'}, 'default_value': {'key': 'defaultValue', 'type': 'object'}, } def __init__( self, *, type: Union[str, "VariableType"], default_value: Optional[object] = None, **kwargs ): super(VariableSpecification, self).__init__(**kwargs) self.type = type self.default_value = default_value
[docs]class VerticaLinkedService(LinkedService): """Vertica linked service. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. :type connect_via: ~azure.synapse.artifacts.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. :type parameters: dict[str, ~azure.synapse.artifacts.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param connection_string: An ODBC connection string. Type: string, SecureString or AzureKeyVaultSecretReference. :type connection_string: object :param pwd: The Azure key vault secret reference of password in connection string. :type pwd: ~azure.synapse.artifacts.models.AzureKeyVaultSecretReference :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). :type encrypted_credential: object """ _validation = { 'type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'connect_via': {'key': 'connectVia', 'type': 'IntegrationRuntimeReference'}, 'description': {'key': 'description', 'type': 'str'}, 'parameters': {'key': 'parameters', 'type': '{ParameterSpecification}'}, 'annotations': {'key': 'annotations', 'type': '[object]'}, 'connection_string': {'key': 'typeProperties.connectionString', 'type': 'object'}, 'pwd': {'key': 'typeProperties.pwd', 'type': 'AzureKeyVaultSecretReference'}, 'encrypted_credential': {'key': 'typeProperties.encryptedCredential', 'type': 'object'}, } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, connect_via: Optional["IntegrationRuntimeReference"] = None, description: Optional[str] = None, parameters: Optional[Dict[str, "ParameterSpecification"]] = None, annotations: Optional[List[object]] = None, connection_string: Optional[object] = None, pwd: Optional["AzureKeyVaultSecretReference"] = None, encrypted_credential: Optional[object] = None, **kwargs ): super(VerticaLinkedService, self).__init__(additional_properties=additional_properties, connect_via=connect_via, description=description, parameters=parameters, annotations=annotations, **kwargs) self.type = 'Vertica' # type: str self.connection_string = connection_string self.pwd = pwd self.encrypted_credential = encrypted_credential
[docs]class VerticaSource(TabularSource): """A copy activity Vertica source. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Copy source type.Constant filled by server. :type type: str :param source_retry_count: Source retry count. Type: integer (or Expression with resultType integer). :type source_retry_count: object :param source_retry_wait: Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type source_retry_wait: object :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object :param query_timeout: Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type query_timeout: object :param additional_columns: Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects). :type additional_columns: list[~azure.synapse.artifacts.models.AdditionalColumns] :param query: A query to retrieve data from source. Type: string (or Expression with resultType string). :type query: object """ _validation = { 'type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, 'query': {'key': 'query', 'type': 'object'}, } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, source_retry_count: Optional[object] = None, source_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, query_timeout: Optional[object] = None, additional_columns: Optional[List["AdditionalColumns"]] = None, query: Optional[object] = None, **kwargs ): super(VerticaSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, query_timeout=query_timeout, additional_columns=additional_columns, **kwargs) self.type = 'VerticaSource' # type: str self.query = query
[docs]class VerticaTableDataset(Dataset): """Vertica dataset. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Type of dataset.Constant filled by server. :type type: str :param description: Dataset description. :type description: str :param structure: Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. :type structure: object :param schema: Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. :type linked_service_name: ~azure.synapse.artifacts.models.LinkedServiceReference :param parameters: Parameters for dataset. :type parameters: dict[str, ~azure.synapse.artifacts.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. :type folder: ~azure.synapse.artifacts.models.DatasetFolder :param table_name: This property will be retired. Please consider using schema + table properties instead. :type table_name: object :param table: The table name of the Vertica. Type: string (or Expression with resultType string). :type table: object :param schema_type_properties_schema: The schema name of the Vertica. Type: string (or Expression with resultType string). :type schema_type_properties_schema: object """ _validation = { 'type': {'required': True}, 'linked_service_name': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'description': {'key': 'description', 'type': 'str'}, 'structure': {'key': 'structure', 'type': 'object'}, 'schema': {'key': 'schema', 'type': 'object'}, 'linked_service_name': {'key': 'linkedServiceName', 'type': 'LinkedServiceReference'}, 'parameters': {'key': 'parameters', 'type': '{ParameterSpecification}'}, 'annotations': {'key': 'annotations', 'type': '[object]'}, 'folder': {'key': 'folder', 'type': 'DatasetFolder'}, 'table_name': {'key': 'typeProperties.tableName', 'type': 'object'}, 'table': {'key': 'typeProperties.table', 'type': 'object'}, 'schema_type_properties_schema': {'key': 'typeProperties.schema', 'type': 'object'}, } def __init__( self, *, linked_service_name: "LinkedServiceReference", additional_properties: Optional[Dict[str, object]] = None, description: Optional[str] = None, structure: Optional[object] = None, schema: Optional[object] = None, parameters: Optional[Dict[str, "ParameterSpecification"]] = None, annotations: Optional[List[object]] = None, folder: Optional["DatasetFolder"] = None, table_name: Optional[object] = None, table: Optional[object] = None, schema_type_properties_schema: Optional[object] = None, **kwargs ): super(VerticaTableDataset, self).__init__(additional_properties=additional_properties, description=description, structure=structure, schema=schema, linked_service_name=linked_service_name, parameters=parameters, annotations=annotations, folder=folder, **kwargs) self.type = 'VerticaTable' # type: str self.table_name = table_name self.table = table self.schema_type_properties_schema = schema_type_properties_schema
[docs]class VirtualNetworkProfile(msrest.serialization.Model): """Virtual Network Profile. :param compute_subnet_id: Subnet ID used for computes in workspace. :type compute_subnet_id: str """ _attribute_map = { 'compute_subnet_id': {'key': 'computeSubnetId', 'type': 'str'}, } def __init__( self, *, compute_subnet_id: Optional[str] = None, **kwargs ): super(VirtualNetworkProfile, self).__init__(**kwargs) self.compute_subnet_id = compute_subnet_id
[docs]class WaitActivity(ControlActivity): """This activity suspends pipeline execution for the specified interval. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param name: Required. Activity name. :type name: str :param type: Required. Type of activity.Constant filled by server. :type type: str :param description: Activity description. :type description: str :param depends_on: Activity depends on condition. :type depends_on: list[~azure.synapse.artifacts.models.ActivityDependency] :param user_properties: Activity user properties. :type user_properties: list[~azure.synapse.artifacts.models.UserProperty] :param wait_time_in_seconds: Required. Duration in seconds. :type wait_time_in_seconds: object """ _validation = { 'name': {'required': True}, 'type': {'required': True}, 'wait_time_in_seconds': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'name': {'key': 'name', 'type': 'str'}, 'type': {'key': 'type', 'type': 'str'}, 'description': {'key': 'description', 'type': 'str'}, 'depends_on': {'key': 'dependsOn', 'type': '[ActivityDependency]'}, 'user_properties': {'key': 'userProperties', 'type': '[UserProperty]'}, 'wait_time_in_seconds': {'key': 'typeProperties.waitTimeInSeconds', 'type': 'object'}, } def __init__( self, *, name: str, wait_time_in_seconds: object, additional_properties: Optional[Dict[str, object]] = None, description: Optional[str] = None, depends_on: Optional[List["ActivityDependency"]] = None, user_properties: Optional[List["UserProperty"]] = None, **kwargs ): super(WaitActivity, self).__init__(additional_properties=additional_properties, name=name, description=description, depends_on=depends_on, user_properties=user_properties, **kwargs) self.type = 'Wait' # type: str self.wait_time_in_seconds = wait_time_in_seconds
[docs]class WebActivity(ExecutionActivity): """Web activity. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param name: Required. Activity name. :type name: str :param type: Required. Type of activity.Constant filled by server. :type type: str :param description: Activity description. :type description: str :param depends_on: Activity depends on condition. :type depends_on: list[~azure.synapse.artifacts.models.ActivityDependency] :param user_properties: Activity user properties. :type user_properties: list[~azure.synapse.artifacts.models.UserProperty] :param linked_service_name: Linked service reference. :type linked_service_name: ~azure.synapse.artifacts.models.LinkedServiceReference :param policy: Activity policy. :type policy: ~azure.synapse.artifacts.models.ActivityPolicy :param method: Required. Rest API method for target endpoint. Possible values include: "GET", "POST", "PUT", "DELETE". :type method: str or ~azure.synapse.artifacts.models.WebActivityMethod :param url: Required. Web activity target endpoint and path. Type: string (or Expression with resultType string). :type url: object :param headers: Represents the headers that will be sent to the request. For example, to set the language and type on a request: "headers" : { "Accept-Language": "en-us", "Content-Type": "application/json" }. Type: string (or Expression with resultType string). :type headers: object :param body: Represents the payload that will be sent to the endpoint. Required for POST/PUT method, not allowed for GET method Type: string (or Expression with resultType string). :type body: object :param authentication: Authentication method used for calling the endpoint. :type authentication: ~azure.synapse.artifacts.models.WebActivityAuthentication :param datasets: List of datasets passed to web endpoint. :type datasets: list[~azure.synapse.artifacts.models.DatasetReference] :param linked_services: List of linked services passed to web endpoint. :type linked_services: list[~azure.synapse.artifacts.models.LinkedServiceReference] :param connect_via: The integration runtime reference. :type connect_via: ~azure.synapse.artifacts.models.IntegrationRuntimeReference """ _validation = { 'name': {'required': True}, 'type': {'required': True}, 'method': {'required': True}, 'url': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'name': {'key': 'name', 'type': 'str'}, 'type': {'key': 'type', 'type': 'str'}, 'description': {'key': 'description', 'type': 'str'}, 'depends_on': {'key': 'dependsOn', 'type': '[ActivityDependency]'}, 'user_properties': {'key': 'userProperties', 'type': '[UserProperty]'}, 'linked_service_name': {'key': 'linkedServiceName', 'type': 'LinkedServiceReference'}, 'policy': {'key': 'policy', 'type': 'ActivityPolicy'}, 'method': {'key': 'typeProperties.method', 'type': 'str'}, 'url': {'key': 'typeProperties.url', 'type': 'object'}, 'headers': {'key': 'typeProperties.headers', 'type': 'object'}, 'body': {'key': 'typeProperties.body', 'type': 'object'}, 'authentication': {'key': 'typeProperties.authentication', 'type': 'WebActivityAuthentication'}, 'datasets': {'key': 'typeProperties.datasets', 'type': '[DatasetReference]'}, 'linked_services': {'key': 'typeProperties.linkedServices', 'type': '[LinkedServiceReference]'}, 'connect_via': {'key': 'typeProperties.connectVia', 'type': 'IntegrationRuntimeReference'}, } def __init__( self, *, name: str, method: Union[str, "WebActivityMethod"], url: object, additional_properties: Optional[Dict[str, object]] = None, description: Optional[str] = None, depends_on: Optional[List["ActivityDependency"]] = None, user_properties: Optional[List["UserProperty"]] = None, linked_service_name: Optional["LinkedServiceReference"] = None, policy: Optional["ActivityPolicy"] = None, headers: Optional[object] = None, body: Optional[object] = None, authentication: Optional["WebActivityAuthentication"] = None, datasets: Optional[List["DatasetReference"]] = None, linked_services: Optional[List["LinkedServiceReference"]] = None, connect_via: Optional["IntegrationRuntimeReference"] = None, **kwargs ): super(WebActivity, self).__init__(additional_properties=additional_properties, name=name, description=description, depends_on=depends_on, user_properties=user_properties, linked_service_name=linked_service_name, policy=policy, **kwargs) self.type = 'WebActivity' # type: str self.method = method self.url = url self.headers = headers self.body = body self.authentication = authentication self.datasets = datasets self.linked_services = linked_services self.connect_via = connect_via
[docs]class WebActivityAuthentication(msrest.serialization.Model): """Web activity authentication properties. All required parameters must be populated in order to send to Azure. :param type: Required. Web activity authentication (Basic/ClientCertificate/MSI). :type type: str :param pfx: Base64-encoded contents of a PFX file. :type pfx: ~azure.synapse.artifacts.models.SecretBase :param username: Web activity authentication user name for basic authentication. :type username: str :param password: Password for the PFX file or basic authentication. :type password: ~azure.synapse.artifacts.models.SecretBase :param resource: Resource for which Azure Auth token will be requested when using MSI Authentication. :type resource: str """ _validation = { 'type': {'required': True}, } _attribute_map = { 'type': {'key': 'type', 'type': 'str'}, 'pfx': {'key': 'pfx', 'type': 'SecretBase'}, 'username': {'key': 'username', 'type': 'str'}, 'password': {'key': 'password', 'type': 'SecretBase'}, 'resource': {'key': 'resource', 'type': 'str'}, } def __init__( self, *, type: str, pfx: Optional["SecretBase"] = None, username: Optional[str] = None, password: Optional["SecretBase"] = None, resource: Optional[str] = None, **kwargs ): super(WebActivityAuthentication, self).__init__(**kwargs) self.type = type self.pfx = pfx self.username = username self.password = password self.resource = resource
[docs]class WebLinkedServiceTypeProperties(msrest.serialization.Model): """Base definition of WebLinkedServiceTypeProperties, this typeProperties is polymorphic based on authenticationType, so not flattened in SDK models. You probably want to use the sub-classes and not this class directly. Known sub-classes are: WebAnonymousAuthentication, WebBasicAuthentication, WebClientCertificateAuthentication. All required parameters must be populated in order to send to Azure. :param url: Required. The URL of the web service endpoint, e.g. http://www.microsoft.com . Type: string (or Expression with resultType string). :type url: object :param authentication_type: Required. Type of authentication used to connect to the web table source.Constant filled by server. Possible values include: "Basic", "Anonymous", "ClientCertificate". :type authentication_type: str or ~azure.synapse.artifacts.models.WebAuthenticationType """ _validation = { 'url': {'required': True}, 'authentication_type': {'required': True}, } _attribute_map = { 'url': {'key': 'url', 'type': 'object'}, 'authentication_type': {'key': 'authenticationType', 'type': 'str'}, } _subtype_map = { 'authentication_type': {'Anonymous': 'WebAnonymousAuthentication', 'Basic': 'WebBasicAuthentication', 'ClientCertificate': 'WebClientCertificateAuthentication'} } def __init__( self, *, url: object, **kwargs ): super(WebLinkedServiceTypeProperties, self).__init__(**kwargs) self.url = url self.authentication_type = None # type: Optional[str]
[docs]class WebAnonymousAuthentication(WebLinkedServiceTypeProperties): """A WebLinkedService that uses anonymous authentication to communicate with an HTTP endpoint. All required parameters must be populated in order to send to Azure. :param url: Required. The URL of the web service endpoint, e.g. http://www.microsoft.com . Type: string (or Expression with resultType string). :type url: object :param authentication_type: Required. Type of authentication used to connect to the web table source.Constant filled by server. Possible values include: "Basic", "Anonymous", "ClientCertificate". :type authentication_type: str or ~azure.synapse.artifacts.models.WebAuthenticationType """ _validation = { 'url': {'required': True}, 'authentication_type': {'required': True}, } _attribute_map = { 'url': {'key': 'url', 'type': 'object'}, 'authentication_type': {'key': 'authenticationType', 'type': 'str'}, } def __init__( self, *, url: object, **kwargs ): super(WebAnonymousAuthentication, self).__init__(url=url, **kwargs) self.authentication_type = 'Anonymous' # type: str
[docs]class WebBasicAuthentication(WebLinkedServiceTypeProperties): """A WebLinkedService that uses basic authentication to communicate with an HTTP endpoint. All required parameters must be populated in order to send to Azure. :param url: Required. The URL of the web service endpoint, e.g. http://www.microsoft.com . Type: string (or Expression with resultType string). :type url: object :param authentication_type: Required. Type of authentication used to connect to the web table source.Constant filled by server. Possible values include: "Basic", "Anonymous", "ClientCertificate". :type authentication_type: str or ~azure.synapse.artifacts.models.WebAuthenticationType :param username: Required. User name for Basic authentication. Type: string (or Expression with resultType string). :type username: object :param password: Required. The password for Basic authentication. :type password: ~azure.synapse.artifacts.models.SecretBase """ _validation = { 'url': {'required': True}, 'authentication_type': {'required': True}, 'username': {'required': True}, 'password': {'required': True}, } _attribute_map = { 'url': {'key': 'url', 'type': 'object'}, 'authentication_type': {'key': 'authenticationType', 'type': 'str'}, 'username': {'key': 'username', 'type': 'object'}, 'password': {'key': 'password', 'type': 'SecretBase'}, } def __init__( self, *, url: object, username: object, password: "SecretBase", **kwargs ): super(WebBasicAuthentication, self).__init__(url=url, **kwargs) self.authentication_type = 'Basic' # type: str self.username = username self.password = password
[docs]class WebClientCertificateAuthentication(WebLinkedServiceTypeProperties): """A WebLinkedService that uses client certificate based authentication to communicate with an HTTP endpoint. This scheme follows mutual authentication; the server must also provide valid credentials to the client. All required parameters must be populated in order to send to Azure. :param url: Required. The URL of the web service endpoint, e.g. http://www.microsoft.com . Type: string (or Expression with resultType string). :type url: object :param authentication_type: Required. Type of authentication used to connect to the web table source.Constant filled by server. Possible values include: "Basic", "Anonymous", "ClientCertificate". :type authentication_type: str or ~azure.synapse.artifacts.models.WebAuthenticationType :param pfx: Required. Base64-encoded contents of a PFX file. :type pfx: ~azure.synapse.artifacts.models.SecretBase :param password: Required. Password for the PFX file. :type password: ~azure.synapse.artifacts.models.SecretBase """ _validation = { 'url': {'required': True}, 'authentication_type': {'required': True}, 'pfx': {'required': True}, 'password': {'required': True}, } _attribute_map = { 'url': {'key': 'url', 'type': 'object'}, 'authentication_type': {'key': 'authenticationType', 'type': 'str'}, 'pfx': {'key': 'pfx', 'type': 'SecretBase'}, 'password': {'key': 'password', 'type': 'SecretBase'}, } def __init__( self, *, url: object, pfx: "SecretBase", password: "SecretBase", **kwargs ): super(WebClientCertificateAuthentication, self).__init__(url=url, **kwargs) self.authentication_type = 'ClientCertificate' # type: str self.pfx = pfx self.password = password
[docs]class WebHookActivity(ControlActivity): """WebHook activity. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param name: Required. Activity name. :type name: str :param type: Required. Type of activity.Constant filled by server. :type type: str :param description: Activity description. :type description: str :param depends_on: Activity depends on condition. :type depends_on: list[~azure.synapse.artifacts.models.ActivityDependency] :param user_properties: Activity user properties. :type user_properties: list[~azure.synapse.artifacts.models.UserProperty] :param method: Required. Rest API method for target endpoint. Possible values include: "POST". :type method: str or ~azure.synapse.artifacts.models.WebHookActivityMethod :param url: Required. WebHook activity target endpoint and path. Type: string (or Expression with resultType string). :type url: object :param timeout: The timeout within which the webhook should be called back. If there is no value specified, it defaults to 10 minutes. Type: string. Pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type timeout: str :param headers: Represents the headers that will be sent to the request. For example, to set the language and type on a request: "headers" : { "Accept-Language": "en-us", "Content-Type": "application/json" }. Type: string (or Expression with resultType string). :type headers: object :param body: Represents the payload that will be sent to the endpoint. Required for POST/PUT method, not allowed for GET method Type: string (or Expression with resultType string). :type body: object :param authentication: Authentication method used for calling the endpoint. :type authentication: ~azure.synapse.artifacts.models.WebActivityAuthentication :param report_status_on_call_back: When set to true, statusCode, output and error in callback request body will be consumed by activity. The activity can be marked as failed by setting statusCode >= 400 in callback request. Default is false. Type: boolean (or Expression with resultType boolean). :type report_status_on_call_back: object """ _validation = { 'name': {'required': True}, 'type': {'required': True}, 'method': {'required': True}, 'url': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'name': {'key': 'name', 'type': 'str'}, 'type': {'key': 'type', 'type': 'str'}, 'description': {'key': 'description', 'type': 'str'}, 'depends_on': {'key': 'dependsOn', 'type': '[ActivityDependency]'}, 'user_properties': {'key': 'userProperties', 'type': '[UserProperty]'}, 'method': {'key': 'typeProperties.method', 'type': 'str'}, 'url': {'key': 'typeProperties.url', 'type': 'object'}, 'timeout': {'key': 'typeProperties.timeout', 'type': 'str'}, 'headers': {'key': 'typeProperties.headers', 'type': 'object'}, 'body': {'key': 'typeProperties.body', 'type': 'object'}, 'authentication': {'key': 'typeProperties.authentication', 'type': 'WebActivityAuthentication'}, 'report_status_on_call_back': {'key': 'typeProperties.reportStatusOnCallBack', 'type': 'object'}, } def __init__( self, *, name: str, method: Union[str, "WebHookActivityMethod"], url: object, additional_properties: Optional[Dict[str, object]] = None, description: Optional[str] = None, depends_on: Optional[List["ActivityDependency"]] = None, user_properties: Optional[List["UserProperty"]] = None, timeout: Optional[str] = None, headers: Optional[object] = None, body: Optional[object] = None, authentication: Optional["WebActivityAuthentication"] = None, report_status_on_call_back: Optional[object] = None, **kwargs ): super(WebHookActivity, self).__init__(additional_properties=additional_properties, name=name, description=description, depends_on=depends_on, user_properties=user_properties, **kwargs) self.type = 'WebHook' # type: str self.method = method self.url = url self.timeout = timeout self.headers = headers self.body = body self.authentication = authentication self.report_status_on_call_back = report_status_on_call_back
[docs]class WebLinkedService(LinkedService): """Web linked service. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. :type connect_via: ~azure.synapse.artifacts.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. :type parameters: dict[str, ~azure.synapse.artifacts.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param type_properties: Required. Web linked service properties. :type type_properties: ~azure.synapse.artifacts.models.WebLinkedServiceTypeProperties """ _validation = { 'type': {'required': True}, 'type_properties': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'connect_via': {'key': 'connectVia', 'type': 'IntegrationRuntimeReference'}, 'description': {'key': 'description', 'type': 'str'}, 'parameters': {'key': 'parameters', 'type': '{ParameterSpecification}'}, 'annotations': {'key': 'annotations', 'type': '[object]'}, 'type_properties': {'key': 'typeProperties', 'type': 'WebLinkedServiceTypeProperties'}, } def __init__( self, *, type_properties: "WebLinkedServiceTypeProperties", additional_properties: Optional[Dict[str, object]] = None, connect_via: Optional["IntegrationRuntimeReference"] = None, description: Optional[str] = None, parameters: Optional[Dict[str, "ParameterSpecification"]] = None, annotations: Optional[List[object]] = None, **kwargs ): super(WebLinkedService, self).__init__(additional_properties=additional_properties, connect_via=connect_via, description=description, parameters=parameters, annotations=annotations, **kwargs) self.type = 'Web' # type: str self.type_properties = type_properties
[docs]class WebSource(CopySource): """A copy activity source for web page table. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Copy source type.Constant filled by server. :type type: str :param source_retry_count: Source retry count. Type: integer (or Expression with resultType integer). :type source_retry_count: object :param source_retry_wait: Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type source_retry_wait: object :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object :param additional_columns: Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects). :type additional_columns: list[~azure.synapse.artifacts.models.AdditionalColumns] """ _validation = { 'type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, source_retry_count: Optional[object] = None, source_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, additional_columns: Optional[List["AdditionalColumns"]] = None, **kwargs ): super(WebSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, **kwargs) self.type = 'WebSource' # type: str self.additional_columns = additional_columns
[docs]class WebTableDataset(Dataset): """The dataset points to a HTML table in the web page. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Type of dataset.Constant filled by server. :type type: str :param description: Dataset description. :type description: str :param structure: Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. :type structure: object :param schema: Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. :type linked_service_name: ~azure.synapse.artifacts.models.LinkedServiceReference :param parameters: Parameters for dataset. :type parameters: dict[str, ~azure.synapse.artifacts.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. :type folder: ~azure.synapse.artifacts.models.DatasetFolder :param index: Required. The zero-based index of the table in the web page. Type: integer (or Expression with resultType integer), minimum: 0. :type index: object :param path: The relative URL to the web page from the linked service URL. Type: string (or Expression with resultType string). :type path: object """ _validation = { 'type': {'required': True}, 'linked_service_name': {'required': True}, 'index': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'description': {'key': 'description', 'type': 'str'}, 'structure': {'key': 'structure', 'type': 'object'}, 'schema': {'key': 'schema', 'type': 'object'}, 'linked_service_name': {'key': 'linkedServiceName', 'type': 'LinkedServiceReference'}, 'parameters': {'key': 'parameters', 'type': '{ParameterSpecification}'}, 'annotations': {'key': 'annotations', 'type': '[object]'}, 'folder': {'key': 'folder', 'type': 'DatasetFolder'}, 'index': {'key': 'typeProperties.index', 'type': 'object'}, 'path': {'key': 'typeProperties.path', 'type': 'object'}, } def __init__( self, *, linked_service_name: "LinkedServiceReference", index: object, additional_properties: Optional[Dict[str, object]] = None, description: Optional[str] = None, structure: Optional[object] = None, schema: Optional[object] = None, parameters: Optional[Dict[str, "ParameterSpecification"]] = None, annotations: Optional[List[object]] = None, folder: Optional["DatasetFolder"] = None, path: Optional[object] = None, **kwargs ): super(WebTableDataset, self).__init__(additional_properties=additional_properties, description=description, structure=structure, schema=schema, linked_service_name=linked_service_name, parameters=parameters, annotations=annotations, folder=folder, **kwargs) self.type = 'WebTable' # type: str self.index = index self.path = path
[docs]class Workspace(TrackedResource): """A workspace. Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. :ivar id: Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. :vartype id: str :ivar name: The name of the resource. :vartype name: str :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts". :vartype type: str :param tags: A set of tags. Resource tags. :type tags: dict[str, str] :param location: Required. The geo-location where the resource lives. :type location: str :param identity: Identity of the workspace. :type identity: ~azure.synapse.artifacts.models.ManagedIdentity :param default_data_lake_storage: Workspace default data lake storage account details. :type default_data_lake_storage: ~azure.synapse.artifacts.models.DataLakeStorageAccountDetails :param sql_administrator_login_password: SQL administrator login password. :type sql_administrator_login_password: str :param managed_resource_group_name: Workspace managed resource group. The resource group name uniquely identifies the resource group within the user subscriptionId. The resource group name must be no longer than 90 characters long, and must be alphanumeric characters (Char.IsLetterOrDigit()) and '-', '_', '(', ')' and'.'. Note that the name cannot end with '.'. :type managed_resource_group_name: str :ivar provisioning_state: Resource provisioning state. :vartype provisioning_state: str :param sql_administrator_login: Login for workspace SQL active directory administrator. :type sql_administrator_login: str :param virtual_network_profile: Virtual Network profile. :type virtual_network_profile: ~azure.synapse.artifacts.models.VirtualNetworkProfile :param connectivity_endpoints: Connectivity endpoints. :type connectivity_endpoints: dict[str, str] :param managed_virtual_network: Setting this to 'default' will ensure that all compute for this workspace is in a virtual network managed on behalf of the user. :type managed_virtual_network: str :param private_endpoint_connections: Private endpoint connections to the workspace. :type private_endpoint_connections: list[~azure.synapse.artifacts.models.PrivateEndpointConnection] :param encryption: The encryption details of the workspace. :type encryption: ~azure.synapse.artifacts.models.EncryptionDetails :ivar workspace_uid: The workspace unique identifier. :vartype workspace_uid: str :ivar extra_properties: Workspace level configs and feature flags. :vartype extra_properties: dict[str, object] :param managed_virtual_network_settings: Managed Virtual Network Settings. :type managed_virtual_network_settings: ~azure.synapse.artifacts.models.ManagedVirtualNetworkSettings :param workspace_repository_configuration: Git integration settings. :type workspace_repository_configuration: ~azure.synapse.artifacts.models.WorkspaceRepositoryConfiguration :param purview_configuration: Purview Configuration. :type purview_configuration: ~azure.synapse.artifacts.models.PurviewConfiguration :ivar adla_resource_id: The ADLA resource ID. :vartype adla_resource_id: str """ _validation = { 'id': {'readonly': True}, 'name': {'readonly': True}, 'type': {'readonly': True}, 'location': {'required': True}, 'provisioning_state': {'readonly': True}, 'workspace_uid': {'readonly': True}, 'extra_properties': {'readonly': True}, 'adla_resource_id': {'readonly': True}, } _attribute_map = { 'id': {'key': 'id', 'type': 'str'}, 'name': {'key': 'name', 'type': 'str'}, 'type': {'key': 'type', 'type': 'str'}, 'tags': {'key': 'tags', 'type': '{str}'}, 'location': {'key': 'location', 'type': 'str'}, 'identity': {'key': 'identity', 'type': 'ManagedIdentity'}, 'default_data_lake_storage': {'key': 'properties.defaultDataLakeStorage', 'type': 'DataLakeStorageAccountDetails'}, 'sql_administrator_login_password': {'key': 'properties.sqlAdministratorLoginPassword', 'type': 'str'}, 'managed_resource_group_name': {'key': 'properties.managedResourceGroupName', 'type': 'str'}, 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, 'sql_administrator_login': {'key': 'properties.sqlAdministratorLogin', 'type': 'str'}, 'virtual_network_profile': {'key': 'properties.virtualNetworkProfile', 'type': 'VirtualNetworkProfile'}, 'connectivity_endpoints': {'key': 'properties.connectivityEndpoints', 'type': '{str}'}, 'managed_virtual_network': {'key': 'properties.managedVirtualNetwork', 'type': 'str'}, 'private_endpoint_connections': {'key': 'properties.privateEndpointConnections', 'type': '[PrivateEndpointConnection]'}, 'encryption': {'key': 'properties.encryption', 'type': 'EncryptionDetails'}, 'workspace_uid': {'key': 'properties.workspaceUID', 'type': 'str'}, 'extra_properties': {'key': 'properties.extraProperties', 'type': '{object}'}, 'managed_virtual_network_settings': {'key': 'properties.managedVirtualNetworkSettings', 'type': 'ManagedVirtualNetworkSettings'}, 'workspace_repository_configuration': {'key': 'properties.workspaceRepositoryConfiguration', 'type': 'WorkspaceRepositoryConfiguration'}, 'purview_configuration': {'key': 'properties.purviewConfiguration', 'type': 'PurviewConfiguration'}, 'adla_resource_id': {'key': 'properties.adlaResourceId', 'type': 'str'}, } def __init__( self, *, location: str, tags: Optional[Dict[str, str]] = None, identity: Optional["ManagedIdentity"] = None, default_data_lake_storage: Optional["DataLakeStorageAccountDetails"] = None, sql_administrator_login_password: Optional[str] = None, managed_resource_group_name: Optional[str] = None, sql_administrator_login: Optional[str] = None, virtual_network_profile: Optional["VirtualNetworkProfile"] = None, connectivity_endpoints: Optional[Dict[str, str]] = None, managed_virtual_network: Optional[str] = None, private_endpoint_connections: Optional[List["PrivateEndpointConnection"]] = None, encryption: Optional["EncryptionDetails"] = None, managed_virtual_network_settings: Optional["ManagedVirtualNetworkSettings"] = None, workspace_repository_configuration: Optional["WorkspaceRepositoryConfiguration"] = None, purview_configuration: Optional["PurviewConfiguration"] = None, **kwargs ): super(Workspace, self).__init__(tags=tags, location=location, **kwargs) self.identity = identity self.default_data_lake_storage = default_data_lake_storage self.sql_administrator_login_password = sql_administrator_login_password self.managed_resource_group_name = managed_resource_group_name self.provisioning_state = None self.sql_administrator_login = sql_administrator_login self.virtual_network_profile = virtual_network_profile self.connectivity_endpoints = connectivity_endpoints self.managed_virtual_network = managed_virtual_network self.private_endpoint_connections = private_endpoint_connections self.encryption = encryption self.workspace_uid = None self.extra_properties = None self.managed_virtual_network_settings = managed_virtual_network_settings self.workspace_repository_configuration = workspace_repository_configuration self.purview_configuration = purview_configuration self.adla_resource_id = None
[docs]class WorkspaceIdentity(msrest.serialization.Model): """Identity properties of the workspace resource. Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. :ivar type: Required. The identity type. Currently the only supported type is 'SystemAssigned'. Default value: "SystemAssigned". :vartype type: str :ivar principal_id: The principal id of the identity. :vartype principal_id: str :ivar tenant_id: The client tenant id of the identity. :vartype tenant_id: str """ _validation = { 'type': {'required': True, 'constant': True}, 'principal_id': {'readonly': True}, 'tenant_id': {'readonly': True}, } _attribute_map = { 'type': {'key': 'type', 'type': 'str'}, 'principal_id': {'key': 'principalId', 'type': 'str'}, 'tenant_id': {'key': 'tenantId', 'type': 'str'}, } type = "SystemAssigned" def __init__( self, **kwargs ): super(WorkspaceIdentity, self).__init__(**kwargs) self.principal_id = None self.tenant_id = None
[docs]class WorkspaceKeyDetails(msrest.serialization.Model): """Details of the customer managed key associated with the workspace. :param name: Workspace Key sub-resource name. :type name: str :param key_vault_url: Workspace Key sub-resource key vault url. :type key_vault_url: str """ _attribute_map = { 'name': {'key': 'name', 'type': 'str'}, 'key_vault_url': {'key': 'keyVaultUrl', 'type': 'str'}, } def __init__( self, *, name: Optional[str] = None, key_vault_url: Optional[str] = None, **kwargs ): super(WorkspaceKeyDetails, self).__init__(**kwargs) self.name = name self.key_vault_url = key_vault_url
[docs]class WorkspaceRepositoryConfiguration(msrest.serialization.Model): """Git integration settings. :param type: Type of workspace repositoryID configuration. Example WorkspaceVSTSConfiguration, WorkspaceGitHubConfiguration. :type type: str :param host_name: GitHub Enterprise host name. For example: https://github.mydomain.com. :type host_name: str :param account_name: Account name. :type account_name: str :param project_name: VSTS project name. :type project_name: str :param repository_name: Repository name. :type repository_name: str :param collaboration_branch: Collaboration branch. :type collaboration_branch: str :param root_folder: Root folder to use in the repository. :type root_folder: str :param last_commit_id: The last commit ID. :type last_commit_id: str :param tenant_id: The VSTS tenant ID. :type tenant_id: str """ _attribute_map = { 'type': {'key': 'type', 'type': 'str'}, 'host_name': {'key': 'hostName', 'type': 'str'}, 'account_name': {'key': 'accountName', 'type': 'str'}, 'project_name': {'key': 'projectName', 'type': 'str'}, 'repository_name': {'key': 'repositoryName', 'type': 'str'}, 'collaboration_branch': {'key': 'collaborationBranch', 'type': 'str'}, 'root_folder': {'key': 'rootFolder', 'type': 'str'}, 'last_commit_id': {'key': 'lastCommitId', 'type': 'str'}, 'tenant_id': {'key': 'tenantId', 'type': 'str'}, } def __init__( self, *, type: Optional[str] = None, host_name: Optional[str] = None, account_name: Optional[str] = None, project_name: Optional[str] = None, repository_name: Optional[str] = None, collaboration_branch: Optional[str] = None, root_folder: Optional[str] = None, last_commit_id: Optional[str] = None, tenant_id: Optional[str] = None, **kwargs ): super(WorkspaceRepositoryConfiguration, self).__init__(**kwargs) self.type = type self.host_name = host_name self.account_name = account_name self.project_name = project_name self.repository_name = repository_name self.collaboration_branch = collaboration_branch self.root_folder = root_folder self.last_commit_id = last_commit_id self.tenant_id = tenant_id
[docs]class WorkspaceUpdateParameters(msrest.serialization.Model): """Parameters for updating a workspace resource. :param tags: A set of tags. The resource tags. :type tags: dict[str, str] :param identity: Managed service identity of the workspace. :type identity: ~azure.synapse.artifacts.models.WorkspaceIdentity """ _attribute_map = { 'tags': {'key': 'tags', 'type': '{str}'}, 'identity': {'key': 'identity', 'type': 'WorkspaceIdentity'}, } def __init__( self, *, tags: Optional[Dict[str, str]] = None, identity: Optional["WorkspaceIdentity"] = None, **kwargs ): super(WorkspaceUpdateParameters, self).__init__(**kwargs) self.tags = tags self.identity = identity
[docs]class XeroLinkedService(LinkedService): """Xero Service linked service. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. :type connect_via: ~azure.synapse.artifacts.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. :type parameters: dict[str, ~azure.synapse.artifacts.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param connection_properties: Properties used to connect to Xero. It is mutually exclusive with any other properties in the linked service. Type: object. :type connection_properties: object :param host: Required. The endpoint of the Xero server. (i.e. api.xero.com). :type host: object :param consumer_key: The consumer key associated with the Xero application. :type consumer_key: ~azure.synapse.artifacts.models.SecretBase :param private_key: The private key from the .pem file that was generated for your Xero private application. You must include all the text from the .pem file, including the Unix line endings( ). :type private_key: ~azure.synapse.artifacts.models.SecretBase :param use_encrypted_endpoints: Specifies whether the data source endpoints are encrypted using HTTPS. The default value is true. :type use_encrypted_endpoints: object :param use_host_verification: Specifies whether to require the host name in the server's certificate to match the host name of the server when connecting over SSL. The default value is true. :type use_host_verification: object :param use_peer_verification: Specifies whether to verify the identity of the server when connecting over SSL. The default value is true. :type use_peer_verification: 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). :type encrypted_credential: object """ _validation = { 'type': {'required': True}, 'host': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'connect_via': {'key': 'connectVia', 'type': 'IntegrationRuntimeReference'}, 'description': {'key': 'description', 'type': 'str'}, 'parameters': {'key': 'parameters', 'type': '{ParameterSpecification}'}, 'annotations': {'key': 'annotations', 'type': '[object]'}, 'connection_properties': {'key': 'typeProperties.connectionProperties', 'type': 'object'}, 'host': {'key': 'typeProperties.host', 'type': 'object'}, 'consumer_key': {'key': 'typeProperties.consumerKey', 'type': 'SecretBase'}, 'private_key': {'key': 'typeProperties.privateKey', 'type': 'SecretBase'}, 'use_encrypted_endpoints': {'key': 'typeProperties.useEncryptedEndpoints', 'type': 'object'}, 'use_host_verification': {'key': 'typeProperties.useHostVerification', 'type': 'object'}, 'use_peer_verification': {'key': 'typeProperties.usePeerVerification', 'type': 'object'}, 'encrypted_credential': {'key': 'typeProperties.encryptedCredential', 'type': 'object'}, } def __init__( self, *, host: object, additional_properties: Optional[Dict[str, object]] = None, connect_via: Optional["IntegrationRuntimeReference"] = None, description: Optional[str] = None, parameters: Optional[Dict[str, "ParameterSpecification"]] = None, annotations: Optional[List[object]] = None, connection_properties: Optional[object] = None, consumer_key: Optional["SecretBase"] = None, private_key: Optional["SecretBase"] = None, use_encrypted_endpoints: Optional[object] = None, use_host_verification: Optional[object] = None, use_peer_verification: Optional[object] = None, encrypted_credential: Optional[object] = None, **kwargs ): super(XeroLinkedService, self).__init__(additional_properties=additional_properties, connect_via=connect_via, description=description, parameters=parameters, annotations=annotations, **kwargs) self.type = 'Xero' # type: str self.connection_properties = connection_properties self.host = host self.consumer_key = consumer_key self.private_key = private_key self.use_encrypted_endpoints = use_encrypted_endpoints self.use_host_verification = use_host_verification self.use_peer_verification = use_peer_verification self.encrypted_credential = encrypted_credential
[docs]class XeroObjectDataset(Dataset): """Xero Service dataset. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Type of dataset.Constant filled by server. :type type: str :param description: Dataset description. :type description: str :param structure: Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. :type structure: object :param schema: Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. :type linked_service_name: ~azure.synapse.artifacts.models.LinkedServiceReference :param parameters: Parameters for dataset. :type parameters: dict[str, ~azure.synapse.artifacts.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. :type folder: ~azure.synapse.artifacts.models.DatasetFolder :param table_name: The table name. Type: string (or Expression with resultType string). :type table_name: object """ _validation = { 'type': {'required': True}, 'linked_service_name': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'description': {'key': 'description', 'type': 'str'}, 'structure': {'key': 'structure', 'type': 'object'}, 'schema': {'key': 'schema', 'type': 'object'}, 'linked_service_name': {'key': 'linkedServiceName', 'type': 'LinkedServiceReference'}, 'parameters': {'key': 'parameters', 'type': '{ParameterSpecification}'}, 'annotations': {'key': 'annotations', 'type': '[object]'}, 'folder': {'key': 'folder', 'type': 'DatasetFolder'}, 'table_name': {'key': 'typeProperties.tableName', 'type': 'object'}, } def __init__( self, *, linked_service_name: "LinkedServiceReference", additional_properties: Optional[Dict[str, object]] = None, description: Optional[str] = None, structure: Optional[object] = None, schema: Optional[object] = None, parameters: Optional[Dict[str, "ParameterSpecification"]] = None, annotations: Optional[List[object]] = None, folder: Optional["DatasetFolder"] = None, table_name: Optional[object] = None, **kwargs ): super(XeroObjectDataset, self).__init__(additional_properties=additional_properties, description=description, structure=structure, schema=schema, linked_service_name=linked_service_name, parameters=parameters, annotations=annotations, folder=folder, **kwargs) self.type = 'XeroObject' # type: str self.table_name = table_name
[docs]class XeroSource(TabularSource): """A copy activity Xero Service source. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Copy source type.Constant filled by server. :type type: str :param source_retry_count: Source retry count. Type: integer (or Expression with resultType integer). :type source_retry_count: object :param source_retry_wait: Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type source_retry_wait: object :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object :param query_timeout: Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type query_timeout: object :param additional_columns: Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects). :type additional_columns: list[~azure.synapse.artifacts.models.AdditionalColumns] :param query: A query to retrieve data from source. Type: string (or Expression with resultType string). :type query: object """ _validation = { 'type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, 'query': {'key': 'query', 'type': 'object'}, } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, source_retry_count: Optional[object] = None, source_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, query_timeout: Optional[object] = None, additional_columns: Optional[List["AdditionalColumns"]] = None, query: Optional[object] = None, **kwargs ): super(XeroSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, query_timeout=query_timeout, additional_columns=additional_columns, **kwargs) self.type = 'XeroSource' # type: str self.query = query
[docs]class XmlDataset(Dataset): """Xml dataset. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Type of dataset.Constant filled by server. :type type: str :param description: Dataset description. :type description: str :param structure: Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. :type structure: object :param schema: Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. :type linked_service_name: ~azure.synapse.artifacts.models.LinkedServiceReference :param parameters: Parameters for dataset. :type parameters: dict[str, ~azure.synapse.artifacts.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. :type folder: ~azure.synapse.artifacts.models.DatasetFolder :param location: The location of the json data storage. :type location: ~azure.synapse.artifacts.models.DatasetLocation :param encoding_name: The code page name of the preferred encoding. If not specified, the default value is UTF-8, unless BOM denotes another Unicode encoding. Refer to the name column of the table in the following link to set supported values: https://msdn.microsoft.com/library/system.text.encoding.aspx. Type: string (or Expression with resultType string). :type encoding_name: object :param null_value: The null value string. Type: string (or Expression with resultType string). :type null_value: object :param compression: The data compression method used for the json dataset. :type compression: ~azure.synapse.artifacts.models.DatasetCompression """ _validation = { 'type': {'required': True}, 'linked_service_name': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'description': {'key': 'description', 'type': 'str'}, 'structure': {'key': 'structure', 'type': 'object'}, 'schema': {'key': 'schema', 'type': 'object'}, 'linked_service_name': {'key': 'linkedServiceName', 'type': 'LinkedServiceReference'}, 'parameters': {'key': 'parameters', 'type': '{ParameterSpecification}'}, 'annotations': {'key': 'annotations', 'type': '[object]'}, 'folder': {'key': 'folder', 'type': 'DatasetFolder'}, 'location': {'key': 'typeProperties.location', 'type': 'DatasetLocation'}, 'encoding_name': {'key': 'typeProperties.encodingName', 'type': 'object'}, 'null_value': {'key': 'typeProperties.nullValue', 'type': 'object'}, 'compression': {'key': 'typeProperties.compression', 'type': 'DatasetCompression'}, } def __init__( self, *, linked_service_name: "LinkedServiceReference", additional_properties: Optional[Dict[str, object]] = None, description: Optional[str] = None, structure: Optional[object] = None, schema: Optional[object] = None, parameters: Optional[Dict[str, "ParameterSpecification"]] = None, annotations: Optional[List[object]] = None, folder: Optional["DatasetFolder"] = None, location: Optional["DatasetLocation"] = None, encoding_name: Optional[object] = None, null_value: Optional[object] = None, compression: Optional["DatasetCompression"] = None, **kwargs ): super(XmlDataset, self).__init__(additional_properties=additional_properties, description=description, structure=structure, schema=schema, linked_service_name=linked_service_name, parameters=parameters, annotations=annotations, folder=folder, **kwargs) self.type = 'Xml' # type: str self.location = location self.encoding_name = encoding_name self.null_value = null_value self.compression = compression
[docs]class XmlReadSettings(FormatReadSettings): """Xml read settings. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. The read setting type.Constant filled by server. :type type: str :param compression_properties: Compression settings. :type compression_properties: ~azure.synapse.artifacts.models.CompressionReadSettings :param validation_mode: Indicates what validation method is used when reading the xml files. Allowed values: 'none', 'xsd', or 'dtd'. Type: string (or Expression with resultType string). :type validation_mode: object :param detect_data_type: Indicates whether type detection is enabled when reading the xml files. Type: boolean (or Expression with resultType boolean). :type detect_data_type: object :param namespaces: Indicates whether namespace is enabled when reading the xml files. Type: boolean (or Expression with resultType boolean). :type namespaces: object :param namespace_prefixes: Namespace uri to prefix mappings to override the prefixes in column names when namespace is enabled, if no prefix is defined for a namespace uri, the prefix of xml element/attribute name in the xml data file will be used. Example: "{"http://www.example.com/xml":"prefix"}" Type: object (or Expression with resultType object). :type namespace_prefixes: object """ _validation = { 'type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'compression_properties': {'key': 'compressionProperties', 'type': 'CompressionReadSettings'}, 'validation_mode': {'key': 'validationMode', 'type': 'object'}, 'detect_data_type': {'key': 'detectDataType', 'type': 'object'}, 'namespaces': {'key': 'namespaces', 'type': 'object'}, 'namespace_prefixes': {'key': 'namespacePrefixes', 'type': 'object'}, } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, compression_properties: Optional["CompressionReadSettings"] = None, validation_mode: Optional[object] = None, detect_data_type: Optional[object] = None, namespaces: Optional[object] = None, namespace_prefixes: Optional[object] = None, **kwargs ): super(XmlReadSettings, self).__init__(additional_properties=additional_properties, **kwargs) self.type = 'XmlReadSettings' # type: str self.compression_properties = compression_properties self.validation_mode = validation_mode self.detect_data_type = detect_data_type self.namespaces = namespaces self.namespace_prefixes = namespace_prefixes
[docs]class XmlSource(CopySource): """A copy activity Xml source. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Copy source type.Constant filled by server. :type type: str :param source_retry_count: Source retry count. Type: integer (or Expression with resultType integer). :type source_retry_count: object :param source_retry_wait: Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type source_retry_wait: object :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object :param store_settings: Xml store settings. :type store_settings: ~azure.synapse.artifacts.models.StoreReadSettings :param format_settings: Xml format settings. :type format_settings: ~azure.synapse.artifacts.models.XmlReadSettings :param additional_columns: Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects). :type additional_columns: list[~azure.synapse.artifacts.models.AdditionalColumns] """ _validation = { 'type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'store_settings': {'key': 'storeSettings', 'type': 'StoreReadSettings'}, 'format_settings': {'key': 'formatSettings', 'type': 'XmlReadSettings'}, 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, source_retry_count: Optional[object] = None, source_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, store_settings: Optional["StoreReadSettings"] = None, format_settings: Optional["XmlReadSettings"] = None, additional_columns: Optional[List["AdditionalColumns"]] = None, **kwargs ): super(XmlSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, **kwargs) self.type = 'XmlSource' # type: str self.store_settings = store_settings self.format_settings = format_settings self.additional_columns = additional_columns
[docs]class ZipDeflateReadSettings(CompressionReadSettings): """The ZipDeflate compression read settings. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. The Compression setting type.Constant filled by server. :type type: str :param preserve_zip_file_name_as_folder: Preserve the zip file name as folder path. Type: boolean (or Expression with resultType boolean). :type preserve_zip_file_name_as_folder: object """ _validation = { 'type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'preserve_zip_file_name_as_folder': {'key': 'preserveZipFileNameAsFolder', 'type': 'object'}, } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, preserve_zip_file_name_as_folder: Optional[object] = None, **kwargs ): super(ZipDeflateReadSettings, self).__init__(additional_properties=additional_properties, **kwargs) self.type = 'ZipDeflateReadSettings' # type: str self.preserve_zip_file_name_as_folder = preserve_zip_file_name_as_folder
[docs]class ZohoLinkedService(LinkedService): """Zoho server linked service. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. :type connect_via: ~azure.synapse.artifacts.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. :type parameters: dict[str, ~azure.synapse.artifacts.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param connection_properties: Properties used to connect to Zoho. It is mutually exclusive with any other properties in the linked service. Type: object. :type connection_properties: object :param endpoint: Required. The endpoint of the Zoho server. (i.e. crm.zoho.com/crm/private). :type endpoint: object :param access_token: The access token for Zoho authentication. :type access_token: ~azure.synapse.artifacts.models.SecretBase :param use_encrypted_endpoints: Specifies whether the data source endpoints are encrypted using HTTPS. The default value is true. :type use_encrypted_endpoints: object :param use_host_verification: Specifies whether to require the host name in the server's certificate to match the host name of the server when connecting over SSL. The default value is true. :type use_host_verification: object :param use_peer_verification: Specifies whether to verify the identity of the server when connecting over SSL. The default value is true. :type use_peer_verification: 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). :type encrypted_credential: object """ _validation = { 'type': {'required': True}, 'endpoint': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'connect_via': {'key': 'connectVia', 'type': 'IntegrationRuntimeReference'}, 'description': {'key': 'description', 'type': 'str'}, 'parameters': {'key': 'parameters', 'type': '{ParameterSpecification}'}, 'annotations': {'key': 'annotations', 'type': '[object]'}, 'connection_properties': {'key': 'typeProperties.connectionProperties', 'type': 'object'}, 'endpoint': {'key': 'typeProperties.endpoint', 'type': 'object'}, 'access_token': {'key': 'typeProperties.accessToken', 'type': 'SecretBase'}, 'use_encrypted_endpoints': {'key': 'typeProperties.useEncryptedEndpoints', 'type': 'object'}, 'use_host_verification': {'key': 'typeProperties.useHostVerification', 'type': 'object'}, 'use_peer_verification': {'key': 'typeProperties.usePeerVerification', 'type': 'object'}, 'encrypted_credential': {'key': 'typeProperties.encryptedCredential', 'type': 'object'}, } def __init__( self, *, endpoint: object, additional_properties: Optional[Dict[str, object]] = None, connect_via: Optional["IntegrationRuntimeReference"] = None, description: Optional[str] = None, parameters: Optional[Dict[str, "ParameterSpecification"]] = None, annotations: Optional[List[object]] = None, connection_properties: Optional[object] = None, access_token: Optional["SecretBase"] = None, use_encrypted_endpoints: Optional[object] = None, use_host_verification: Optional[object] = None, use_peer_verification: Optional[object] = None, encrypted_credential: Optional[object] = None, **kwargs ): super(ZohoLinkedService, self).__init__(additional_properties=additional_properties, connect_via=connect_via, description=description, parameters=parameters, annotations=annotations, **kwargs) self.type = 'Zoho' # type: str self.connection_properties = connection_properties self.endpoint = endpoint self.access_token = access_token self.use_encrypted_endpoints = use_encrypted_endpoints self.use_host_verification = use_host_verification self.use_peer_verification = use_peer_verification self.encrypted_credential = encrypted_credential
[docs]class ZohoObjectDataset(Dataset): """Zoho server dataset. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Type of dataset.Constant filled by server. :type type: str :param description: Dataset description. :type description: str :param structure: Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. :type structure: object :param schema: Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. :type linked_service_name: ~azure.synapse.artifacts.models.LinkedServiceReference :param parameters: Parameters for dataset. :type parameters: dict[str, ~azure.synapse.artifacts.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. :type folder: ~azure.synapse.artifacts.models.DatasetFolder :param table_name: The table name. Type: string (or Expression with resultType string). :type table_name: object """ _validation = { 'type': {'required': True}, 'linked_service_name': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'description': {'key': 'description', 'type': 'str'}, 'structure': {'key': 'structure', 'type': 'object'}, 'schema': {'key': 'schema', 'type': 'object'}, 'linked_service_name': {'key': 'linkedServiceName', 'type': 'LinkedServiceReference'}, 'parameters': {'key': 'parameters', 'type': '{ParameterSpecification}'}, 'annotations': {'key': 'annotations', 'type': '[object]'}, 'folder': {'key': 'folder', 'type': 'DatasetFolder'}, 'table_name': {'key': 'typeProperties.tableName', 'type': 'object'}, } def __init__( self, *, linked_service_name: "LinkedServiceReference", additional_properties: Optional[Dict[str, object]] = None, description: Optional[str] = None, structure: Optional[object] = None, schema: Optional[object] = None, parameters: Optional[Dict[str, "ParameterSpecification"]] = None, annotations: Optional[List[object]] = None, folder: Optional["DatasetFolder"] = None, table_name: Optional[object] = None, **kwargs ): super(ZohoObjectDataset, self).__init__(additional_properties=additional_properties, description=description, structure=structure, schema=schema, linked_service_name=linked_service_name, parameters=parameters, annotations=annotations, folder=folder, **kwargs) self.type = 'ZohoObject' # type: str self.table_name = table_name
[docs]class ZohoSource(TabularSource): """A copy activity Zoho server source. All required parameters must be populated in order to send to Azure. :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] :param type: Required. Copy source type.Constant filled by server. :type type: str :param source_retry_count: Source retry count. Type: integer (or Expression with resultType integer). :type source_retry_count: object :param source_retry_wait: Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type source_retry_wait: object :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object :param query_timeout: Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type query_timeout: object :param additional_columns: Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects). :type additional_columns: list[~azure.synapse.artifacts.models.AdditionalColumns] :param query: A query to retrieve data from source. Type: string (or Expression with resultType string). :type query: object """ _validation = { 'type': {'required': True}, } _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, 'query': {'key': 'query', 'type': 'object'}, } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, source_retry_count: Optional[object] = None, source_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, query_timeout: Optional[object] = None, additional_columns: Optional[List["AdditionalColumns"]] = None, query: Optional[object] = None, **kwargs ): super(ZohoSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, query_timeout=query_timeout, additional_columns=additional_columns, **kwargs) self.type = 'ZohoSource' # type: str self.query = query