GetDatabaseAdvisorResult

data class GetDatabaseAdvisorResult(val advisorStatus: String, val autoExecuteStatus: String, val autoExecuteStatusInheritedFrom: String, val azureApiVersion: String, val id: String, val kind: String, val lastChecked: String, val location: String, val name: String, val recommendationsStatus: String, val recommendedActions: List<RecommendedActionResponse>, val type: String)

Database, Server or Elastic Pool Advisor.

Constructors

Link copied to clipboard
constructor(advisorStatus: String, autoExecuteStatus: String, autoExecuteStatusInheritedFrom: String, azureApiVersion: String, id: String, kind: String, lastChecked: String, location: String, name: String, recommendationsStatus: String, recommendedActions: List<RecommendedActionResponse>, type: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

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).

Link copied to clipboard

The Azure API version of the resource.

Link copied to clipboard
val id: String

Resource ID.

Link copied to clipboard

Resource kind.

Link copied to clipboard

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

Link copied to clipboard

Resource location.

Link copied to clipboard

Resource name.

Link copied to clipboard

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.

Link copied to clipboard

Gets the recommended actions for this advisor.

Link copied to clipboard

Resource type.