Share via


ExportPolicy Class

Definition

The export policy for a container registry.

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

Constructors

ExportPolicy()

Creates an new ExportPolicy instance.

Properties

Status

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

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of ExportPolicy.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of ExportPolicy.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of ExportPolicy into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to