Skip to content

Commit

Permalink
Generated from 497f37d011e45d90e7a5f190b1326ec89e2719c8
Browse files Browse the repository at this point in the history
Merge pull request #6 from Khushboo-Baheti/master

merge
  • Loading branch information
SDK Automation committed Feb 24, 2020
1 parent a25a803 commit 483237a
Show file tree
Hide file tree
Showing 13 changed files with 2,271 additions and 575 deletions.
43 changes: 24 additions & 19 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 @@ -15,7 +15,6 @@
from ._configuration import SqlManagementClientConfiguration
from .operations import RecoverableDatabasesOperations
from .operations import RestorableDroppedDatabasesOperations
from .operations import ServersOperations
from .operations import ServerConnectionPoliciesOperations
from .operations import DatabaseThreatDetectionPoliciesOperations
from .operations import DataMaskingPoliciesOperations
Expand Down Expand Up @@ -93,14 +92,16 @@
from .operations import InstancePoolsOperations
from .operations import UsagesOperations
from .operations import ManagedInstancesOperations
from .operations import ManagedDatabaseRestoreDetailsOperations
from .operations import ManagedDatabasesOperations
from .operations import PrivateEndpointConnectionsOperations
from .operations import PrivateLinkResourcesOperations
from .operations import ServerAzureADAdministratorsOperations
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 ManagedDatabasesOperations
from .operations import ServerAzureADAdministratorsOperations
from . import models


Expand All @@ -114,8 +115,6 @@ class SqlManagementClient(SDKClient):
:vartype recoverable_databases: azure.mgmt.sql.operations.RecoverableDatabasesOperations
:ivar restorable_dropped_databases: RestorableDroppedDatabases operations
:vartype restorable_dropped_databases: azure.mgmt.sql.operations.RestorableDroppedDatabasesOperations
:ivar servers: Servers operations
:vartype servers: azure.mgmt.sql.operations.ServersOperations
:ivar server_connection_policies: ServerConnectionPolicies operations
:vartype server_connection_policies: azure.mgmt.sql.operations.ServerConnectionPoliciesOperations
:ivar database_threat_detection_policies: DatabaseThreatDetectionPolicies operations
Expand Down Expand Up @@ -270,22 +269,26 @@ class SqlManagementClient(SDKClient):
:vartype usages: azure.mgmt.sql.operations.UsagesOperations
:ivar managed_instances: ManagedInstances operations
:vartype managed_instances: azure.mgmt.sql.operations.ManagedInstancesOperations
:ivar managed_database_restore_details: ManagedDatabaseRestoreDetails operations
:vartype managed_database_restore_details: azure.mgmt.sql.operations.ManagedDatabaseRestoreDetailsOperations
:ivar managed_databases: ManagedDatabases operations
:vartype managed_databases: azure.mgmt.sql.operations.ManagedDatabasesOperations
: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 server_azure_ad_administrators: ServerAzureADAdministrators operations
:vartype server_azure_ad_administrators: azure.mgmt.sql.operations.ServerAzureADAdministratorsOperations
:ivar servers: Servers operations
:vartype servers: azure.mgmt.sql.operations.ServersOperations
:ivar capabilities: Capabilities operations
:vartype capabilities: azure.mgmt.sql.operations.CapabilitiesOperations
:ivar long_term_retention_managed_instance_backups: LongTermRetentionManagedInstanceBackups operations
:vartype long_term_retention_managed_instance_backups: azure.mgmt.sql.operations.LongTermRetentionManagedInstanceBackupsOperations
:ivar managed_instance_long_term_retention_policies: ManagedInstanceLongTermRetentionPolicies operations
:vartype managed_instance_long_term_retention_policies: azure.mgmt.sql.operations.ManagedInstanceLongTermRetentionPoliciesOperations
:ivar workload_groups: WorkloadGroups operations
:vartype workload_groups: azure.mgmt.sql.operations.WorkloadGroupsOperations
:ivar workload_classifiers: WorkloadClassifiers operations
:vartype workload_classifiers: azure.mgmt.sql.operations.WorkloadClassifiersOperations
:ivar managed_databases: ManagedDatabases operations
:vartype managed_databases: azure.mgmt.sql.operations.ManagedDatabasesOperations
:ivar server_azure_ad_administrators: ServerAzureADAdministrators operations
:vartype server_azure_ad_administrators: azure.mgmt.sql.operations.ServerAzureADAdministratorsOperations
:param credentials: Credentials needed for the client to connect to Azure.
:type credentials: :mod:`A msrestazure Credentials
Expand All @@ -310,8 +313,6 @@ def __init__(
self._client, self.config, self._serialize, self._deserialize)
self.restorable_dropped_databases = RestorableDroppedDatabasesOperations(
self._client, self.config, self._serialize, self._deserialize)
self.servers = ServersOperations(
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(
Expand Down Expand Up @@ -466,19 +467,23 @@ def __init__(
self._client, self.config, self._serialize, self._deserialize)
self.managed_instances = ManagedInstancesOperations(
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.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.server_azure_ad_administrators = ServerAzureADAdministratorsOperations(
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_databases = ManagedDatabasesOperations(
self._client, self.config, self._serialize, self._deserialize)
self.server_azure_ad_administrators = ServerAzureADAdministratorsOperations(
self._client, self.config, self._serialize, self._deserialize)
63 changes: 49 additions & 14 deletions sdk/sql/azure-mgmt-sql/azure/mgmt/sql/models/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,6 @@
from ._models_py3 import LongTermRetentionBackup
from ._models_py3 import ManagedBackupShortTermRetentionPolicy
from ._models_py3 import ManagedDatabase
from ._models_py3 import ManagedDatabaseRestoreDetailsResult
from ._models_py3 import ManagedDatabaseSecurityAlertPolicy
from ._models_py3 import ManagedDatabaseUpdate
from ._models_py3 import ManagedInstance
Expand All @@ -93,6 +92,8 @@
from ._models_py3 import ManagedInstanceEncryptionProtector
from ._models_py3 import ManagedInstanceFamilyCapability
from ._models_py3 import ManagedInstanceKey
from ._models_py3 import ManagedInstanceLongTermRetentionBackup
from ._models_py3 import ManagedInstanceLongTermRetentionPolicy
from ._models_py3 import ManagedInstancePairInfo
from ._models_py3 import ManagedInstanceUpdate
from ._models_py3 import ManagedInstanceVcoresCapability
Expand All @@ -115,6 +116,7 @@
from ._models_py3 import PartnerRegionInfo
from ._models_py3 import PerformanceLevelCapability
from ._models_py3 import PrivateEndpointConnection
from ._models_py3 import PrivateEndpointConnectionProperties
from ._models_py3 import PrivateEndpointProperty
from ._models_py3 import PrivateLinkResource
from ._models_py3 import PrivateLinkResourceProperties
Expand Down Expand Up @@ -143,6 +145,7 @@
from ._models_py3 import ServerDnsAlias
from ._models_py3 import ServerDnsAliasAcquisition
from ._models_py3 import ServerKey
from ._models_py3 import ServerPrivateEndpointConnection
from ._models_py3 import ServerSecurityAlertPolicy
from ._models_py3 import ServerUpdate
from ._models_py3 import ServerUsage
Expand Down Expand Up @@ -256,7 +259,6 @@
from ._models import LongTermRetentionBackup
from ._models import ManagedBackupShortTermRetentionPolicy
from ._models import ManagedDatabase
from ._models import ManagedDatabaseRestoreDetailsResult
from ._models import ManagedDatabaseSecurityAlertPolicy
from ._models import ManagedDatabaseUpdate
from ._models import ManagedInstance
Expand All @@ -265,6 +267,8 @@
from ._models import ManagedInstanceEncryptionProtector
from ._models import ManagedInstanceFamilyCapability
from ._models import ManagedInstanceKey
from ._models import ManagedInstanceLongTermRetentionBackup
from ._models import ManagedInstanceLongTermRetentionPolicy
from ._models import ManagedInstancePairInfo
from ._models import ManagedInstanceUpdate
from ._models import ManagedInstanceVcoresCapability
Expand All @@ -287,6 +291,7 @@
from ._models import PartnerRegionInfo
from ._models import PerformanceLevelCapability
from ._models import PrivateEndpointConnection
from ._models import PrivateEndpointConnectionProperties
from ._models import PrivateEndpointProperty
from ._models import PrivateLinkResource
from ._models import PrivateLinkResourceProperties
Expand Down Expand Up @@ -315,6 +320,7 @@
from ._models import ServerDnsAlias
from ._models import ServerDnsAliasAcquisition
from ._models import ServerKey
from ._models import ServerPrivateEndpointConnection
from ._models import ServerSecurityAlertPolicy
from ._models import ServerUpdate
from ._models import ServerUsage
Expand Down Expand Up @@ -384,6 +390,8 @@
from ._paged_models import ManagedInstanceAdministratorPaged
from ._paged_models import ManagedInstanceEncryptionProtectorPaged
from ._paged_models import ManagedInstanceKeyPaged
from ._paged_models import ManagedInstanceLongTermRetentionBackupPaged
from ._paged_models import ManagedInstanceLongTermRetentionPolicyPaged
from ._paged_models import ManagedInstancePaged
from ._paged_models import ManagedInstanceVulnerabilityAssessmentPaged
from ._paged_models import ManagedServerSecurityAlertPolicyPaged
Expand Down Expand Up @@ -428,7 +436,6 @@
from ._paged_models import WorkloadClassifierPaged
from ._paged_models import WorkloadGroupPaged
from ._sql_management_client_enums import (
CheckNameAvailabilityReason,
ServerConnectionType,
SecurityAlertPolicyState,
SecurityAlertPolicyEmailAccountAdmins,
Expand Down Expand Up @@ -461,7 +468,6 @@
ReadOnlyEndpointFailoverPolicy,
FailoverGroupReplicationRole,
OperationOrigin,
IdentityType,
SyncAgentState,
SyncMemberDbType,
SyncGroupLogType,
Expand All @@ -483,6 +489,7 @@
AutomaticTuningServerMode,
AutomaticTuningServerReason,
RestorePointType,
SensitivityLabelRank,
ManagementOperationState,
CreateMode,
SampleName,
Expand All @@ -496,21 +503,33 @@
VulnerabilityAssessmentScanState,
InstanceFailoverGroupReplicationRole,
InstancePoolLicenseType,
IdentityType,
ManagedServerCreateMode,
ManagedInstanceLicenseType,
ManagedInstanceProxyOverride,
ManagedDatabaseStatus,
ManagedDatabaseCreateMode,
PrivateLinkServiceConnectionStateStatus,
PrivateLinkServiceConnectionStateActionsRequire,
PrivateEndpointProvisioningState,
ServerPublicNetworkAccess,
CheckNameAvailabilityReason,
MaxSizeUnit,
LogSizeUnit,
CapabilityStatus,
PerformanceLevelUnit,
PauseDelayTimeUnit,
ManagedDatabaseStatus,
ManagedDatabaseCreateMode,
LongTermRetentionDatabaseState,
VulnerabilityAssessmentPolicyBaselineName,
SensitivityLabelSource,
ReplicaType,
CapabilityGroup,
DatabaseState1,
DatabaseState2,
DatabaseState3,
DatabaseState4,
DatabaseState5,
DatabaseState6,
)

__all__ = [
Expand Down Expand Up @@ -588,7 +607,6 @@
'LongTermRetentionBackup',
'ManagedBackupShortTermRetentionPolicy',
'ManagedDatabase',
'ManagedDatabaseRestoreDetailsResult',
'ManagedDatabaseSecurityAlertPolicy',
'ManagedDatabaseUpdate',
'ManagedInstance',
Expand All @@ -597,6 +615,8 @@
'ManagedInstanceEncryptionProtector',
'ManagedInstanceFamilyCapability',
'ManagedInstanceKey',
'ManagedInstanceLongTermRetentionBackup',
'ManagedInstanceLongTermRetentionPolicy',
'ManagedInstancePairInfo',
'ManagedInstanceUpdate',
'ManagedInstanceVcoresCapability',
Expand All @@ -619,6 +639,7 @@
'PartnerRegionInfo',
'PerformanceLevelCapability',
'PrivateEndpointConnection',
'PrivateEndpointConnectionProperties',
'PrivateEndpointProperty',
'PrivateLinkResource',
'PrivateLinkResourceProperties',
Expand Down Expand Up @@ -647,6 +668,7 @@
'ServerDnsAlias',
'ServerDnsAliasAcquisition',
'ServerKey',
'ServerPrivateEndpointConnection',
'ServerSecurityAlertPolicy',
'ServerUpdate',
'ServerUsage',
Expand Down Expand Up @@ -687,7 +709,6 @@
'WorkloadGroup',
'RecoverableDatabasePaged',
'RestorableDroppedDatabasePaged',
'ServerPaged',
'DataMaskingRulePaged',
'FirewallRulePaged',
'GeoBackupPolicyPaged',
Expand Down Expand Up @@ -753,13 +774,15 @@
'InstancePoolPaged',
'UsagePaged',
'ManagedInstancePaged',
'ManagedDatabasePaged',
'PrivateEndpointConnectionPaged',
'PrivateLinkResourcePaged',
'ServerAzureADAdministratorPaged',
'ServerPaged',
'ManagedInstanceLongTermRetentionBackupPaged',
'ManagedInstanceLongTermRetentionPolicyPaged',
'WorkloadGroupPaged',
'WorkloadClassifierPaged',
'CheckNameAvailabilityReason',
'ManagedDatabasePaged',
'ServerAzureADAdministratorPaged',
'ServerConnectionType',
'SecurityAlertPolicyState',
'SecurityAlertPolicyEmailAccountAdmins',
Expand Down Expand Up @@ -792,7 +815,6 @@
'ReadOnlyEndpointFailoverPolicy',
'FailoverGroupReplicationRole',
'OperationOrigin',
'IdentityType',
'SyncAgentState',
'SyncMemberDbType',
'SyncGroupLogType',
Expand All @@ -814,6 +836,7 @@
'AutomaticTuningServerMode',
'AutomaticTuningServerReason',
'RestorePointType',
'SensitivityLabelRank',
'ManagementOperationState',
'CreateMode',
'SampleName',
Expand All @@ -827,19 +850,31 @@
'VulnerabilityAssessmentScanState',
'InstanceFailoverGroupReplicationRole',
'InstancePoolLicenseType',
'IdentityType',
'ManagedServerCreateMode',
'ManagedInstanceLicenseType',
'ManagedInstanceProxyOverride',
'ManagedDatabaseStatus',
'ManagedDatabaseCreateMode',
'PrivateLinkServiceConnectionStateStatus',
'PrivateLinkServiceConnectionStateActionsRequire',
'PrivateEndpointProvisioningState',
'ServerPublicNetworkAccess',
'CheckNameAvailabilityReason',
'MaxSizeUnit',
'LogSizeUnit',
'CapabilityStatus',
'PerformanceLevelUnit',
'PauseDelayTimeUnit',
'ManagedDatabaseStatus',
'ManagedDatabaseCreateMode',
'LongTermRetentionDatabaseState',
'VulnerabilityAssessmentPolicyBaselineName',
'SensitivityLabelSource',
'ReplicaType',
'CapabilityGroup',
'DatabaseState1',
'DatabaseState2',
'DatabaseState3',
'DatabaseState4',
'DatabaseState5',
'DatabaseState6',
]
Loading

0 comments on commit 483237a

Please sign in to comment.