Skip to content

Commit

Permalink
CodeGen from PR 13411 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
Merge 1f0dca483ce06754d544b86641293acdd933fb73 into 9b9f53daed4bd82f8481f9440800d4b8faadafe7
  • Loading branch information
SDKAuto committed Mar 16, 2021
1 parent e933c46 commit aa5925a
Show file tree
Hide file tree
Showing 14 changed files with 1,618 additions and 767 deletions.
35 changes: 20 additions & 15 deletions sdk/sql/azure-mgmt-sql/azure/mgmt/sql/_sql_management_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,6 @@
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
Expand Down Expand Up @@ -89,7 +87,6 @@
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
Expand All @@ -101,13 +98,17 @@
from .operations import ServerAzureADAdministratorsOperations
from .operations import SyncGroupsOperations
from .operations import SyncMembersOperations
from .operations import ImportExportOperations
from .operations import ManagedDatabasesOperations
from .operations import ManagedDatabaseRestoreDetailsOperations
from .operations import ServerAzureADOnlyAuthenticationsOperations
from .operations import ManagedInstancesOperations
from .operations import ManagedInstanceAzureADOnlyAuthenticationsOperations
from .operations import ServerTrustGroupsOperations
from .operations import ServerDevOpsAuditSettingsOperations
from .operations import LongTermRetentionBackupsOperations
from .operations import LongTermRetentionPoliciesOperations
from .operations import PrivateEndpointConnectionsOperations
from . import models


Expand Down Expand Up @@ -207,10 +208,6 @@ class SqlManagementClient(SDKClient):
:vartype job_target_groups: azure.mgmt.sql.operations.JobTargetGroupsOperations
:ivar job_versions: JobVersions operations
:vartype job_versions: azure.mgmt.sql.operations.JobVersionsOperations
:ivar long_term_retention_backups: LongTermRetentionBackups operations
:vartype long_term_retention_backups: azure.mgmt.sql.operations.LongTermRetentionBackupsOperations
:ivar backup_long_term_retention_policies: BackupLongTermRetentionPolicies operations
:vartype backup_long_term_retention_policies: azure.mgmt.sql.operations.BackupLongTermRetentionPoliciesOperations
:ivar managed_backup_short_term_retention_policies: ManagedBackupShortTermRetentionPolicies operations
:vartype managed_backup_short_term_retention_policies: azure.mgmt.sql.operations.ManagedBackupShortTermRetentionPoliciesOperations
:ivar managed_restorable_dropped_database_backup_short_term_retention_policies: ManagedRestorableDroppedDatabaseBackupShortTermRetentionPolicies operations
Expand Down Expand Up @@ -269,8 +266,6 @@ class SqlManagementClient(SDKClient):
:vartype instance_pools: azure.mgmt.sql.operations.InstancePoolsOperations
:ivar usages: Usages operations
:vartype usages: azure.mgmt.sql.operations.UsagesOperations
:ivar private_endpoint_connections: PrivateEndpointConnections operations
:vartype private_endpoint_connections: azure.mgmt.sql.operations.PrivateEndpointConnectionsOperations
:ivar private_link_resources: PrivateLinkResources operations
:vartype private_link_resources: azure.mgmt.sql.operations.PrivateLinkResourcesOperations
:ivar servers: Servers operations
Expand All @@ -293,6 +288,8 @@ class SqlManagementClient(SDKClient):
:vartype sync_groups: azure.mgmt.sql.operations.SyncGroupsOperations
:ivar sync_members: SyncMembers operations
:vartype sync_members: azure.mgmt.sql.operations.SyncMembersOperations
:ivar import_export: ImportExport operations
:vartype import_export: azure.mgmt.sql.operations.ImportExportOperations
:ivar managed_databases: ManagedDatabases operations
:vartype managed_databases: azure.mgmt.sql.operations.ManagedDatabasesOperations
:ivar managed_database_restore_details: ManagedDatabaseRestoreDetails operations
Expand All @@ -307,6 +304,12 @@ class SqlManagementClient(SDKClient):
:vartype server_trust_groups: azure.mgmt.sql.operations.ServerTrustGroupsOperations
:ivar server_dev_ops_audit_settings: ServerDevOpsAuditSettings operations
:vartype server_dev_ops_audit_settings: azure.mgmt.sql.operations.ServerDevOpsAuditSettingsOperations
:ivar long_term_retention_backups: LongTermRetentionBackups operations
:vartype long_term_retention_backups: azure.mgmt.sql.operations.LongTermRetentionBackupsOperations
:ivar long_term_retention_policies: LongTermRetentionPolicies operations
:vartype long_term_retention_policies: azure.mgmt.sql.operations.LongTermRetentionPoliciesOperations
:ivar private_endpoint_connections: PrivateEndpointConnections operations
:vartype private_endpoint_connections: azure.mgmt.sql.operations.PrivateEndpointConnectionsOperations
:param credentials: Credentials needed for the client to connect to Azure.
:type credentials: :mod:`A msrestazure Credentials
Expand Down Expand Up @@ -417,10 +420,6 @@ def __init__(
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(
Expand Down Expand Up @@ -479,8 +478,6 @@ def __init__(
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(
Expand All @@ -503,6 +500,8 @@ def __init__(
self._client, self.config, self._serialize, self._deserialize)
self.sync_members = SyncMembersOperations(
self._client, self.config, self._serialize, self._deserialize)
self.import_export = ImportExportOperations(
self._client, self.config, self._serialize, self._deserialize)
self.managed_databases = ManagedDatabasesOperations(
self._client, self.config, self._serialize, self._deserialize)
self.managed_database_restore_details = ManagedDatabaseRestoreDetailsOperations(
Expand All @@ -517,3 +516,9 @@ def __init__(
self._client, self.config, self._serialize, self._deserialize)
self.server_dev_ops_audit_settings = ServerDevOpsAuditSettingsOperations(
self._client, self.config, self._serialize, self._deserialize)
self.long_term_retention_backups = LongTermRetentionBackupsOperations(
self._client, self.config, self._serialize, self._deserialize)
self.long_term_retention_policies = LongTermRetentionPoliciesOperations(
self._client, self.config, self._serialize, self._deserialize)
self.private_endpoint_connections = PrivateEndpointConnectionsOperations(
self._client, self.config, self._serialize, self._deserialize)
65 changes: 36 additions & 29 deletions sdk/sql/azure-mgmt-sql/azure/mgmt/sql/models/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@
from ._models_py3 import AutomaticTuningOptions
from ._models_py3 import AutomaticTuningServerOptions
from ._models_py3 import AutoPauseDelayTimeRange
from ._models_py3 import BackupLongTermRetentionPolicy
from ._models_py3 import BackupShortTermRetentionPolicy
from ._models_py3 import CheckNameAvailabilityRequest
from ._models_py3 import CheckNameAvailabilityResponse
from ._models_py3 import CompleteDatabaseRestoreDefinition
from ._models_py3 import CopyLongTermRetentionBackupParameters
from ._models_py3 import CreateDatabaseRestorePointDefinition
from ._models_py3 import Database
from ._models_py3 import DatabaseAutomaticTuning
Expand Down Expand Up @@ -82,6 +82,8 @@
from ._models_py3 import LocationCapabilities
from ._models_py3 import LogSizeCapability
from ._models_py3 import LongTermRetentionBackup
from ._models_py3 import LongTermRetentionBackupOperationResult
from ._models_py3 import LongTermRetentionPolicy
from ._models_py3 import MaintenanceConfigurationCapability
from ._models_py3 import ManagedBackupShortTermRetentionPolicy
from ._models_py3 import ManagedDatabase
Expand Down Expand Up @@ -198,6 +200,7 @@
from ._models_py3 import TransparentDataEncryption
from ._models_py3 import TransparentDataEncryptionActivity
from ._models_py3 import UnlinkParameters
from ._models_py3 import UpdateLongTermRetentionBackupParameters
from ._models_py3 import UpsertManagedServerOperationParameters
from ._models_py3 import UpsertManagedServerOperationStep
from ._models_py3 import Usage
Expand All @@ -213,11 +216,11 @@
from ._models import AutomaticTuningOptions
from ._models import AutomaticTuningServerOptions
from ._models import AutoPauseDelayTimeRange
from ._models import BackupLongTermRetentionPolicy
from ._models import BackupShortTermRetentionPolicy
from ._models import CheckNameAvailabilityRequest
from ._models import CheckNameAvailabilityResponse
from ._models import CompleteDatabaseRestoreDefinition
from ._models import CopyLongTermRetentionBackupParameters
from ._models import CreateDatabaseRestorePointDefinition
from ._models import Database
from ._models import DatabaseAutomaticTuning
Expand Down Expand Up @@ -282,6 +285,8 @@
from ._models import LocationCapabilities
from ._models import LogSizeCapability
from ._models import LongTermRetentionBackup
from ._models import LongTermRetentionBackupOperationResult
from ._models import LongTermRetentionPolicy
from ._models import MaintenanceConfigurationCapability
from ._models import ManagedBackupShortTermRetentionPolicy
from ._models import ManagedDatabase
Expand Down Expand Up @@ -398,6 +403,7 @@
from ._models import TransparentDataEncryption
from ._models import TransparentDataEncryptionActivity
from ._models import UnlinkParameters
from ._models import UpdateLongTermRetentionBackupParameters
from ._models import UpsertManagedServerOperationParameters
from ._models import UpsertManagedServerOperationStep
from ._models import Usage
Expand Down Expand Up @@ -436,6 +442,7 @@
from ._paged_models import JobTargetGroupPaged
from ._paged_models import JobVersionPaged
from ._paged_models import LongTermRetentionBackupPaged
from ._paged_models import LongTermRetentionPolicyPaged
from ._paged_models import ManagedBackupShortTermRetentionPolicyPaged
from ._paged_models import ManagedDatabasePaged
from ._paged_models import ManagedDatabaseSecurityAlertPolicyPaged
Expand Down Expand Up @@ -545,10 +552,10 @@
VulnerabilityAssessmentScanState,
InstanceFailoverGroupReplicationRole,
InstancePoolLicenseType,
IdentityType,
PrivateLinkServiceConnectionStateStatus,
PrivateLinkServiceConnectionStateActionsRequire,
PrivateEndpointProvisioningState,
IdentityType,
ServerPublicNetworkAccess,
CheckNameAvailabilityReason,
MaxSizeUnit,
Expand All @@ -561,6 +568,7 @@
SyncGroupState,
SyncDirection,
SyncMemberState,
StorageKeyType,
ManagedDatabaseStatus,
CatalogCollationType,
ManagedDatabaseCreateMode,
Expand All @@ -570,26 +578,23 @@
StorageAccountType,
QueryTimeGrainType,
QueryMetricUnitType,
ElasticPoolState,
ElasticPoolLicenseType,
CreatedByType,
CreateMode,
SampleName,
DatabaseStatus,
DatabaseLicenseType,
DatabaseReadScale,
SecondaryType,
StorageKeyType,
ElasticPoolState,
ElasticPoolLicenseType,
CreatedByType,
LongTermRetentionDatabaseState,
CurrentBackupStorageRedundancy,
RequestedBackupStorageRedundancy,
TargetBackupStorageRedundancy,
BackupStorageRedundancy,
VulnerabilityAssessmentPolicyBaselineName,
SensitivityLabelSource,
CapabilityGroup,
DatabaseState1,
DatabaseState2,
DatabaseState3,
DatabaseState4,
DatabaseState5,
DatabaseState6,
DatabaseState,
AggregationFunctionType,
MetricType,
ReplicaType,
Expand All @@ -599,11 +604,11 @@
'AutomaticTuningOptions',
'AutomaticTuningServerOptions',
'AutoPauseDelayTimeRange',
'BackupLongTermRetentionPolicy',
'BackupShortTermRetentionPolicy',
'CheckNameAvailabilityRequest',
'CheckNameAvailabilityResponse',
'CompleteDatabaseRestoreDefinition',
'CopyLongTermRetentionBackupParameters',
'CreateDatabaseRestorePointDefinition',
'Database',
'DatabaseAutomaticTuning',
Expand Down Expand Up @@ -668,6 +673,8 @@
'LocationCapabilities',
'LogSizeCapability',
'LongTermRetentionBackup',
'LongTermRetentionBackupOperationResult',
'LongTermRetentionPolicy',
'MaintenanceConfigurationCapability',
'ManagedBackupShortTermRetentionPolicy',
'ManagedDatabase',
Expand Down Expand Up @@ -784,6 +791,7 @@
'TransparentDataEncryption',
'TransparentDataEncryptionActivity',
'UnlinkParameters',
'UpdateLongTermRetentionBackupParameters',
'UpsertManagedServerOperationParameters',
'UpsertManagedServerOperationStep',
'Usage',
Expand Down Expand Up @@ -836,7 +844,6 @@
'JobStepPaged',
'JobTargetGroupPaged',
'JobVersionPaged',
'LongTermRetentionBackupPaged',
'ManagedBackupShortTermRetentionPolicyPaged',
'ServerDnsAliasPaged',
'ServerSecurityAlertPolicyPaged',
Expand All @@ -858,7 +865,6 @@
'ServerVulnerabilityAssessmentPaged',
'InstancePoolPaged',
'UsagePaged',
'PrivateEndpointConnectionPaged',
'PrivateLinkResourcePaged',
'ServerPaged',
'ManagedInstanceLongTermRetentionBackupPaged',
Expand All @@ -879,6 +885,9 @@
'ManagedInstanceAzureADOnlyAuthenticationPaged',
'ServerTrustGroupPaged',
'ServerDevOpsAuditingSettingsPaged',
'LongTermRetentionBackupPaged',
'LongTermRetentionPolicyPaged',
'PrivateEndpointConnectionPaged',
'ServerConnectionType',
'SecurityAlertPolicyState',
'SecurityAlertPolicyEmailAccountAdmins',
Expand Down Expand Up @@ -930,10 +939,10 @@
'VulnerabilityAssessmentScanState',
'InstanceFailoverGroupReplicationRole',
'InstancePoolLicenseType',
'IdentityType',
'PrivateLinkServiceConnectionStateStatus',
'PrivateLinkServiceConnectionStateActionsRequire',
'PrivateEndpointProvisioningState',
'IdentityType',
'ServerPublicNetworkAccess',
'CheckNameAvailabilityReason',
'MaxSizeUnit',
Expand All @@ -946,6 +955,7 @@
'SyncGroupState',
'SyncDirection',
'SyncMemberState',
'StorageKeyType',
'ManagedDatabaseStatus',
'CatalogCollationType',
'ManagedDatabaseCreateMode',
Expand All @@ -955,26 +965,23 @@
'StorageAccountType',
'QueryTimeGrainType',
'QueryMetricUnitType',
'ElasticPoolState',
'ElasticPoolLicenseType',
'CreatedByType',
'CreateMode',
'SampleName',
'DatabaseStatus',
'DatabaseLicenseType',
'DatabaseReadScale',
'SecondaryType',
'StorageKeyType',
'ElasticPoolState',
'ElasticPoolLicenseType',
'CreatedByType',
'LongTermRetentionDatabaseState',
'CurrentBackupStorageRedundancy',
'RequestedBackupStorageRedundancy',
'TargetBackupStorageRedundancy',
'BackupStorageRedundancy',
'VulnerabilityAssessmentPolicyBaselineName',
'SensitivityLabelSource',
'CapabilityGroup',
'DatabaseState1',
'DatabaseState2',
'DatabaseState3',
'DatabaseState4',
'DatabaseState5',
'DatabaseState6',
'DatabaseState',
'AggregationFunctionType',
'MetricType',
'ReplicaType',
Expand Down
Loading

0 comments on commit aa5925a

Please sign in to comment.