Partilhar via


RecommendationInner Construtores

Definição

Sobrecargas

RecommendationInner()

Inicializa uma nova instância da classe RecommendationInner.

RecommendationInner(String, String, String, String, Nullable<DateTime>, Nullable<Guid>, String, ResourceScopeType, String, String, String, Nullable<NotificationLevel>, Nullable<Channels>, IList<String>, String, Nullable<Int32>, IList<String>, Nullable<DateTime>, Nullable<DateTime>, Nullable<DateTime>, Nullable<DateTime>, Nullable<DateTime>, Nullable<Double>, Nullable<Boolean>, String, String, String)

Inicializa uma nova instância da classe RecommendationInner.

RecommendationInner()

Inicializa uma nova instância da classe RecommendationInner.

public RecommendationInner ();
Public Sub New ()

Aplica-se a

RecommendationInner(String, String, String, String, Nullable<DateTime>, Nullable<Guid>, String, ResourceScopeType, String, String, String, Nullable<NotificationLevel>, Nullable<Channels>, IList<String>, String, Nullable<Int32>, IList<String>, Nullable<DateTime>, Nullable<DateTime>, Nullable<DateTime>, Nullable<DateTime>, Nullable<DateTime>, Nullable<Double>, Nullable<Boolean>, String, String, String)

Inicializa uma nova instância da classe RecommendationInner.

public RecommendationInner (string id = default, string name = default, string type = default, string kind = default, DateTime? creationTime = default, Guid? recommendationId = default, string resourceId = default, Microsoft.Azure.Management.AppService.Fluent.Models.ResourceScopeType resourceScope = default, string ruleName = default, string displayName = default, string message = default, Microsoft.Azure.Management.AppService.Fluent.Models.NotificationLevel? level = default, Microsoft.Azure.Management.AppService.Fluent.Models.Channels? channels = default, System.Collections.Generic.IList<string> categoryTags = default, string actionName = default, int? enabled = default, System.Collections.Generic.IList<string> states = default, DateTime? startTime = default, DateTime? endTime = default, DateTime? nextNotificationTime = default, DateTime? notificationExpirationTime = default, DateTime? notifiedTime = default, double? score = default, bool? isDynamic = default, string extensionName = default, string bladeName = default, string forwardLink = default);
new Microsoft.Azure.Management.AppService.Fluent.Models.RecommendationInner : string * string * string * string * Nullable<DateTime> * Nullable<Guid> * string * Microsoft.Azure.Management.AppService.Fluent.Models.ResourceScopeType * string * string * string * Nullable<Microsoft.Azure.Management.AppService.Fluent.Models.NotificationLevel> * Nullable<Microsoft.Azure.Management.AppService.Fluent.Models.Channels> * System.Collections.Generic.IList<string> * string * Nullable<int> * System.Collections.Generic.IList<string> * Nullable<DateTime> * Nullable<DateTime> * Nullable<DateTime> * Nullable<DateTime> * Nullable<DateTime> * Nullable<double> * Nullable<bool> * string * string * string -> Microsoft.Azure.Management.AppService.Fluent.Models.RecommendationInner
Public Sub New (Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional kind As String = Nothing, Optional creationTime As Nullable(Of DateTime) = Nothing, Optional recommendationId As Nullable(Of Guid) = Nothing, Optional resourceId As String = Nothing, Optional resourceScope As 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 Channels) = Nothing, Optional categoryTags As IList(Of String) = Nothing, Optional actionName As String = Nothing, Optional enabled As Nullable(Of Integer) = Nothing, Optional states As IList(Of String) = Nothing, Optional startTime As Nullable(Of DateTime) = Nothing, Optional endTime As Nullable(Of DateTime) = Nothing, Optional nextNotificationTime As Nullable(Of DateTime) = Nothing, Optional notificationExpirationTime As Nullable(Of DateTime) = Nothing, Optional notifiedTime As Nullable(Of DateTime) = 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)

Parâmetros

id
String
name
String
type
String
kind
String

Tipo de recurso.

creationTime
Nullable<DateTime>

Carimbo de data/hora quando esta instância foi criada.

recommendationId
Nullable<Guid>

Um valor GUID ao qual cada objeto de recomendação está associado.

resourceId
String

Cadeia de ID de recurso do ARM completa à qual este objeto de recomendação está associado.

resourceScope
ResourceScopeType

Nome de um tipo de recurso, esta recomendação aplica-se, por exemplo, Subscrição, ServerFarm, Site. Os valores possíveis incluem: "ServerFarm", "Subscription", "WebSite"

ruleName
String

Nome exclusivo da regra.

displayName
String

Nome amigável da IU da regra (pode não ser exclusivo).

message
String

Texto de recomendação.

level
Nullable<NotificationLevel>

Nível que indica o impacto crítico desta recomendação. Os valores possíveis incluem: "Crítico", "Aviso", "Informações", "NonUrgentSuggestion"

channels
Nullable<Channels>

Lista de canais que esta recomendação pode aplicar. Os valores possíveis incluem: "Notificação", "API", "Email", "Webhook", "All"

categoryTags
IList<String>

A lista de etiquetas de categoria a que esta recomendação pertence.

actionName
String

Nome da ação recomendada por este objeto.

enabled
Nullable<Int32>

Verdadeiro se esta recomendação ainda for válida (ou seja, "acionável"). Falso se for inválido.

states
IList<String>

A lista de estados desta recomendação. Se for nulo, deve ser considerado "Ativo".

startTime
Nullable<DateTime>

A hora de início em UTC de um intervalo a que a recomendação se refere.

endTime
Nullable<DateTime>

A hora de fim em UTC de um intervalo a que a recomendação se refere.

nextNotificationTime
Nullable<DateTime>

Quando notificar esta recomendação a seguir em UTC. Nulo significa que isto nunca mais será notificado.

notificationExpirationTime
Nullable<DateTime>

Data e hora em UTC quando esta notificação expirar.

notifiedTime
Nullable<DateTime>

O último carimbo de data/hora em UTC esta instância foi efetivamente notificada. Nulo significa que esta recomendação ainda não foi notificada.

score
Nullable<Double>

Um valor de métrica medido pela regra.

isDynamic
Nullable<Boolean>

Verdadeiro se estiver associado a uma regra adicionada dinamicamente

extensionName
String

Nome da extensão do portal, se existir.

bladeName
String

Ligação profunda a um painel no portal.

forwardLink
String

Reencaminhar ligação para um documento externo associado à regra.

Aplica-se a