ArmAdvisorModelFactory.SuppressionContractData Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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
Współpracuj z nami w serwisie GitHub
Źródło tej zawartości można znaleźć w witrynie GitHub, gdzie można również tworzyć i przeglądać problemy i żądania ściągnięcia. Więcej informacji znajdziesz w naszym przewodniku dla współtwórców.
Azure SDK for .NET