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
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@
from ._models_py3 import ManagedIntegrationRuntimeNode
from ._models_py3 import ManagedIntegrationRuntimeOperationResult
from ._models_py3 import ManagedIntegrationRuntimeStatus
from ._models_py3 import ManagedVirtualNetworkSettings
from ._models_py3 import MetadataSyncConfig
from ._models_py3 import OperationMetaLogSpecification
from ._models_py3 import OperationMetaMetricDimensionSpecification
Expand Down Expand Up @@ -133,6 +134,7 @@
from ._models_py3 import Workspace
from ._models_py3 import WorkspaceAadAdminInfo
from ._models_py3 import WorkspacePatchInfo
from ._models_py3 import WorkspacePatchInfoManagedVirtualNetworkSettings
except (SyntaxError, ImportError):
from ._models import AutoPauseProperties
from ._models import AutoScaleProperties
Expand Down Expand Up @@ -189,6 +191,7 @@
from ._models import ManagedIntegrationRuntimeNode
from ._models import ManagedIntegrationRuntimeOperationResult
from ._models import ManagedIntegrationRuntimeStatus
from ._models import ManagedVirtualNetworkSettings
from ._models import MetadataSyncConfig
from ._models import OperationMetaLogSpecification
from ._models import OperationMetaMetricDimensionSpecification
Expand Down Expand Up @@ -257,6 +260,7 @@
from ._models import Workspace
from ._models import WorkspaceAadAdminInfo
from ._models import WorkspacePatchInfo
from ._models import WorkspacePatchInfoManagedVirtualNetworkSettings
from ._paged_models import BigDataPoolResourceInfoPaged
from ._paged_models import IntegrationRuntimeResourcePaged
from ._paged_models import IpFirewallRuleInfoPaged
Expand Down Expand Up @@ -369,6 +373,7 @@
'ManagedIntegrationRuntimeNode',
'ManagedIntegrationRuntimeOperationResult',
'ManagedIntegrationRuntimeStatus',
'ManagedVirtualNetworkSettings',
'MetadataSyncConfig',
'OperationMetaLogSpecification',
'OperationMetaMetricDimensionSpecification',
Expand Down Expand Up @@ -437,6 +442,7 @@
'Workspace',
'WorkspaceAadAdminInfo',
'WorkspacePatchInfo',
'WorkspacePatchInfoManagedVirtualNetworkSettings',
'BigDataPoolResourceInfoPaged',
'IpFirewallRuleInfoPaged',
'SqlPoolPaged',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2189,6 +2189,32 @@ def __init__(self, **kwargs):
self.type = 'Managed'


class ManagedVirtualNetworkSettings(Model):
"""Managed Virtual Network Settings.

:param prevent_data_exfiltration: Prevent Data Exfiltration
:type prevent_data_exfiltration: bool
:param linked_access_check_on_target_resource: Linked Access Check On
Target Resource
:type linked_access_check_on_target_resource: bool
:param allowed_aad_tenant_ids_for_linking: Allowed Aad Tenant Ids For
Linking
:type allowed_aad_tenant_ids_for_linking: list[str]
"""

_attribute_map = {
'prevent_data_exfiltration': {'key': 'preventDataExfiltration', 'type': 'bool'},
'linked_access_check_on_target_resource': {'key': 'linkedAccessCheckOnTargetResource', 'type': 'bool'},
'allowed_aad_tenant_ids_for_linking': {'key': 'allowedAadTenantIdsForLinking', 'type': '[str]'},
}

def __init__(self, **kwargs):
super(ManagedVirtualNetworkSettings, self).__init__(**kwargs)
self.prevent_data_exfiltration = kwargs.get('prevent_data_exfiltration', None)
self.linked_access_check_on_target_resource = kwargs.get('linked_access_check_on_target_resource', None)
self.allowed_aad_tenant_ids_for_linking = kwargs.get('allowed_aad_tenant_ids_for_linking', None)


class MetadataSyncConfig(ProxyResource):
"""Metadata sync configuration.

Expand Down Expand Up @@ -5028,6 +5054,9 @@ class Workspace(TrackedResource):
list[~azure.mgmt.synapse.models.PrivateEndpointConnection]
:ivar extra_properties: Workspace level configs and feature flags
:vartype extra_properties: dict[str, object]
:param managed_virtual_network_settings: Managed Virtual Network Settings
:type managed_virtual_network_settings:
~azure.mgmt.synapse.models.ManagedVirtualNetworkSettings
:param identity: Identity of the workspace
:type identity: ~azure.mgmt.synapse.models.ManagedIdentity
"""
Expand Down Expand Up @@ -5057,6 +5086,7 @@ class Workspace(TrackedResource):
'managed_virtual_network': {'key': 'properties.managedVirtualNetwork', 'type': 'str'},
'private_endpoint_connections': {'key': 'properties.privateEndpointConnections', 'type': '[PrivateEndpointConnection]'},
'extra_properties': {'key': 'properties.extraProperties', 'type': '{object}'},
'managed_virtual_network_settings': {'key': 'properties.managedVirtualNetworkSettings', 'type': 'ManagedVirtualNetworkSettings'},
'identity': {'key': 'identity', 'type': 'ManagedIdentity'},
}

Expand All @@ -5072,6 +5102,7 @@ def __init__(self, **kwargs):
self.managed_virtual_network = kwargs.get('managed_virtual_network', None)
self.private_endpoint_connections = kwargs.get('private_endpoint_connections', None)
self.extra_properties = None
self.managed_virtual_network_settings = kwargs.get('managed_virtual_network_settings', None)
self.identity = kwargs.get('identity', None)


Expand Down Expand Up @@ -5134,6 +5165,9 @@ class WorkspacePatchInfo(Model):
:type tags: dict[str, str]
:param identity: The identity of the workspace
:type identity: ~azure.mgmt.synapse.models.ManagedIdentity
:param managed_virtual_network_settings: Managed Virtual Network Settings
:type managed_virtual_network_settings:
~azure.mgmt.synapse.models.WorkspacePatchInfoManagedVirtualNetworkSettings
:param sql_administrator_login_password: SQL administrator login password
:type sql_administrator_login_password: str
:ivar provisioning_state: Resource provisioning state
Expand All @@ -5147,6 +5181,7 @@ class WorkspacePatchInfo(Model):
_attribute_map = {
'tags': {'key': 'tags', 'type': '{str}'},
'identity': {'key': 'identity', 'type': 'ManagedIdentity'},
'managed_virtual_network_settings': {'key': 'managedVirtualNetworkSettings', 'type': 'WorkspacePatchInfoManagedVirtualNetworkSettings'},
'sql_administrator_login_password': {'key': 'properties.sqlAdministratorLoginPassword', 'type': 'str'},
'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'},
}
Expand All @@ -5155,5 +5190,32 @@ def __init__(self, **kwargs):
super(WorkspacePatchInfo, self).__init__(**kwargs)
self.tags = kwargs.get('tags', None)
self.identity = kwargs.get('identity', None)
self.managed_virtual_network_settings = kwargs.get('managed_virtual_network_settings', None)
self.sql_administrator_login_password = kwargs.get('sql_administrator_login_password', None)
self.provisioning_state = None


class WorkspacePatchInfoManagedVirtualNetworkSettings(Model):
"""Managed Virtual Network Settings.

:param prevent_data_exfiltration: Prevent Data Exfiltration
:type prevent_data_exfiltration: bool
:param linked_access_check_on_target_resource: Linked Access Check On
Target Resource
:type linked_access_check_on_target_resource: bool
:param allowed_aad_tenant_ids_for_linking: Allowed Aad Tenant Ids For
Linking
:type allowed_aad_tenant_ids_for_linking: list[str]
"""

_attribute_map = {
'prevent_data_exfiltration': {'key': 'preventDataExfiltration', 'type': 'bool'},
'linked_access_check_on_target_resource': {'key': 'linkedAccessCheckOnTargetResource', 'type': 'bool'},
'allowed_aad_tenant_ids_for_linking': {'key': 'allowedAadTenantIdsForLinking', 'type': '[str]'},
}

def __init__(self, **kwargs):
super(WorkspacePatchInfoManagedVirtualNetworkSettings, self).__init__(**kwargs)
self.prevent_data_exfiltration = kwargs.get('prevent_data_exfiltration', None)
self.linked_access_check_on_target_resource = kwargs.get('linked_access_check_on_target_resource', None)
self.allowed_aad_tenant_ids_for_linking = kwargs.get('allowed_aad_tenant_ids_for_linking', None)
Original file line number Diff line number Diff line change
Expand Up @@ -2189,6 +2189,32 @@ def __init__(self, *, additional_properties=None, **kwargs) -> None:
self.type = 'Managed'


class ManagedVirtualNetworkSettings(Model):
"""Managed Virtual Network Settings.

:param prevent_data_exfiltration: Prevent Data Exfiltration
:type prevent_data_exfiltration: bool
:param linked_access_check_on_target_resource: Linked Access Check On
Target Resource
:type linked_access_check_on_target_resource: bool
:param allowed_aad_tenant_ids_for_linking: Allowed Aad Tenant Ids For
Linking
:type allowed_aad_tenant_ids_for_linking: list[str]
"""

_attribute_map = {
'prevent_data_exfiltration': {'key': 'preventDataExfiltration', 'type': 'bool'},
'linked_access_check_on_target_resource': {'key': 'linkedAccessCheckOnTargetResource', 'type': 'bool'},
'allowed_aad_tenant_ids_for_linking': {'key': 'allowedAadTenantIdsForLinking', 'type': '[str]'},
}

def __init__(self, *, prevent_data_exfiltration: bool=None, linked_access_check_on_target_resource: bool=None, allowed_aad_tenant_ids_for_linking=None, **kwargs) -> None:
super(ManagedVirtualNetworkSettings, self).__init__(**kwargs)
self.prevent_data_exfiltration = prevent_data_exfiltration
self.linked_access_check_on_target_resource = linked_access_check_on_target_resource
self.allowed_aad_tenant_ids_for_linking = allowed_aad_tenant_ids_for_linking


class MetadataSyncConfig(ProxyResource):
"""Metadata sync configuration.

Expand Down Expand Up @@ -5028,6 +5054,9 @@ class Workspace(TrackedResource):
list[~azure.mgmt.synapse.models.PrivateEndpointConnection]
:ivar extra_properties: Workspace level configs and feature flags
:vartype extra_properties: dict[str, object]
:param managed_virtual_network_settings: Managed Virtual Network Settings
:type managed_virtual_network_settings:
~azure.mgmt.synapse.models.ManagedVirtualNetworkSettings
:param identity: Identity of the workspace
:type identity: ~azure.mgmt.synapse.models.ManagedIdentity
"""
Expand Down Expand Up @@ -5057,10 +5086,11 @@ class Workspace(TrackedResource):
'managed_virtual_network': {'key': 'properties.managedVirtualNetwork', 'type': 'str'},
'private_endpoint_connections': {'key': 'properties.privateEndpointConnections', 'type': '[PrivateEndpointConnection]'},
'extra_properties': {'key': 'properties.extraProperties', 'type': '{object}'},
'managed_virtual_network_settings': {'key': 'properties.managedVirtualNetworkSettings', 'type': 'ManagedVirtualNetworkSettings'},
'identity': {'key': 'identity', 'type': 'ManagedIdentity'},
}

def __init__(self, *, location: str, tags=None, default_data_lake_storage=None, sql_administrator_login_password: str=None, managed_resource_group_name: str=None, sql_administrator_login: str=None, virtual_network_profile=None, connectivity_endpoints=None, managed_virtual_network: str=None, private_endpoint_connections=None, identity=None, **kwargs) -> None:
def __init__(self, *, location: str, tags=None, default_data_lake_storage=None, sql_administrator_login_password: str=None, managed_resource_group_name: str=None, sql_administrator_login: str=None, virtual_network_profile=None, connectivity_endpoints=None, managed_virtual_network: str=None, private_endpoint_connections=None, managed_virtual_network_settings=None, identity=None, **kwargs) -> None:
super(Workspace, self).__init__(tags=tags, location=location, **kwargs)
self.default_data_lake_storage = default_data_lake_storage
self.sql_administrator_login_password = sql_administrator_login_password
Expand All @@ -5072,6 +5102,7 @@ def __init__(self, *, location: str, tags=None, default_data_lake_storage=None,
self.managed_virtual_network = managed_virtual_network
self.private_endpoint_connections = private_endpoint_connections
self.extra_properties = None
self.managed_virtual_network_settings = managed_virtual_network_settings
self.identity = identity


Expand Down Expand Up @@ -5134,6 +5165,9 @@ class WorkspacePatchInfo(Model):
:type tags: dict[str, str]
:param identity: The identity of the workspace
:type identity: ~azure.mgmt.synapse.models.ManagedIdentity
:param managed_virtual_network_settings: Managed Virtual Network Settings
:type managed_virtual_network_settings:
~azure.mgmt.synapse.models.WorkspacePatchInfoManagedVirtualNetworkSettings
:param sql_administrator_login_password: SQL administrator login password
:type sql_administrator_login_password: str
:ivar provisioning_state: Resource provisioning state
Expand All @@ -5147,13 +5181,41 @@ class WorkspacePatchInfo(Model):
_attribute_map = {
'tags': {'key': 'tags', 'type': '{str}'},
'identity': {'key': 'identity', 'type': 'ManagedIdentity'},
'managed_virtual_network_settings': {'key': 'managedVirtualNetworkSettings', 'type': 'WorkspacePatchInfoManagedVirtualNetworkSettings'},
'sql_administrator_login_password': {'key': 'properties.sqlAdministratorLoginPassword', 'type': 'str'},
'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'},
}

def __init__(self, *, tags=None, identity=None, sql_administrator_login_password: str=None, **kwargs) -> None:
def __init__(self, *, tags=None, identity=None, managed_virtual_network_settings=None, sql_administrator_login_password: str=None, **kwargs) -> None:
super(WorkspacePatchInfo, self).__init__(**kwargs)
self.tags = tags
self.identity = identity
self.managed_virtual_network_settings = managed_virtual_network_settings
self.sql_administrator_login_password = sql_administrator_login_password
self.provisioning_state = None


class WorkspacePatchInfoManagedVirtualNetworkSettings(Model):
"""Managed Virtual Network Settings.

:param prevent_data_exfiltration: Prevent Data Exfiltration
:type prevent_data_exfiltration: bool
:param linked_access_check_on_target_resource: Linked Access Check On
Target Resource
:type linked_access_check_on_target_resource: bool
:param allowed_aad_tenant_ids_for_linking: Allowed Aad Tenant Ids For
Linking
:type allowed_aad_tenant_ids_for_linking: list[str]
"""

_attribute_map = {
'prevent_data_exfiltration': {'key': 'preventDataExfiltration', 'type': 'bool'},
'linked_access_check_on_target_resource': {'key': 'linkedAccessCheckOnTargetResource', 'type': 'bool'},
'allowed_aad_tenant_ids_for_linking': {'key': 'allowedAadTenantIdsForLinking', 'type': '[str]'},
}

def __init__(self, *, prevent_data_exfiltration: bool=None, linked_access_check_on_target_resource: bool=None, allowed_aad_tenant_ids_for_linking=None, **kwargs) -> None:
super(WorkspacePatchInfoManagedVirtualNetworkSettings, self).__init__(**kwargs)
self.prevent_data_exfiltration = prevent_data_exfiltration
self.linked_access_check_on_target_resource = linked_access_check_on_target_resource
self.allowed_aad_tenant_ids_for_linking = allowed_aad_tenant_ids_for_linking