diff --git a/sdk/datafactory/azure-mgmt-datafactory/_meta.json b/sdk/datafactory/azure-mgmt-datafactory/_meta.json index c3b35e851fab..e6376ef052c5 100644 --- a/sdk/datafactory/azure-mgmt-datafactory/_meta.json +++ b/sdk/datafactory/azure-mgmt-datafactory/_meta.json @@ -4,8 +4,8 @@ "@autorest/python@5.13.0", "@autorest/modelerfour@4.19.3" ], - "commit": "256b8ec7d045dbe2daf91030b0d6b7f09c8e42d9", + "commit": "0e66a511fe951cf62994f6736caef8069efdc3e9", "repository_url": "https://github.com/Azure/azure-rest-api-specs", - "autorest_command": "autorest specification/datafactory/resource-manager/readme.md --multiapi --python --python-sdks-folder=/home/vsts/work/1/azure-sdk-for-python/sdk --python3-only --use=@autorest/python@5.13.0 --use=@autorest/modelerfour@4.19.3 --version=3.7.2", + "autorest_command": "autorest specification/datafactory/resource-manager/readme.md --multiapi --python --python-sdks-folder=/mnt/vss/_work/1/s/azure-sdk-for-python/sdk --python3-only --use=@autorest/python@5.13.0 --use=@autorest/modelerfour@4.19.3 --version=3.7.2", "readme": "specification/datafactory/resource-manager/readme.md" } \ No newline at end of file diff --git a/sdk/datafactory/azure-mgmt-datafactory/azure/mgmt/datafactory/_version.py b/sdk/datafactory/azure-mgmt-datafactory/azure/mgmt/datafactory/_version.py index 1d9186e2318f..c47f66669f1b 100644 --- a/sdk/datafactory/azure-mgmt-datafactory/azure/mgmt/datafactory/_version.py +++ b/sdk/datafactory/azure-mgmt-datafactory/azure/mgmt/datafactory/_version.py @@ -6,4 +6,4 @@ # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- -VERSION = "2.4.0" +VERSION = "1.0.0" diff --git a/sdk/datafactory/azure-mgmt-datafactory/azure/mgmt/datafactory/models/__init__.py b/sdk/datafactory/azure-mgmt-datafactory/azure/mgmt/datafactory/models/__init__.py index 2ed5dafb742a..db14d1b698bd 100644 --- a/sdk/datafactory/azure-mgmt-datafactory/azure/mgmt/datafactory/models/__init__.py +++ b/sdk/datafactory/azure-mgmt-datafactory/azure/mgmt/datafactory/models/__init__.py @@ -500,6 +500,7 @@ from ._models_py3 import PrestoLinkedService from ._models_py3 import PrestoObjectDataset from ._models_py3 import PrestoSource +from ._models_py3 import PrivateEndpoint from ._models_py3 import PrivateEndpointConnectionListResponse from ._models_py3 import PrivateEndpointConnectionResource from ._models_py3 import PrivateLinkConnectionApprovalRequest @@ -1314,6 +1315,7 @@ 'PrestoLinkedService', 'PrestoObjectDataset', 'PrestoSource', + 'PrivateEndpoint', 'PrivateEndpointConnectionListResponse', 'PrivateEndpointConnectionResource', 'PrivateLinkConnectionApprovalRequest', diff --git a/sdk/datafactory/azure-mgmt-datafactory/azure/mgmt/datafactory/models/_models_py3.py b/sdk/datafactory/azure-mgmt-datafactory/azure/mgmt/datafactory/models/_models_py3.py index 1f3267a1c40f..d34b7fc5a147 100644 --- a/sdk/datafactory/azure-mgmt-datafactory/azure/mgmt/datafactory/models/_models_py3.py +++ b/sdk/datafactory/azure-mgmt-datafactory/azure/mgmt/datafactory/models/_models_py3.py @@ -42990,6 +42990,31 @@ def __init__( self.query = query +class PrivateEndpoint(msrest.serialization.Model): + """Private endpoint which a connection belongs to. + + :ivar id: The resource Id for private endpoint. + :vartype id: str + """ + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + } + + def __init__( + self, + *, + id: Optional[str] = None, + **kwargs + ): + """ + :keyword id: The resource Id for private endpoint. + :paramtype id: str + """ + super(PrivateEndpoint, self).__init__(**kwargs) + self.id = id + + class PrivateEndpointConnectionListResponse(msrest.serialization.Model): """A list of linked service resources. @@ -43080,25 +43105,32 @@ class PrivateLinkConnectionApprovalRequest(msrest.serialization.Model): :ivar private_link_service_connection_state: The state of a private link connection. :vartype private_link_service_connection_state: ~azure.mgmt.datafactory.models.PrivateLinkConnectionState + :ivar private_endpoint: The resource of private endpoint. + :vartype private_endpoint: ~azure.mgmt.datafactory.models.PrivateEndpoint """ _attribute_map = { 'private_link_service_connection_state': {'key': 'privateLinkServiceConnectionState', 'type': 'PrivateLinkConnectionState'}, + 'private_endpoint': {'key': 'privateEndpoint', 'type': 'PrivateEndpoint'}, } def __init__( self, *, private_link_service_connection_state: Optional["PrivateLinkConnectionState"] = None, + private_endpoint: Optional["PrivateEndpoint"] = None, **kwargs ): """ :keyword private_link_service_connection_state: The state of a private link connection. :paramtype private_link_service_connection_state: ~azure.mgmt.datafactory.models.PrivateLinkConnectionState + :keyword private_endpoint: The resource of private endpoint. + :paramtype private_endpoint: ~azure.mgmt.datafactory.models.PrivateEndpoint """ super(PrivateLinkConnectionApprovalRequest, self).__init__(**kwargs) self.private_link_service_connection_state = private_link_service_connection_state + self.private_endpoint = private_endpoint class PrivateLinkConnectionApprovalRequestResource(SubResource):