class Azure::Web::Mgmt::V2016_03_01::Models::Recommendation
Represents a recommendation result generated by the recommendation engine.
Attributes
@return [String] Name of action recommended by this object.
@return [String] Deep link to a blade on the portal.
@return [Channels] List of channels that this recommendation can apply. Possible values include: 'Notification', 'Api', 'Email', 'Webhook', 'All'
@return [DateTime] Timestamp when this instance was created.
@return [String] UI friendly name of the rule (may not be unique).
@return [DateTime] The end time in UTC of a range that the recommendation refers to.
@return [String] Extension name of the portal if exists.
@return [String] Forward link to an external document associated with the rule.
@return [Boolean] True if this is associated with a dynamically added rule
@return [NotificationLevel] Level indicating how critical this recommendation can impact. Possible values include: 'Critical', 'Warning', 'Information', 'NonUrgentSuggestion'
@return [String] Recommendation
text.
@return [DateTime] When to notify this recommendation next in UTC. Null means that this will never be notified anymore.
@return [DateTime] Date and time in UTC when this notification expires.
@return [DateTime] Last timestamp in UTC this instance was actually notified. Null means that this recommendation hasn't been notified yet.
@return A GUID value that each recommendation object is associated with.
@return [String] Full ARM resource ID string that this recommendation object is associated with.
@return [ResourceScopeType] Name of a resource type this recommendation applies, e.g. Subscription, ServerFarm, Site
. Possible values include: 'ServerFarm', 'Subscription', 'WebSite'
@return [String] Unique name of the rule.
@return [Float] A metric value measured by the rule.
@return [DateTime] The beginning time in UTC of a range that the recommendation refers to.
Private Class Methods
Mapper for Recommendation
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2016-03-01/generated/azure_mgmt_web/models/recommendation.rb, line 99 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'Recommendation', type: { name: 'Composite', class_name: 'Recommendation', model_properties: { id: { client_side_validation: true, required: false, read_only: true, serialized_name: 'id', type: { name: 'String' } }, name: { client_side_validation: true, required: false, read_only: true, serialized_name: 'name', type: { name: 'String' } }, kind: { client_side_validation: true, required: false, serialized_name: 'kind', type: { name: 'String' } }, type: { client_side_validation: true, required: false, read_only: true, serialized_name: 'type', type: { name: 'String' } }, creation_time: { client_side_validation: true, required: false, serialized_name: 'properties.creationTime', type: { name: 'DateTime' } }, recommendation_id: { client_side_validation: true, required: false, serialized_name: 'properties.recommendationId', type: { name: 'String' } }, resource_id: { client_side_validation: true, required: false, serialized_name: 'properties.resourceId', type: { name: 'String' } }, resource_scope: { client_side_validation: true, required: false, serialized_name: 'properties.resourceScope', type: { name: 'String' } }, rule_name: { client_side_validation: true, required: false, serialized_name: 'properties.ruleName', type: { name: 'String' } }, display_name: { client_side_validation: true, required: false, serialized_name: 'properties.displayName', type: { name: 'String' } }, message: { client_side_validation: true, required: false, serialized_name: 'properties.message', type: { name: 'String' } }, level: { client_side_validation: true, required: false, serialized_name: 'properties.level', type: { name: 'Enum', module: 'NotificationLevel' } }, channels: { client_side_validation: true, required: false, serialized_name: 'properties.channels', type: { name: 'Enum', module: 'Channels' } }, tags: { client_side_validation: true, required: false, serialized_name: 'properties.tags', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { name: 'String' } } } }, action_name: { client_side_validation: true, required: false, serialized_name: 'properties.actionName', type: { name: 'String' } }, start_time: { client_side_validation: true, required: false, serialized_name: 'properties.startTime', type: { name: 'DateTime' } }, end_time: { client_side_validation: true, required: false, serialized_name: 'properties.endTime', type: { name: 'DateTime' } }, next_notification_time: { client_side_validation: true, required: false, serialized_name: 'properties.nextNotificationTime', type: { name: 'DateTime' } }, notification_expiration_time: { client_side_validation: true, required: false, serialized_name: 'properties.notificationExpirationTime', type: { name: 'DateTime' } }, notified_time: { client_side_validation: true, required: false, serialized_name: 'properties.notifiedTime', type: { name: 'DateTime' } }, score: { client_side_validation: true, required: false, serialized_name: 'properties.score', type: { name: 'Double' } }, is_dynamic: { client_side_validation: true, required: false, serialized_name: 'properties.isDynamic', type: { name: 'Boolean' } }, extension_name: { client_side_validation: true, required: false, serialized_name: 'properties.extensionName', type: { name: 'String' } }, blade_name: { client_side_validation: true, required: false, serialized_name: 'properties.bladeName', type: { name: 'String' } }, forward_link: { client_side_validation: true, required: false, serialized_name: 'properties.forwardLink', type: { name: 'String' } } } } } end