Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[AutoPR track2_azure-mgmt-datafactory] [DataFactory]Added privateEndpoint property Into PrivateLinkConnectionApprovalRequest #166

Closed
wants to merge 1 commit into from
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
4 changes: 2 additions & 2 deletions sdk/datafactory/azure-mgmt-datafactory/_meta.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
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.4.0"
VERSION = "1.0.0"
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -1314,6 +1315,7 @@
'PrestoLinkedService',
'PrestoObjectDataset',
'PrestoSource',
'PrivateEndpoint',
'PrivateEndpointConnectionListResponse',
'PrivateEndpointConnectionResource',
'PrivateLinkConnectionApprovalRequest',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down Expand Up @@ -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):
Expand Down