Skip to content

Commit

Permalink
Generated from eaeb4ecd866d67648c0a1362fea4b77a5765f227
Browse files Browse the repository at this point in the history
Fixed readme file
  • Loading branch information
AutorestCI committed Feb 5, 2018
1 parent 7b80f13 commit 0e285bf
Show file tree
Hide file tree
Showing 58 changed files with 4,837 additions and 2,285 deletions.
174 changes: 106 additions & 68 deletions azure-mgmt-sql/azure/mgmt/sql/models/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,26 @@
from .elastic_pool_edition_capability import ElasticPoolEditionCapability
from .server_version_capability import ServerVersionCapability
from .location_capabilities import LocationCapabilities
from .check_name_availability_request import CheckNameAvailabilityRequest
from .check_name_availability_response import CheckNameAvailabilityResponse
from .server_connection_policy import ServerConnectionPolicy
from .slo_usage_metric import SloUsageMetric
from .service_tier_advisor import ServiceTierAdvisor
from .transparent_data_encryption import TransparentDataEncryption
from .operation_impact import OperationImpact
from .recommended_index import RecommendedIndex
from .database import Database
from .database_update import DatabaseUpdate
from .transparent_data_encryption_activity import TransparentDataEncryptionActivity
from .elastic_pool_database_activity import ElasticPoolDatabaseActivity
from .elastic_pool_activity import ElasticPoolActivity
from .recommended_elastic_pool_metric import RecommendedElasticPoolMetric
from .recommended_elastic_pool import RecommendedElasticPool
from .database_security_alert_policy import DatabaseSecurityAlertPolicy
from .data_masking_policy import DataMaskingPolicy
from .data_masking_rule import DataMaskingRule
from .elastic_pool import ElasticPool
from .elastic_pool_update import ElasticPoolUpdate
from .firewall_rule import FirewallRule
from .geo_backup_policy import GeoBackupPolicy
from .import_extension_request import ImportExtensionRequest
Expand All @@ -45,25 +61,11 @@
from .server_azure_ad_administrator import ServerAzureADAdministrator
from .server_communication_link import ServerCommunicationLink
from .service_objective import ServiceObjective
from .check_name_availability_request import CheckNameAvailabilityRequest
from .check_name_availability_response import CheckNameAvailabilityResponse
from .recommended_elastic_pool_metric import RecommendedElasticPoolMetric
from .slo_usage_metric import SloUsageMetric
from .service_tier_advisor import ServiceTierAdvisor
from .transparent_data_encryption import TransparentDataEncryption
from .operation_impact import OperationImpact
from .recommended_index import RecommendedIndex
from .database import Database
from .recommended_elastic_pool import RecommendedElasticPool
from .elastic_pool import ElasticPool
from .elastic_pool_update import ElasticPoolUpdate
from .elastic_pool_activity import ElasticPoolActivity
from .elastic_pool_database_activity import ElasticPoolDatabaseActivity
from .database_update import DatabaseUpdate
from .transparent_data_encryption_activity import TransparentDataEncryptionActivity
from .server_usage import ServerUsage
from .database_usage import DatabaseUsage
from .database_blob_auditing_policy import DatabaseBlobAuditingPolicy
from .automatic_tuning_options import AutomaticTuningOptions
from .database_automatic_tuning import DatabaseAutomaticTuning
from .encryption_protector import EncryptionProtector
from .failover_group_read_write_endpoint import FailoverGroupReadWriteEndpoint
from .failover_group_read_only_endpoint import FailoverGroupReadOnlyEndpoint
Expand Down Expand Up @@ -93,25 +95,33 @@
from .virtual_network_rule import VirtualNetworkRule
from .database_operation import DatabaseOperation
from .resource_move_definition import ResourceMoveDefinition
from .automatic_tuning_server_options import AutomaticTuningServerOptions
from .server_automatic_tuning import ServerAutomaticTuning
from .server_dns_alias import ServerDnsAlias
from .server_dns_alias_acquisition import ServerDnsAliasAcquisition
from .sku import Sku
from .vulnerability_assessment_recurring_scans_properties import VulnerabilityAssessmentRecurringScansProperties
from .database_vulnerability_assessment import DatabaseVulnerabilityAssessment
from .vulnerability_assessment_scan_error import VulnerabilityAssessmentScanError
from .vulnerability_assessment_scan_record import VulnerabilityAssessmentScanRecord
from .database_vulnerability_assessment_scans_export import DatabaseVulnerabilityAssessmentScansExport
from .backup_long_term_retention_policy_paged import BackupLongTermRetentionPolicyPaged
from .backup_long_term_retention_vault_paged import BackupLongTermRetentionVaultPaged
from .restore_point_paged import RestorePointPaged
from .recoverable_database_paged import RecoverableDatabasePaged
from .restorable_dropped_database_paged import RestorableDroppedDatabasePaged
from .data_masking_rule_paged import DataMaskingRulePaged
from .firewall_rule_paged import FirewallRulePaged
from .geo_backup_policy_paged import GeoBackupPolicyPaged
from .server_paged import ServerPaged
from .database_paged import DatabasePaged
from .metric_paged import MetricPaged
from .metric_definition_paged import MetricDefinitionPaged
from .database_paged import DatabasePaged
from .data_masking_rule_paged import DataMaskingRulePaged
from .elastic_pool_paged import ElasticPoolPaged
from .firewall_rule_paged import FirewallRulePaged
from .geo_backup_policy_paged import GeoBackupPolicyPaged
from .replication_link_paged import ReplicationLinkPaged
from .server_azure_ad_administrator_paged import ServerAzureADAdministratorPaged
from .server_communication_link_paged import ServerCommunicationLinkPaged
from .service_objective_paged import ServiceObjectivePaged
from .server_paged import ServerPaged
from .elastic_pool_activity_paged import ElasticPoolActivityPaged
from .elastic_pool_database_activity_paged import ElasticPoolDatabaseActivityPaged
from .recommended_elastic_pool_paged import RecommendedElasticPoolPaged
Expand All @@ -135,41 +145,46 @@
from .virtual_network_rule_paged import VirtualNetworkRulePaged
from .database_operation_paged import DatabaseOperationPaged
from .server_dns_alias_paged import ServerDnsAliasPaged
from .vulnerability_assessment_scan_record_paged import VulnerabilityAssessmentScanRecordPaged
from .sql_management_client_enums import (
BackupLongTermRetentionPolicyState,
RestorePointType,
CapabilityStatus,
MaxSizeUnits,
PerformanceLevelUnit,
CheckNameAvailabilityReason,
ServerConnectionType,
CreateMode,
DatabaseEdition,
ServiceObjectiveName,
TransparentDataEncryptionStatus,
RecommendedIndexAction,
RecommendedIndexState,
RecommendedIndexType,
ReadScale,
SampleName,
TransparentDataEncryptionActivityStatus,
ElasticPoolEdition,
SecurityAlertPolicyState,
SecurityAlertPolicyEmailAccountAdmins,
SecurityAlertPolicyUseServerDefault,
DataMaskingState,
DataMaskingRuleState,
DataMaskingFunction,
ElasticPoolState,
GeoBackupPolicyState,
DatabaseEdition,
ServiceObjectiveName,
StorageKeyType,
AuthenticationType,
UnitType,
PrimaryAggregationType,
UnitDefinitionType,
ReplicationRole,
ReplicationState,
CheckNameAvailabilityReason,
ElasticPoolEdition,
CreateMode,
TransparentDataEncryptionStatus,
RecommendedIndexAction,
RecommendedIndexState,
RecommendedIndexType,
ReadScale,
SampleName,
ElasticPoolState,
TransparentDataEncryptionActivityStatus,
BlobAuditingPolicyState,
AutomaticTuningMode,
AutomaticTuningOptionModeDesired,
AutomaticTuningOptionModeActual,
AutomaticTuningDisabledReason,
ServerKeyType,
ReadWriteEndpointFailoverPolicy,
ReadOnlyEndpointFailoverPolicy,
Expand All @@ -185,6 +200,10 @@
SyncMemberState,
VirtualNetworkRuleState,
ManagementOperationState,
AutomaticTuningServerMode,
AutomaticTuningServerReason,
VulnerabilityAssessmentScanTriggerType,
VulnerabilityAssessmentScanState,
)

__all__ = [
Expand All @@ -205,10 +224,26 @@
'ElasticPoolEditionCapability',
'ServerVersionCapability',
'LocationCapabilities',
'CheckNameAvailabilityRequest',
'CheckNameAvailabilityResponse',
'ServerConnectionPolicy',
'SloUsageMetric',
'ServiceTierAdvisor',
'TransparentDataEncryption',
'OperationImpact',
'RecommendedIndex',
'Database',
'DatabaseUpdate',
'TransparentDataEncryptionActivity',
'ElasticPoolDatabaseActivity',
'ElasticPoolActivity',
'RecommendedElasticPoolMetric',
'RecommendedElasticPool',
'DatabaseSecurityAlertPolicy',
'DataMaskingPolicy',
'DataMaskingRule',
'ElasticPool',
'ElasticPoolUpdate',
'FirewallRule',
'GeoBackupPolicy',
'ImportExtensionRequest',
Expand All @@ -224,25 +259,11 @@
'ServerAzureADAdministrator',
'ServerCommunicationLink',
'ServiceObjective',
'CheckNameAvailabilityRequest',
'CheckNameAvailabilityResponse',
'RecommendedElasticPoolMetric',
'SloUsageMetric',
'ServiceTierAdvisor',
'TransparentDataEncryption',
'OperationImpact',
'RecommendedIndex',
'Database',
'RecommendedElasticPool',
'ElasticPool',
'ElasticPoolUpdate',
'ElasticPoolActivity',
'ElasticPoolDatabaseActivity',
'DatabaseUpdate',
'TransparentDataEncryptionActivity',
'ServerUsage',
'DatabaseUsage',
'DatabaseBlobAuditingPolicy',
'AutomaticTuningOptions',
'DatabaseAutomaticTuning',
'EncryptionProtector',
'FailoverGroupReadWriteEndpoint',
'FailoverGroupReadOnlyEndpoint',
Expand Down Expand Up @@ -272,25 +293,33 @@
'VirtualNetworkRule',
'DatabaseOperation',
'ResourceMoveDefinition',
'AutomaticTuningServerOptions',
'ServerAutomaticTuning',
'ServerDnsAlias',
'ServerDnsAliasAcquisition',
'Sku',
'VulnerabilityAssessmentRecurringScansProperties',
'DatabaseVulnerabilityAssessment',
'VulnerabilityAssessmentScanError',
'VulnerabilityAssessmentScanRecord',
'DatabaseVulnerabilityAssessmentScansExport',
'BackupLongTermRetentionPolicyPaged',
'BackupLongTermRetentionVaultPaged',
'RestorePointPaged',
'RecoverableDatabasePaged',
'RestorableDroppedDatabasePaged',
'DataMaskingRulePaged',
'FirewallRulePaged',
'GeoBackupPolicyPaged',
'ServerPaged',
'DatabasePaged',
'MetricPaged',
'MetricDefinitionPaged',
'DatabasePaged',
'DataMaskingRulePaged',
'ElasticPoolPaged',
'FirewallRulePaged',
'GeoBackupPolicyPaged',
'ReplicationLinkPaged',
'ServerAzureADAdministratorPaged',
'ServerCommunicationLinkPaged',
'ServiceObjectivePaged',
'ServerPaged',
'ElasticPoolActivityPaged',
'ElasticPoolDatabaseActivityPaged',
'RecommendedElasticPoolPaged',
Expand All @@ -314,40 +343,45 @@
'VirtualNetworkRulePaged',
'DatabaseOperationPaged',
'ServerDnsAliasPaged',
'VulnerabilityAssessmentScanRecordPaged',
'BackupLongTermRetentionPolicyState',
'RestorePointType',
'CapabilityStatus',
'MaxSizeUnits',
'PerformanceLevelUnit',
'CheckNameAvailabilityReason',
'ServerConnectionType',
'CreateMode',
'DatabaseEdition',
'ServiceObjectiveName',
'TransparentDataEncryptionStatus',
'RecommendedIndexAction',
'RecommendedIndexState',
'RecommendedIndexType',
'ReadScale',
'SampleName',
'TransparentDataEncryptionActivityStatus',
'ElasticPoolEdition',
'SecurityAlertPolicyState',
'SecurityAlertPolicyEmailAccountAdmins',
'SecurityAlertPolicyUseServerDefault',
'DataMaskingState',
'DataMaskingRuleState',
'DataMaskingFunction',
'ElasticPoolState',
'GeoBackupPolicyState',
'DatabaseEdition',
'ServiceObjectiveName',
'StorageKeyType',
'AuthenticationType',
'UnitType',
'PrimaryAggregationType',
'UnitDefinitionType',
'ReplicationRole',
'ReplicationState',
'CheckNameAvailabilityReason',
'ElasticPoolEdition',
'CreateMode',
'TransparentDataEncryptionStatus',
'RecommendedIndexAction',
'RecommendedIndexState',
'RecommendedIndexType',
'ReadScale',
'SampleName',
'ElasticPoolState',
'TransparentDataEncryptionActivityStatus',
'BlobAuditingPolicyState',
'AutomaticTuningMode',
'AutomaticTuningOptionModeDesired',
'AutomaticTuningOptionModeActual',
'AutomaticTuningDisabledReason',
'ServerKeyType',
'ReadWriteEndpointFailoverPolicy',
'ReadOnlyEndpointFailoverPolicy',
Expand All @@ -363,4 +397,8 @@
'SyncMemberState',
'VirtualNetworkRuleState',
'ManagementOperationState',
'AutomaticTuningServerMode',
'AutomaticTuningServerReason',
'VulnerabilityAssessmentScanTriggerType',
'VulnerabilityAssessmentScanState',
]
57 changes: 57 additions & 0 deletions azure-mgmt-sql/azure/mgmt/sql/models/automatic_tuning_options.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
# 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 msrest.serialization import Model


class AutomaticTuningOptions(Model):
"""Automatic tuning properties for individual advisors.
Variables are only populated by the server, and will be ignored when
sending a request.
:param desired_state: Automatic tuning option desired state. Possible
values include: 'Off', 'On', 'Default'
:type desired_state: str or
~azure.mgmt.sql.models.AutomaticTuningOptionModeDesired
:ivar actual_state: Automatic tuning option actual state. Possible values
include: 'Off', 'On'
:vartype actual_state: str or
~azure.mgmt.sql.models.AutomaticTuningOptionModeActual
:ivar reason_code: Reason code if desired and actual state are different.
:vartype reason_code: int
:ivar reason_desc: Reason description if desired and actual state are
different. Possible values include: 'Default', 'Disabled',
'AutoConfigured', 'InheritedFromServer', 'QueryStoreOff',
'QueryStoreReadOnly', 'NotSupported'
:vartype reason_desc: str or
~azure.mgmt.sql.models.AutomaticTuningDisabledReason
"""

_validation = {
'actual_state': {'readonly': True},
'reason_code': {'readonly': True},
'reason_desc': {'readonly': True},
}

_attribute_map = {
'desired_state': {'key': 'desiredState', 'type': 'AutomaticTuningOptionModeDesired'},
'actual_state': {'key': 'actualState', 'type': 'AutomaticTuningOptionModeActual'},
'reason_code': {'key': 'reasonCode', 'type': 'int'},
'reason_desc': {'key': 'reasonDesc', 'type': 'AutomaticTuningDisabledReason'},
}

def __init__(self, desired_state=None):
super(AutomaticTuningOptions, self).__init__()
self.desired_state = desired_state
self.actual_state = None
self.reason_code = None
self.reason_desc = None
Loading

0 comments on commit 0e285bf

Please sign in to comment.