Partilhar via


ArmMaintenanceModelFactory.MaintenanceUpdate Método

Definição

Inicializa uma nova instância de MaintenanceUpdate.

public static Azure.ResourceManager.Maintenance.Models.MaintenanceUpdate MaintenanceUpdate (Azure.ResourceManager.Maintenance.Models.MaintenanceScope? maintenanceScope = default, Azure.ResourceManager.Maintenance.Models.MaintenanceImpactType? impactType = default, Azure.ResourceManager.Maintenance.Models.MaintenanceUpdateStatus? status = default, int? impactDurationInSec = default, DateTimeOffset? notBefore = default, Azure.Core.ResourceIdentifier resourceId = default);
static member MaintenanceUpdate : Nullable<Azure.ResourceManager.Maintenance.Models.MaintenanceScope> * Nullable<Azure.ResourceManager.Maintenance.Models.MaintenanceImpactType> * Nullable<Azure.ResourceManager.Maintenance.Models.MaintenanceUpdateStatus> * Nullable<int> * Nullable<DateTimeOffset> * Azure.Core.ResourceIdentifier -> Azure.ResourceManager.Maintenance.Models.MaintenanceUpdate
Public Shared Function MaintenanceUpdate (Optional maintenanceScope As Nullable(Of MaintenanceScope) = Nothing, Optional impactType As Nullable(Of MaintenanceImpactType) = Nothing, Optional status As Nullable(Of MaintenanceUpdateStatus) = Nothing, Optional impactDurationInSec As Nullable(Of Integer) = Nothing, Optional notBefore As Nullable(Of DateTimeOffset) = Nothing, Optional resourceId As ResourceIdentifier = Nothing) As MaintenanceUpdate

Parâmetros

maintenanceScope
Nullable<MaintenanceScope>

A área de impacto.

impactType
Nullable<MaintenanceImpactType>

O tipo de impacto.

status
Nullable<MaintenanceUpdateStatus>

O status.

impactDurationInSec
Nullable<Int32>

Duração do impacto em segundos.

notBefore
Nullable<DateTimeOffset>

Hora em que o Azure começará a forçar atualizações se não for atualizado automaticamente pelo cliente antes desse momento.

resourceId
ResourceIdentifier

A resourceId.

Retornos

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

Aplica-se a