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/synapse/azure-mgmt-synapse/_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": "f8aa8bcbac3d389a1ed5b9c77f1bcb6cc2074a7d",
"commit": "e2862df5f2aaef464ed8ad1a902203be14607ba8",
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
"autorest_command": "autorest specification/synapse/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/synapse/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.1.0b2"
VERSION = "1.0.0b1"
Original file line number Diff line number Diff line change
Expand Up @@ -2257,6 +2257,9 @@ class EventHubDataConnection(DataConnection):
:ivar provisioning_state: The provisioned state of the resource. Possible values include:
"Running", "Creating", "Deleting", "Succeeded", "Failed", "Moving", "Canceled".
:vartype provisioning_state: str or ~azure.mgmt.synapse.models.ResourceProvisioningState
:param managed_identity_resource_id: The resource ID of a managed identity (system or user
assigned) to be used to authenticate with event hub.
:type managed_identity_resource_id: str
"""

_validation = {
Expand All @@ -2283,6 +2286,7 @@ class EventHubDataConnection(DataConnection):
'event_system_properties': {'key': 'properties.eventSystemProperties', 'type': '[str]'},
'compression': {'key': 'properties.compression', 'type': 'str'},
'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'},
'managed_identity_resource_id': {'key': 'properties.managedIdentityResourceId', 'type': 'str'},
}

def __init__(
Expand All @@ -2299,6 +2303,7 @@ def __init__(
self.event_system_properties = kwargs.get('event_system_properties', None)
self.compression = kwargs.get('compression', None)
self.provisioning_state = None
self.managed_identity_resource_id = kwargs.get('managed_identity_resource_id', None)


class ExtendedServerBlobAuditingPolicy(ProxyResource):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2445,6 +2445,9 @@ class EventHubDataConnection(DataConnection):
:ivar provisioning_state: The provisioned state of the resource. Possible values include:
"Running", "Creating", "Deleting", "Succeeded", "Failed", "Moving", "Canceled".
:vartype provisioning_state: str or ~azure.mgmt.synapse.models.ResourceProvisioningState
:param managed_identity_resource_id: The resource ID of a managed identity (system or user
assigned) to be used to authenticate with event hub.
:type managed_identity_resource_id: str
"""

_validation = {
Expand All @@ -2471,6 +2474,7 @@ class EventHubDataConnection(DataConnection):
'event_system_properties': {'key': 'properties.eventSystemProperties', 'type': '[str]'},
'compression': {'key': 'properties.compression', 'type': 'str'},
'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'},
'managed_identity_resource_id': {'key': 'properties.managedIdentityResourceId', 'type': 'str'},
}

def __init__(
Expand All @@ -2484,6 +2488,7 @@ def __init__(
data_format: Optional[Union[str, "EventHubDataFormat"]] = None,
event_system_properties: Optional[List[str]] = None,
compression: Optional[Union[str, "Compression"]] = None,
managed_identity_resource_id: Optional[str] = None,
**kwargs
):
super(EventHubDataConnection, self).__init__(location=location, **kwargs)
Expand All @@ -2496,6 +2501,7 @@ def __init__(
self.event_system_properties = event_system_properties
self.compression = compression
self.provisioning_state = None
self.managed_identity_resource_id = managed_identity_resource_id


class ExtendedServerBlobAuditingPolicy(ProxyResource):
Expand Down