Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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/[email protected]",
"@autorest/[email protected]"
],
"commit": "406474c3807f2dec010af72286f22aa7a9a54920",
"commit": "fe43386537a5bc3bdbbd47793e06073705b83602",
"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/[email protected] --use=@autorest/[email protected] --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 @@ -6,4 +6,4 @@
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------

VERSION = "2.0.0"
VERSION = "1.0.0"
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
Original file line number Diff line number Diff line change
Expand Up @@ -340,6 +340,10 @@
from ._models_py3 import IntegrationRuntimeMonitoringData
from ._models_py3 import IntegrationRuntimeNodeIpAddress
from ._models_py3 import IntegrationRuntimeNodeMonitoringData
from ._models_py3 import IntegrationRuntimeOutboundNetworkDependenciesCategoryEndpoint
from ._models_py3 import IntegrationRuntimeOutboundNetworkDependenciesEndpoint
from ._models_py3 import IntegrationRuntimeOutboundNetworkDependenciesEndpointDetails
from ._models_py3 import IntegrationRuntimeOutboundNetworkDependenciesEndpointsResponse
from ._models_py3 import IntegrationRuntimeReference
from ._models_py3 import IntegrationRuntimeRegenerateKeyParameters
from ._models_py3 import IntegrationRuntimeResource
Expand Down Expand Up @@ -591,6 +595,7 @@
from ._models_py3 import SqlAlwaysEncryptedProperties
from ._models_py3 import SqlDWSink
from ._models_py3 import SqlDWSource
from ._models_py3 import SqlDWUpsertSettings
from ._models_py3 import SqlMISink
from ._models_py3 import SqlMISource
from ._models_py3 import SqlPartitionSettings
Expand All @@ -601,6 +606,7 @@
from ._models_py3 import SqlServerTableDataset
from ._models_py3 import SqlSink
from ._models_py3 import SqlSource
from ._models_py3 import SqlUpsertSettings
from ._models_py3 import SquareLinkedService
from ._models_py3 import SquareObjectDataset
from ._models_py3 import SquareSource
Expand Down Expand Up @@ -1014,6 +1020,10 @@
from ._models import IntegrationRuntimeMonitoringData # type: ignore
from ._models import IntegrationRuntimeNodeIpAddress # type: ignore
from ._models import IntegrationRuntimeNodeMonitoringData # type: ignore
from ._models import IntegrationRuntimeOutboundNetworkDependenciesCategoryEndpoint # type: ignore
from ._models import IntegrationRuntimeOutboundNetworkDependenciesEndpoint # type: ignore
from ._models import IntegrationRuntimeOutboundNetworkDependenciesEndpointDetails # type: ignore
from ._models import IntegrationRuntimeOutboundNetworkDependenciesEndpointsResponse # type: ignore
from ._models import IntegrationRuntimeReference # type: ignore
from ._models import IntegrationRuntimeRegenerateKeyParameters # type: ignore
from ._models import IntegrationRuntimeResource # type: ignore
Expand Down Expand Up @@ -1265,6 +1275,7 @@
from ._models import SqlAlwaysEncryptedProperties # type: ignore
from ._models import SqlDWSink # type: ignore
from ._models import SqlDWSource # type: ignore
from ._models import SqlDWUpsertSettings # type: ignore
from ._models import SqlMISink # type: ignore
from ._models import SqlMISource # type: ignore
from ._models import SqlPartitionSettings # type: ignore
Expand All @@ -1275,6 +1286,7 @@
from ._models import SqlServerTableDataset # type: ignore
from ._models import SqlSink # type: ignore
from ._models import SqlSource # type: ignore
from ._models import SqlUpsertSettings # type: ignore
from ._models import SquareLinkedService # type: ignore
from ._models import SquareObjectDataset # type: ignore
from ._models import SquareSource # type: ignore
Expand Down Expand Up @@ -1433,7 +1445,9 @@
SparkServerType,
SparkThriftTransportProtocol,
SqlAlwaysEncryptedAkvAuthType,
SqlDWWriteBehaviorEnum,
SqlPartitionOption,
SqlWriteBehaviorEnum,
SsisLogLocationType,
SsisObjectMetadataType,
SsisPackageLocationType,
Expand Down Expand Up @@ -1784,6 +1798,10 @@
'IntegrationRuntimeMonitoringData',
'IntegrationRuntimeNodeIpAddress',
'IntegrationRuntimeNodeMonitoringData',
'IntegrationRuntimeOutboundNetworkDependenciesCategoryEndpoint',
'IntegrationRuntimeOutboundNetworkDependenciesEndpoint',
'IntegrationRuntimeOutboundNetworkDependenciesEndpointDetails',
'IntegrationRuntimeOutboundNetworkDependenciesEndpointsResponse',
'IntegrationRuntimeReference',
'IntegrationRuntimeRegenerateKeyParameters',
'IntegrationRuntimeResource',
Expand Down Expand Up @@ -2035,6 +2053,7 @@
'SqlAlwaysEncryptedProperties',
'SqlDWSink',
'SqlDWSource',
'SqlDWUpsertSettings',
'SqlMISink',
'SqlMISource',
'SqlPartitionSettings',
Expand All @@ -2045,6 +2064,7 @@
'SqlServerTableDataset',
'SqlSink',
'SqlSource',
'SqlUpsertSettings',
'SquareLinkedService',
'SquareObjectDataset',
'SquareSource',
Expand Down Expand Up @@ -2201,7 +2221,9 @@
'SparkServerType',
'SparkThriftTransportProtocol',
'SqlAlwaysEncryptedAkvAuthType',
'SqlDWWriteBehaviorEnum',
'SqlPartitionOption',
'SqlWriteBehaviorEnum',
'SsisLogLocationType',
'SsisObjectMetadataType',
'SsisPackageLocationType',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -697,6 +697,13 @@ class SqlAlwaysEncryptedAkvAuthType(with_metaclass(_CaseInsensitiveEnumMeta, str
SERVICE_PRINCIPAL = "ServicePrincipal"
MANAGED_IDENTITY = "ManagedIdentity"

class SqlDWWriteBehaviorEnum(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
"""Specify the write behavior when copying data into sql dw.
"""

INSERT = "Insert"
UPSERT = "Upsert"

class SqlPartitionOption(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
"""The partition mechanism that will be used for Sql read in parallel.
"""
Expand All @@ -705,6 +712,14 @@ class SqlPartitionOption(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
PHYSICAL_PARTITIONS_OF_TABLE = "PhysicalPartitionsOfTable"
DYNAMIC_RANGE = "DynamicRange"

class SqlWriteBehaviorEnum(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
"""Specify the write behavior when copying data into sql.
"""

INSERT = "Insert"
UPSERT = "Upsert"
STORED_PROCEDURE = "StoredProcedure"

class SsisLogLocationType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
"""The type of SSIS log location.
"""
Expand Down
Loading