Share via


Policies Class

Definition

The policies for a container registry.

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

Constructors

Policies()

Creates an new Policies instance.

Properties

AzureAdAuthenticationAsArmPolicyStatus

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

ExportPolicyStatus

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

QuarantinePolicyStatus

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

RetentionPolicyDay

The number of days to retain an untagged manifest after which it gets purged.

RetentionPolicyLastUpdatedTime

The timestamp when the policy was last updated.

RetentionPolicyStatus

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

SoftDeletePolicyLastUpdatedTime

The timestamp when the policy was last updated.

SoftDeletePolicyRetentionDay

The number of days after which a soft-deleted item is permanently deleted.

SoftDeletePolicyStatus

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

TrustPolicyStatus

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

TrustPolicyType

The type of trust policy.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of Policies.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of Policies.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of Policies into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to