ObjectRecommendation Class
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.
Object recommendation properties.
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.PostgreSqlFlexibleServer.Models.ObjectRecommendationTypeConverter))]
public class ObjectRecommendation : Microsoft.Azure.PowerShell.Cmdlets.PostgreSqlFlexibleServer.Models.IObjectRecommendation, Microsoft.Azure.PowerShell.Cmdlets.PostgreSqlFlexibleServer.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.PostgreSqlFlexibleServer.Models.ObjectRecommendationTypeConverter))>]
type ObjectRecommendation = class
interface IObjectRecommendation
interface IJsonSerializable
interface IProxyResource
interface IResource
interface IValidates
Public Class ObjectRecommendation
Implements IObjectRecommendation, IValidates
- Inheritance
-
ObjectRecommendation
- Attributes
- Implements
Constructors
| Name | Description |
|---|---|
| ObjectRecommendation() |
Creates an new ObjectRecommendation instance. |
Properties
| Name | Description |
|---|---|
| AnalyzedWorkloadEndTime |
End time (UTC) of the workload analyzed. |
| AnalyzedWorkloadQueryCount |
Number of queries from the workload that were examined to produce this recommendation. For DROP INDEX recommendations it's 0 (zero). |
| AnalyzedWorkloadStartTime |
Start time (UTC) of the workload analyzed. |
| CurrentState |
Current state. |
| DetailDatabaseName |
Database name. |
| DetailIncludedColumn |
Index included columns. |
| DetailIndexColumn |
Index columns. |
| DetailIndexName |
Index name. |
| DetailIndexType |
Index type. |
| DetailSchema |
Schema name. |
| DetailTable |
Table name. |
| EstimatedImpact |
Estimated impact of this recommended action. |
| Id |
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} |
| ImplementationDetailMethod |
Method of implementation for recommended action. |
| ImplementationDetailScript |
Implementation script for the recommended action. |
| ImprovedQueryId |
List of identifiers for all queries identified as targets for improvement if the recommendation is applied. The list is only populated for CREATE INDEX recommendations. |
| InitialRecommendedTime |
Creation time (UTC) of this recommendation. |
| Kind |
Always empty. |
| LastRecommendedTime |
Last time (UTC) that this recommendation was produced. |
| Name |
The name of the resource |
| RecommendationReason |
Reason for this recommendation. |
| RecommendationType |
Type for this recommendation. |
| SystemDataCreatedAt |
The timestamp of resource creation (UTC). |
| SystemDataCreatedBy |
The identity that created the resource. |
| SystemDataCreatedByType |
The type of identity that created the resource. |
| SystemDataLastModifiedAt |
The timestamp of resource last modification (UTC) |
| SystemDataLastModifiedBy |
The identity that last modified the resource. |
| SystemDataLastModifiedByType |
The type of identity that last modified the resource. |
| TimesRecommended |
Number of times this recommendation has been produced. |
| Type |
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" |
Methods
| Name | Description |
|---|---|
| DeserializeFromDictionary(IDictionary) |
Deserializes a IDictionary into an instance of ObjectRecommendation. |
| DeserializeFromPSObject(PSObject) |
Deserializes a PSObject into an instance of ObjectRecommendation. |
| FromJson(JsonNode) |
Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.PostgreSqlFlexibleServer.Models.IObjectRecommendation. |
| FromJsonString(String) |
Creates a new instance of ObjectRecommendation, deserializing the content from a json string. |
| ToJson(JsonObject, SerializationMode) |
Serializes this instance of ObjectRecommendation into a JsonNode. |
| ToJsonString() |
Serializes this instance to a json string. |
| ToString() | |
| Validate(IEventListener) |
Validates that this object meets the validation criteria. |