Partager via


ArmAdvisorModelFactory.SuppressionContractData Méthode

Définition

Initialise une nouvelle instance 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

Paramètres

name
String

Nom.

resourceType
ResourceType

ResourceType.

systemData
SystemData

SystemData.

suppressionId
String

GUID de la suppression.

ttl
String

Durée pendant laquelle la suppression est valide.

expirationTimeStamp
Nullable<DateTimeOffset>

Obtient ou définit l’horodatage d’expiration.

Retours

Une nouvelle SuppressionContractData instance pour se moquer.

S’applique à