-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Generated from eaeb4ecd866d67648c0a1362fea4b77a5765f227
Fixed readme file
- Loading branch information
1 parent
7b80f13
commit 0e285bf
Showing
58 changed files
with
4,837 additions
and
2,285 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
57 changes: 57 additions & 0 deletions
57
azure-mgmt-sql/azure/mgmt/sql/models/automatic_tuning_options.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
Oops, something went wrong.