Advisor Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
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. |
Advisor()
Initializes a new instance of the Advisor class.
public Advisor ();
Public Sub New ()
Applies to
Advisor(AutoExecuteStatus, String, String, String, String, String, Nullable<AdvisorStatus>, Nullable<AutoExecuteStatusInheritedFrom>, String, Nullable<DateTime>, IList<RecommendedAction>)
Initializes a new instance of the Advisor class.
public Advisor (Microsoft.Azure.Management.Sql.Models.AutoExecuteStatus autoExecuteStatus, string id = default, string name = default, string type = default, string kind = default, string location = default, Microsoft.Azure.Management.Sql.Models.AdvisorStatus? advisorStatus = default, Microsoft.Azure.Management.Sql.Models.AutoExecuteStatusInheritedFrom? autoExecuteStatusInheritedFrom = default, string recommendationsStatus = default, DateTime? lastChecked = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Sql.Models.RecommendedAction> recommendedActions = default);
new Microsoft.Azure.Management.Sql.Models.Advisor : Microsoft.Azure.Management.Sql.Models.AutoExecuteStatus * string * string * string * string * string * Nullable<Microsoft.Azure.Management.Sql.Models.AdvisorStatus> * Nullable<Microsoft.Azure.Management.Sql.Models.AutoExecuteStatusInheritedFrom> * string * Nullable<DateTime> * System.Collections.Generic.IList<Microsoft.Azure.Management.Sql.Models.RecommendedAction> -> Microsoft.Azure.Management.Sql.Models.Advisor
Public Sub New (autoExecuteStatus As AutoExecuteStatus, Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional kind As String = Nothing, Optional location As String = Nothing, Optional advisorStatus As Nullable(Of AdvisorStatus) = Nothing, Optional autoExecuteStatusInheritedFrom As Nullable(Of AutoExecuteStatusInheritedFrom) = Nothing, Optional recommendationsStatus As String = Nothing, Optional lastChecked As Nullable(Of DateTime) = Nothing, Optional recommendedActions As IList(Of RecommendedAction) = Nothing)
Parameters
- autoExecuteStatus
- 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'
- id
- String
Resource ID.
- name
- String
Resource name.
- type
- String
Resource type.
- kind
- String
Resource kind.
- location
- String
Resource location.
- advisorStatus
- Nullable<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'
- autoExecuteStatusInheritedFrom
- Nullable<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'
- recommendationsStatus
- String
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.
Gets the time when the current resource was analyzed for recommendations by this advisor.
- recommendedActions
- IList<RecommendedAction>
Gets the recommended actions for this advisor.