다음을 통해 공유


SuppressionContractData Class

Definition

A class representing the SuppressionContract data model. The details of the snoozed or dismissed rule; for example, the duration, name, and GUID associated with the rule.

public class SuppressionContractData : Azure.ResourceManager.Models.ResourceData, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Advisor.SuppressionContractData>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Advisor.SuppressionContractData>
type SuppressionContractData = class
    inherit ResourceData
    interface IJsonModel<SuppressionContractData>
    interface IPersistableModel<SuppressionContractData>
Public Class SuppressionContractData
Inherits ResourceData
Implements IJsonModel(Of SuppressionContractData), IPersistableModel(Of SuppressionContractData)
Inheritance
SuppressionContractData
Implements

Constructors

SuppressionContractData()

Initializes a new instance of SuppressionContractData.

Properties

ExpirationTimeStamp

Gets or sets the expiration time stamp.

Id

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.

(Inherited from ResourceData)
Name

The name of the resource.

(Inherited from ResourceData)
ResourceType

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".

(Inherited from ResourceData)
SuppressionId

The GUID of the suppression.

SystemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

(Inherited from ResourceData)
Ttl

The duration for which the suppression is valid.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<SuppressionContractData>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<SuppressionContractData>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<SuppressionContractData>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<SuppressionContractData>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<SuppressionContractData>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to