ArmAppServiceModelFactory.AppServiceRecommendation Method
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.
Initializes a new instance of AppServiceRecommendation.
public static Azure.ResourceManager.AppService.Models.AppServiceRecommendation AppServiceRecommendation(Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, DateTimeOffset? createdOn = default, Guid? recommendationId = default, Azure.Core.ResourceIdentifier resourceId = default, Azure.ResourceManager.AppService.Models.ResourceScopeType? resourceScope = default, string ruleName = default, string displayName = default, string message = default, Azure.ResourceManager.AppService.Models.NotificationLevel? level = default, Azure.ResourceManager.AppService.Models.RecommendationChannel? channels = default, System.Collections.Generic.IEnumerable<string> categoryTags = default, string actionName = default, int? enabled = default, System.Collections.Generic.IEnumerable<string> states = default, DateTimeOffset? startOn = default, DateTimeOffset? endOn = default, DateTimeOffset? nextNotificationOn = default, DateTimeOffset? notificationExpirationOn = default, DateTimeOffset? notifiedOn = default, double? score = default, bool? isDynamic = default, string extensionName = default, string bladeName = default, string forwardLink = default, string kind = default);
static member AppServiceRecommendation : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Nullable<DateTimeOffset> * Nullable<Guid> * Azure.Core.ResourceIdentifier * Nullable<Azure.ResourceManager.AppService.Models.ResourceScopeType> * string * string * string * Nullable<Azure.ResourceManager.AppService.Models.NotificationLevel> * Nullable<Azure.ResourceManager.AppService.Models.RecommendationChannel> * seq<string> * string * Nullable<int> * seq<string> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<double> * Nullable<bool> * string * string * string * string -> Azure.ResourceManager.AppService.Models.AppServiceRecommendation
Public Shared Function AppServiceRecommendation (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional createdOn As Nullable(Of DateTimeOffset) = Nothing, Optional recommendationId As Nullable(Of Guid) = Nothing, Optional resourceId As ResourceIdentifier = Nothing, Optional resourceScope As Nullable(Of ResourceScopeType) = Nothing, Optional ruleName As String = Nothing, Optional displayName As String = Nothing, Optional message As String = Nothing, Optional level As Nullable(Of NotificationLevel) = Nothing, Optional channels As Nullable(Of RecommendationChannel) = Nothing, Optional categoryTags As IEnumerable(Of String) = Nothing, Optional actionName As String = Nothing, Optional enabled As Nullable(Of Integer) = Nothing, Optional states As IEnumerable(Of String) = Nothing, Optional startOn As Nullable(Of DateTimeOffset) = Nothing, Optional endOn As Nullable(Of DateTimeOffset) = Nothing, Optional nextNotificationOn As Nullable(Of DateTimeOffset) = Nothing, Optional notificationExpirationOn As Nullable(Of DateTimeOffset) = Nothing, Optional notifiedOn As Nullable(Of DateTimeOffset) = Nothing, Optional score As Nullable(Of Double) = Nothing, Optional isDynamic As Nullable(Of Boolean) = Nothing, Optional extensionName As String = Nothing, Optional bladeName As String = Nothing, Optional forwardLink As String = Nothing, Optional kind As String = Nothing) As AppServiceRecommendation
Parameters
The id.
- name
- String
The name.
- resourceType
- ResourceType
The resourceType.
- systemData
- SystemData
The systemData.
- createdOn
- Nullable<DateTimeOffset>
Timestamp when this instance was created. Serialized Name: Recommendation.properties.creationTime
A GUID value that each recommendation object is associated with. Serialized Name: Recommendation.properties.recommendationId
- resourceId
- ResourceIdentifier
Full ARM resource ID string that this recommendation object is associated with. Serialized Name: Recommendation.properties.resourceId
- resourceScope
- Nullable<ResourceScopeType>
Name of a resource type this recommendation applies, e.g. Subscription, ServerFarm, Site. Serialized Name: Recommendation.properties.resourceScope
- ruleName
- String
Unique name of the rule. Serialized Name: Recommendation.properties.ruleName
- displayName
- String
UI friendly name of the rule (may not be unique). Serialized Name: Recommendation.properties.displayName
- message
- String
Recommendation text. Serialized Name: Recommendation.properties.message
- level
- Nullable<NotificationLevel>
Level indicating how critical this recommendation can impact. Serialized Name: Recommendation.properties.level
- channels
- Nullable<RecommendationChannel>
List of channels that this recommendation can apply. Serialized Name: Recommendation.properties.channels
- categoryTags
- IEnumerable<String>
The list of category tags that this recommendation belongs to. Serialized Name: Recommendation.properties.categoryTags
- actionName
- String
Name of action recommended by this object. Serialized Name: Recommendation.properties.actionName
True if this recommendation is still valid (i.e. "actionable"). False if it is invalid. Serialized Name: Recommendation.properties.enabled
- states
- IEnumerable<String>
The list of states of this recommendation. If it's null then it should be considered "Active". Serialized Name: Recommendation.properties.states
- startOn
- Nullable<DateTimeOffset>
The beginning time in UTC of a range that the recommendation refers to. Serialized Name: Recommendation.properties.startTime
- endOn
- Nullable<DateTimeOffset>
The end time in UTC of a range that the recommendation refers to. Serialized Name: Recommendation.properties.endTime
- nextNotificationOn
- Nullable<DateTimeOffset>
When to notify this recommendation next in UTC. Null means that this will never be notified anymore. Serialized Name: Recommendation.properties.nextNotificationTime
- notificationExpirationOn
- Nullable<DateTimeOffset>
Date and time in UTC when this notification expires. Serialized Name: Recommendation.properties.notificationExpirationTime
- notifiedOn
- Nullable<DateTimeOffset>
Last timestamp in UTC this instance was actually notified. Null means that this recommendation hasn't been notified yet. Serialized Name: Recommendation.properties.notifiedTime
A metric value measured by the rule. Serialized Name: Recommendation.properties.score
True if this is associated with a dynamically added rule Serialized Name: Recommendation.properties.isDynamic
- extensionName
- String
Extension name of the portal if exists. Serialized Name: Recommendation.properties.extensionName
- bladeName
- String
Deep link to a blade on the portal. Serialized Name: Recommendation.properties.bladeName
- forwardLink
- String
Forward link to an external document associated with the rule. Serialized Name: Recommendation.properties.forwardLink
- kind
- String
Kind of resource. Serialized Name: ProxyOnlyResource.kind
Returns
A new AppServiceRecommendation instance for mocking.