Partilhar via


AzureSqlServerAdvisorModel Class

Definition

Represents an Azure Sql Server Advisor

public class AzureSqlServerAdvisorModel : Microsoft.Azure.Management.Sql.LegacySdk.Models.AdvisorProperties
type AzureSqlServerAdvisorModel = class
    inherit AdvisorProperties
Public Class AzureSqlServerAdvisorModel
Inherits AdvisorProperties
Inheritance
AzureSqlServerAdvisorModel
Derived

Constructors

AzureSqlServerAdvisorModel()

Default Constructor

AzureSqlServerAdvisorModel(String, String, Advisor)

Construct AzureSqlDatabaseAdvisorModel from Management.Sql.LegacySdk.Models.Advisor object

Properties

AdvisorName

Gets or sets the name of the advisor.

AdvisorStatus

Optional. Gets the current the status of this advisor. Possible values are 'GA', 'PublicPreview', 'LimitedPublicPreview' and 'PrivatePreview'.

(Inherited from AdvisorProperties)
AutoExecuteStatus

Optional. Gets the auto-execute status (whether to let the system execute the recommendations) of this advisor. Possible values are 'Enabled' and 'Disabled'

(Inherited from AdvisorProperties)
AutoExecuteStatusInheritedFrom

Optional. Gets the resource from which current value of auto-execute status is inherited. Auto-execute status can be set on (and inhertied from) different levels in the resource heirarchy. Possible values are 'Subscription', 'Server', 'ElasticPool', 'Database' and 'Default' (when status is not explicitly set on any level).

(Inherited from AdvisorProperties)
LastChecked

Optional. Gets the time when the current resource was analyzed for recommendations by this Advisor.

(Inherited from AdvisorProperties)
RecommendationsStatus

Optional. Gets that status of recommendations for this Advisor and reason for not having any recommendations. Possible values include, but not limited to, 'Ok' (Recommendations available),LowActivity (not enough workload to analyze), 'DbSeemsTuned' (Database is doing well), etc.

(Inherited from AdvisorProperties)
RecommendedActions

Optional. Gets the recommended actions for this advisor.

(Inherited from AdvisorProperties)
ResourceGroupName

Gets or sets the name of the resource group

ServerName

Gets or sets the name of the server

Applies to