ArmAdvisorModelFactory.SuppressionContractData Method

Definition

Initializes a new instance of 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

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

suppressionId
String

The GUID of the suppression.

ttl
String

The duration for which the suppression is valid.

expirationTimeStamp
Nullable<DateTimeOffset>

Gets or sets the expiration time stamp.

Returns

A new SuppressionContractData instance for mocking.

Applies to