Compartilhar via


ArmMonitorModelFactory.NotificationStatus Método

Definição

Inicializa uma nova instância de NotificationStatus.

public static Azure.ResourceManager.Monitor.Models.NotificationStatus NotificationStatus (Azure.ResourceManager.Monitor.Models.NotificationContext context = default, string state = default, DateTimeOffset? completedOn = default, DateTimeOffset? createdOn = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Monitor.Models.NotificationActionDetail> actionDetails = default);
static member NotificationStatus : Azure.ResourceManager.Monitor.Models.NotificationContext * string * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * seq<Azure.ResourceManager.Monitor.Models.NotificationActionDetail> -> Azure.ResourceManager.Monitor.Models.NotificationStatus
Public Shared Function NotificationStatus (Optional context As NotificationContext = Nothing, Optional state As String = Nothing, Optional completedOn As Nullable(Of DateTimeOffset) = Nothing, Optional createdOn As Nullable(Of DateTimeOffset) = Nothing, Optional actionDetails As IEnumerable(Of NotificationActionDetail) = Nothing) As NotificationStatus

Parâmetros

context
NotificationContext

As informações de contexto.

state
String

O estado geral.

completedOn
Nullable<DateTimeOffset>

A hora concluída.

createdOn
Nullable<DateTimeOffset>

A hora de criação.

actionDetails
IEnumerable<NotificationActionDetail>

A lista de detalhes da ação.

Retornos

Uma nova NotificationStatus instância para simulação.

Aplica-se a