Skip to content

Commit

Permalink
[AutoRelease] t2-datafactory-2021-10-08-83776 (#21172)
Browse files Browse the repository at this point in the history
* CodeGen from PR 16158 in Azure/azure-rest-api-specs
[Datafactory] Power Query model changes for multiple queries (#16158)

* version,CHANGELOG

* Delete test_mgmt_datafactory.py

* Delete sdk/datafactory/azure-mgmt-datafactory/tests/recordings directory

Co-authored-by: SDKAuto <sdkautomation@microsoft.com>
Co-authored-by: PythonSdkPipelines <PythonSdkPipelines>
Co-authored-by: msyyc <70930885+msyyc@users.noreply.github.com>
  • Loading branch information
3 people authored Oct 9, 2021
1 parent cbf7ba8 commit 62f14c7
Show file tree
Hide file tree
Showing 18 changed files with 3,376 additions and 3,753 deletions.
216 changes: 216 additions & 0 deletions sdk/datafactory/azure-mgmt-datafactory/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,221 @@
# Release History

## 2.0.0 (2021-10-08)

**Features**

- Model AmazonS3CompatibleReadSettings has a new parameter disable_metrics_collection
- Model SqlMISink has a new parameter sql_writer_use_table_lock
- Model SqlMISink has a new parameter disable_metrics_collection
- Model SqlMISink has a new parameter write_behavior
- Model SqlMISink has a new parameter upsert_settings
- Model CouchbaseSource has a new parameter disable_metrics_collection
- Model AzureDataLakeStoreSink has a new parameter disable_metrics_collection
- Model AzurePostgreSqlSink has a new parameter disable_metrics_collection
- Model AzureMariaDBSource has a new parameter disable_metrics_collection
- Model TeradataSource has a new parameter disable_metrics_collection
- Model SftpWriteSettings has a new parameter disable_metrics_collection
- Model FactoryGitHubConfiguration has a new parameter client_secret
- Model FactoryGitHubConfiguration has a new parameter client_id
- Model ConcurSource has a new parameter disable_metrics_collection
- Model AzureDataExplorerLinkedService has a new parameter credential
- Model AzureFileStorageWriteSettings has a new parameter disable_metrics_collection
- Model SapCloudForCustomerSink has a new parameter disable_metrics_collection
- Model SalesforceServiceCloudSource has a new parameter disable_metrics_collection
- Model AzureBlobFSLinkedService has a new parameter credential
- Model PipelineRunInvokedBy has a new parameter pipeline_name
- Model PipelineRunInvokedBy has a new parameter pipeline_run_id
- Model AzureDatabricksDeltaLakeSink has a new parameter disable_metrics_collection
- Model SharePointOnlineListSource has a new parameter disable_metrics_collection
- Model IntegrationRuntimeVNetProperties has a new parameter subnet_id
- Model SparkSource has a new parameter disable_metrics_collection
- Model ZohoSource has a new parameter disable_metrics_collection
- Model SalesforceSource has a new parameter disable_metrics_collection
- Model AzureMySqlSource has a new parameter disable_metrics_collection
- Model AvroSink has a new parameter disable_metrics_collection
- Model RestSource has a new parameter disable_metrics_collection
- Model AzureSearchIndexSink has a new parameter disable_metrics_collection
- Model MongoDbV2Source has a new parameter disable_metrics_collection
- Model SapBwSource has a new parameter disable_metrics_collection
- Model AzureMySqlSink has a new parameter disable_metrics_collection
- Model SapTableSource has a new parameter disable_metrics_collection
- Model ResponsysSource has a new parameter disable_metrics_collection
- Model AzureDataLakeStoreSource has a new parameter disable_metrics_collection
- Model BlobSource has a new parameter disable_metrics_collection
- Model CommonDataServiceForAppsSink has a new parameter disable_metrics_collection
- Model StoreReadSettings has a new parameter disable_metrics_collection
- Model AzureBlobStorageReadSettings has a new parameter disable_metrics_collection
- Model AzureBlobFSWriteSettings has a new parameter disable_metrics_collection
- Model SqlSink has a new parameter sql_writer_use_table_lock
- Model SqlSink has a new parameter disable_metrics_collection
- Model SqlSink has a new parameter write_behavior
- Model SqlSink has a new parameter upsert_settings
- Model SapEccSource has a new parameter disable_metrics_collection
- Model HdfsReadSettings has a new parameter disable_metrics_collection
- Model SalesforceServiceCloudSink has a new parameter disable_metrics_collection
- Model CosmosDbMongoDbApiSink has a new parameter disable_metrics_collection
- Model AzureDataLakeStoreReadSettings has a new parameter disable_metrics_collection
- Model CommonDataServiceForAppsSource has a new parameter disable_metrics_collection
- Model AzureBlobStorageLinkedService has a new parameter credential
- Model OracleSource has a new parameter disable_metrics_collection
- Model RestServiceLinkedService has a new parameter credential
- Model SalesforceMarketingCloudSource has a new parameter disable_metrics_collection
- Model XeroSource has a new parameter disable_metrics_collection
- Model ShopifySource has a new parameter disable_metrics_collection
- Model OrcSink has a new parameter disable_metrics_collection
- Model JiraSource has a new parameter disable_metrics_collection
- Model SnowflakeSource has a new parameter disable_metrics_collection
- Model AmazonMWSSource has a new parameter disable_metrics_collection
- Model DocumentDbCollectionSource has a new parameter disable_metrics_collection
- Model FileSystemSource has a new parameter disable_metrics_collection
- Model DynamicsCrmSink has a new parameter disable_metrics_collection
- Model AmazonRedshiftSource has a new parameter disable_metrics_collection
- Model DocumentDbCollectionSink has a new parameter disable_metrics_collection
- Model HubspotSource has a new parameter disable_metrics_collection
- Model ServiceNowSource has a new parameter disable_metrics_collection
- Model BlobSink has a new parameter metadata
- Model BlobSink has a new parameter disable_metrics_collection
- Model ParquetSource has a new parameter disable_metrics_collection
- Model MongoDbAtlasSource has a new parameter disable_metrics_collection
- Model CassandraSource has a new parameter disable_metrics_collection
- Model WebActivityAuthentication has a new parameter credential
- Model OracleCloudStorageReadSettings has a new parameter disable_metrics_collection
- Model HiveSource has a new parameter disable_metrics_collection
- Model HttpSource has a new parameter disable_metrics_collection
- Model AzurePostgreSqlSource has a new parameter disable_metrics_collection
- Model AzureFileStorageReadSettings has a new parameter disable_metrics_collection
- Model OracleServiceCloudSource has a new parameter disable_metrics_collection
- Model AzureQueueSink has a new parameter disable_metrics_collection
- Model MicrosoftAccessSink has a new parameter disable_metrics_collection
- Model GreenplumSource has a new parameter disable_metrics_collection
- Model AzureBlobFSReadSettings has a new parameter disable_metrics_collection
- Model SqlDWSource has a new parameter disable_metrics_collection
- Model AzureSqlMILinkedService has a new parameter always_encrypted_settings
- Model AzureSqlMILinkedService has a new parameter credential
- Model CopySink has a new parameter disable_metrics_collection
- Model DynamicsAXSource has a new parameter disable_metrics_collection
- Model HBaseSource has a new parameter disable_metrics_collection
- Model FtpReadSettings has a new parameter disable_metrics_collection
- Model SybaseSource has a new parameter disable_metrics_collection
- Model GitHubAccessTokenRequest has a new parameter git_hub_client_secret
- Model CosmosDbMongoDbApiSource has a new parameter disable_metrics_collection
- Model ParquetSink has a new parameter disable_metrics_collection
- Model ExcelSource has a new parameter disable_metrics_collection
- Model ODataSource has a new parameter disable_metrics_collection
- Model PostgreSqlSource has a new parameter disable_metrics_collection
- Model Db2Source has a new parameter disable_metrics_collection
- Model VerticaSource has a new parameter disable_metrics_collection
- Model AzureSqlSink has a new parameter sql_writer_use_table_lock
- Model AzureSqlSink has a new parameter disable_metrics_collection
- Model AzureSqlSink has a new parameter write_behavior
- Model AzureSqlSink has a new parameter upsert_settings
- Model AvroSource has a new parameter disable_metrics_collection
- Model SqlDWSink has a new parameter sql_writer_use_table_lock
- Model SqlDWSink has a new parameter disable_metrics_collection
- Model SqlDWSink has a new parameter write_behavior
- Model SqlDWSink has a new parameter upsert_settings
- Model MicrosoftAccessSource has a new parameter disable_metrics_collection
- Model AmazonS3ReadSettings has a new parameter disable_metrics_collection
- Model NetezzaSource has a new parameter disable_metrics_collection
- Model InformixSink has a new parameter disable_metrics_collection
- Model GoogleAdWordsSource has a new parameter disable_metrics_collection
- Model SapCloudForCustomerSource has a new parameter disable_metrics_collection
- Model OracleSink has a new parameter disable_metrics_collection
- Model AzureBlobFSSource has a new parameter disable_metrics_collection
- Model WebSource has a new parameter disable_metrics_collection
- Model AzureSqlDatabaseLinkedService has a new parameter always_encrypted_settings
- Model AzureSqlDatabaseLinkedService has a new parameter credential
- Model AzureDataLakeStoreLinkedService has a new parameter credential
- Model SnowflakeSink has a new parameter disable_metrics_collection
- Model HdfsSource has a new parameter disable_metrics_collection
- Model OdbcSink has a new parameter disable_metrics_collection
- Model AzureBlobFSSink has a new parameter metadata
- Model AzureBlobFSSink has a new parameter disable_metrics_collection
- Model AzureDataExplorerSource has a new parameter disable_metrics_collection
- Model AzureTableSource has a new parameter disable_metrics_collection
- Model AzureDatabricksLinkedService has a new parameter credential
- Model DynamicsSink has a new parameter disable_metrics_collection
- Model IntegrationRuntimeSsisProperties has a new parameter credential
- Model AzureSqlDWLinkedService has a new parameter credential
- Model ExcelDataset has a new parameter sheet_index
- Model PaypalSource has a new parameter disable_metrics_collection
- Model SapHanaSource has a new parameter disable_metrics_collection
- Model HttpReadSettings has a new parameter disable_metrics_collection
- Model ManagedIntegrationRuntime has a new parameter customer_virtual_network
- Model SquareSource has a new parameter disable_metrics_collection
- Model SalesforceSink has a new parameter disable_metrics_collection
- Model AzureDataLakeStoreWriteSettings has a new parameter disable_metrics_collection
- Model SqlServerSource has a new parameter disable_metrics_collection
- Model BinarySink has a new parameter disable_metrics_collection
- Model JsonSink has a new parameter disable_metrics_collection
- Model AzureSqlSource has a new parameter disable_metrics_collection
- Model MongoDbSource has a new parameter disable_metrics_collection
- Model AzureKeyVaultLinkedService has a new parameter credential
- Model StoreWriteSettings has a new parameter disable_metrics_collection
- Model RestSink has a new parameter disable_metrics_collection
- Model CosmosDbSqlApiSink has a new parameter disable_metrics_collection
- Model AzureDatabricksDeltaLakeSource has a new parameter disable_metrics_collection
- Model DynamicsSource has a new parameter disable_metrics_collection
- Model FactoryUpdateParameters has a new parameter public_network_access
- Model OdbcSource has a new parameter disable_metrics_collection
- Model SqlServerLinkedService has a new parameter always_encrypted_settings
- Model IntegrationRuntimeDataFlowProperties has a new parameter cleanup
- Model RelationalSource has a new parameter disable_metrics_collection
- Model TabularSource has a new parameter disable_metrics_collection
- Model FileServerReadSettings has a new parameter disable_metrics_collection
- Model AzureFunctionLinkedService has a new parameter authentication
- Model AzureFunctionLinkedService has a new parameter resource_id
- Model AzureFunctionLinkedService has a new parameter credential
- Model SftpReadSettings has a new parameter disable_metrics_collection
- Model AzureDataExplorerSink has a new parameter disable_metrics_collection
- Model CopySource has a new parameter disable_metrics_collection
- Model GoogleBigQuerySource has a new parameter disable_metrics_collection
- Model AzureMLLinkedService has a new parameter authentication
- Model XmlSource has a new parameter disable_metrics_collection
- Model CosmosDbMongoDbApiLinkedService has a new parameter is_server_version_above32
- Model PrestoSource has a new parameter disable_metrics_collection
- Model CosmosDbSqlApiSource has a new parameter disable_metrics_collection
- Model AzureTableSink has a new parameter disable_metrics_collection
- Model OrcSource has a new parameter disable_metrics_collection
- Model BinarySource has a new parameter disable_metrics_collection
- Model DelimitedTextSink has a new parameter disable_metrics_collection
- Model JsonSource has a new parameter disable_metrics_collection
- Model HDInsightOnDemandLinkedService has a new parameter credential
- Model DelimitedTextSource has a new parameter disable_metrics_collection
- Model ImpalaSource has a new parameter disable_metrics_collection
- Model SqlSource has a new parameter disable_metrics_collection
- Model AzureBlobStorageWriteSettings has a new parameter disable_metrics_collection
- Model PhoenixSource has a new parameter disable_metrics_collection
- Model MySqlSource has a new parameter disable_metrics_collection
- Model SqlServerSink has a new parameter sql_writer_use_table_lock
- Model SqlServerSink has a new parameter disable_metrics_collection
- Model SqlServerSink has a new parameter write_behavior
- Model SqlServerSink has a new parameter upsert_settings
- Model MarketoSource has a new parameter disable_metrics_collection
- Model FileServerWriteSettings has a new parameter disable_metrics_collection
- Model GoogleCloudStorageReadSettings has a new parameter disable_metrics_collection
- Model AzureBatchLinkedService has a new parameter credential
- Model MagentoSource has a new parameter disable_metrics_collection
- Model DynamicsCrmSource has a new parameter disable_metrics_collection
- Model SapOpenHubSource has a new parameter disable_metrics_collection
- Model SqlMISource has a new parameter disable_metrics_collection
- Model QuickBooksSource has a new parameter disable_metrics_collection
- Model DrillSource has a new parameter disable_metrics_collection
- Model EloquaSource has a new parameter disable_metrics_collection
- Model InformixSource has a new parameter disable_metrics_collection
- Model Office365Source has a new parameter disable_metrics_collection
- Model FileSystemSink has a new parameter disable_metrics_collection
- Model MariaDBSource has a new parameter disable_metrics_collection
- Added operation IntegrationRuntimesOperations.list_outbound_network_dependencies_endpoints
- Added operation group PrivateLinkResourcesOperations
- Added operation group PrivateEndPointConnectionsOperations
- Added operation group PrivateEndpointConnectionOperations

**Breaking changes**

- Parameter type of model DataFlow is now required
- Parameter type of model MappingDataFlow is now required

## 2.0.0 (2021-07-27)

**Features**
Expand Down
2 changes: 1 addition & 1 deletion sdk/datafactory/azure-mgmt-datafactory/_meta.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"@autorest/python@5.8.4",
"@autorest/modelerfour@4.19.2"
],
"commit": "406474c3807f2dec010af72286f22aa7a9a54920",
"commit": "2ce915398bfadd5333820487595a9623187dcb59",
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
"autorest_command": "autorest specification/datafactory/resource-manager/readme.md --multiapi --python --python-mode=update --python-sdks-folder=/home/vsts/work/1/s/azure-sdk-for-python/sdk --track2 --use=@autorest/python@5.8.4 --use=@autorest/modelerfour@4.19.2 --version=3.4.5",
"readme": "specification/datafactory/resource-manager/readme.md"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -455,6 +455,68 @@ async def get_status(
return deserialized
get_status.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/getStatus'} # type: ignore

async def list_outbound_network_dependencies_endpoints(
self,
resource_group_name: str,
factory_name: str,
integration_runtime_name: str,
**kwargs: Any
) -> "_models.IntegrationRuntimeOutboundNetworkDependenciesEndpointsResponse":
"""Gets the list of outbound network dependencies for a given Azure-SSIS integration runtime.
:param resource_group_name: The resource group name.
:type resource_group_name: str
:param factory_name: The factory name.
:type factory_name: str
:param integration_runtime_name: The integration runtime name.
:type integration_runtime_name: str
:keyword callable cls: A custom type or function that will be passed the direct response
:return: IntegrationRuntimeOutboundNetworkDependenciesEndpointsResponse, or the result of cls(response)
:rtype: ~azure.mgmt.datafactory.models.IntegrationRuntimeOutboundNetworkDependenciesEndpointsResponse
:raises: ~azure.core.exceptions.HttpResponseError
"""
cls = kwargs.pop('cls', None) # type: ClsType["_models.IntegrationRuntimeOutboundNetworkDependenciesEndpointsResponse"]
error_map = {
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
api_version = "2018-06-01"
accept = "application/json"

# Construct URL
url = self.list_outbound_network_dependencies_endpoints.metadata['url'] # type: ignore
path_format_arguments = {
'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'),
'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'),
'factoryName': self._serialize.url("factory_name", factory_name, 'str', max_length=63, min_length=3, pattern=r'^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$'),
'integrationRuntimeName': self._serialize.url("integration_runtime_name", integration_runtime_name, 'str', max_length=63, min_length=3, pattern=r'^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$'),
}
url = self._client.format_url(url, **path_format_arguments)

# Construct parameters
query_parameters = {} # type: Dict[str, Any]
query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str')

# Construct headers
header_parameters = {} # type: Dict[str, Any]
header_parameters['Accept'] = self._serialize.header("accept", accept, 'str')

request = self._client.get(url, query_parameters, header_parameters)
pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs)
response = pipeline_response.http_response

if response.status_code not in [200]:
map_error(status_code=response.status_code, response=response, error_map=error_map)
raise HttpResponseError(response=response, error_format=ARMErrorFormat)

deserialized = self._deserialize('IntegrationRuntimeOutboundNetworkDependenciesEndpointsResponse', pipeline_response)

if cls:
return cls(pipeline_response, deserialized, {})

return deserialized
list_outbound_network_dependencies_endpoints.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/outboundNetworkDependenciesEndpoints'} # type: ignore

async def get_connection_info(
self,
resource_group_name: str,
Expand Down
Loading

0 comments on commit 62f14c7

Please sign in to comment.