Bagikan melalui


QuarantinePolicy Class

Definition

The quarantine policy for a container registry.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ContainerRegistry.Models.Api202301Preview.QuarantinePolicyTypeConverter))]
public class QuarantinePolicy : Microsoft.Azure.PowerShell.Cmdlets.ContainerRegistry.Models.Api202301Preview.IQuarantinePolicy
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ContainerRegistry.Models.Api202301Preview.QuarantinePolicyTypeConverter))>]
type QuarantinePolicy = class
    interface IQuarantinePolicy
    interface IJsonSerializable
Public Class QuarantinePolicy
Implements IQuarantinePolicy
Inheritance
QuarantinePolicy
Attributes
Implements

Constructors

QuarantinePolicy()

Creates an new QuarantinePolicy instance.

Properties

Status

The value that indicates whether the policy is enabled or not.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of QuarantinePolicy.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of QuarantinePolicy.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.ContainerRegistry.Models.Api202301Preview.IQuarantinePolicy.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of QuarantinePolicy into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to