Condividi tramite


SuppressionProperties Class

Definition

The properties of the suppression.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Advisor.Models.Api202001.SuppressionPropertiesTypeConverter))]
public class SuppressionProperties : Microsoft.Azure.PowerShell.Cmdlets.Advisor.Models.Api202001.ISuppressionProperties
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Advisor.Models.Api202001.SuppressionPropertiesTypeConverter))>]
type SuppressionProperties = class
    interface ISuppressionProperties
    interface IJsonSerializable
Public Class SuppressionProperties
Implements ISuppressionProperties
Inheritance
SuppressionProperties
Attributes
Implements

Constructors

SuppressionProperties()

Creates an new SuppressionProperties instance.

Properties

ExpirationTimeStamp

Gets or sets the expiration time stamp.

SuppressionId

The GUID of the suppression.

Ttl

The duration for which the suppression is valid.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of SuppressionProperties.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of SuppressionProperties.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Advisor.Models.Api202001.ISuppressionProperties.

FromJsonString(String)

Creates a new instance of SuppressionProperties, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of SuppressionProperties into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to