Partilhar via


ArmAdvisorModelFactory.SuppressionContractData Método

Definição

Inicializa uma nova instância de SuppressionContractData.

public static Azure.ResourceManager.Advisor.SuppressionContractData SuppressionContractData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, string suppressionId = default, string ttl = default, DateTimeOffset? expirationTimeStamp = default);
static member SuppressionContractData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * string * string * Nullable<DateTimeOffset> -> Azure.ResourceManager.Advisor.SuppressionContractData
Public Shared Function SuppressionContractData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional suppressionId As String = Nothing, Optional ttl As String = Nothing, Optional expirationTimeStamp As Nullable(Of DateTimeOffset) = Nothing) As SuppressionContractData

Parâmetros

name
String

O nome.

resourceType
ResourceType

O resourceType.

systemData
SystemData

O systemData.

suppressionId
String

O GUID da supressão.

ttl
String

A duração para a qual a supressão é válida.

expirationTimeStamp
Nullable<DateTimeOffset>

Obtém ou define o carimbo de data/hora de expiração.

Retornos

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

Aplica-se a