다음을 통해 공유


Advisor Class

Definition

Database, Server or Elastic Pool Advisor.

[Microsoft.Rest.Serialization.JsonTransformation]
public class Advisor : Microsoft.Azure.Management.Sql.Models.ProxyResource
[<Microsoft.Rest.Serialization.JsonTransformation>]
type Advisor = class
    inherit ProxyResource
Public Class Advisor
Inherits ProxyResource
Inheritance
Attributes

Constructors

Advisor()

Initializes a new instance of the Advisor class.

Advisor(AutoExecuteStatus, String, String, String, String, String, Nullable<AdvisorStatus>, Nullable<AutoExecuteStatusInheritedFrom>, String, Nullable<DateTime>, IList<RecommendedAction>)

Initializes a new instance of the Advisor class.

Properties

AdvisorStatus

Gets the status of availability of this advisor to customers. Possible values are 'GA', 'PublicPreview', 'LimitedPublicPreview' and 'PrivatePreview'. Possible values include: 'GA', 'PublicPreview', 'LimitedPublicPreview', 'PrivatePreview'

AutoExecuteStatus

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

AutoExecuteStatusInheritedFrom

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

Id

Gets resource ID.

(Inherited from Resource)
Kind

Gets resource kind.

LastChecked

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

Location

Gets resource location.

Name

Gets resource name.

(Inherited from Resource)
RecommendationsStatus

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

RecommendedActions

Gets the recommended actions for this advisor.

Type

Gets resource type.

(Inherited from Resource)

Methods

Validate()

Validate the object.

Applies to