Skip to content

Commit 19bc45f

Browse files
AbyssknightShixun GuanAutorestCI
authored
release for mgmt synapse (Azure#12115)
* release for mgmt synapse Co-authored-by: Shixun Guan <[email protected]> Co-authored-by: Azure SDK Bot <[email protected]>
1 parent fa2af62 commit 19bc45f

File tree

11 files changed

+599
-5
lines changed

11 files changed

+599
-5
lines changed

sdk/synapse/azure-mgmt-synapse/CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# Release History
22

3+
## 0.3.0 (2020-06-17)
4+
5+
**Features**
6+
7+
- Added operation group PrivateLinkHubsOperations
8+
39
## 0.2.0 (2020-04-09)
410

511
**Features**

sdk/synapse/azure-mgmt-synapse/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

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

77

88
# Usage

sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/_synapse_management_client.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@
5050
from .operations import IntegrationRuntimeStatusOperations
5151
from .operations import PrivateLinkResourcesOperations
5252
from .operations import PrivateEndpointConnectionsOperations
53+
from .operations import PrivateLinkHubsOperations
5354
from . import models
5455

5556

@@ -133,6 +134,8 @@ class SynapseManagementClient(SDKClient):
133134
:vartype private_link_resources: azure.mgmt.synapse.operations.PrivateLinkResourcesOperations
134135
:ivar private_endpoint_connections: PrivateEndpointConnections operations
135136
:vartype private_endpoint_connections: azure.mgmt.synapse.operations.PrivateEndpointConnectionsOperations
137+
:ivar private_link_hubs: PrivateLinkHubs operations
138+
:vartype private_link_hubs: azure.mgmt.synapse.operations.PrivateLinkHubsOperations
136139
137140
:param credentials: Credentials needed for the client to connect to Azure.
138141
:type credentials: :mod:`A msrestazure Credentials
@@ -227,3 +230,5 @@ def __init__(
227230
self._client, self.config, self._serialize, self._deserialize)
228231
self.private_endpoint_connections = PrivateEndpointConnectionsOperations(
229232
self._client, self.config, self._serialize, self._deserialize)
233+
self.private_link_hubs = PrivateLinkHubsOperations(
234+
self._client, self.config, self._serialize, self._deserialize)

sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/models/__init__.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,8 @@
7373
from ._models_py3 import OperationResource
7474
from ._models_py3 import PrivateEndpoint
7575
from ._models_py3 import PrivateEndpointConnection
76+
from ._models_py3 import PrivateLinkHub
77+
from ._models_py3 import PrivateLinkHubPatchInfo
7678
from ._models_py3 import PrivateLinkResource
7779
from ._models_py3 import PrivateLinkResourceProperties
7880
from ._models_py3 import PrivateLinkServiceConnectionState
@@ -195,6 +197,8 @@
195197
from ._models import OperationResource
196198
from ._models import PrivateEndpoint
197199
from ._models import PrivateEndpointConnection
200+
from ._models import PrivateLinkHub
201+
from ._models import PrivateLinkHubPatchInfo
198202
from ._models import PrivateLinkResource
199203
from ._models import PrivateLinkResourceProperties
200204
from ._models import PrivateLinkServiceConnectionState
@@ -257,6 +261,7 @@
257261
from ._paged_models import IntegrationRuntimeResourcePaged
258262
from ._paged_models import IpFirewallRuleInfoPaged
259263
from ._paged_models import PrivateEndpointConnectionPaged
264+
from ._paged_models import PrivateLinkHubPaged
260265
from ._paged_models import PrivateLinkResourcePaged
261266
from ._paged_models import ReplicationLinkPaged
262267
from ._paged_models import RestorePointPaged
@@ -372,6 +377,8 @@
372377
'OperationResource',
373378
'PrivateEndpoint',
374379
'PrivateEndpointConnection',
380+
'PrivateLinkHub',
381+
'PrivateLinkHubPatchInfo',
375382
'PrivateLinkResource',
376383
'PrivateLinkResourceProperties',
377384
'PrivateLinkServiceConnectionState',
@@ -447,6 +454,7 @@
447454
'IntegrationRuntimeResourcePaged',
448455
'PrivateLinkResourcePaged',
449456
'PrivateEndpointConnectionPaged',
457+
'PrivateLinkHubPaged',
450458
'NodeSize',
451459
'NodeSizeFamily',
452460
'ProvisioningState',

sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/models/_models.py

Lines changed: 63 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,6 @@ class BigDataPoolResourceInfo(TrackedResource):
314314
'name': {'readonly': True},
315315
'type': {'readonly': True},
316316
'location': {'required': True},
317-
'node_count': {'maximum': 200, 'minimum': 3},
318317
}
319318

320319
_attribute_map = {
@@ -2469,6 +2468,69 @@ def __init__(self, **kwargs):
24692468
self.provisioning_state = None
24702469

24712470

2471+
class PrivateLinkHub(TrackedResource):
2472+
"""A privateLinkHub.
2473+
2474+
Variables are only populated by the server, and will be ignored when
2475+
sending a request.
2476+
2477+
All required parameters must be populated in order to send to Azure.
2478+
2479+
:ivar id: Fully qualified resource Id for the resource. Ex -
2480+
/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
2481+
:vartype id: str
2482+
:ivar name: The name of the resource
2483+
:vartype name: str
2484+
:ivar type: The type of the resource. Ex-
2485+
Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
2486+
:vartype type: str
2487+
:param tags: Resource tags.
2488+
:type tags: dict[str, str]
2489+
:param location: Required. The geo-location where the resource lives
2490+
:type location: str
2491+
:ivar provisioning_state: PrivateLinkHub provisioning state. Possible
2492+
values include: 'Succeeded', 'Failed'
2493+
:vartype provisioning_state: str or ~azure.mgmt.synapse.models.enum
2494+
"""
2495+
2496+
_validation = {
2497+
'id': {'readonly': True},
2498+
'name': {'readonly': True},
2499+
'type': {'readonly': True},
2500+
'location': {'required': True},
2501+
'provisioning_state': {'readonly': True},
2502+
}
2503+
2504+
_attribute_map = {
2505+
'id': {'key': 'id', 'type': 'str'},
2506+
'name': {'key': 'name', 'type': 'str'},
2507+
'type': {'key': 'type', 'type': 'str'},
2508+
'tags': {'key': 'tags', 'type': '{str}'},
2509+
'location': {'key': 'location', 'type': 'str'},
2510+
'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'},
2511+
}
2512+
2513+
def __init__(self, **kwargs):
2514+
super(PrivateLinkHub, self).__init__(**kwargs)
2515+
self.provisioning_state = None
2516+
2517+
2518+
class PrivateLinkHubPatchInfo(Model):
2519+
"""PrivateLinkHub patch details.
2520+
2521+
:param tags: Resource tags
2522+
:type tags: dict[str, str]
2523+
"""
2524+
2525+
_attribute_map = {
2526+
'tags': {'key': 'tags', 'type': '{str}'},
2527+
}
2528+
2529+
def __init__(self, **kwargs):
2530+
super(PrivateLinkHubPatchInfo, self).__init__(**kwargs)
2531+
self.tags = kwargs.get('tags', None)
2532+
2533+
24722534
class PrivateLinkResource(ProxyResource):
24732535
"""A private link resource.
24742536

sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/models/_models_py3.py

Lines changed: 63 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,6 @@ class BigDataPoolResourceInfo(TrackedResource):
314314
'name': {'readonly': True},
315315
'type': {'readonly': True},
316316
'location': {'required': True},
317-
'node_count': {'maximum': 200, 'minimum': 3},
318317
}
319318

320319
_attribute_map = {
@@ -2469,6 +2468,69 @@ def __init__(self, *, private_endpoint=None, private_link_service_connection_sta
24692468
self.provisioning_state = None
24702469

24712470

2471+
class PrivateLinkHub(TrackedResource):
2472+
"""A privateLinkHub.
2473+
2474+
Variables are only populated by the server, and will be ignored when
2475+
sending a request.
2476+
2477+
All required parameters must be populated in order to send to Azure.
2478+
2479+
:ivar id: Fully qualified resource Id for the resource. Ex -
2480+
/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
2481+
:vartype id: str
2482+
:ivar name: The name of the resource
2483+
:vartype name: str
2484+
:ivar type: The type of the resource. Ex-
2485+
Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
2486+
:vartype type: str
2487+
:param tags: Resource tags.
2488+
:type tags: dict[str, str]
2489+
:param location: Required. The geo-location where the resource lives
2490+
:type location: str
2491+
:ivar provisioning_state: PrivateLinkHub provisioning state. Possible
2492+
values include: 'Succeeded', 'Failed'
2493+
:vartype provisioning_state: str or ~azure.mgmt.synapse.models.enum
2494+
"""
2495+
2496+
_validation = {
2497+
'id': {'readonly': True},
2498+
'name': {'readonly': True},
2499+
'type': {'readonly': True},
2500+
'location': {'required': True},
2501+
'provisioning_state': {'readonly': True},
2502+
}
2503+
2504+
_attribute_map = {
2505+
'id': {'key': 'id', 'type': 'str'},
2506+
'name': {'key': 'name', 'type': 'str'},
2507+
'type': {'key': 'type', 'type': 'str'},
2508+
'tags': {'key': 'tags', 'type': '{str}'},
2509+
'location': {'key': 'location', 'type': 'str'},
2510+
'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'},
2511+
}
2512+
2513+
def __init__(self, *, location: str, tags=None, **kwargs) -> None:
2514+
super(PrivateLinkHub, self).__init__(tags=tags, location=location, **kwargs)
2515+
self.provisioning_state = None
2516+
2517+
2518+
class PrivateLinkHubPatchInfo(Model):
2519+
"""PrivateLinkHub patch details.
2520+
2521+
:param tags: Resource tags
2522+
:type tags: dict[str, str]
2523+
"""
2524+
2525+
_attribute_map = {
2526+
'tags': {'key': 'tags', 'type': '{str}'},
2527+
}
2528+
2529+
def __init__(self, *, tags=None, **kwargs) -> None:
2530+
super(PrivateLinkHubPatchInfo, self).__init__(**kwargs)
2531+
self.tags = tags
2532+
2533+
24722534
class PrivateLinkResource(ProxyResource):
24732535
"""A private link resource.
24742536

sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/models/_paged_models.py

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -233,3 +233,16 @@ class PrivateEndpointConnectionPaged(Paged):
233233
def __init__(self, *args, **kwargs):
234234

235235
super(PrivateEndpointConnectionPaged, self).__init__(*args, **kwargs)
236+
class PrivateLinkHubPaged(Paged):
237+
"""
238+
A paging container for iterating over a list of :class:`PrivateLinkHub <azure.mgmt.synapse.models.PrivateLinkHub>` object
239+
"""
240+
241+
_attribute_map = {
242+
'next_link': {'key': 'nextLink', 'type': 'str'},
243+
'current_page': {'key': 'value', 'type': '[PrivateLinkHub]'}
244+
}
245+
246+
def __init__(self, *args, **kwargs):
247+
248+
super(PrivateLinkHubPaged, self).__init__(*args, **kwargs)

sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@
4646
from ._integration_runtime_status_operations import IntegrationRuntimeStatusOperations
4747
from ._private_link_resources_operations import PrivateLinkResourcesOperations
4848
from ._private_endpoint_connections_operations import PrivateEndpointConnectionsOperations
49+
from ._private_link_hubs_operations import PrivateLinkHubsOperations
4950

5051
__all__ = [
5152
'BigDataPoolsOperations',
@@ -85,4 +86,5 @@
8586
'IntegrationRuntimeStatusOperations',
8687
'PrivateLinkResourcesOperations',
8788
'PrivateEndpointConnectionsOperations',
89+
'PrivateLinkHubsOperations',
8890
]

0 commit comments

Comments
 (0)