# 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.
# --------------------------------------------------------------------------
from typing import TYPE_CHECKING
from azure.mgmt.core import ARMPipelineClient
from msrest import Deserializer, Serializer
if TYPE_CHECKING:
# pylint: disable=unused-import,ungrouped-imports
from typing import Any, Optional
from azure.core.credentials import TokenCredential
from ._configuration import SqlManagementClientConfiguration
from .operations import RecoverableDatabasesOperations
from .operations import RestorableDroppedDatabasesOperations
from .operations import ServerConnectionPoliciesOperations
from .operations import DatabaseThreatDetectionPoliciesOperations
from .operations import DataMaskingPoliciesOperations
from .operations import DataMaskingRulesOperations
from .operations import FirewallRulesOperations
from .operations import GeoBackupPoliciesOperations
from .operations import DatabasesOperations
from .operations import ElasticPoolsOperations
from .operations import RecommendedElasticPoolsOperations
from .operations import ReplicationLinksOperations
from .operations import ServerCommunicationLinksOperations
from .operations import ServiceObjectivesOperations
from .operations import ElasticPoolActivitiesOperations
from .operations import ElasticPoolDatabaseActivitiesOperations
from .operations import ServiceTierAdvisorsOperations
from .operations import TransparentDataEncryptionsOperations
from .operations import TransparentDataEncryptionActivitiesOperations
from .operations import ServerUsagesOperations
from .operations import DatabaseUsagesOperations
from .operations import DatabaseAutomaticTuningOperations
from .operations import EncryptionProtectorsOperations
from .operations import FailoverGroupsOperations
from .operations import Operations
from .operations import ServerKeysOperations
from .operations import SyncAgentsOperations
from .operations import SubscriptionUsagesOperations
from .operations import VirtualClustersOperations
from .operations import VirtualNetworkRulesOperations
from .operations import ExtendedDatabaseBlobAuditingPoliciesOperations
from .operations import ExtendedServerBlobAuditingPoliciesOperations
from .operations import ServerBlobAuditingPoliciesOperations
from .operations import DatabaseBlobAuditingPoliciesOperations
from .operations import DatabaseVulnerabilityAssessmentRuleBaselinesOperations
from .operations import DatabaseVulnerabilityAssessmentsOperations
from .operations import JobAgentsOperations
from .operations import JobCredentialsOperations
from .operations import JobExecutionsOperations
from .operations import JobsOperations
from .operations import JobStepExecutionsOperations
from .operations import JobStepsOperations
from .operations import JobTargetExecutionsOperations
from .operations import JobTargetGroupsOperations
from .operations import JobVersionsOperations
from .operations import LongTermRetentionBackupsOperations
from .operations import BackupLongTermRetentionPoliciesOperations
from .operations import ManagedBackupShortTermRetentionPoliciesOperations
from .operations import ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesOperations
from .operations import ServerAutomaticTuningOperations
from .operations import ServerDnsAliasesOperations
from .operations import ServerSecurityAlertPoliciesOperations
from .operations import RestorableDroppedManagedDatabasesOperations
from .operations import RestorePointsOperations
from .operations import ManagedDatabaseSecurityAlertPoliciesOperations
from .operations import ManagedServerSecurityAlertPoliciesOperations
from .operations import SensitivityLabelsOperations
from .operations import ManagedInstanceAdministratorsOperations
from .operations import DatabaseOperationsOperations
from .operations import ElasticPoolOperationsOperations
from .operations import DatabaseVulnerabilityAssessmentScansOperations
from .operations import ManagedDatabaseVulnerabilityAssessmentRuleBaselinesOperations
from .operations import ManagedDatabaseVulnerabilityAssessmentScansOperations
from .operations import ManagedDatabaseVulnerabilityAssessmentsOperations
from .operations import InstanceFailoverGroupsOperations
from .operations import TdeCertificatesOperations
from .operations import ManagedInstanceTdeCertificatesOperations
from .operations import ManagedInstanceKeysOperations
from .operations import ManagedInstanceEncryptionProtectorsOperations
from .operations import RecoverableManagedDatabasesOperations
from .operations import ManagedInstanceVulnerabilityAssessmentsOperations
from .operations import ServerVulnerabilityAssessmentsOperations
from .operations import ManagedDatabaseSensitivityLabelsOperations
from .operations import InstancePoolsOperations
from .operations import UsagesOperations
from .operations import PrivateEndpointConnectionsOperations
from .operations import PrivateLinkResourcesOperations
from .operations import ServersOperations
from .operations import CapabilitiesOperations
from .operations import LongTermRetentionManagedInstanceBackupsOperations
from .operations import ManagedInstanceLongTermRetentionPoliciesOperations
from .operations import WorkloadGroupsOperations
from .operations import WorkloadClassifiersOperations
from .operations import ManagedInstanceOperationsOperations
from .operations import ServerAzureADAdministratorsOperations
from .operations import SyncGroupsOperations
from .operations import SyncMembersOperations
from .operations import ManagedInstancesOperations
from .operations import BackupShortTermRetentionPoliciesOperations
from .operations import ManagedDatabaseRestoreDetailsOperations
from .operations import ManagedDatabasesOperations
from .operations import ServerAzureADOnlyAuthenticationsOperations
from . import models
[docs]class SqlManagementClient(object):
"""The Azure SQL Database management API provides a RESTful set of web services that interact with Azure SQL Database services to manage your databases. The API enables you to create, retrieve, update, and delete databases.
:ivar recoverable_databases: RecoverableDatabasesOperations operations
:vartype recoverable_databases: azure.mgmt.sql.operations.RecoverableDatabasesOperations
:ivar restorable_dropped_databases: RestorableDroppedDatabasesOperations operations
:vartype restorable_dropped_databases: azure.mgmt.sql.operations.RestorableDroppedDatabasesOperations
:ivar server_connection_policies: ServerConnectionPoliciesOperations operations
:vartype server_connection_policies: azure.mgmt.sql.operations.ServerConnectionPoliciesOperations
:ivar database_threat_detection_policies: DatabaseThreatDetectionPoliciesOperations operations
:vartype database_threat_detection_policies: azure.mgmt.sql.operations.DatabaseThreatDetectionPoliciesOperations
:ivar data_masking_policies: DataMaskingPoliciesOperations operations
:vartype data_masking_policies: azure.mgmt.sql.operations.DataMaskingPoliciesOperations
:ivar data_masking_rules: DataMaskingRulesOperations operations
:vartype data_masking_rules: azure.mgmt.sql.operations.DataMaskingRulesOperations
:ivar firewall_rules: FirewallRulesOperations operations
:vartype firewall_rules: azure.mgmt.sql.operations.FirewallRulesOperations
:ivar geo_backup_policies: GeoBackupPoliciesOperations operations
:vartype geo_backup_policies: azure.mgmt.sql.operations.GeoBackupPoliciesOperations
:ivar databases: DatabasesOperations operations
:vartype databases: azure.mgmt.sql.operations.DatabasesOperations
:ivar elastic_pools: ElasticPoolsOperations operations
:vartype elastic_pools: azure.mgmt.sql.operations.ElasticPoolsOperations
:ivar recommended_elastic_pools: RecommendedElasticPoolsOperations operations
:vartype recommended_elastic_pools: azure.mgmt.sql.operations.RecommendedElasticPoolsOperations
:ivar replication_links: ReplicationLinksOperations operations
:vartype replication_links: azure.mgmt.sql.operations.ReplicationLinksOperations
:ivar server_communication_links: ServerCommunicationLinksOperations operations
:vartype server_communication_links: azure.mgmt.sql.operations.ServerCommunicationLinksOperations
:ivar service_objectives: ServiceObjectivesOperations operations
:vartype service_objectives: azure.mgmt.sql.operations.ServiceObjectivesOperations
:ivar elastic_pool_activities: ElasticPoolActivitiesOperations operations
:vartype elastic_pool_activities: azure.mgmt.sql.operations.ElasticPoolActivitiesOperations
:ivar elastic_pool_database_activities: ElasticPoolDatabaseActivitiesOperations operations
:vartype elastic_pool_database_activities: azure.mgmt.sql.operations.ElasticPoolDatabaseActivitiesOperations
:ivar service_tier_advisors: ServiceTierAdvisorsOperations operations
:vartype service_tier_advisors: azure.mgmt.sql.operations.ServiceTierAdvisorsOperations
:ivar transparent_data_encryptions: TransparentDataEncryptionsOperations operations
:vartype transparent_data_encryptions: azure.mgmt.sql.operations.TransparentDataEncryptionsOperations
:ivar transparent_data_encryption_activities: TransparentDataEncryptionActivitiesOperations operations
:vartype transparent_data_encryption_activities: azure.mgmt.sql.operations.TransparentDataEncryptionActivitiesOperations
:ivar server_usages: ServerUsagesOperations operations
:vartype server_usages: azure.mgmt.sql.operations.ServerUsagesOperations
:ivar database_usages: DatabaseUsagesOperations operations
:vartype database_usages: azure.mgmt.sql.operations.DatabaseUsagesOperations
:ivar database_automatic_tuning: DatabaseAutomaticTuningOperations operations
:vartype database_automatic_tuning: azure.mgmt.sql.operations.DatabaseAutomaticTuningOperations
:ivar encryption_protectors: EncryptionProtectorsOperations operations
:vartype encryption_protectors: azure.mgmt.sql.operations.EncryptionProtectorsOperations
:ivar failover_groups: FailoverGroupsOperations operations
:vartype failover_groups: azure.mgmt.sql.operations.FailoverGroupsOperations
:ivar operations: Operations operations
:vartype operations: azure.mgmt.sql.operations.Operations
:ivar server_keys: ServerKeysOperations operations
:vartype server_keys: azure.mgmt.sql.operations.ServerKeysOperations
:ivar sync_agents: SyncAgentsOperations operations
:vartype sync_agents: azure.mgmt.sql.operations.SyncAgentsOperations
:ivar subscription_usages: SubscriptionUsagesOperations operations
:vartype subscription_usages: azure.mgmt.sql.operations.SubscriptionUsagesOperations
:ivar virtual_clusters: VirtualClustersOperations operations
:vartype virtual_clusters: azure.mgmt.sql.operations.VirtualClustersOperations
:ivar virtual_network_rules: VirtualNetworkRulesOperations operations
:vartype virtual_network_rules: azure.mgmt.sql.operations.VirtualNetworkRulesOperations
:ivar extended_database_blob_auditing_policies: ExtendedDatabaseBlobAuditingPoliciesOperations operations
:vartype extended_database_blob_auditing_policies: azure.mgmt.sql.operations.ExtendedDatabaseBlobAuditingPoliciesOperations
:ivar extended_server_blob_auditing_policies: ExtendedServerBlobAuditingPoliciesOperations operations
:vartype extended_server_blob_auditing_policies: azure.mgmt.sql.operations.ExtendedServerBlobAuditingPoliciesOperations
:ivar server_blob_auditing_policies: ServerBlobAuditingPoliciesOperations operations
:vartype server_blob_auditing_policies: azure.mgmt.sql.operations.ServerBlobAuditingPoliciesOperations
:ivar database_blob_auditing_policies: DatabaseBlobAuditingPoliciesOperations operations
:vartype database_blob_auditing_policies: azure.mgmt.sql.operations.DatabaseBlobAuditingPoliciesOperations
:ivar database_vulnerability_assessment_rule_baselines: DatabaseVulnerabilityAssessmentRuleBaselinesOperations operations
:vartype database_vulnerability_assessment_rule_baselines: azure.mgmt.sql.operations.DatabaseVulnerabilityAssessmentRuleBaselinesOperations
:ivar database_vulnerability_assessments: DatabaseVulnerabilityAssessmentsOperations operations
:vartype database_vulnerability_assessments: azure.mgmt.sql.operations.DatabaseVulnerabilityAssessmentsOperations
:ivar job_agents: JobAgentsOperations operations
:vartype job_agents: azure.mgmt.sql.operations.JobAgentsOperations
:ivar job_credentials: JobCredentialsOperations operations
:vartype job_credentials: azure.mgmt.sql.operations.JobCredentialsOperations
:ivar job_executions: JobExecutionsOperations operations
:vartype job_executions: azure.mgmt.sql.operations.JobExecutionsOperations
:ivar jobs: JobsOperations operations
:vartype jobs: azure.mgmt.sql.operations.JobsOperations
:ivar job_step_executions: JobStepExecutionsOperations operations
:vartype job_step_executions: azure.mgmt.sql.operations.JobStepExecutionsOperations
:ivar job_steps: JobStepsOperations operations
:vartype job_steps: azure.mgmt.sql.operations.JobStepsOperations
:ivar job_target_executions: JobTargetExecutionsOperations operations
:vartype job_target_executions: azure.mgmt.sql.operations.JobTargetExecutionsOperations
:ivar job_target_groups: JobTargetGroupsOperations operations
:vartype job_target_groups: azure.mgmt.sql.operations.JobTargetGroupsOperations
:ivar job_versions: JobVersionsOperations operations
:vartype job_versions: azure.mgmt.sql.operations.JobVersionsOperations
:ivar long_term_retention_backups: LongTermRetentionBackupsOperations operations
:vartype long_term_retention_backups: azure.mgmt.sql.operations.LongTermRetentionBackupsOperations
:ivar backup_long_term_retention_policies: BackupLongTermRetentionPoliciesOperations operations
:vartype backup_long_term_retention_policies: azure.mgmt.sql.operations.BackupLongTermRetentionPoliciesOperations
:ivar managed_backup_short_term_retention_policies: ManagedBackupShortTermRetentionPoliciesOperations operations
:vartype managed_backup_short_term_retention_policies: azure.mgmt.sql.operations.ManagedBackupShortTermRetentionPoliciesOperations
:ivar managed_restorable_dropped_database_backup_short_term_retention_policies: ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesOperations operations
:vartype managed_restorable_dropped_database_backup_short_term_retention_policies: azure.mgmt.sql.operations.ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesOperations
:ivar server_automatic_tuning: ServerAutomaticTuningOperations operations
:vartype server_automatic_tuning: azure.mgmt.sql.operations.ServerAutomaticTuningOperations
:ivar server_dns_aliases: ServerDnsAliasesOperations operations
:vartype server_dns_aliases: azure.mgmt.sql.operations.ServerDnsAliasesOperations
:ivar server_security_alert_policies: ServerSecurityAlertPoliciesOperations operations
:vartype server_security_alert_policies: azure.mgmt.sql.operations.ServerSecurityAlertPoliciesOperations
:ivar restorable_dropped_managed_databases: RestorableDroppedManagedDatabasesOperations operations
:vartype restorable_dropped_managed_databases: azure.mgmt.sql.operations.RestorableDroppedManagedDatabasesOperations
:ivar restore_points: RestorePointsOperations operations
:vartype restore_points: azure.mgmt.sql.operations.RestorePointsOperations
:ivar managed_database_security_alert_policies: ManagedDatabaseSecurityAlertPoliciesOperations operations
:vartype managed_database_security_alert_policies: azure.mgmt.sql.operations.ManagedDatabaseSecurityAlertPoliciesOperations
:ivar managed_server_security_alert_policies: ManagedServerSecurityAlertPoliciesOperations operations
:vartype managed_server_security_alert_policies: azure.mgmt.sql.operations.ManagedServerSecurityAlertPoliciesOperations
:ivar sensitivity_labels: SensitivityLabelsOperations operations
:vartype sensitivity_labels: azure.mgmt.sql.operations.SensitivityLabelsOperations
:ivar managed_instance_administrators: ManagedInstanceAdministratorsOperations operations
:vartype managed_instance_administrators: azure.mgmt.sql.operations.ManagedInstanceAdministratorsOperations
:ivar database_operations: DatabaseOperationsOperations operations
:vartype database_operations: azure.mgmt.sql.operations.DatabaseOperationsOperations
:ivar elastic_pool_operations: ElasticPoolOperationsOperations operations
:vartype elastic_pool_operations: azure.mgmt.sql.operations.ElasticPoolOperationsOperations
:ivar database_vulnerability_assessment_scans: DatabaseVulnerabilityAssessmentScansOperations operations
:vartype database_vulnerability_assessment_scans: azure.mgmt.sql.operations.DatabaseVulnerabilityAssessmentScansOperations
:ivar managed_database_vulnerability_assessment_rule_baselines: ManagedDatabaseVulnerabilityAssessmentRuleBaselinesOperations operations
:vartype managed_database_vulnerability_assessment_rule_baselines: azure.mgmt.sql.operations.ManagedDatabaseVulnerabilityAssessmentRuleBaselinesOperations
:ivar managed_database_vulnerability_assessment_scans: ManagedDatabaseVulnerabilityAssessmentScansOperations operations
:vartype managed_database_vulnerability_assessment_scans: azure.mgmt.sql.operations.ManagedDatabaseVulnerabilityAssessmentScansOperations
:ivar managed_database_vulnerability_assessments: ManagedDatabaseVulnerabilityAssessmentsOperations operations
:vartype managed_database_vulnerability_assessments: azure.mgmt.sql.operations.ManagedDatabaseVulnerabilityAssessmentsOperations
:ivar instance_failover_groups: InstanceFailoverGroupsOperations operations
:vartype instance_failover_groups: azure.mgmt.sql.operations.InstanceFailoverGroupsOperations
:ivar tde_certificates: TdeCertificatesOperations operations
:vartype tde_certificates: azure.mgmt.sql.operations.TdeCertificatesOperations
:ivar managed_instance_tde_certificates: ManagedInstanceTdeCertificatesOperations operations
:vartype managed_instance_tde_certificates: azure.mgmt.sql.operations.ManagedInstanceTdeCertificatesOperations
:ivar managed_instance_keys: ManagedInstanceKeysOperations operations
:vartype managed_instance_keys: azure.mgmt.sql.operations.ManagedInstanceKeysOperations
:ivar managed_instance_encryption_protectors: ManagedInstanceEncryptionProtectorsOperations operations
:vartype managed_instance_encryption_protectors: azure.mgmt.sql.operations.ManagedInstanceEncryptionProtectorsOperations
:ivar recoverable_managed_databases: RecoverableManagedDatabasesOperations operations
:vartype recoverable_managed_databases: azure.mgmt.sql.operations.RecoverableManagedDatabasesOperations
:ivar managed_instance_vulnerability_assessments: ManagedInstanceVulnerabilityAssessmentsOperations operations
:vartype managed_instance_vulnerability_assessments: azure.mgmt.sql.operations.ManagedInstanceVulnerabilityAssessmentsOperations
:ivar server_vulnerability_assessments: ServerVulnerabilityAssessmentsOperations operations
:vartype server_vulnerability_assessments: azure.mgmt.sql.operations.ServerVulnerabilityAssessmentsOperations
:ivar managed_database_sensitivity_labels: ManagedDatabaseSensitivityLabelsOperations operations
:vartype managed_database_sensitivity_labels: azure.mgmt.sql.operations.ManagedDatabaseSensitivityLabelsOperations
:ivar instance_pools: InstancePoolsOperations operations
:vartype instance_pools: azure.mgmt.sql.operations.InstancePoolsOperations
:ivar usages: UsagesOperations operations
:vartype usages: azure.mgmt.sql.operations.UsagesOperations
:ivar private_endpoint_connections: PrivateEndpointConnectionsOperations operations
:vartype private_endpoint_connections: azure.mgmt.sql.operations.PrivateEndpointConnectionsOperations
:ivar private_link_resources: PrivateLinkResourcesOperations operations
:vartype private_link_resources: azure.mgmt.sql.operations.PrivateLinkResourcesOperations
:ivar servers: ServersOperations operations
:vartype servers: azure.mgmt.sql.operations.ServersOperations
:ivar capabilities: CapabilitiesOperations operations
:vartype capabilities: azure.mgmt.sql.operations.CapabilitiesOperations
:ivar long_term_retention_managed_instance_backups: LongTermRetentionManagedInstanceBackupsOperations operations
:vartype long_term_retention_managed_instance_backups: azure.mgmt.sql.operations.LongTermRetentionManagedInstanceBackupsOperations
:ivar managed_instance_long_term_retention_policies: ManagedInstanceLongTermRetentionPoliciesOperations operations
:vartype managed_instance_long_term_retention_policies: azure.mgmt.sql.operations.ManagedInstanceLongTermRetentionPoliciesOperations
:ivar workload_groups: WorkloadGroupsOperations operations
:vartype workload_groups: azure.mgmt.sql.operations.WorkloadGroupsOperations
:ivar workload_classifiers: WorkloadClassifiersOperations operations
:vartype workload_classifiers: azure.mgmt.sql.operations.WorkloadClassifiersOperations
:ivar managed_instance_operations: ManagedInstanceOperationsOperations operations
:vartype managed_instance_operations: azure.mgmt.sql.operations.ManagedInstanceOperationsOperations
:ivar server_azure_ad_administrators: ServerAzureADAdministratorsOperations operations
:vartype server_azure_ad_administrators: azure.mgmt.sql.operations.ServerAzureADAdministratorsOperations
:ivar sync_groups: SyncGroupsOperations operations
:vartype sync_groups: azure.mgmt.sql.operations.SyncGroupsOperations
:ivar sync_members: SyncMembersOperations operations
:vartype sync_members: azure.mgmt.sql.operations.SyncMembersOperations
:ivar managed_instances: ManagedInstancesOperations operations
:vartype managed_instances: azure.mgmt.sql.operations.ManagedInstancesOperations
:ivar backup_short_term_retention_policies: BackupShortTermRetentionPoliciesOperations operations
:vartype backup_short_term_retention_policies: azure.mgmt.sql.operations.BackupShortTermRetentionPoliciesOperations
:ivar managed_database_restore_details: ManagedDatabaseRestoreDetailsOperations operations
:vartype managed_database_restore_details: azure.mgmt.sql.operations.ManagedDatabaseRestoreDetailsOperations
:ivar managed_databases: ManagedDatabasesOperations operations
:vartype managed_databases: azure.mgmt.sql.operations.ManagedDatabasesOperations
:ivar server_azure_ad_only_authentications: ServerAzureADOnlyAuthenticationsOperations operations
:vartype server_azure_ad_only_authentications: azure.mgmt.sql.operations.ServerAzureADOnlyAuthenticationsOperations
:param credential: Credential needed for the client to connect to Azure.
:type credential: ~azure.core.credentials.TokenCredential
:param subscription_id: The subscription ID that identifies an Azure subscription.
:type subscription_id: str
:param str base_url: Service URL
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.
"""
def __init__(
self,
credential, # type: "TokenCredential"
subscription_id, # type: str
base_url=None, # type: Optional[str]
**kwargs # type: Any
):
# type: (...) -> None
if not base_url:
base_url = 'https://management.azure.com'
self._config = SqlManagementClientConfiguration(credential, subscription_id, **kwargs)
self._client = ARMPipelineClient(base_url=base_url, config=self._config, **kwargs)
client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)}
self._serialize = Serializer(client_models)
self._serialize.client_side_validation = False
self._deserialize = Deserializer(client_models)
self.recoverable_databases = RecoverableDatabasesOperations(
self._client, self._config, self._serialize, self._deserialize)
self.restorable_dropped_databases = RestorableDroppedDatabasesOperations(
self._client, self._config, self._serialize, self._deserialize)
self.server_connection_policies = ServerConnectionPoliciesOperations(
self._client, self._config, self._serialize, self._deserialize)
self.database_threat_detection_policies = DatabaseThreatDetectionPoliciesOperations(
self._client, self._config, self._serialize, self._deserialize)
self.data_masking_policies = DataMaskingPoliciesOperations(
self._client, self._config, self._serialize, self._deserialize)
self.data_masking_rules = DataMaskingRulesOperations(
self._client, self._config, self._serialize, self._deserialize)
self.firewall_rules = FirewallRulesOperations(
self._client, self._config, self._serialize, self._deserialize)
self.geo_backup_policies = GeoBackupPoliciesOperations(
self._client, self._config, self._serialize, self._deserialize)
self.databases = DatabasesOperations(
self._client, self._config, self._serialize, self._deserialize)
self.elastic_pools = ElasticPoolsOperations(
self._client, self._config, self._serialize, self._deserialize)
self.recommended_elastic_pools = RecommendedElasticPoolsOperations(
self._client, self._config, self._serialize, self._deserialize)
self.replication_links = ReplicationLinksOperations(
self._client, self._config, self._serialize, self._deserialize)
self.server_communication_links = ServerCommunicationLinksOperations(
self._client, self._config, self._serialize, self._deserialize)
self.service_objectives = ServiceObjectivesOperations(
self._client, self._config, self._serialize, self._deserialize)
self.elastic_pool_activities = ElasticPoolActivitiesOperations(
self._client, self._config, self._serialize, self._deserialize)
self.elastic_pool_database_activities = ElasticPoolDatabaseActivitiesOperations(
self._client, self._config, self._serialize, self._deserialize)
self.service_tier_advisors = ServiceTierAdvisorsOperations(
self._client, self._config, self._serialize, self._deserialize)
self.transparent_data_encryptions = TransparentDataEncryptionsOperations(
self._client, self._config, self._serialize, self._deserialize)
self.transparent_data_encryption_activities = TransparentDataEncryptionActivitiesOperations(
self._client, self._config, self._serialize, self._deserialize)
self.server_usages = ServerUsagesOperations(
self._client, self._config, self._serialize, self._deserialize)
self.database_usages = DatabaseUsagesOperations(
self._client, self._config, self._serialize, self._deserialize)
self.database_automatic_tuning = DatabaseAutomaticTuningOperations(
self._client, self._config, self._serialize, self._deserialize)
self.encryption_protectors = EncryptionProtectorsOperations(
self._client, self._config, self._serialize, self._deserialize)
self.failover_groups = FailoverGroupsOperations(
self._client, self._config, self._serialize, self._deserialize)
self.operations = Operations(
self._client, self._config, self._serialize, self._deserialize)
self.server_keys = ServerKeysOperations(
self._client, self._config, self._serialize, self._deserialize)
self.sync_agents = SyncAgentsOperations(
self._client, self._config, self._serialize, self._deserialize)
self.subscription_usages = SubscriptionUsagesOperations(
self._client, self._config, self._serialize, self._deserialize)
self.virtual_clusters = VirtualClustersOperations(
self._client, self._config, self._serialize, self._deserialize)
self.virtual_network_rules = VirtualNetworkRulesOperations(
self._client, self._config, self._serialize, self._deserialize)
self.extended_database_blob_auditing_policies = ExtendedDatabaseBlobAuditingPoliciesOperations(
self._client, self._config, self._serialize, self._deserialize)
self.extended_server_blob_auditing_policies = ExtendedServerBlobAuditingPoliciesOperations(
self._client, self._config, self._serialize, self._deserialize)
self.server_blob_auditing_policies = ServerBlobAuditingPoliciesOperations(
self._client, self._config, self._serialize, self._deserialize)
self.database_blob_auditing_policies = DatabaseBlobAuditingPoliciesOperations(
self._client, self._config, self._serialize, self._deserialize)
self.database_vulnerability_assessment_rule_baselines = DatabaseVulnerabilityAssessmentRuleBaselinesOperations(
self._client, self._config, self._serialize, self._deserialize)
self.database_vulnerability_assessments = DatabaseVulnerabilityAssessmentsOperations(
self._client, self._config, self._serialize, self._deserialize)
self.job_agents = JobAgentsOperations(
self._client, self._config, self._serialize, self._deserialize)
self.job_credentials = JobCredentialsOperations(
self._client, self._config, self._serialize, self._deserialize)
self.job_executions = JobExecutionsOperations(
self._client, self._config, self._serialize, self._deserialize)
self.jobs = JobsOperations(
self._client, self._config, self._serialize, self._deserialize)
self.job_step_executions = JobStepExecutionsOperations(
self._client, self._config, self._serialize, self._deserialize)
self.job_steps = JobStepsOperations(
self._client, self._config, self._serialize, self._deserialize)
self.job_target_executions = JobTargetExecutionsOperations(
self._client, self._config, self._serialize, self._deserialize)
self.job_target_groups = JobTargetGroupsOperations(
self._client, self._config, self._serialize, self._deserialize)
self.job_versions = JobVersionsOperations(
self._client, self._config, self._serialize, self._deserialize)
self.long_term_retention_backups = LongTermRetentionBackupsOperations(
self._client, self._config, self._serialize, self._deserialize)
self.backup_long_term_retention_policies = BackupLongTermRetentionPoliciesOperations(
self._client, self._config, self._serialize, self._deserialize)
self.managed_backup_short_term_retention_policies = ManagedBackupShortTermRetentionPoliciesOperations(
self._client, self._config, self._serialize, self._deserialize)
self.managed_restorable_dropped_database_backup_short_term_retention_policies = ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesOperations(
self._client, self._config, self._serialize, self._deserialize)
self.server_automatic_tuning = ServerAutomaticTuningOperations(
self._client, self._config, self._serialize, self._deserialize)
self.server_dns_aliases = ServerDnsAliasesOperations(
self._client, self._config, self._serialize, self._deserialize)
self.server_security_alert_policies = ServerSecurityAlertPoliciesOperations(
self._client, self._config, self._serialize, self._deserialize)
self.restorable_dropped_managed_databases = RestorableDroppedManagedDatabasesOperations(
self._client, self._config, self._serialize, self._deserialize)
self.restore_points = RestorePointsOperations(
self._client, self._config, self._serialize, self._deserialize)
self.managed_database_security_alert_policies = ManagedDatabaseSecurityAlertPoliciesOperations(
self._client, self._config, self._serialize, self._deserialize)
self.managed_server_security_alert_policies = ManagedServerSecurityAlertPoliciesOperations(
self._client, self._config, self._serialize, self._deserialize)
self.sensitivity_labels = SensitivityLabelsOperations(
self._client, self._config, self._serialize, self._deserialize)
self.managed_instance_administrators = ManagedInstanceAdministratorsOperations(
self._client, self._config, self._serialize, self._deserialize)
self.database_operations = DatabaseOperationsOperations(
self._client, self._config, self._serialize, self._deserialize)
self.elastic_pool_operations = ElasticPoolOperationsOperations(
self._client, self._config, self._serialize, self._deserialize)
self.database_vulnerability_assessment_scans = DatabaseVulnerabilityAssessmentScansOperations(
self._client, self._config, self._serialize, self._deserialize)
self.managed_database_vulnerability_assessment_rule_baselines = ManagedDatabaseVulnerabilityAssessmentRuleBaselinesOperations(
self._client, self._config, self._serialize, self._deserialize)
self.managed_database_vulnerability_assessment_scans = ManagedDatabaseVulnerabilityAssessmentScansOperations(
self._client, self._config, self._serialize, self._deserialize)
self.managed_database_vulnerability_assessments = ManagedDatabaseVulnerabilityAssessmentsOperations(
self._client, self._config, self._serialize, self._deserialize)
self.instance_failover_groups = InstanceFailoverGroupsOperations(
self._client, self._config, self._serialize, self._deserialize)
self.tde_certificates = TdeCertificatesOperations(
self._client, self._config, self._serialize, self._deserialize)
self.managed_instance_tde_certificates = ManagedInstanceTdeCertificatesOperations(
self._client, self._config, self._serialize, self._deserialize)
self.managed_instance_keys = ManagedInstanceKeysOperations(
self._client, self._config, self._serialize, self._deserialize)
self.managed_instance_encryption_protectors = ManagedInstanceEncryptionProtectorsOperations(
self._client, self._config, self._serialize, self._deserialize)
self.recoverable_managed_databases = RecoverableManagedDatabasesOperations(
self._client, self._config, self._serialize, self._deserialize)
self.managed_instance_vulnerability_assessments = ManagedInstanceVulnerabilityAssessmentsOperations(
self._client, self._config, self._serialize, self._deserialize)
self.server_vulnerability_assessments = ServerVulnerabilityAssessmentsOperations(
self._client, self._config, self._serialize, self._deserialize)
self.managed_database_sensitivity_labels = ManagedDatabaseSensitivityLabelsOperations(
self._client, self._config, self._serialize, self._deserialize)
self.instance_pools = InstancePoolsOperations(
self._client, self._config, self._serialize, self._deserialize)
self.usages = UsagesOperations(
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.servers = ServersOperations(
self._client, self._config, self._serialize, self._deserialize)
self.capabilities = CapabilitiesOperations(
self._client, self._config, self._serialize, self._deserialize)
self.long_term_retention_managed_instance_backups = LongTermRetentionManagedInstanceBackupsOperations(
self._client, self._config, self._serialize, self._deserialize)
self.managed_instance_long_term_retention_policies = ManagedInstanceLongTermRetentionPoliciesOperations(
self._client, self._config, self._serialize, self._deserialize)
self.workload_groups = WorkloadGroupsOperations(
self._client, self._config, self._serialize, self._deserialize)
self.workload_classifiers = WorkloadClassifiersOperations(
self._client, self._config, self._serialize, self._deserialize)
self.managed_instance_operations = ManagedInstanceOperationsOperations(
self._client, self._config, self._serialize, self._deserialize)
self.server_azure_ad_administrators = ServerAzureADAdministratorsOperations(
self._client, self._config, self._serialize, self._deserialize)
self.sync_groups = SyncGroupsOperations(
self._client, self._config, self._serialize, self._deserialize)
self.sync_members = SyncMembersOperations(
self._client, self._config, self._serialize, self._deserialize)
self.managed_instances = ManagedInstancesOperations(
self._client, self._config, self._serialize, self._deserialize)
self.backup_short_term_retention_policies = BackupShortTermRetentionPoliciesOperations(
self._client, self._config, self._serialize, self._deserialize)
self.managed_database_restore_details = ManagedDatabaseRestoreDetailsOperations(
self._client, self._config, self._serialize, self._deserialize)
self.managed_databases = ManagedDatabasesOperations(
self._client, self._config, self._serialize, self._deserialize)
self.server_azure_ad_only_authentications = ServerAzureADOnlyAuthenticationsOperations(
self._client, self._config, self._serialize, self._deserialize)
[docs] def close(self):
# type: () -> None
self._client.close()
def __enter__(self):
# type: () -> SqlManagementClient
self._client.__enter__()
return self
def __exit__(self, *exc_details):
# type: (Any) -> None
self._client.__exit__(*exc_details)