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

[ReleasePR azure-mgmt-synapse] Update allowed range for nodeCount #11781

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/synapse/azure-mgmt-synapse/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

This is the Microsoft Azure Synapse Management Client Library.
This package has been tested with Python 2.7, 3.5, 3.6, 3.7 and 3.8.
For a more complete view of Azure libraries, see the [Github repo](https://github.com/Azure/azure-sdk-for-python/sdk)
For a more complete view of Azure libraries, see the [Github repo](https://github.com/Azure/azure-sdk-for-python/)


# Usage
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@
from .operations import IntegrationRuntimeStatusOperations
from .operations import PrivateLinkResourcesOperations
from .operations import PrivateEndpointConnectionsOperations
from .operations import PrivateLinkHubsOperations
from . import models


Expand Down Expand Up @@ -133,6 +134,8 @@ class SynapseManagementClient(SDKClient):
:vartype private_link_resources: azure.mgmt.synapse.operations.PrivateLinkResourcesOperations
:ivar private_endpoint_connections: PrivateEndpointConnections operations
:vartype private_endpoint_connections: azure.mgmt.synapse.operations.PrivateEndpointConnectionsOperations
:ivar private_link_hubs: PrivateLinkHubs operations
:vartype private_link_hubs: azure.mgmt.synapse.operations.PrivateLinkHubsOperations

:param credentials: Credentials needed for the client to connect to Azure.
:type credentials: :mod:`A msrestazure Credentials
Expand Down Expand Up @@ -227,3 +230,5 @@ def __init__(
self._client, self.config, self._serialize, self._deserialize)
self.private_endpoint_connections = PrivateEndpointConnectionsOperations(
self._client, self.config, self._serialize, self._deserialize)
self.private_link_hubs = PrivateLinkHubsOperations(
self._client, self.config, self._serialize, self._deserialize)
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,8 @@
from ._models_py3 import OperationResource
from ._models_py3 import PrivateEndpoint
from ._models_py3 import PrivateEndpointConnection
from ._models_py3 import PrivateLinkHub
from ._models_py3 import PrivateLinkHubPatchInfo
from ._models_py3 import PrivateLinkResource
from ._models_py3 import PrivateLinkResourceProperties
from ._models_py3 import PrivateLinkServiceConnectionState
Expand Down Expand Up @@ -195,6 +197,8 @@
from ._models import OperationResource
from ._models import PrivateEndpoint
from ._models import PrivateEndpointConnection
from ._models import PrivateLinkHub
from ._models import PrivateLinkHubPatchInfo
from ._models import PrivateLinkResource
from ._models import PrivateLinkResourceProperties
from ._models import PrivateLinkServiceConnectionState
Expand Down Expand Up @@ -257,6 +261,7 @@
from ._paged_models import IntegrationRuntimeResourcePaged
from ._paged_models import IpFirewallRuleInfoPaged
from ._paged_models import PrivateEndpointConnectionPaged
from ._paged_models import PrivateLinkHubPaged
from ._paged_models import PrivateLinkResourcePaged
from ._paged_models import ReplicationLinkPaged
from ._paged_models import RestorePointPaged
Expand Down Expand Up @@ -372,6 +377,8 @@
'OperationResource',
'PrivateEndpoint',
'PrivateEndpointConnection',
'PrivateLinkHub',
'PrivateLinkHubPatchInfo',
'PrivateLinkResource',
'PrivateLinkResourceProperties',
'PrivateLinkServiceConnectionState',
Expand Down Expand Up @@ -447,6 +454,7 @@
'IntegrationRuntimeResourcePaged',
'PrivateLinkResourcePaged',
'PrivateEndpointConnectionPaged',
'PrivateLinkHubPaged',
'NodeSize',
'NodeSizeFamily',
'ProvisioningState',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,6 @@ class BigDataPoolResourceInfo(TrackedResource):
'name': {'readonly': True},
'type': {'readonly': True},
'location': {'required': True},
'node_count': {'maximum': 200, 'minimum': 3},
}

_attribute_map = {
Expand Down Expand Up @@ -2469,6 +2468,69 @@ def __init__(self, **kwargs):
self.provisioning_state = None


class PrivateLinkHub(TrackedResource):
"""A privateLinkHub.

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. Ex-
Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
:vartype type: str
:param tags: Resource tags.
:type tags: dict[str, str]
:param location: Required. The geo-location where the resource lives
:type location: str
:ivar provisioning_state: PrivateLinkHub provisioning state. Possible
values include: 'Succeeded', 'Failed'
:vartype provisioning_state: str or ~azure.mgmt.synapse.models.enum
"""

_validation = {
'id': {'readonly': True},
'name': {'readonly': True},
'type': {'readonly': True},
'location': {'required': True},
'provisioning_state': {'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'},
}

def __init__(self, **kwargs):
super(PrivateLinkHub, self).__init__(**kwargs)
self.provisioning_state = None


class PrivateLinkHubPatchInfo(Model):
"""PrivateLinkHub patch details.

:param tags: Resource tags
:type tags: dict[str, str]
"""

_attribute_map = {
'tags': {'key': 'tags', 'type': '{str}'},
}

def __init__(self, **kwargs):
super(PrivateLinkHubPatchInfo, self).__init__(**kwargs)
self.tags = kwargs.get('tags', None)


class PrivateLinkResource(ProxyResource):
"""A private link resource.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,6 @@ class BigDataPoolResourceInfo(TrackedResource):
'name': {'readonly': True},
'type': {'readonly': True},
'location': {'required': True},
'node_count': {'maximum': 200, 'minimum': 3},
}

_attribute_map = {
Expand Down Expand Up @@ -2469,6 +2468,69 @@ def __init__(self, *, private_endpoint=None, private_link_service_connection_sta
self.provisioning_state = None


class PrivateLinkHub(TrackedResource):
"""A privateLinkHub.

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. Ex-
Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
:vartype type: str
:param tags: Resource tags.
:type tags: dict[str, str]
:param location: Required. The geo-location where the resource lives
:type location: str
:ivar provisioning_state: PrivateLinkHub provisioning state. Possible
values include: 'Succeeded', 'Failed'
:vartype provisioning_state: str or ~azure.mgmt.synapse.models.enum
"""

_validation = {
'id': {'readonly': True},
'name': {'readonly': True},
'type': {'readonly': True},
'location': {'required': True},
'provisioning_state': {'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'},
}

def __init__(self, *, location: str, tags=None, **kwargs) -> None:
super(PrivateLinkHub, self).__init__(tags=tags, location=location, **kwargs)
self.provisioning_state = None


class PrivateLinkHubPatchInfo(Model):
"""PrivateLinkHub patch details.

:param tags: Resource tags
:type tags: dict[str, str]
"""

_attribute_map = {
'tags': {'key': 'tags', 'type': '{str}'},
}

def __init__(self, *, tags=None, **kwargs) -> None:
super(PrivateLinkHubPatchInfo, self).__init__(**kwargs)
self.tags = tags


class PrivateLinkResource(ProxyResource):
"""A private link resource.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -233,3 +233,16 @@ class PrivateEndpointConnectionPaged(Paged):
def __init__(self, *args, **kwargs):

super(PrivateEndpointConnectionPaged, self).__init__(*args, **kwargs)
class PrivateLinkHubPaged(Paged):
"""
A paging container for iterating over a list of :class:`PrivateLinkHub <azure.mgmt.synapse.models.PrivateLinkHub>` object
"""

_attribute_map = {
'next_link': {'key': 'nextLink', 'type': 'str'},
'current_page': {'key': 'value', 'type': '[PrivateLinkHub]'}
}

def __init__(self, *args, **kwargs):

super(PrivateLinkHubPaged, self).__init__(*args, **kwargs)
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@
from ._integration_runtime_status_operations import IntegrationRuntimeStatusOperations
from ._private_link_resources_operations import PrivateLinkResourcesOperations
from ._private_endpoint_connections_operations import PrivateEndpointConnectionsOperations
from ._private_link_hubs_operations import PrivateLinkHubsOperations

__all__ = [
'BigDataPoolsOperations',
Expand Down Expand Up @@ -85,4 +86,5 @@
'IntegrationRuntimeStatusOperations',
'PrivateLinkResourcesOperations',
'PrivateEndpointConnectionsOperations',
'PrivateLinkHubsOperations',
]
Loading