diff --git a/sdk/synapse/azure-mgmt-synapse/MANIFEST.in b/sdk/synapse/azure-mgmt-synapse/MANIFEST.in index a3cb07df8765..3a9b6517412b 100644 --- a/sdk/synapse/azure-mgmt-synapse/MANIFEST.in +++ b/sdk/synapse/azure-mgmt-synapse/MANIFEST.in @@ -1,3 +1,4 @@ +include _meta.json recursive-include tests *.py *.yaml include *.md include azure/__init__.py diff --git a/sdk/synapse/azure-mgmt-synapse/_meta.json b/sdk/synapse/azure-mgmt-synapse/_meta.json new file mode 100644 index 000000000000..48c268d13988 --- /dev/null +++ b/sdk/synapse/azure-mgmt-synapse/_meta.json @@ -0,0 +1,8 @@ +{ + "autorest": "V2", + "use": "@microsoft.azure/autorest.python@~4.0.71", + "commit": "56c053a209784b84444326b3bbbf075a4e395b2e", + "repository_url": "https://github.com/Azure/azure-rest-api-specs", + "autorest_command": "autorest specification/synapse/resource-manager/readme.md --keep-version-file --multiapi --no-async --python --python-mode=update --python-sdks-folder=/home/vsts/work/1/s/azure-sdk-for-python/sdk --use=@microsoft.azure/autorest.python@~4.0.71 --version=V2", + "readme": "specification/synapse/resource-manager/readme.md" +} \ No newline at end of file diff --git a/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/_synapse_management_client.py b/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/_synapse_management_client.py index da8325f5c26d..d9ec5a8d7b34 100644 --- a/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/_synapse_management_client.py +++ b/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/_synapse_management_client.py @@ -16,6 +16,23 @@ from .operations import BigDataPoolsOperations from .operations import Operations from .operations import IpFirewallRulesOperations +from .operations import IntegrationRuntimesOperations +from .operations import IntegrationRuntimeNodeIpAddressOperations +from .operations import IntegrationRuntimeObjectMetadataOperations +from .operations import IntegrationRuntimeNodesOperations +from .operations import IntegrationRuntimeCredentialsOperations +from .operations import IntegrationRuntimeConnectionInfosOperations +from .operations import IntegrationRuntimeAuthKeysOperations +from .operations import IntegrationRuntimeMonitoringDataOperations +from .operations import IntegrationRuntimeStatusOperations +from .operations import KeysOperations +from .operations import LibraryOperations +from .operations import LibrariesOperations +from .operations import PrivateEndpointConnectionsOperations +from .operations import PrivateLinkResourcesOperations +from .operations import PrivateLinkHubPrivateLinkResourcesOperations +from .operations import PrivateLinkHubsOperations +from .operations import PrivateEndpointConnectionsPrivateLinkHubOperations from .operations import SqlPoolsOperations from .operations import SqlPoolMetadataSyncConfigsOperations from .operations import SqlPoolOperationResultsOperations @@ -45,25 +62,6 @@ from .operations import SqlPoolColumnsOperations from .operations import SqlPoolWorkloadGroupOperations from .operations import SqlPoolWorkloadClassifierOperations -from .operations import WorkspacesOperations -from .operations import WorkspaceAadAdminsOperations -from .operations import WorkspaceSqlAadAdminsOperations -from .operations import WorkspaceManagedIdentitySqlControlSettingsOperations -from .operations import RestorableDroppedSqlPoolsOperations -from .operations import IntegrationRuntimesOperations -from .operations import IntegrationRuntimeNodeIpAddressOperations -from .operations import IntegrationRuntimeObjectMetadataOperations -from .operations import IntegrationRuntimeNodesOperations -from .operations import IntegrationRuntimeCredentialsOperations -from .operations import IntegrationRuntimeConnectionInfosOperations -from .operations import IntegrationRuntimeAuthKeysOperations -from .operations import IntegrationRuntimeMonitoringDataOperations -from .operations import IntegrationRuntimeStatusOperations -from .operations import PrivateLinkResourcesOperations -from .operations import PrivateLinkHubPrivateLinkResourcesOperations -from .operations import PrivateEndpointConnectionsOperations -from .operations import PrivateLinkHubsOperations -from .operations import PrivateEndpointConnectionsPrivateLinkHubOperations from .operations import WorkspaceManagedSqlServerBlobAuditingPoliciesOperations from .operations import WorkspaceManagedSqlServerExtendedBlobAuditingPoliciesOperations from .operations import WorkspaceManagedSqlServerSecurityAlertPolicyOperations @@ -71,7 +69,11 @@ from .operations import WorkspaceManagedSqlServerEncryptionProtectorOperations from .operations import WorkspaceManagedSqlServerUsagesOperations from .operations import WorkspaceManagedSqlServerRecoverableSqlPoolsOperations -from .operations import KeysOperations +from .operations import WorkspacesOperations +from .operations import WorkspaceAadAdminsOperations +from .operations import WorkspaceSqlAadAdminsOperations +from .operations import WorkspaceManagedIdentitySqlControlSettingsOperations +from .operations import RestorableDroppedSqlPoolsOperations from . import models @@ -87,6 +89,40 @@ class SynapseManagementClient(SDKClient): :vartype operations: azure.mgmt.synapse.operations.Operations :ivar ip_firewall_rules: IpFirewallRules operations :vartype ip_firewall_rules: azure.mgmt.synapse.operations.IpFirewallRulesOperations + :ivar integration_runtimes: IntegrationRuntimes operations + :vartype integration_runtimes: azure.mgmt.synapse.operations.IntegrationRuntimesOperations + :ivar integration_runtime_node_ip_address: IntegrationRuntimeNodeIpAddress operations + :vartype integration_runtime_node_ip_address: azure.mgmt.synapse.operations.IntegrationRuntimeNodeIpAddressOperations + :ivar integration_runtime_object_metadata: IntegrationRuntimeObjectMetadata operations + :vartype integration_runtime_object_metadata: azure.mgmt.synapse.operations.IntegrationRuntimeObjectMetadataOperations + :ivar integration_runtime_nodes: IntegrationRuntimeNodes operations + :vartype integration_runtime_nodes: azure.mgmt.synapse.operations.IntegrationRuntimeNodesOperations + :ivar integration_runtime_credentials: IntegrationRuntimeCredentials operations + :vartype integration_runtime_credentials: azure.mgmt.synapse.operations.IntegrationRuntimeCredentialsOperations + :ivar integration_runtime_connection_infos: IntegrationRuntimeConnectionInfos operations + :vartype integration_runtime_connection_infos: azure.mgmt.synapse.operations.IntegrationRuntimeConnectionInfosOperations + :ivar integration_runtime_auth_keys: IntegrationRuntimeAuthKeys operations + :vartype integration_runtime_auth_keys: azure.mgmt.synapse.operations.IntegrationRuntimeAuthKeysOperations + :ivar integration_runtime_monitoring_data: IntegrationRuntimeMonitoringData operations + :vartype integration_runtime_monitoring_data: azure.mgmt.synapse.operations.IntegrationRuntimeMonitoringDataOperations + :ivar integration_runtime_status: IntegrationRuntimeStatus operations + :vartype integration_runtime_status: azure.mgmt.synapse.operations.IntegrationRuntimeStatusOperations + :ivar keys: Keys operations + :vartype keys: azure.mgmt.synapse.operations.KeysOperations + :ivar library: Library operations + :vartype library: azure.mgmt.synapse.operations.LibraryOperations + :ivar libraries: Libraries operations + :vartype libraries: azure.mgmt.synapse.operations.LibrariesOperations + :ivar private_endpoint_connections: PrivateEndpointConnections operations + :vartype private_endpoint_connections: azure.mgmt.synapse.operations.PrivateEndpointConnectionsOperations + :ivar private_link_resources: PrivateLinkResources operations + :vartype private_link_resources: azure.mgmt.synapse.operations.PrivateLinkResourcesOperations + :ivar private_link_hub_private_link_resources: PrivateLinkHubPrivateLinkResources operations + :vartype private_link_hub_private_link_resources: azure.mgmt.synapse.operations.PrivateLinkHubPrivateLinkResourcesOperations + :ivar private_link_hubs: PrivateLinkHubs operations + :vartype private_link_hubs: azure.mgmt.synapse.operations.PrivateLinkHubsOperations + :ivar private_endpoint_connections_private_link_hub: PrivateEndpointConnectionsPrivateLinkHub operations + :vartype private_endpoint_connections_private_link_hub: azure.mgmt.synapse.operations.PrivateEndpointConnectionsPrivateLinkHubOperations :ivar sql_pools: SqlPools operations :vartype sql_pools: azure.mgmt.synapse.operations.SqlPoolsOperations :ivar sql_pool_metadata_sync_configs: SqlPoolMetadataSyncConfigs operations @@ -145,44 +181,6 @@ class SynapseManagementClient(SDKClient): :vartype sql_pool_workload_group: azure.mgmt.synapse.operations.SqlPoolWorkloadGroupOperations :ivar sql_pool_workload_classifier: SqlPoolWorkloadClassifier operations :vartype sql_pool_workload_classifier: azure.mgmt.synapse.operations.SqlPoolWorkloadClassifierOperations - :ivar workspaces: Workspaces operations - :vartype workspaces: azure.mgmt.synapse.operations.WorkspacesOperations - :ivar workspace_aad_admins: WorkspaceAadAdmins operations - :vartype workspace_aad_admins: azure.mgmt.synapse.operations.WorkspaceAadAdminsOperations - :ivar workspace_sql_aad_admins: WorkspaceSqlAadAdmins operations - :vartype workspace_sql_aad_admins: azure.mgmt.synapse.operations.WorkspaceSqlAadAdminsOperations - :ivar workspace_managed_identity_sql_control_settings: WorkspaceManagedIdentitySqlControlSettings operations - :vartype workspace_managed_identity_sql_control_settings: azure.mgmt.synapse.operations.WorkspaceManagedIdentitySqlControlSettingsOperations - :ivar restorable_dropped_sql_pools: RestorableDroppedSqlPools operations - :vartype restorable_dropped_sql_pools: azure.mgmt.synapse.operations.RestorableDroppedSqlPoolsOperations - :ivar integration_runtimes: IntegrationRuntimes operations - :vartype integration_runtimes: azure.mgmt.synapse.operations.IntegrationRuntimesOperations - :ivar integration_runtime_node_ip_address: IntegrationRuntimeNodeIpAddress operations - :vartype integration_runtime_node_ip_address: azure.mgmt.synapse.operations.IntegrationRuntimeNodeIpAddressOperations - :ivar integration_runtime_object_metadata: IntegrationRuntimeObjectMetadata operations - :vartype integration_runtime_object_metadata: azure.mgmt.synapse.operations.IntegrationRuntimeObjectMetadataOperations - :ivar integration_runtime_nodes: IntegrationRuntimeNodes operations - :vartype integration_runtime_nodes: azure.mgmt.synapse.operations.IntegrationRuntimeNodesOperations - :ivar integration_runtime_credentials: IntegrationRuntimeCredentials operations - :vartype integration_runtime_credentials: azure.mgmt.synapse.operations.IntegrationRuntimeCredentialsOperations - :ivar integration_runtime_connection_infos: IntegrationRuntimeConnectionInfos operations - :vartype integration_runtime_connection_infos: azure.mgmt.synapse.operations.IntegrationRuntimeConnectionInfosOperations - :ivar integration_runtime_auth_keys: IntegrationRuntimeAuthKeys operations - :vartype integration_runtime_auth_keys: azure.mgmt.synapse.operations.IntegrationRuntimeAuthKeysOperations - :ivar integration_runtime_monitoring_data: IntegrationRuntimeMonitoringData operations - :vartype integration_runtime_monitoring_data: azure.mgmt.synapse.operations.IntegrationRuntimeMonitoringDataOperations - :ivar integration_runtime_status: IntegrationRuntimeStatus operations - :vartype integration_runtime_status: azure.mgmt.synapse.operations.IntegrationRuntimeStatusOperations - :ivar private_link_resources: PrivateLinkResources operations - :vartype private_link_resources: azure.mgmt.synapse.operations.PrivateLinkResourcesOperations - :ivar private_link_hub_private_link_resources: PrivateLinkHubPrivateLinkResources operations - :vartype private_link_hub_private_link_resources: azure.mgmt.synapse.operations.PrivateLinkHubPrivateLinkResourcesOperations - :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 - :ivar private_endpoint_connections_private_link_hub: PrivateEndpointConnectionsPrivateLinkHub operations - :vartype private_endpoint_connections_private_link_hub: azure.mgmt.synapse.operations.PrivateEndpointConnectionsPrivateLinkHubOperations :ivar workspace_managed_sql_server_blob_auditing_policies: WorkspaceManagedSqlServerBlobAuditingPolicies operations :vartype workspace_managed_sql_server_blob_auditing_policies: azure.mgmt.synapse.operations.WorkspaceManagedSqlServerBlobAuditingPoliciesOperations :ivar workspace_managed_sql_server_extended_blob_auditing_policies: WorkspaceManagedSqlServerExtendedBlobAuditingPolicies operations @@ -197,8 +195,16 @@ class SynapseManagementClient(SDKClient): :vartype workspace_managed_sql_server_usages: azure.mgmt.synapse.operations.WorkspaceManagedSqlServerUsagesOperations :ivar workspace_managed_sql_server_recoverable_sql_pools: WorkspaceManagedSqlServerRecoverableSqlPools operations :vartype workspace_managed_sql_server_recoverable_sql_pools: azure.mgmt.synapse.operations.WorkspaceManagedSqlServerRecoverableSqlPoolsOperations - :ivar keys: Keys operations - :vartype keys: azure.mgmt.synapse.operations.KeysOperations + :ivar workspaces: Workspaces operations + :vartype workspaces: azure.mgmt.synapse.operations.WorkspacesOperations + :ivar workspace_aad_admins: WorkspaceAadAdmins operations + :vartype workspace_aad_admins: azure.mgmt.synapse.operations.WorkspaceAadAdminsOperations + :ivar workspace_sql_aad_admins: WorkspaceSqlAadAdmins operations + :vartype workspace_sql_aad_admins: azure.mgmt.synapse.operations.WorkspaceSqlAadAdminsOperations + :ivar workspace_managed_identity_sql_control_settings: WorkspaceManagedIdentitySqlControlSettings operations + :vartype workspace_managed_identity_sql_control_settings: azure.mgmt.synapse.operations.WorkspaceManagedIdentitySqlControlSettingsOperations + :ivar restorable_dropped_sql_pools: RestorableDroppedSqlPools operations + :vartype restorable_dropped_sql_pools: azure.mgmt.synapse.operations.RestorableDroppedSqlPoolsOperations :param credentials: Credentials needed for the client to connect to Azure. :type credentials: :mod:`A msrestazure Credentials @@ -215,7 +221,7 @@ def __init__( super(SynapseManagementClient, self).__init__(self.config.credentials, self.config) client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} - self.api_version = '2020-12-01' + self.api_version = '2021-03-01' self._serialize = Serializer(client_models) self._deserialize = Deserializer(client_models) @@ -225,6 +231,40 @@ def __init__( self._client, self.config, self._serialize, self._deserialize) self.ip_firewall_rules = IpFirewallRulesOperations( self._client, self.config, self._serialize, self._deserialize) + self.integration_runtimes = IntegrationRuntimesOperations( + self._client, self.config, self._serialize, self._deserialize) + self.integration_runtime_node_ip_address = IntegrationRuntimeNodeIpAddressOperations( + self._client, self.config, self._serialize, self._deserialize) + self.integration_runtime_object_metadata = IntegrationRuntimeObjectMetadataOperations( + self._client, self.config, self._serialize, self._deserialize) + self.integration_runtime_nodes = IntegrationRuntimeNodesOperations( + self._client, self.config, self._serialize, self._deserialize) + self.integration_runtime_credentials = IntegrationRuntimeCredentialsOperations( + self._client, self.config, self._serialize, self._deserialize) + self.integration_runtime_connection_infos = IntegrationRuntimeConnectionInfosOperations( + self._client, self.config, self._serialize, self._deserialize) + self.integration_runtime_auth_keys = IntegrationRuntimeAuthKeysOperations( + self._client, self.config, self._serialize, self._deserialize) + self.integration_runtime_monitoring_data = IntegrationRuntimeMonitoringDataOperations( + self._client, self.config, self._serialize, self._deserialize) + self.integration_runtime_status = IntegrationRuntimeStatusOperations( + self._client, self.config, self._serialize, self._deserialize) + self.keys = KeysOperations( + self._client, self.config, self._serialize, self._deserialize) + self.library = LibraryOperations( + self._client, self.config, self._serialize, self._deserialize) + self.libraries = LibrariesOperations( + self._client, self.config, self._serialize, self._deserialize) + self.private_endpoint_connections = PrivateEndpointConnectionsOperations( + self._client, self.config, self._serialize, self._deserialize) + self.private_link_resources = PrivateLinkResourcesOperations( + self._client, self.config, self._serialize, self._deserialize) + self.private_link_hub_private_link_resources = PrivateLinkHubPrivateLinkResourcesOperations( + self._client, self.config, self._serialize, self._deserialize) + self.private_link_hubs = PrivateLinkHubsOperations( + self._client, self.config, self._serialize, self._deserialize) + self.private_endpoint_connections_private_link_hub = PrivateEndpointConnectionsPrivateLinkHubOperations( + self._client, self.config, self._serialize, self._deserialize) self.sql_pools = SqlPoolsOperations( self._client, self.config, self._serialize, self._deserialize) self.sql_pool_metadata_sync_configs = SqlPoolMetadataSyncConfigsOperations( @@ -283,44 +323,6 @@ def __init__( self._client, self.config, self._serialize, self._deserialize) self.sql_pool_workload_classifier = SqlPoolWorkloadClassifierOperations( self._client, self.config, self._serialize, self._deserialize) - self.workspaces = WorkspacesOperations( - self._client, self.config, self._serialize, self._deserialize) - self.workspace_aad_admins = WorkspaceAadAdminsOperations( - self._client, self.config, self._serialize, self._deserialize) - self.workspace_sql_aad_admins = WorkspaceSqlAadAdminsOperations( - self._client, self.config, self._serialize, self._deserialize) - self.workspace_managed_identity_sql_control_settings = WorkspaceManagedIdentitySqlControlSettingsOperations( - self._client, self.config, self._serialize, self._deserialize) - self.restorable_dropped_sql_pools = RestorableDroppedSqlPoolsOperations( - self._client, self.config, self._serialize, self._deserialize) - self.integration_runtimes = IntegrationRuntimesOperations( - self._client, self.config, self._serialize, self._deserialize) - self.integration_runtime_node_ip_address = IntegrationRuntimeNodeIpAddressOperations( - self._client, self.config, self._serialize, self._deserialize) - self.integration_runtime_object_metadata = IntegrationRuntimeObjectMetadataOperations( - self._client, self.config, self._serialize, self._deserialize) - self.integration_runtime_nodes = IntegrationRuntimeNodesOperations( - self._client, self.config, self._serialize, self._deserialize) - self.integration_runtime_credentials = IntegrationRuntimeCredentialsOperations( - self._client, self.config, self._serialize, self._deserialize) - self.integration_runtime_connection_infos = IntegrationRuntimeConnectionInfosOperations( - self._client, self.config, self._serialize, self._deserialize) - self.integration_runtime_auth_keys = IntegrationRuntimeAuthKeysOperations( - self._client, self.config, self._serialize, self._deserialize) - self.integration_runtime_monitoring_data = IntegrationRuntimeMonitoringDataOperations( - self._client, self.config, self._serialize, self._deserialize) - self.integration_runtime_status = IntegrationRuntimeStatusOperations( - self._client, self.config, self._serialize, self._deserialize) - self.private_link_resources = PrivateLinkResourcesOperations( - self._client, self.config, self._serialize, self._deserialize) - self.private_link_hub_private_link_resources = PrivateLinkHubPrivateLinkResourcesOperations( - 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) - self.private_endpoint_connections_private_link_hub = PrivateEndpointConnectionsPrivateLinkHubOperations( - self._client, self.config, self._serialize, self._deserialize) self.workspace_managed_sql_server_blob_auditing_policies = WorkspaceManagedSqlServerBlobAuditingPoliciesOperations( self._client, self.config, self._serialize, self._deserialize) self.workspace_managed_sql_server_extended_blob_auditing_policies = WorkspaceManagedSqlServerExtendedBlobAuditingPoliciesOperations( @@ -335,5 +337,13 @@ def __init__( self._client, self.config, self._serialize, self._deserialize) self.workspace_managed_sql_server_recoverable_sql_pools = WorkspaceManagedSqlServerRecoverableSqlPoolsOperations( self._client, self.config, self._serialize, self._deserialize) - self.keys = KeysOperations( + self.workspaces = WorkspacesOperations( + self._client, self.config, self._serialize, self._deserialize) + self.workspace_aad_admins = WorkspaceAadAdminsOperations( + self._client, self.config, self._serialize, self._deserialize) + self.workspace_sql_aad_admins = WorkspaceSqlAadAdminsOperations( + self._client, self.config, self._serialize, self._deserialize) + self.workspace_managed_identity_sql_control_settings = WorkspaceManagedIdentitySqlControlSettingsOperations( + self._client, self.config, self._serialize, self._deserialize) + self.restorable_dropped_sql_pools = RestorableDroppedSqlPoolsOperations( self._client, self.config, self._serialize, self._deserialize) diff --git a/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/models/__init__.py b/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/models/__init__.py index 03f7fc629e90..eea5c38e2e92 100644 --- a/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/models/__init__.py +++ b/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/models/__init__.py @@ -62,6 +62,7 @@ from ._models_py3 import Key from ._models_py3 import LibraryInfo from ._models_py3 import LibraryRequirements + from ._models_py3 import LibraryResource from ._models_py3 import LinkedIntegrationRuntime from ._models_py3 import LinkedIntegrationRuntimeKeyAuthorization from ._models_py3 import LinkedIntegrationRuntimeRbacAuthorization @@ -216,6 +217,7 @@ from ._models import Key from ._models import LibraryInfo from ._models import LibraryRequirements + from ._models import LibraryResource from ._models import LinkedIntegrationRuntime from ._models import LinkedIntegrationRuntimeKeyAuthorization from ._models import LinkedIntegrationRuntimeRbacAuthorization @@ -326,6 +328,7 @@ from ._paged_models import IntegrationRuntimeResourcePaged from ._paged_models import IpFirewallRuleInfoPaged from ._paged_models import KeyPaged +from ._paged_models import LibraryResourcePaged from ._paged_models import PrivateEndpointConnectionForPrivateLinkHubPaged from ._paged_models import PrivateEndpointConnectionPaged from ._paged_models import PrivateLinkHubPaged @@ -357,6 +360,20 @@ NodeSize, NodeSizeFamily, ProvisioningState, + IntegrationRuntimeType, + IntegrationRuntimeState, + DataFlowComputeType, + IntegrationRuntimeSsisCatalogPricingTier, + IntegrationRuntimeLicenseType, + IntegrationRuntimeEntityReferenceType, + IntegrationRuntimeEdition, + ManagedIntegrationRuntimeNodeStatus, + IntegrationRuntimeInternalChannelEncryptionMode, + SelfHostedIntegrationRuntimeNodeStatus, + IntegrationRuntimeUpdateResult, + IntegrationRuntimeAutoUpdate, + IntegrationRuntimeAuthKeyName, + SsisObjectMetadataType, OperationStatus, StorageAccountType, GeoBackupPolicyState, @@ -381,22 +398,9 @@ DataMaskingFunction, SensitivityLabelUpdateKind, RecommendedSensitivityLabelUpdateKind, - ResourceIdentityType, - IntegrationRuntimeType, - IntegrationRuntimeState, - DataFlowComputeType, - IntegrationRuntimeSsisCatalogPricingTier, - IntegrationRuntimeLicenseType, - IntegrationRuntimeEntityReferenceType, - IntegrationRuntimeEdition, - ManagedIntegrationRuntimeNodeStatus, - IntegrationRuntimeInternalChannelEncryptionMode, - SelfHostedIntegrationRuntimeNodeStatus, - IntegrationRuntimeUpdateResult, - IntegrationRuntimeAutoUpdate, - IntegrationRuntimeAuthKeyName, - SsisObjectMetadataType, ServerKeyType, + WorkspacePublicNetworkAccess, + ResourceIdentityType, SensitivityLabelSource, VulnerabilityAssessmentPolicyBaselineName, ) @@ -454,6 +458,7 @@ 'Key', 'LibraryInfo', 'LibraryRequirements', + 'LibraryResource', 'LinkedIntegrationRuntime', 'LinkedIntegrationRuntimeKeyAuthorization', 'LinkedIntegrationRuntimeRbacAuthorization', @@ -557,6 +562,13 @@ 'WorkspaceRepositoryConfiguration', 'BigDataPoolResourceInfoPaged', 'IpFirewallRuleInfoPaged', + 'IntegrationRuntimeResourcePaged', + 'KeyPaged', + 'LibraryResourcePaged', + 'PrivateEndpointConnectionPaged', + 'PrivateLinkResourcePaged', + 'PrivateLinkHubPaged', + 'PrivateEndpointConnectionForPrivateLinkHubPaged', 'SqlPoolPaged', 'GeoBackupPolicyPaged', 'RestorePointPaged', @@ -576,13 +588,6 @@ 'DataMaskingRulePaged', 'WorkloadGroupPaged', 'WorkloadClassifierPaged', - 'WorkspacePaged', - 'RestorableDroppedSqlPoolPaged', - 'IntegrationRuntimeResourcePaged', - 'PrivateLinkResourcePaged', - 'PrivateEndpointConnectionPaged', - 'PrivateLinkHubPaged', - 'PrivateEndpointConnectionForPrivateLinkHubPaged', 'ServerBlobAuditingPolicyPaged', 'ExtendedServerBlobAuditingPolicyPaged', 'ServerSecurityAlertPolicyPaged', @@ -590,10 +595,25 @@ 'EncryptionProtectorPaged', 'ServerUsagePaged', 'RecoverableSqlPoolPaged', - 'KeyPaged', + 'WorkspacePaged', + 'RestorableDroppedSqlPoolPaged', 'NodeSize', 'NodeSizeFamily', 'ProvisioningState', + 'IntegrationRuntimeType', + 'IntegrationRuntimeState', + 'DataFlowComputeType', + 'IntegrationRuntimeSsisCatalogPricingTier', + 'IntegrationRuntimeLicenseType', + 'IntegrationRuntimeEntityReferenceType', + 'IntegrationRuntimeEdition', + 'ManagedIntegrationRuntimeNodeStatus', + 'IntegrationRuntimeInternalChannelEncryptionMode', + 'SelfHostedIntegrationRuntimeNodeStatus', + 'IntegrationRuntimeUpdateResult', + 'IntegrationRuntimeAutoUpdate', + 'IntegrationRuntimeAuthKeyName', + 'SsisObjectMetadataType', 'OperationStatus', 'StorageAccountType', 'GeoBackupPolicyState', @@ -618,22 +638,9 @@ 'DataMaskingFunction', 'SensitivityLabelUpdateKind', 'RecommendedSensitivityLabelUpdateKind', - 'ResourceIdentityType', - 'IntegrationRuntimeType', - 'IntegrationRuntimeState', - 'DataFlowComputeType', - 'IntegrationRuntimeSsisCatalogPricingTier', - 'IntegrationRuntimeLicenseType', - 'IntegrationRuntimeEntityReferenceType', - 'IntegrationRuntimeEdition', - 'ManagedIntegrationRuntimeNodeStatus', - 'IntegrationRuntimeInternalChannelEncryptionMode', - 'SelfHostedIntegrationRuntimeNodeStatus', - 'IntegrationRuntimeUpdateResult', - 'IntegrationRuntimeAutoUpdate', - 'IntegrationRuntimeAuthKeyName', - 'SsisObjectMetadataType', 'ServerKeyType', + 'WorkspacePublicNetworkAccess', + 'ResourceIdentityType', 'SensitivityLabelSource', 'VulnerabilityAssessmentPolicyBaselineName', ] diff --git a/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/models/_models.py b/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/models/_models.py index 6117e3bcd1de..8c0d997b1a1f 100644 --- a/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/models/_models.py +++ b/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/models/_models.py @@ -2454,6 +2454,73 @@ def __init__(self, **kwargs): self.filename = kwargs.get('filename', None) +class LibraryResource(SubResource): + """Library response details. + + Variables are only populated by the server, and will be ignored when + sending a request. + + :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. E.g. + "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + :vartype type: str + :ivar etag: Resource Etag. + :vartype etag: str + :param library_resource_name: Name of the library. + :type library_resource_name: str + :param path: Storage blob path of library. + :type path: str + :param container_name: Storage blob container name. + :type container_name: str + :ivar uploaded_timestamp: The last update time of the library. + :vartype uploaded_timestamp: datetime + :param library_resource_type: Type of the library. + :type library_resource_type: str + :ivar provisioning_status: Provisioning status of the library/package. + :vartype provisioning_status: str + :ivar creator_id: Creator Id of the library/package. + :vartype creator_id: str + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'etag': {'readonly': True}, + 'uploaded_timestamp': {'readonly': True}, + 'provisioning_status': {'readonly': True}, + 'creator_id': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'library_resource_name': {'key': 'properties.name', 'type': 'str'}, + 'path': {'key': 'properties.path', 'type': 'str'}, + 'container_name': {'key': 'properties.containerName', 'type': 'str'}, + 'uploaded_timestamp': {'key': 'properties.uploadedTimestamp', 'type': 'iso-8601'}, + 'library_resource_type': {'key': 'properties.type', 'type': 'str'}, + 'provisioning_status': {'key': 'properties.provisioningStatus', 'type': 'str'}, + 'creator_id': {'key': 'properties.creatorId', 'type': 'str'}, + } + + def __init__(self, **kwargs): + super(LibraryResource, self).__init__(**kwargs) + self.library_resource_name = kwargs.get('library_resource_name', None) + self.path = kwargs.get('path', None) + self.container_name = kwargs.get('container_name', None) + self.uploaded_timestamp = None + self.library_resource_type = kwargs.get('library_resource_type', None) + self.provisioning_status = None + self.creator_id = None + + class LinkedIntegrationRuntime(Model): """The linked integration runtime information. @@ -5111,7 +5178,7 @@ class SqlPool(TrackedResource): :param status: Resource status :type status: str :param restore_point_in_time: Snapshot time to restore - :type restore_point_in_time: str + :type restore_point_in_time: datetime :param create_mode: What is this? :type create_mode: str :param creation_date: Date the SQL pool was created @@ -5142,7 +5209,7 @@ class SqlPool(TrackedResource): 'recoverable_database_id': {'key': 'properties.recoverableDatabaseId', 'type': 'str'}, 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, 'status': {'key': 'properties.status', 'type': 'str'}, - 'restore_point_in_time': {'key': 'properties.restorePointInTime', 'type': 'str'}, + 'restore_point_in_time': {'key': 'properties.restorePointInTime', 'type': 'iso-8601'}, 'create_mode': {'key': 'properties.createMode', 'type': 'str'}, 'creation_date': {'key': 'properties.creationDate', 'type': 'iso-8601'}, 'storage_account_type': {'key': 'properties.storageAccountType', 'type': 'str'}, @@ -5565,7 +5632,7 @@ class SqlPoolPatchInfo(Model): :param status: Resource status :type status: str :param restore_point_in_time: Snapshot time to restore - :type restore_point_in_time: str + :type restore_point_in_time: datetime :param create_mode: What is this? :type create_mode: str :param creation_date: Date the SQL pool was created @@ -5586,7 +5653,7 @@ class SqlPoolPatchInfo(Model): 'recoverable_database_id': {'key': 'properties.recoverableDatabaseId', 'type': 'str'}, 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, 'status': {'key': 'properties.status', 'type': 'str'}, - 'restore_point_in_time': {'key': 'properties.restorePointInTime', 'type': 'str'}, + 'restore_point_in_time': {'key': 'properties.restorePointInTime', 'type': 'iso-8601'}, 'create_mode': {'key': 'properties.createMode', 'type': 'str'}, 'creation_date': {'key': 'properties.creationDate', 'type': 'iso-8601'}, 'storage_account_type': {'key': 'properties.storageAccountType', 'type': 'str'}, @@ -6869,6 +6936,10 @@ class Workspace(TrackedResource): ~azure.mgmt.synapse.models.PurviewConfiguration :ivar adla_resource_id: The ADLA resource ID. :vartype adla_resource_id: str + :param public_network_access: Enable or Disable pubic network access to + workspace. Possible values include: 'Enabled', 'Disabled' + :type public_network_access: str or + ~azure.mgmt.synapse.models.WorkspacePublicNetworkAccess :param identity: Identity of the workspace :type identity: ~azure.mgmt.synapse.models.ManagedIdentity """ @@ -6906,6 +6977,7 @@ class Workspace(TrackedResource): 'workspace_repository_configuration': {'key': 'properties.workspaceRepositoryConfiguration', 'type': 'WorkspaceRepositoryConfiguration'}, 'purview_configuration': {'key': 'properties.purviewConfiguration', 'type': 'PurviewConfiguration'}, 'adla_resource_id': {'key': 'properties.adlaResourceId', 'type': 'str'}, + 'public_network_access': {'key': 'properties.publicNetworkAccess', 'type': 'str'}, 'identity': {'key': 'identity', 'type': 'ManagedIdentity'}, } @@ -6927,6 +6999,7 @@ def __init__(self, **kwargs): self.workspace_repository_configuration = kwargs.get('workspace_repository_configuration', None) self.purview_configuration = kwargs.get('purview_configuration', None) self.adla_resource_id = None + self.public_network_access = kwargs.get('public_network_access', None) self.identity = kwargs.get('identity', None) @@ -7024,6 +7097,10 @@ class WorkspacePatchInfo(Model): :vartype provisioning_state: str :param encryption: The encryption details of the workspace :type encryption: ~azure.mgmt.synapse.models.EncryptionDetails + :param public_network_access: Enable or Disable pubic network access to + workspace. Possible values include: 'Enabled', 'Disabled' + :type public_network_access: str or + ~azure.mgmt.synapse.models.WorkspacePublicNetworkAccess """ _validation = { @@ -7039,6 +7116,7 @@ class WorkspacePatchInfo(Model): 'purview_configuration': {'key': 'properties.purviewConfiguration', 'type': 'PurviewConfiguration'}, 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, 'encryption': {'key': 'properties.encryption', 'type': 'EncryptionDetails'}, + 'public_network_access': {'key': 'properties.publicNetworkAccess', 'type': 'str'}, } def __init__(self, **kwargs): @@ -7051,6 +7129,7 @@ def __init__(self, **kwargs): self.purview_configuration = kwargs.get('purview_configuration', None) self.provisioning_state = None self.encryption = kwargs.get('encryption', None) + self.public_network_access = kwargs.get('public_network_access', None) class WorkspaceRepositoryConfiguration(Model): diff --git a/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/models/_models_py3.py b/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/models/_models_py3.py index 17208851e6f2..0f34dedf4568 100644 --- a/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/models/_models_py3.py +++ b/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/models/_models_py3.py @@ -2454,6 +2454,73 @@ def __init__(self, *, content: str=None, filename: str=None, **kwargs) -> None: self.filename = filename +class LibraryResource(SubResource): + """Library response details. + + Variables are only populated by the server, and will be ignored when + sending a request. + + :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. E.g. + "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + :vartype type: str + :ivar etag: Resource Etag. + :vartype etag: str + :param library_resource_name: Name of the library. + :type library_resource_name: str + :param path: Storage blob path of library. + :type path: str + :param container_name: Storage blob container name. + :type container_name: str + :ivar uploaded_timestamp: The last update time of the library. + :vartype uploaded_timestamp: datetime + :param library_resource_type: Type of the library. + :type library_resource_type: str + :ivar provisioning_status: Provisioning status of the library/package. + :vartype provisioning_status: str + :ivar creator_id: Creator Id of the library/package. + :vartype creator_id: str + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'etag': {'readonly': True}, + 'uploaded_timestamp': {'readonly': True}, + 'provisioning_status': {'readonly': True}, + 'creator_id': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'library_resource_name': {'key': 'properties.name', 'type': 'str'}, + 'path': {'key': 'properties.path', 'type': 'str'}, + 'container_name': {'key': 'properties.containerName', 'type': 'str'}, + 'uploaded_timestamp': {'key': 'properties.uploadedTimestamp', 'type': 'iso-8601'}, + 'library_resource_type': {'key': 'properties.type', 'type': 'str'}, + 'provisioning_status': {'key': 'properties.provisioningStatus', 'type': 'str'}, + 'creator_id': {'key': 'properties.creatorId', 'type': 'str'}, + } + + def __init__(self, *, library_resource_name: str=None, path: str=None, container_name: str=None, library_resource_type: str=None, **kwargs) -> None: + super(LibraryResource, self).__init__(**kwargs) + self.library_resource_name = library_resource_name + self.path = path + self.container_name = container_name + self.uploaded_timestamp = None + self.library_resource_type = library_resource_type + self.provisioning_status = None + self.creator_id = None + + class LinkedIntegrationRuntime(Model): """The linked integration runtime information. @@ -5111,7 +5178,7 @@ class SqlPool(TrackedResource): :param status: Resource status :type status: str :param restore_point_in_time: Snapshot time to restore - :type restore_point_in_time: str + :type restore_point_in_time: datetime :param create_mode: What is this? :type create_mode: str :param creation_date: Date the SQL pool was created @@ -5142,13 +5209,13 @@ class SqlPool(TrackedResource): 'recoverable_database_id': {'key': 'properties.recoverableDatabaseId', 'type': 'str'}, 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, 'status': {'key': 'properties.status', 'type': 'str'}, - 'restore_point_in_time': {'key': 'properties.restorePointInTime', 'type': 'str'}, + 'restore_point_in_time': {'key': 'properties.restorePointInTime', 'type': 'iso-8601'}, 'create_mode': {'key': 'properties.createMode', 'type': 'str'}, 'creation_date': {'key': 'properties.creationDate', 'type': 'iso-8601'}, 'storage_account_type': {'key': 'properties.storageAccountType', 'type': 'str'}, } - def __init__(self, *, location: str, tags=None, sku=None, max_size_bytes: int=None, collation: str=None, source_database_id: str=None, recoverable_database_id: str=None, provisioning_state: str=None, status: str=None, restore_point_in_time: str=None, create_mode: str=None, creation_date=None, storage_account_type=None, **kwargs) -> None: + def __init__(self, *, location: str, tags=None, sku=None, max_size_bytes: int=None, collation: str=None, source_database_id: str=None, recoverable_database_id: str=None, provisioning_state: str=None, status: str=None, restore_point_in_time=None, create_mode: str=None, creation_date=None, storage_account_type=None, **kwargs) -> None: super(SqlPool, self).__init__(tags=tags, location=location, **kwargs) self.sku = sku self.max_size_bytes = max_size_bytes @@ -5565,7 +5632,7 @@ class SqlPoolPatchInfo(Model): :param status: Resource status :type status: str :param restore_point_in_time: Snapshot time to restore - :type restore_point_in_time: str + :type restore_point_in_time: datetime :param create_mode: What is this? :type create_mode: str :param creation_date: Date the SQL pool was created @@ -5586,13 +5653,13 @@ class SqlPoolPatchInfo(Model): 'recoverable_database_id': {'key': 'properties.recoverableDatabaseId', 'type': 'str'}, 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, 'status': {'key': 'properties.status', 'type': 'str'}, - 'restore_point_in_time': {'key': 'properties.restorePointInTime', 'type': 'str'}, + 'restore_point_in_time': {'key': 'properties.restorePointInTime', 'type': 'iso-8601'}, 'create_mode': {'key': 'properties.createMode', 'type': 'str'}, 'creation_date': {'key': 'properties.creationDate', 'type': 'iso-8601'}, 'storage_account_type': {'key': 'properties.storageAccountType', 'type': 'str'}, } - def __init__(self, *, tags=None, location: str=None, sku=None, max_size_bytes: int=None, collation: str=None, source_database_id: str=None, recoverable_database_id: str=None, provisioning_state: str=None, status: str=None, restore_point_in_time: str=None, create_mode: str=None, creation_date=None, storage_account_type=None, **kwargs) -> None: + def __init__(self, *, tags=None, location: str=None, sku=None, max_size_bytes: int=None, collation: str=None, source_database_id: str=None, recoverable_database_id: str=None, provisioning_state: str=None, status: str=None, restore_point_in_time=None, create_mode: str=None, creation_date=None, storage_account_type=None, **kwargs) -> None: super(SqlPoolPatchInfo, self).__init__(**kwargs) self.tags = tags self.location = location @@ -6869,6 +6936,10 @@ class Workspace(TrackedResource): ~azure.mgmt.synapse.models.PurviewConfiguration :ivar adla_resource_id: The ADLA resource ID. :vartype adla_resource_id: str + :param public_network_access: Enable or Disable pubic network access to + workspace. Possible values include: 'Enabled', 'Disabled' + :type public_network_access: str or + ~azure.mgmt.synapse.models.WorkspacePublicNetworkAccess :param identity: Identity of the workspace :type identity: ~azure.mgmt.synapse.models.ManagedIdentity """ @@ -6906,10 +6977,11 @@ class Workspace(TrackedResource): 'workspace_repository_configuration': {'key': 'properties.workspaceRepositoryConfiguration', 'type': 'WorkspaceRepositoryConfiguration'}, 'purview_configuration': {'key': 'properties.purviewConfiguration', 'type': 'PurviewConfiguration'}, 'adla_resource_id': {'key': 'properties.adlaResourceId', 'type': 'str'}, + 'public_network_access': {'key': 'properties.publicNetworkAccess', 'type': 'str'}, '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, encryption=None, managed_virtual_network_settings=None, workspace_repository_configuration=None, purview_configuration=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, encryption=None, managed_virtual_network_settings=None, workspace_repository_configuration=None, purview_configuration=None, public_network_access=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 @@ -6927,6 +6999,7 @@ def __init__(self, *, location: str, tags=None, default_data_lake_storage=None, self.workspace_repository_configuration = workspace_repository_configuration self.purview_configuration = purview_configuration self.adla_resource_id = None + self.public_network_access = public_network_access self.identity = identity @@ -7024,6 +7097,10 @@ class WorkspacePatchInfo(Model): :vartype provisioning_state: str :param encryption: The encryption details of the workspace :type encryption: ~azure.mgmt.synapse.models.EncryptionDetails + :param public_network_access: Enable or Disable pubic network access to + workspace. Possible values include: 'Enabled', 'Disabled' + :type public_network_access: str or + ~azure.mgmt.synapse.models.WorkspacePublicNetworkAccess """ _validation = { @@ -7039,9 +7116,10 @@ class WorkspacePatchInfo(Model): 'purview_configuration': {'key': 'properties.purviewConfiguration', 'type': 'PurviewConfiguration'}, 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, 'encryption': {'key': 'properties.encryption', 'type': 'EncryptionDetails'}, + 'public_network_access': {'key': 'properties.publicNetworkAccess', 'type': 'str'}, } - def __init__(self, *, tags=None, identity=None, sql_administrator_login_password: str=None, managed_virtual_network_settings=None, workspace_repository_configuration=None, purview_configuration=None, encryption=None, **kwargs) -> None: + def __init__(self, *, tags=None, identity=None, sql_administrator_login_password: str=None, managed_virtual_network_settings=None, workspace_repository_configuration=None, purview_configuration=None, encryption=None, public_network_access=None, **kwargs) -> None: super(WorkspacePatchInfo, self).__init__(**kwargs) self.tags = tags self.identity = identity @@ -7051,6 +7129,7 @@ def __init__(self, *, tags=None, identity=None, sql_administrator_login_password self.purview_configuration = purview_configuration self.provisioning_state = None self.encryption = encryption + self.public_network_access = public_network_access class WorkspaceRepositoryConfiguration(Model): diff --git a/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/models/_paged_models.py b/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/models/_paged_models.py index 8b67d84fe840..04b1e3b0a7cd 100644 --- a/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/models/_paged_models.py +++ b/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/models/_paged_models.py @@ -38,6 +38,97 @@ class IpFirewallRuleInfoPaged(Paged): def __init__(self, *args, **kwargs): super(IpFirewallRuleInfoPaged, self).__init__(*args, **kwargs) +class IntegrationRuntimeResourcePaged(Paged): + """ + A paging container for iterating over a list of :class:`IntegrationRuntimeResource ` object + """ + + _attribute_map = { + 'next_link': {'key': 'nextLink', 'type': 'str'}, + 'current_page': {'key': 'value', 'type': '[IntegrationRuntimeResource]'} + } + + def __init__(self, *args, **kwargs): + + super(IntegrationRuntimeResourcePaged, self).__init__(*args, **kwargs) +class KeyPaged(Paged): + """ + A paging container for iterating over a list of :class:`Key ` object + """ + + _attribute_map = { + 'next_link': {'key': 'nextLink', 'type': 'str'}, + 'current_page': {'key': 'value', 'type': '[Key]'} + } + + def __init__(self, *args, **kwargs): + + super(KeyPaged, self).__init__(*args, **kwargs) +class LibraryResourcePaged(Paged): + """ + A paging container for iterating over a list of :class:`LibraryResource ` object + """ + + _attribute_map = { + 'next_link': {'key': 'nextLink', 'type': 'str'}, + 'current_page': {'key': 'value', 'type': '[LibraryResource]'} + } + + def __init__(self, *args, **kwargs): + + super(LibraryResourcePaged, self).__init__(*args, **kwargs) +class PrivateEndpointConnectionPaged(Paged): + """ + A paging container for iterating over a list of :class:`PrivateEndpointConnection ` object + """ + + _attribute_map = { + 'next_link': {'key': 'nextLink', 'type': 'str'}, + 'current_page': {'key': 'value', 'type': '[PrivateEndpointConnection]'} + } + + def __init__(self, *args, **kwargs): + + super(PrivateEndpointConnectionPaged, self).__init__(*args, **kwargs) +class PrivateLinkResourcePaged(Paged): + """ + A paging container for iterating over a list of :class:`PrivateLinkResource ` object + """ + + _attribute_map = { + 'next_link': {'key': 'nextLink', 'type': 'str'}, + 'current_page': {'key': 'value', 'type': '[PrivateLinkResource]'} + } + + def __init__(self, *args, **kwargs): + + super(PrivateLinkResourcePaged, self).__init__(*args, **kwargs) +class PrivateLinkHubPaged(Paged): + """ + A paging container for iterating over a list of :class:`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) +class PrivateEndpointConnectionForPrivateLinkHubPaged(Paged): + """ + A paging container for iterating over a list of :class:`PrivateEndpointConnectionForPrivateLinkHub ` object + """ + + _attribute_map = { + 'next_link': {'key': 'nextLink', 'type': 'str'}, + 'current_page': {'key': 'value', 'type': '[PrivateEndpointConnectionForPrivateLinkHub]'} + } + + def __init__(self, *args, **kwargs): + + super(PrivateEndpointConnectionForPrivateLinkHubPaged, self).__init__(*args, **kwargs) class SqlPoolPaged(Paged): """ A paging container for iterating over a list of :class:`SqlPool ` object @@ -285,97 +376,6 @@ class WorkloadClassifierPaged(Paged): def __init__(self, *args, **kwargs): super(WorkloadClassifierPaged, self).__init__(*args, **kwargs) -class WorkspacePaged(Paged): - """ - A paging container for iterating over a list of :class:`Workspace ` object - """ - - _attribute_map = { - 'next_link': {'key': 'nextLink', 'type': 'str'}, - 'current_page': {'key': 'value', 'type': '[Workspace]'} - } - - def __init__(self, *args, **kwargs): - - super(WorkspacePaged, self).__init__(*args, **kwargs) -class RestorableDroppedSqlPoolPaged(Paged): - """ - A paging container for iterating over a list of :class:`RestorableDroppedSqlPool ` object - """ - - _attribute_map = { - 'next_link': {'key': 'nextLink', 'type': 'str'}, - 'current_page': {'key': 'value', 'type': '[RestorableDroppedSqlPool]'} - } - - def __init__(self, *args, **kwargs): - - super(RestorableDroppedSqlPoolPaged, self).__init__(*args, **kwargs) -class IntegrationRuntimeResourcePaged(Paged): - """ - A paging container for iterating over a list of :class:`IntegrationRuntimeResource ` object - """ - - _attribute_map = { - 'next_link': {'key': 'nextLink', 'type': 'str'}, - 'current_page': {'key': 'value', 'type': '[IntegrationRuntimeResource]'} - } - - def __init__(self, *args, **kwargs): - - super(IntegrationRuntimeResourcePaged, self).__init__(*args, **kwargs) -class PrivateLinkResourcePaged(Paged): - """ - A paging container for iterating over a list of :class:`PrivateLinkResource ` object - """ - - _attribute_map = { - 'next_link': {'key': 'nextLink', 'type': 'str'}, - 'current_page': {'key': 'value', 'type': '[PrivateLinkResource]'} - } - - def __init__(self, *args, **kwargs): - - super(PrivateLinkResourcePaged, self).__init__(*args, **kwargs) -class PrivateEndpointConnectionPaged(Paged): - """ - A paging container for iterating over a list of :class:`PrivateEndpointConnection ` object - """ - - _attribute_map = { - 'next_link': {'key': 'nextLink', 'type': 'str'}, - 'current_page': {'key': 'value', 'type': '[PrivateEndpointConnection]'} - } - - 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 ` 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) -class PrivateEndpointConnectionForPrivateLinkHubPaged(Paged): - """ - A paging container for iterating over a list of :class:`PrivateEndpointConnectionForPrivateLinkHub ` object - """ - - _attribute_map = { - 'next_link': {'key': 'nextLink', 'type': 'str'}, - 'current_page': {'key': 'value', 'type': '[PrivateEndpointConnectionForPrivateLinkHub]'} - } - - def __init__(self, *args, **kwargs): - - super(PrivateEndpointConnectionForPrivateLinkHubPaged, self).__init__(*args, **kwargs) class ServerBlobAuditingPolicyPaged(Paged): """ A paging container for iterating over a list of :class:`ServerBlobAuditingPolicy ` object @@ -467,16 +467,29 @@ class RecoverableSqlPoolPaged(Paged): def __init__(self, *args, **kwargs): super(RecoverableSqlPoolPaged, self).__init__(*args, **kwargs) -class KeyPaged(Paged): +class WorkspacePaged(Paged): """ - A paging container for iterating over a list of :class:`Key ` object + A paging container for iterating over a list of :class:`Workspace ` object """ _attribute_map = { 'next_link': {'key': 'nextLink', 'type': 'str'}, - 'current_page': {'key': 'value', 'type': '[Key]'} + 'current_page': {'key': 'value', 'type': '[Workspace]'} } def __init__(self, *args, **kwargs): - super(KeyPaged, self).__init__(*args, **kwargs) + super(WorkspacePaged, self).__init__(*args, **kwargs) +class RestorableDroppedSqlPoolPaged(Paged): + """ + A paging container for iterating over a list of :class:`RestorableDroppedSqlPool ` object + """ + + _attribute_map = { + 'next_link': {'key': 'nextLink', 'type': 'str'}, + 'current_page': {'key': 'value', 'type': '[RestorableDroppedSqlPool]'} + } + + def __init__(self, *args, **kwargs): + + super(RestorableDroppedSqlPoolPaged, self).__init__(*args, **kwargs) diff --git a/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/models/_synapse_management_client_enums.py b/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/models/_synapse_management_client_enums.py index 62f07bf19973..d59900a947d6 100644 --- a/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/models/_synapse_management_client_enums.py +++ b/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/models/_synapse_management_client_enums.py @@ -38,6 +38,112 @@ class ProvisioningState(str, Enum): delete_error = "DeleteError" +class IntegrationRuntimeType(str, Enum): + + managed = "Managed" + self_hosted = "SelfHosted" + + +class IntegrationRuntimeState(str, Enum): + + initial = "Initial" + stopped = "Stopped" + started = "Started" + starting = "Starting" + stopping = "Stopping" + need_registration = "NeedRegistration" + online = "Online" + limited = "Limited" + offline = "Offline" + access_denied = "AccessDenied" + + +class DataFlowComputeType(str, Enum): + + general = "General" + memory_optimized = "MemoryOptimized" + compute_optimized = "ComputeOptimized" + + +class IntegrationRuntimeSsisCatalogPricingTier(str, Enum): + + basic = "Basic" + standard = "Standard" + premium = "Premium" + premium_rs = "PremiumRS" + + +class IntegrationRuntimeLicenseType(str, Enum): + + base_price = "BasePrice" + license_included = "LicenseIncluded" + + +class IntegrationRuntimeEntityReferenceType(str, Enum): + + integration_runtime_reference = "IntegrationRuntimeReference" + linked_service_reference = "LinkedServiceReference" + + +class IntegrationRuntimeEdition(str, Enum): + + standard = "Standard" + enterprise = "Enterprise" + + +class ManagedIntegrationRuntimeNodeStatus(str, Enum): + + starting = "Starting" + available = "Available" + recycling = "Recycling" + unavailable = "Unavailable" + + +class IntegrationRuntimeInternalChannelEncryptionMode(str, Enum): + + not_set = "NotSet" + ssl_encrypted = "SslEncrypted" + not_encrypted = "NotEncrypted" + + +class SelfHostedIntegrationRuntimeNodeStatus(str, Enum): + + need_registration = "NeedRegistration" + online = "Online" + limited = "Limited" + offline = "Offline" + upgrading = "Upgrading" + initializing = "Initializing" + initialize_failed = "InitializeFailed" + + +class IntegrationRuntimeUpdateResult(str, Enum): + + none = "None" + succeed = "Succeed" + fail = "Fail" + + +class IntegrationRuntimeAutoUpdate(str, Enum): + + on = "On" + off = "Off" + + +class IntegrationRuntimeAuthKeyName(str, Enum): + + auth_key1 = "authKey1" + auth_key2 = "authKey2" + + +class SsisObjectMetadataType(str, Enum): + + folder = "Folder" + project = "Project" + package = "Package" + environment = "Environment" + + class OperationStatus(str, Enum): in_progress = "InProgress" @@ -250,122 +356,22 @@ class RecommendedSensitivityLabelUpdateKind(str, Enum): disable = "disable" -class ResourceIdentityType(str, Enum): - - none = "None" - system_assigned = "SystemAssigned" - - -class IntegrationRuntimeType(str, Enum): - - managed = "Managed" - self_hosted = "SelfHosted" - - -class IntegrationRuntimeState(str, Enum): - - initial = "Initial" - stopped = "Stopped" - started = "Started" - starting = "Starting" - stopping = "Stopping" - need_registration = "NeedRegistration" - online = "Online" - limited = "Limited" - offline = "Offline" - access_denied = "AccessDenied" - - -class DataFlowComputeType(str, Enum): - - general = "General" - memory_optimized = "MemoryOptimized" - compute_optimized = "ComputeOptimized" - - -class IntegrationRuntimeSsisCatalogPricingTier(str, Enum): - - basic = "Basic" - standard = "Standard" - premium = "Premium" - premium_rs = "PremiumRS" - - -class IntegrationRuntimeLicenseType(str, Enum): - - base_price = "BasePrice" - license_included = "LicenseIncluded" - - -class IntegrationRuntimeEntityReferenceType(str, Enum): - - integration_runtime_reference = "IntegrationRuntimeReference" - linked_service_reference = "LinkedServiceReference" - - -class IntegrationRuntimeEdition(str, Enum): - - standard = "Standard" - enterprise = "Enterprise" - - -class ManagedIntegrationRuntimeNodeStatus(str, Enum): - - starting = "Starting" - available = "Available" - recycling = "Recycling" - unavailable = "Unavailable" - - -class IntegrationRuntimeInternalChannelEncryptionMode(str, Enum): +class ServerKeyType(str, Enum): - not_set = "NotSet" - ssl_encrypted = "SslEncrypted" - not_encrypted = "NotEncrypted" + service_managed = "ServiceManaged" + azure_key_vault = "AzureKeyVault" -class SelfHostedIntegrationRuntimeNodeStatus(str, Enum): +class WorkspacePublicNetworkAccess(str, Enum): - need_registration = "NeedRegistration" - online = "Online" - limited = "Limited" - offline = "Offline" - upgrading = "Upgrading" - initializing = "Initializing" - initialize_failed = "InitializeFailed" + enabled = "Enabled" + disabled = "Disabled" -class IntegrationRuntimeUpdateResult(str, Enum): +class ResourceIdentityType(str, Enum): none = "None" - succeed = "Succeed" - fail = "Fail" - - -class IntegrationRuntimeAutoUpdate(str, Enum): - - on = "On" - off = "Off" - - -class IntegrationRuntimeAuthKeyName(str, Enum): - - auth_key1 = "authKey1" - auth_key2 = "authKey2" - - -class SsisObjectMetadataType(str, Enum): - - folder = "Folder" - project = "Project" - package = "Package" - environment = "Environment" - - -class ServerKeyType(str, Enum): - - service_managed = "ServiceManaged" - azure_key_vault = "AzureKeyVault" + system_assigned = "SystemAssigned" class SensitivityLabelSource(str, Enum): diff --git a/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/__init__.py b/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/__init__.py index daadaa64217e..70f002c0d718 100644 --- a/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/__init__.py +++ b/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/__init__.py @@ -12,6 +12,23 @@ from ._big_data_pools_operations import BigDataPoolsOperations from ._operations import Operations from ._ip_firewall_rules_operations import IpFirewallRulesOperations +from ._integration_runtimes_operations import IntegrationRuntimesOperations +from ._integration_runtime_node_ip_address_operations import IntegrationRuntimeNodeIpAddressOperations +from ._integration_runtime_object_metadata_operations import IntegrationRuntimeObjectMetadataOperations +from ._integration_runtime_nodes_operations import IntegrationRuntimeNodesOperations +from ._integration_runtime_credentials_operations import IntegrationRuntimeCredentialsOperations +from ._integration_runtime_connection_infos_operations import IntegrationRuntimeConnectionInfosOperations +from ._integration_runtime_auth_keys_operations import IntegrationRuntimeAuthKeysOperations +from ._integration_runtime_monitoring_data_operations import IntegrationRuntimeMonitoringDataOperations +from ._integration_runtime_status_operations import IntegrationRuntimeStatusOperations +from ._keys_operations import KeysOperations +from ._library_operations import LibraryOperations +from ._libraries_operations import LibrariesOperations +from ._private_endpoint_connections_operations import PrivateEndpointConnectionsOperations +from ._private_link_resources_operations import PrivateLinkResourcesOperations +from ._private_link_hub_private_link_resources_operations import PrivateLinkHubPrivateLinkResourcesOperations +from ._private_link_hubs_operations import PrivateLinkHubsOperations +from ._private_endpoint_connections_private_link_hub_operations import PrivateEndpointConnectionsPrivateLinkHubOperations from ._sql_pools_operations import SqlPoolsOperations from ._sql_pool_metadata_sync_configs_operations import SqlPoolMetadataSyncConfigsOperations from ._sql_pool_operation_results_operations import SqlPoolOperationResultsOperations @@ -41,25 +58,6 @@ from ._sql_pool_columns_operations import SqlPoolColumnsOperations from ._sql_pool_workload_group_operations import SqlPoolWorkloadGroupOperations from ._sql_pool_workload_classifier_operations import SqlPoolWorkloadClassifierOperations -from ._workspaces_operations import WorkspacesOperations -from ._workspace_aad_admins_operations import WorkspaceAadAdminsOperations -from ._workspace_sql_aad_admins_operations import WorkspaceSqlAadAdminsOperations -from ._workspace_managed_identity_sql_control_settings_operations import WorkspaceManagedIdentitySqlControlSettingsOperations -from ._restorable_dropped_sql_pools_operations import RestorableDroppedSqlPoolsOperations -from ._integration_runtimes_operations import IntegrationRuntimesOperations -from ._integration_runtime_node_ip_address_operations import IntegrationRuntimeNodeIpAddressOperations -from ._integration_runtime_object_metadata_operations import IntegrationRuntimeObjectMetadataOperations -from ._integration_runtime_nodes_operations import IntegrationRuntimeNodesOperations -from ._integration_runtime_credentials_operations import IntegrationRuntimeCredentialsOperations -from ._integration_runtime_connection_infos_operations import IntegrationRuntimeConnectionInfosOperations -from ._integration_runtime_auth_keys_operations import IntegrationRuntimeAuthKeysOperations -from ._integration_runtime_monitoring_data_operations import IntegrationRuntimeMonitoringDataOperations -from ._integration_runtime_status_operations import IntegrationRuntimeStatusOperations -from ._private_link_resources_operations import PrivateLinkResourcesOperations -from ._private_link_hub_private_link_resources_operations import PrivateLinkHubPrivateLinkResourcesOperations -from ._private_endpoint_connections_operations import PrivateEndpointConnectionsOperations -from ._private_link_hubs_operations import PrivateLinkHubsOperations -from ._private_endpoint_connections_private_link_hub_operations import PrivateEndpointConnectionsPrivateLinkHubOperations from ._workspace_managed_sql_server_blob_auditing_policies_operations import WorkspaceManagedSqlServerBlobAuditingPoliciesOperations from ._workspace_managed_sql_server_extended_blob_auditing_policies_operations import WorkspaceManagedSqlServerExtendedBlobAuditingPoliciesOperations from ._workspace_managed_sql_server_security_alert_policy_operations import WorkspaceManagedSqlServerSecurityAlertPolicyOperations @@ -67,12 +65,33 @@ from ._workspace_managed_sql_server_encryption_protector_operations import WorkspaceManagedSqlServerEncryptionProtectorOperations from ._workspace_managed_sql_server_usages_operations import WorkspaceManagedSqlServerUsagesOperations from ._workspace_managed_sql_server_recoverable_sql_pools_operations import WorkspaceManagedSqlServerRecoverableSqlPoolsOperations -from ._keys_operations import KeysOperations +from ._workspaces_operations import WorkspacesOperations +from ._workspace_aad_admins_operations import WorkspaceAadAdminsOperations +from ._workspace_sql_aad_admins_operations import WorkspaceSqlAadAdminsOperations +from ._workspace_managed_identity_sql_control_settings_operations import WorkspaceManagedIdentitySqlControlSettingsOperations +from ._restorable_dropped_sql_pools_operations import RestorableDroppedSqlPoolsOperations __all__ = [ 'BigDataPoolsOperations', 'Operations', 'IpFirewallRulesOperations', + 'IntegrationRuntimesOperations', + 'IntegrationRuntimeNodeIpAddressOperations', + 'IntegrationRuntimeObjectMetadataOperations', + 'IntegrationRuntimeNodesOperations', + 'IntegrationRuntimeCredentialsOperations', + 'IntegrationRuntimeConnectionInfosOperations', + 'IntegrationRuntimeAuthKeysOperations', + 'IntegrationRuntimeMonitoringDataOperations', + 'IntegrationRuntimeStatusOperations', + 'KeysOperations', + 'LibraryOperations', + 'LibrariesOperations', + 'PrivateEndpointConnectionsOperations', + 'PrivateLinkResourcesOperations', + 'PrivateLinkHubPrivateLinkResourcesOperations', + 'PrivateLinkHubsOperations', + 'PrivateEndpointConnectionsPrivateLinkHubOperations', 'SqlPoolsOperations', 'SqlPoolMetadataSyncConfigsOperations', 'SqlPoolOperationResultsOperations', @@ -102,25 +121,6 @@ 'SqlPoolColumnsOperations', 'SqlPoolWorkloadGroupOperations', 'SqlPoolWorkloadClassifierOperations', - 'WorkspacesOperations', - 'WorkspaceAadAdminsOperations', - 'WorkspaceSqlAadAdminsOperations', - 'WorkspaceManagedIdentitySqlControlSettingsOperations', - 'RestorableDroppedSqlPoolsOperations', - 'IntegrationRuntimesOperations', - 'IntegrationRuntimeNodeIpAddressOperations', - 'IntegrationRuntimeObjectMetadataOperations', - 'IntegrationRuntimeNodesOperations', - 'IntegrationRuntimeCredentialsOperations', - 'IntegrationRuntimeConnectionInfosOperations', - 'IntegrationRuntimeAuthKeysOperations', - 'IntegrationRuntimeMonitoringDataOperations', - 'IntegrationRuntimeStatusOperations', - 'PrivateLinkResourcesOperations', - 'PrivateLinkHubPrivateLinkResourcesOperations', - 'PrivateEndpointConnectionsOperations', - 'PrivateLinkHubsOperations', - 'PrivateEndpointConnectionsPrivateLinkHubOperations', 'WorkspaceManagedSqlServerBlobAuditingPoliciesOperations', 'WorkspaceManagedSqlServerExtendedBlobAuditingPoliciesOperations', 'WorkspaceManagedSqlServerSecurityAlertPolicyOperations', @@ -128,5 +128,9 @@ 'WorkspaceManagedSqlServerEncryptionProtectorOperations', 'WorkspaceManagedSqlServerUsagesOperations', 'WorkspaceManagedSqlServerRecoverableSqlPoolsOperations', - 'KeysOperations', + 'WorkspacesOperations', + 'WorkspaceAadAdminsOperations', + 'WorkspaceSqlAadAdminsOperations', + 'WorkspaceManagedIdentitySqlControlSettingsOperations', + 'RestorableDroppedSqlPoolsOperations', ] diff --git a/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_big_data_pools_operations.py b/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_big_data_pools_operations.py index c089f0670905..49d8d82ad85b 100644 --- a/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_big_data_pools_operations.py +++ b/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_big_data_pools_operations.py @@ -26,7 +26,7 @@ class BigDataPoolsOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: The API version to use for this operation. Constant value: "2020-12-01". + :ivar api_version: The API version to use for this operation. Constant value: "2021-03-01". """ models = models @@ -36,7 +36,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2020-12-01" + self.api_version = "2021-03-01" self.config = config diff --git a/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_data_masking_policies_operations.py b/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_data_masking_policies_operations.py index 506c103ae4f1..698442f14e20 100644 --- a/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_data_masking_policies_operations.py +++ b/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_data_masking_policies_operations.py @@ -24,7 +24,7 @@ class DataMaskingPoliciesOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: The API version to use for this operation. Constant value: "2020-12-01". + :ivar api_version: The API version to use for this operation. Constant value: "2021-03-01". :ivar data_masking_policy_name: The name of the data masking policy for which the masking rule applies. Constant value: "Default". """ @@ -35,7 +35,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2020-12-01" + self.api_version = "2021-03-01" self.data_masking_policy_name = "Default" self.config = config diff --git a/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_data_masking_rules_operations.py b/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_data_masking_rules_operations.py index 41acc17a953d..f6d7f739f0d6 100644 --- a/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_data_masking_rules_operations.py +++ b/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_data_masking_rules_operations.py @@ -24,7 +24,7 @@ class DataMaskingRulesOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: The API version to use for this operation. Constant value: "2020-12-01". + :ivar api_version: The API version to use for this operation. Constant value: "2021-03-01". :ivar data_masking_policy_name: The name of the data masking policy for which the masking rule applies. Constant value: "Default". """ @@ -35,7 +35,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2020-12-01" + self.api_version = "2021-03-01" self.data_masking_policy_name = "Default" self.config = config diff --git a/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_extended_sql_pool_blob_auditing_policies_operations.py b/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_extended_sql_pool_blob_auditing_policies_operations.py index 3e350a55e2a9..cb4b1b1b08c6 100644 --- a/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_extended_sql_pool_blob_auditing_policies_operations.py +++ b/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_extended_sql_pool_blob_auditing_policies_operations.py @@ -25,7 +25,7 @@ class ExtendedSqlPoolBlobAuditingPoliciesOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: The API version to use for this operation. Constant value: "2020-12-01". + :ivar api_version: The API version to use for this operation. Constant value: "2021-03-01". :ivar blob_auditing_policy_name: The name of the blob auditing policy. Constant value: "default". """ @@ -36,7 +36,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2020-12-01" + self.api_version = "2021-03-01" self.blob_auditing_policy_name = "default" self.config = config diff --git a/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_integration_runtime_auth_keys_operations.py b/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_integration_runtime_auth_keys_operations.py index fea1d52a382c..062d9c33eecd 100644 --- a/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_integration_runtime_auth_keys_operations.py +++ b/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_integration_runtime_auth_keys_operations.py @@ -24,7 +24,7 @@ class IntegrationRuntimeAuthKeysOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: The API version to use for this operation. Constant value: "2020-12-01". + :ivar api_version: The API version to use for this operation. Constant value: "2021-03-01". """ models = models @@ -34,7 +34,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2020-12-01" + self.api_version = "2021-03-01" self.config = config diff --git a/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_integration_runtime_connection_infos_operations.py b/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_integration_runtime_connection_infos_operations.py index 2a2dc44f41fd..44189ed9159f 100644 --- a/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_integration_runtime_connection_infos_operations.py +++ b/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_integration_runtime_connection_infos_operations.py @@ -24,7 +24,7 @@ class IntegrationRuntimeConnectionInfosOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: The API version to use for this operation. Constant value: "2020-12-01". + :ivar api_version: The API version to use for this operation. Constant value: "2021-03-01". """ models = models @@ -34,7 +34,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2020-12-01" + self.api_version = "2021-03-01" self.config = config diff --git a/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_integration_runtime_credentials_operations.py b/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_integration_runtime_credentials_operations.py index 16a56b14a3db..79aa653355a1 100644 --- a/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_integration_runtime_credentials_operations.py +++ b/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_integration_runtime_credentials_operations.py @@ -24,7 +24,7 @@ class IntegrationRuntimeCredentialsOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: The API version to use for this operation. Constant value: "2020-12-01". + :ivar api_version: The API version to use for this operation. Constant value: "2021-03-01". """ models = models @@ -34,7 +34,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2020-12-01" + self.api_version = "2021-03-01" self.config = config diff --git a/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_integration_runtime_monitoring_data_operations.py b/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_integration_runtime_monitoring_data_operations.py index c4f2f4ba2347..d846837738fd 100644 --- a/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_integration_runtime_monitoring_data_operations.py +++ b/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_integration_runtime_monitoring_data_operations.py @@ -24,7 +24,7 @@ class IntegrationRuntimeMonitoringDataOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: The API version to use for this operation. Constant value: "2020-12-01". + :ivar api_version: The API version to use for this operation. Constant value: "2021-03-01". """ models = models @@ -34,7 +34,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2020-12-01" + self.api_version = "2021-03-01" self.config = config diff --git a/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_integration_runtime_node_ip_address_operations.py b/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_integration_runtime_node_ip_address_operations.py index 80aa32686940..b3015732f3c1 100644 --- a/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_integration_runtime_node_ip_address_operations.py +++ b/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_integration_runtime_node_ip_address_operations.py @@ -24,7 +24,7 @@ class IntegrationRuntimeNodeIpAddressOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: The API version to use for this operation. Constant value: "2020-12-01". + :ivar api_version: The API version to use for this operation. Constant value: "2021-03-01". """ models = models @@ -34,7 +34,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2020-12-01" + self.api_version = "2021-03-01" self.config = config diff --git a/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_integration_runtime_nodes_operations.py b/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_integration_runtime_nodes_operations.py index 55eab70df231..01522f77c338 100644 --- a/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_integration_runtime_nodes_operations.py +++ b/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_integration_runtime_nodes_operations.py @@ -24,7 +24,7 @@ class IntegrationRuntimeNodesOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: The API version to use for this operation. Constant value: "2020-12-01". + :ivar api_version: The API version to use for this operation. Constant value: "2021-03-01". """ models = models @@ -34,7 +34,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2020-12-01" + self.api_version = "2021-03-01" self.config = config diff --git a/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_integration_runtime_object_metadata_operations.py b/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_integration_runtime_object_metadata_operations.py index 0f1b55aef9ce..0f3cb50c8228 100644 --- a/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_integration_runtime_object_metadata_operations.py +++ b/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_integration_runtime_object_metadata_operations.py @@ -26,7 +26,7 @@ class IntegrationRuntimeObjectMetadataOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: The API version to use for this operation. Constant value: "2020-12-01". + :ivar api_version: The API version to use for this operation. Constant value: "2021-03-01". """ models = models @@ -36,7 +36,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2020-12-01" + self.api_version = "2021-03-01" self.config = config diff --git a/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_integration_runtime_status_operations.py b/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_integration_runtime_status_operations.py index 312ef8884e0f..7ae0692a915e 100644 --- a/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_integration_runtime_status_operations.py +++ b/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_integration_runtime_status_operations.py @@ -24,7 +24,7 @@ class IntegrationRuntimeStatusOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: The API version to use for this operation. Constant value: "2020-12-01". + :ivar api_version: The API version to use for this operation. Constant value: "2021-03-01". """ models = models @@ -34,7 +34,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2020-12-01" + self.api_version = "2021-03-01" self.config = config diff --git a/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_integration_runtimes_operations.py b/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_integration_runtimes_operations.py index 12757dedb806..5bb292dcae2f 100644 --- a/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_integration_runtimes_operations.py +++ b/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_integration_runtimes_operations.py @@ -26,7 +26,7 @@ class IntegrationRuntimesOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: The API version to use for this operation. Constant value: "2020-12-01". + :ivar api_version: The API version to use for this operation. Constant value: "2021-03-01". """ models = models @@ -36,7 +36,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2020-12-01" + self.api_version = "2021-03-01" self.config = config diff --git a/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_ip_firewall_rules_operations.py b/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_ip_firewall_rules_operations.py index 7a876d0d4ef8..41a81e514b74 100644 --- a/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_ip_firewall_rules_operations.py +++ b/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_ip_firewall_rules_operations.py @@ -26,7 +26,7 @@ class IpFirewallRulesOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: The API version to use for this operation. Constant value: "2020-12-01". + :ivar api_version: The API version to use for this operation. Constant value: "2021-03-01". """ models = models @@ -36,7 +36,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2020-12-01" + self.api_version = "2021-03-01" self.config = config diff --git a/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_keys_operations.py b/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_keys_operations.py index d2ad3a64e380..65d492421253 100644 --- a/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_keys_operations.py +++ b/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_keys_operations.py @@ -24,7 +24,7 @@ class KeysOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: The API version to use for this operation. Constant value: "2020-12-01". + :ivar api_version: The API version to use for this operation. Constant value: "2021-03-01". """ models = models @@ -34,7 +34,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2020-12-01" + self.api_version = "2021-03-01" self.config = config diff --git a/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_libraries_operations.py b/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_libraries_operations.py new file mode 100644 index 000000000000..17ee33b76071 --- /dev/null +++ b/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_libraries_operations.py @@ -0,0 +1,113 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +import uuid +from msrest.pipeline import ClientRawResponse + +from .. import models + + +class LibrariesOperations(object): + """LibrariesOperations operations. + + You should not instantiate directly this class, but create a Client instance that will create it for you and attach it as attribute. + + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + :ivar api_version: The API version to use for this operation. Constant value: "2021-03-01". + """ + + models = models + + def __init__(self, client, config, serializer, deserializer): + + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self.api_version = "2021-03-01" + + self.config = config + + def list_by_workspace( + self, resource_group_name, workspace_name, custom_headers=None, raw=False, **operation_config): + """List the libraries in a workspace. + + List libraries in a workspace. + + :param resource_group_name: The name of the resource group. The name + is case insensitive. + :type resource_group_name: str + :param workspace_name: The name of the workspace + :type workspace_name: str + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :param operation_config: :ref:`Operation configuration + overrides`. + :return: An iterator like instance of LibraryResource + :rtype: + ~azure.mgmt.synapse.models.LibraryResourcePaged[~azure.mgmt.synapse.models.LibraryResource] + :raises: + :class:`ErrorResponseException` + """ + def prepare_request(next_link=None): + if not next_link: + # Construct URL + url = self.list_by_workspace.metadata['url'] + path_format_arguments = { + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str', min_length=1), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'workspaceName': self._serialize.url("workspace_name", workspace_name, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str', min_length=1) + + else: + url = next_link + query_parameters = {} + + # Construct headers + header_parameters = {} + header_parameters['Accept'] = 'application/json' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.get(url, query_parameters, header_parameters) + return request + + def internal_paging(next_link=None): + request = prepare_request(next_link) + + response = self._client.send(request, stream=False, **operation_config) + + if response.status_code not in [200]: + raise models.ErrorResponseException(self._deserialize, response) + + return response + + # Deserialize response + header_dict = None + if raw: + header_dict = {} + deserialized = models.LibraryResourcePaged(internal_paging, self._deserialize.dependencies, header_dict) + + return deserialized + list_by_workspace.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/libraries'} diff --git a/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_library_operations.py b/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_library_operations.py new file mode 100644 index 000000000000..b4000eb5dae2 --- /dev/null +++ b/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_library_operations.py @@ -0,0 +1,105 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +import uuid +from msrest.pipeline import ClientRawResponse + +from .. import models + + +class LibraryOperations(object): + """LibraryOperations operations. + + You should not instantiate directly this class, but create a Client instance that will create it for you and attach it as attribute. + + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + :ivar api_version: The API version to use for this operation. Constant value: "2021-03-01". + """ + + models = models + + def __init__(self, client, config, serializer, deserializer): + + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self.api_version = "2021-03-01" + + self.config = config + + def get( + self, resource_group_name, library_name, workspace_name, custom_headers=None, raw=False, **operation_config): + """Get library by name. + + Get library by name in a workspace. + + :param resource_group_name: The name of the resource group. The name + is case insensitive. + :type resource_group_name: str + :param library_name: Library name + :type library_name: str + :param workspace_name: The name of the workspace + :type workspace_name: str + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :param operation_config: :ref:`Operation configuration + overrides`. + :return: LibraryResource or ClientRawResponse if raw=true + :rtype: ~azure.mgmt.synapse.models.LibraryResource or + ~msrest.pipeline.ClientRawResponse + :raises: + :class:`ErrorResponseException` + """ + # Construct URL + url = self.get.metadata['url'] + path_format_arguments = { + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str', min_length=1), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'libraryName': self._serialize.url("library_name", library_name, 'str'), + 'workspaceName': self._serialize.url("workspace_name", workspace_name, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str', min_length=1) + + # Construct headers + header_parameters = {} + header_parameters['Accept'] = 'application/json' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.get(url, query_parameters, header_parameters) + response = self._client.send(request, stream=False, **operation_config) + + if response.status_code not in [200]: + raise models.ErrorResponseException(self._deserialize, response) + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('LibraryResource', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/libraries/{libraryName}'} diff --git a/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_operations.py b/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_operations.py index 84d67c61fa07..5d8a340cb93b 100644 --- a/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_operations.py +++ b/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_operations.py @@ -24,7 +24,7 @@ class Operations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: The API version to use for this operation. Constant value: "2020-12-01". + :ivar api_version: The API version to use for this operation. Constant value: "2021-03-01". """ models = models @@ -34,7 +34,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2020-12-01" + self.api_version = "2021-03-01" self.config = config diff --git a/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_private_endpoint_connections_operations.py b/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_private_endpoint_connections_operations.py index 3f92a1692ffe..d3c6e8938f60 100644 --- a/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_private_endpoint_connections_operations.py +++ b/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_private_endpoint_connections_operations.py @@ -26,7 +26,7 @@ class PrivateEndpointConnectionsOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: The API version to use for this operation. Constant value: "2020-12-01". + :ivar api_version: The API version to use for this operation. Constant value: "2021-03-01". """ models = models @@ -36,7 +36,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2020-12-01" + self.api_version = "2021-03-01" self.config = config diff --git a/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_private_endpoint_connections_private_link_hub_operations.py b/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_private_endpoint_connections_private_link_hub_operations.py index ed83043e49f0..43003e4993a3 100644 --- a/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_private_endpoint_connections_private_link_hub_operations.py +++ b/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_private_endpoint_connections_private_link_hub_operations.py @@ -24,7 +24,7 @@ class PrivateEndpointConnectionsPrivateLinkHubOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: The API version to use for this operation. Constant value: "2020-12-01". + :ivar api_version: The API version to use for this operation. Constant value: "2021-03-01". """ models = models @@ -34,7 +34,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2020-12-01" + self.api_version = "2021-03-01" self.config = config diff --git a/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_private_link_hub_private_link_resources_operations.py b/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_private_link_hub_private_link_resources_operations.py index 4fa93d1ebf8b..5d28d130ba2f 100644 --- a/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_private_link_hub_private_link_resources_operations.py +++ b/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_private_link_hub_private_link_resources_operations.py @@ -24,7 +24,7 @@ class PrivateLinkHubPrivateLinkResourcesOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: The API version to use for this operation. Constant value: "2020-12-01". + :ivar api_version: The API version to use for this operation. Constant value: "2021-03-01". """ models = models @@ -34,7 +34,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2020-12-01" + self.api_version = "2021-03-01" self.config = config diff --git a/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_private_link_hubs_operations.py b/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_private_link_hubs_operations.py index 92ef36ca79c2..2aaef5985f9f 100644 --- a/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_private_link_hubs_operations.py +++ b/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_private_link_hubs_operations.py @@ -26,7 +26,7 @@ class PrivateLinkHubsOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: The API version to use for this operation. Constant value: "2020-12-01". + :ivar api_version: The API version to use for this operation. Constant value: "2021-03-01". """ models = models @@ -36,7 +36,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2020-12-01" + self.api_version = "2021-03-01" self.config = config diff --git a/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_private_link_resources_operations.py b/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_private_link_resources_operations.py index 242cfaf5bb83..8e100f9ece00 100644 --- a/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_private_link_resources_operations.py +++ b/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_private_link_resources_operations.py @@ -24,7 +24,7 @@ class PrivateLinkResourcesOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: The API version to use for this operation. Constant value: "2020-12-01". + :ivar api_version: The API version to use for this operation. Constant value: "2021-03-01". """ models = models @@ -34,7 +34,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2020-12-01" + self.api_version = "2021-03-01" self.config = config diff --git a/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_restorable_dropped_sql_pools_operations.py b/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_restorable_dropped_sql_pools_operations.py index ba4413c59423..ff616f4a707e 100644 --- a/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_restorable_dropped_sql_pools_operations.py +++ b/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_restorable_dropped_sql_pools_operations.py @@ -24,7 +24,7 @@ class RestorableDroppedSqlPoolsOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: The API version to use for this operation. Constant value: "2020-12-01". + :ivar api_version: The API version to use for this operation. Constant value: "2021-03-01". """ models = models @@ -34,7 +34,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2020-12-01" + self.api_version = "2021-03-01" self.config = config diff --git a/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_sql_pool_blob_auditing_policies_operations.py b/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_sql_pool_blob_auditing_policies_operations.py index 184bbb21d69b..ce0c64ff45af 100644 --- a/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_sql_pool_blob_auditing_policies_operations.py +++ b/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_sql_pool_blob_auditing_policies_operations.py @@ -25,7 +25,7 @@ class SqlPoolBlobAuditingPoliciesOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: The API version to use for this operation. Constant value: "2020-12-01". + :ivar api_version: The API version to use for this operation. Constant value: "2021-03-01". :ivar blob_auditing_policy_name: The name of the blob auditing policy. Constant value: "default". """ @@ -36,7 +36,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2020-12-01" + self.api_version = "2021-03-01" self.blob_auditing_policy_name = "default" self.config = config diff --git a/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_sql_pool_columns_operations.py b/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_sql_pool_columns_operations.py index ff5873a1ee4f..3b1aa962aa72 100644 --- a/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_sql_pool_columns_operations.py +++ b/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_sql_pool_columns_operations.py @@ -25,7 +25,7 @@ class SqlPoolColumnsOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: The API version to use for this operation. Constant value: "2020-12-01". + :ivar api_version: The API version to use for this operation. Constant value: "2021-03-01". """ models = models @@ -35,7 +35,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2020-12-01" + self.api_version = "2021-03-01" self.config = config diff --git a/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_sql_pool_connection_policies_operations.py b/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_sql_pool_connection_policies_operations.py index 074cf2826a0d..842d2cbddf28 100644 --- a/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_sql_pool_connection_policies_operations.py +++ b/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_sql_pool_connection_policies_operations.py @@ -24,7 +24,7 @@ class SqlPoolConnectionPoliciesOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: The API version to use for this operation. Constant value: "2020-12-01". + :ivar api_version: The API version to use for this operation. Constant value: "2021-03-01". :ivar connection_policy_name: The name of the connection policy. Constant value: "default". """ @@ -35,7 +35,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2020-12-01" + self.api_version = "2021-03-01" self.connection_policy_name = "default" self.config = config diff --git a/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_sql_pool_data_warehouse_user_activities_operations.py b/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_sql_pool_data_warehouse_user_activities_operations.py index c88cc2287fdd..830e9f0e7706 100644 --- a/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_sql_pool_data_warehouse_user_activities_operations.py +++ b/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_sql_pool_data_warehouse_user_activities_operations.py @@ -25,7 +25,7 @@ class SqlPoolDataWarehouseUserActivitiesOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: The API version to use for this operation. Constant value: "2020-12-01". + :ivar api_version: The API version to use for this operation. Constant value: "2021-03-01". :ivar data_warehouse_user_activity_name: The activity name of the Sql pool. . Constant value: "current". """ @@ -36,7 +36,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2020-12-01" + self.api_version = "2021-03-01" self.data_warehouse_user_activity_name = "current" self.config = config diff --git a/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_sql_pool_geo_backup_policies_operations.py b/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_sql_pool_geo_backup_policies_operations.py index adb5dfb20016..8931530d940e 100644 --- a/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_sql_pool_geo_backup_policies_operations.py +++ b/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_sql_pool_geo_backup_policies_operations.py @@ -24,7 +24,7 @@ class SqlPoolGeoBackupPoliciesOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: The API version to use for this operation. Constant value: "2020-12-01". + :ivar api_version: The API version to use for this operation. Constant value: "2021-03-01". :ivar geo_backup_policy_name: The name of the geo backup policy. Constant value: "Default". """ @@ -35,7 +35,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2020-12-01" + self.api_version = "2021-03-01" self.geo_backup_policy_name = "Default" self.config = config diff --git a/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_sql_pool_maintenance_window_options_operations.py b/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_sql_pool_maintenance_window_options_operations.py index 713f035eda01..ea3b62edc4e0 100644 --- a/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_sql_pool_maintenance_window_options_operations.py +++ b/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_sql_pool_maintenance_window_options_operations.py @@ -25,7 +25,7 @@ class SqlPoolMaintenanceWindowOptionsOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: The API version to use for this operation. Constant value: "2020-12-01". + :ivar api_version: The API version to use for this operation. Constant value: "2021-03-01". """ models = models @@ -35,7 +35,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2020-12-01" + self.api_version = "2021-03-01" self.config = config diff --git a/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_sql_pool_maintenance_windows_operations.py b/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_sql_pool_maintenance_windows_operations.py index 33422c4c31af..502944184fe5 100644 --- a/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_sql_pool_maintenance_windows_operations.py +++ b/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_sql_pool_maintenance_windows_operations.py @@ -25,7 +25,7 @@ class SqlPoolMaintenanceWindowsOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: The API version to use for this operation. Constant value: "2020-12-01". + :ivar api_version: The API version to use for this operation. Constant value: "2021-03-01". """ models = models @@ -35,7 +35,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2020-12-01" + self.api_version = "2021-03-01" self.config = config diff --git a/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_sql_pool_metadata_sync_configs_operations.py b/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_sql_pool_metadata_sync_configs_operations.py index c66ed6172b71..2de69a2c358a 100644 --- a/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_sql_pool_metadata_sync_configs_operations.py +++ b/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_sql_pool_metadata_sync_configs_operations.py @@ -24,7 +24,7 @@ class SqlPoolMetadataSyncConfigsOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: The API version to use for this operation. Constant value: "2020-12-01". + :ivar api_version: The API version to use for this operation. Constant value: "2021-03-01". """ models = models @@ -34,7 +34,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2020-12-01" + self.api_version = "2021-03-01" self.config = config diff --git a/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_sql_pool_operation_results_operations.py b/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_sql_pool_operation_results_operations.py index ed321bbd1d67..5d66a4cc76a7 100644 --- a/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_sql_pool_operation_results_operations.py +++ b/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_sql_pool_operation_results_operations.py @@ -24,7 +24,7 @@ class SqlPoolOperationResultsOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: The API version to use for this operation. Constant value: "2020-12-01". + :ivar api_version: The API version to use for this operation. Constant value: "2021-03-01". """ models = models @@ -34,7 +34,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2020-12-01" + self.api_version = "2021-03-01" self.config = config diff --git a/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_sql_pool_operations.py b/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_sql_pool_operations.py index 7621c0a49139..f4885a3834f8 100644 --- a/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_sql_pool_operations.py +++ b/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_sql_pool_operations.py @@ -25,7 +25,7 @@ class SqlPoolOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: The API version to use for this operation. Constant value: "2020-12-01". + :ivar api_version: The API version to use for this operation. Constant value: "2021-03-01". """ models = models @@ -35,7 +35,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2020-12-01" + self.api_version = "2021-03-01" self.config = config diff --git a/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_sql_pool_recommended_sensitivity_labels_operations.py b/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_sql_pool_recommended_sensitivity_labels_operations.py index 14a9490a9ff7..c8843bccf32f 100644 --- a/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_sql_pool_recommended_sensitivity_labels_operations.py +++ b/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_sql_pool_recommended_sensitivity_labels_operations.py @@ -25,7 +25,7 @@ class SqlPoolRecommendedSensitivityLabelsOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: The API version to use for this operation. Constant value: "2020-12-01". + :ivar api_version: The API version to use for this operation. Constant value: "2021-03-01". """ models = models @@ -35,7 +35,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2020-12-01" + self.api_version = "2021-03-01" self.config = config diff --git a/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_sql_pool_replication_links_operations.py b/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_sql_pool_replication_links_operations.py index 3ef62e1d10e6..b54beeb5511f 100644 --- a/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_sql_pool_replication_links_operations.py +++ b/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_sql_pool_replication_links_operations.py @@ -24,7 +24,7 @@ class SqlPoolReplicationLinksOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: The API version to use for this operation. Constant value: "2020-12-01". + :ivar api_version: The API version to use for this operation. Constant value: "2021-03-01". """ models = models @@ -34,7 +34,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2020-12-01" + self.api_version = "2021-03-01" self.config = config diff --git a/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_sql_pool_restore_points_operations.py b/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_sql_pool_restore_points_operations.py index 6d77c2571020..682d29e797a9 100644 --- a/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_sql_pool_restore_points_operations.py +++ b/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_sql_pool_restore_points_operations.py @@ -27,7 +27,7 @@ class SqlPoolRestorePointsOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: The API version to use for this operation. Constant value: "2020-12-01". + :ivar api_version: The API version to use for this operation. Constant value: "2021-03-01". """ models = models @@ -37,7 +37,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2020-12-01" + self.api_version = "2021-03-01" self.config = config @@ -345,7 +345,7 @@ def delete( request = self._client.delete(url, query_parameters, header_parameters) response = self._client.send(request, stream=False, **operation_config) - if response.status_code not in [200]: + if response.status_code not in [200, 204]: exp = CloudError(response) exp.request_id = response.headers.get('x-ms-request-id') raise exp diff --git a/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_sql_pool_schemas_operations.py b/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_sql_pool_schemas_operations.py index d717599f17ae..3caa14ff6ffc 100644 --- a/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_sql_pool_schemas_operations.py +++ b/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_sql_pool_schemas_operations.py @@ -25,7 +25,7 @@ class SqlPoolSchemasOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: The API version to use for this operation. Constant value: "2020-12-01". + :ivar api_version: The API version to use for this operation. Constant value: "2021-03-01". """ models = models @@ -35,7 +35,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2020-12-01" + self.api_version = "2021-03-01" self.config = config diff --git a/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_sql_pool_security_alert_policies_operations.py b/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_sql_pool_security_alert_policies_operations.py index 58f77c180c5c..0ec046d8bb25 100644 --- a/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_sql_pool_security_alert_policies_operations.py +++ b/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_sql_pool_security_alert_policies_operations.py @@ -25,7 +25,7 @@ class SqlPoolSecurityAlertPoliciesOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: The API version to use for this operation. Constant value: "2020-12-01". + :ivar api_version: The API version to use for this operation. Constant value: "2021-03-01". :ivar security_alert_policy_name: The name of the security alert policy. Constant value: "default". """ @@ -36,7 +36,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2020-12-01" + self.api_version = "2021-03-01" self.security_alert_policy_name = "default" self.config = config diff --git a/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_sql_pool_sensitivity_labels_operations.py b/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_sql_pool_sensitivity_labels_operations.py index 7e358d51d28b..fc1f92b830f4 100644 --- a/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_sql_pool_sensitivity_labels_operations.py +++ b/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_sql_pool_sensitivity_labels_operations.py @@ -25,7 +25,7 @@ class SqlPoolSensitivityLabelsOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: The API version to use for this operation. Constant value: "2020-12-01". + :ivar api_version: The API version to use for this operation. Constant value: "2021-03-01". """ models = models @@ -35,7 +35,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2020-12-01" + self.api_version = "2021-03-01" self.config = config diff --git a/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_sql_pool_table_columns_operations.py b/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_sql_pool_table_columns_operations.py index da2320769d40..7e1e94690fe7 100644 --- a/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_sql_pool_table_columns_operations.py +++ b/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_sql_pool_table_columns_operations.py @@ -25,7 +25,7 @@ class SqlPoolTableColumnsOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: The API version to use for this operation. Constant value: "2020-12-01". + :ivar api_version: The API version to use for this operation. Constant value: "2021-03-01". """ models = models @@ -35,7 +35,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2020-12-01" + self.api_version = "2021-03-01" self.config = config diff --git a/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_sql_pool_tables_operations.py b/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_sql_pool_tables_operations.py index f8d3bc463a33..1b83b3160443 100644 --- a/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_sql_pool_tables_operations.py +++ b/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_sql_pool_tables_operations.py @@ -25,7 +25,7 @@ class SqlPoolTablesOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: The API version to use for this operation. Constant value: "2020-12-01". + :ivar api_version: The API version to use for this operation. Constant value: "2021-03-01". """ models = models @@ -35,7 +35,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2020-12-01" + self.api_version = "2021-03-01" self.config = config diff --git a/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_sql_pool_transparent_data_encryptions_operations.py b/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_sql_pool_transparent_data_encryptions_operations.py index 915dc520ad43..96dca60e8867 100644 --- a/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_sql_pool_transparent_data_encryptions_operations.py +++ b/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_sql_pool_transparent_data_encryptions_operations.py @@ -25,7 +25,7 @@ class SqlPoolTransparentDataEncryptionsOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: The API version to use for this operation. Constant value: "2020-12-01". + :ivar api_version: The API version to use for this operation. Constant value: "2021-03-01". :ivar transparent_data_encryption_name: The name of the transparent data encryption configuration. Constant value: "current". """ @@ -36,7 +36,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2020-12-01" + self.api_version = "2021-03-01" self.transparent_data_encryption_name = "current" self.config = config diff --git a/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_sql_pool_usages_operations.py b/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_sql_pool_usages_operations.py index 594d4b80be38..0098dc15c4cf 100644 --- a/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_sql_pool_usages_operations.py +++ b/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_sql_pool_usages_operations.py @@ -24,7 +24,7 @@ class SqlPoolUsagesOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: The API version to use for this operation. Constant value: "2020-12-01". + :ivar api_version: The API version to use for this operation. Constant value: "2021-03-01". """ models = models @@ -34,7 +34,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2020-12-01" + self.api_version = "2021-03-01" self.config = config diff --git a/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_sql_pool_vulnerability_assessment_rule_baselines_operations.py b/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_sql_pool_vulnerability_assessment_rule_baselines_operations.py index 32d9e2e53f6d..4c93ba390b6c 100644 --- a/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_sql_pool_vulnerability_assessment_rule_baselines_operations.py +++ b/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_sql_pool_vulnerability_assessment_rule_baselines_operations.py @@ -25,7 +25,7 @@ class SqlPoolVulnerabilityAssessmentRuleBaselinesOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: The API version to use for this operation. Constant value: "2020-12-01". + :ivar api_version: The API version to use for this operation. Constant value: "2021-03-01". :ivar vulnerability_assessment_name: The name of the vulnerability assessment. Constant value: "default". """ @@ -36,7 +36,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2020-12-01" + self.api_version = "2021-03-01" self.vulnerability_assessment_name = "default" self.config = config diff --git a/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_sql_pool_vulnerability_assessment_scans_operations.py b/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_sql_pool_vulnerability_assessment_scans_operations.py index 7702e4956815..a0e3ba9c6b5a 100644 --- a/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_sql_pool_vulnerability_assessment_scans_operations.py +++ b/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_sql_pool_vulnerability_assessment_scans_operations.py @@ -27,7 +27,7 @@ class SqlPoolVulnerabilityAssessmentScansOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: The API version to use for this operation. Constant value: "2020-12-01". + :ivar api_version: The API version to use for this operation. Constant value: "2021-03-01". :ivar vulnerability_assessment_name: The name of the vulnerability assessment. Constant value: "default". """ @@ -38,7 +38,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2020-12-01" + self.api_version = "2021-03-01" self.vulnerability_assessment_name = "default" self.config = config diff --git a/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_sql_pool_vulnerability_assessments_operations.py b/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_sql_pool_vulnerability_assessments_operations.py index 71e5cb99cf7a..f7ee61a71004 100644 --- a/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_sql_pool_vulnerability_assessments_operations.py +++ b/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_sql_pool_vulnerability_assessments_operations.py @@ -25,7 +25,7 @@ class SqlPoolVulnerabilityAssessmentsOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: The API version to use for this operation. Constant value: "2020-12-01". + :ivar api_version: The API version to use for this operation. Constant value: "2021-03-01". :ivar vulnerability_assessment_name: The name of the vulnerability assessment. Constant value: "default". """ @@ -36,7 +36,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2020-12-01" + self.api_version = "2021-03-01" self.vulnerability_assessment_name = "default" self.config = config diff --git a/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_sql_pool_workload_classifier_operations.py b/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_sql_pool_workload_classifier_operations.py index a2930234e2af..67347b1804f3 100644 --- a/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_sql_pool_workload_classifier_operations.py +++ b/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_sql_pool_workload_classifier_operations.py @@ -27,7 +27,7 @@ class SqlPoolWorkloadClassifierOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: The API version to use for this operation. Constant value: "2020-12-01". + :ivar api_version: The API version to use for this operation. Constant value: "2021-03-01". """ models = models @@ -37,7 +37,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2020-12-01" + self.api_version = "2021-03-01" self.config = config diff --git a/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_sql_pool_workload_group_operations.py b/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_sql_pool_workload_group_operations.py index d2952de8e8dc..3b0d86957e54 100644 --- a/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_sql_pool_workload_group_operations.py +++ b/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_sql_pool_workload_group_operations.py @@ -27,7 +27,7 @@ class SqlPoolWorkloadGroupOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: The API version to use for this operation. Constant value: "2020-12-01". + :ivar api_version: The API version to use for this operation. Constant value: "2021-03-01". """ models = models @@ -37,7 +37,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2020-12-01" + self.api_version = "2021-03-01" self.config = config diff --git a/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_sql_pools_operations.py b/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_sql_pools_operations.py index c17ee9a42698..fc0a8de0b0b8 100644 --- a/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_sql_pools_operations.py +++ b/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_sql_pools_operations.py @@ -27,7 +27,7 @@ class SqlPoolsOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: The API version to use for this operation. Constant value: "2020-12-01". + :ivar api_version: The API version to use for this operation. Constant value: "2021-03-01". """ models = models @@ -37,7 +37,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2020-12-01" + self.api_version = "2021-03-01" self.config = config diff --git a/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_workspace_aad_admins_operations.py b/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_workspace_aad_admins_operations.py index 89bf0d1e7990..6372bf53b600 100644 --- a/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_workspace_aad_admins_operations.py +++ b/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_workspace_aad_admins_operations.py @@ -26,7 +26,7 @@ class WorkspaceAadAdminsOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: The API version to use for this operation. Constant value: "2020-12-01". + :ivar api_version: The API version to use for this operation. Constant value: "2021-03-01". """ models = models @@ -36,7 +36,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2020-12-01" + self.api_version = "2021-03-01" self.config = config diff --git a/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_workspace_managed_identity_sql_control_settings_operations.py b/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_workspace_managed_identity_sql_control_settings_operations.py index c1f9dd6ee755..a8330df45968 100644 --- a/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_workspace_managed_identity_sql_control_settings_operations.py +++ b/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_workspace_managed_identity_sql_control_settings_operations.py @@ -26,7 +26,7 @@ class WorkspaceManagedIdentitySqlControlSettingsOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: The API version to use for this operation. Constant value: "2020-12-01". + :ivar api_version: The API version to use for this operation. Constant value: "2021-03-01". """ models = models @@ -36,7 +36,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2020-12-01" + self.api_version = "2021-03-01" self.config = config diff --git a/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_workspace_managed_sql_server_blob_auditing_policies_operations.py b/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_workspace_managed_sql_server_blob_auditing_policies_operations.py index aede6909e3da..c054857333a4 100644 --- a/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_workspace_managed_sql_server_blob_auditing_policies_operations.py +++ b/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_workspace_managed_sql_server_blob_auditing_policies_operations.py @@ -27,7 +27,7 @@ class WorkspaceManagedSqlServerBlobAuditingPoliciesOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: The API version to use for this operation. Constant value: "2020-12-01". + :ivar api_version: The API version to use for this operation. Constant value: "2021-03-01". :ivar blob_auditing_policy_name: The name of the blob auditing policy. Constant value: "default". """ @@ -38,7 +38,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2020-12-01" + self.api_version = "2021-03-01" self.blob_auditing_policy_name = "default" self.config = config diff --git a/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_workspace_managed_sql_server_encryption_protector_operations.py b/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_workspace_managed_sql_server_encryption_protector_operations.py index 7545ec06b5c5..d0b0443cc868 100644 --- a/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_workspace_managed_sql_server_encryption_protector_operations.py +++ b/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_workspace_managed_sql_server_encryption_protector_operations.py @@ -27,7 +27,7 @@ class WorkspaceManagedSqlServerEncryptionProtectorOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: The API version to use for this operation. Constant value: "2020-12-01". + :ivar api_version: The API version to use for this operation. Constant value: "2021-03-01". :ivar encryption_protector_name: The name of the encryption protector. Constant value: "current". """ @@ -38,7 +38,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2020-12-01" + self.api_version = "2021-03-01" self.encryption_protector_name = "current" self.config = config diff --git a/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_workspace_managed_sql_server_extended_blob_auditing_policies_operations.py b/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_workspace_managed_sql_server_extended_blob_auditing_policies_operations.py index 8c32923c5f77..c5c1e71b548b 100644 --- a/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_workspace_managed_sql_server_extended_blob_auditing_policies_operations.py +++ b/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_workspace_managed_sql_server_extended_blob_auditing_policies_operations.py @@ -27,7 +27,7 @@ class WorkspaceManagedSqlServerExtendedBlobAuditingPoliciesOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: The API version to use for this operation. Constant value: "2020-12-01". + :ivar api_version: The API version to use for this operation. Constant value: "2021-03-01". :ivar blob_auditing_policy_name: The name of the blob auditing policy. Constant value: "default". """ @@ -38,7 +38,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2020-12-01" + self.api_version = "2021-03-01" self.blob_auditing_policy_name = "default" self.config = config diff --git a/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_workspace_managed_sql_server_recoverable_sql_pools_operations.py b/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_workspace_managed_sql_server_recoverable_sql_pools_operations.py index 162946327267..915852d75f71 100644 --- a/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_workspace_managed_sql_server_recoverable_sql_pools_operations.py +++ b/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_workspace_managed_sql_server_recoverable_sql_pools_operations.py @@ -25,7 +25,7 @@ class WorkspaceManagedSqlServerRecoverableSqlPoolsOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: The API version to use for this operation. Constant value: "2020-12-01". + :ivar api_version: The API version to use for this operation. Constant value: "2021-03-01". """ models = models @@ -35,7 +35,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2020-12-01" + self.api_version = "2021-03-01" self.config = config diff --git a/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_workspace_managed_sql_server_security_alert_policy_operations.py b/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_workspace_managed_sql_server_security_alert_policy_operations.py index de4887607731..762c4c3e3057 100644 --- a/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_workspace_managed_sql_server_security_alert_policy_operations.py +++ b/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_workspace_managed_sql_server_security_alert_policy_operations.py @@ -27,7 +27,7 @@ class WorkspaceManagedSqlServerSecurityAlertPolicyOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: The API version to use for this operation. Constant value: "2020-12-01". + :ivar api_version: The API version to use for this operation. Constant value: "2021-03-01". :ivar security_alert_policy_name: The name of the security alert policy. Constant value: "Default". """ @@ -38,7 +38,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2020-12-01" + self.api_version = "2021-03-01" self.security_alert_policy_name = "Default" self.config = config diff --git a/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_workspace_managed_sql_server_usages_operations.py b/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_workspace_managed_sql_server_usages_operations.py index 1c263fd80a70..28d1e63f2000 100644 --- a/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_workspace_managed_sql_server_usages_operations.py +++ b/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_workspace_managed_sql_server_usages_operations.py @@ -25,7 +25,7 @@ class WorkspaceManagedSqlServerUsagesOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: The API version to use for this operation. Constant value: "2020-12-01". + :ivar api_version: The API version to use for this operation. Constant value: "2021-03-01". """ models = models @@ -35,7 +35,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2020-12-01" + self.api_version = "2021-03-01" self.config = config diff --git a/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_workspace_managed_sql_server_vulnerability_assessments_operations.py b/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_workspace_managed_sql_server_vulnerability_assessments_operations.py index 37c12a36d54c..91758c8af26a 100644 --- a/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_workspace_managed_sql_server_vulnerability_assessments_operations.py +++ b/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_workspace_managed_sql_server_vulnerability_assessments_operations.py @@ -25,7 +25,7 @@ class WorkspaceManagedSqlServerVulnerabilityAssessmentsOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: The API version to use for this operation. Constant value: "2020-12-01". + :ivar api_version: The API version to use for this operation. Constant value: "2021-03-01". :ivar vulnerability_assessment_name: The name of the vulnerability assessment. Constant value: "default". """ @@ -36,7 +36,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2020-12-01" + self.api_version = "2021-03-01" self.vulnerability_assessment_name = "default" self.config = config diff --git a/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_workspace_sql_aad_admins_operations.py b/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_workspace_sql_aad_admins_operations.py index fbe23f4dfc19..6e43752b2db3 100644 --- a/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_workspace_sql_aad_admins_operations.py +++ b/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_workspace_sql_aad_admins_operations.py @@ -26,7 +26,7 @@ class WorkspaceSqlAadAdminsOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: The API version to use for this operation. Constant value: "2020-12-01". + :ivar api_version: The API version to use for this operation. Constant value: "2021-03-01". """ models = models @@ -36,7 +36,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2020-12-01" + self.api_version = "2021-03-01" self.config = config diff --git a/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_workspaces_operations.py b/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_workspaces_operations.py index d3e295a564a0..d79c348e2f9a 100644 --- a/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_workspaces_operations.py +++ b/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_workspaces_operations.py @@ -26,7 +26,7 @@ class WorkspacesOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: The API version to use for this operation. Constant value: "2020-12-01". + :ivar api_version: The API version to use for this operation. Constant value: "2021-03-01". """ models = models @@ -36,7 +36,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2020-12-01" + self.api_version = "2021-03-01" self.config = config