Share via


CacheRuleProperties Class

Definition

The properties of a cache rule.

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

Constructors

CacheRuleProperties()

Creates an new CacheRuleProperties instance.

Properties

CreationDate

The creation date of the cache rule.

CredentialSetResourceId

The ARM resource ID of the credential store which is associated with the cache rule.

ProvisioningState

Provisioning state of the resource.

SourceRepository

Source repository pulled from upstream.

TargetRepository

Target repository specified in docker pull command. Eg: docker pull myregistry.azurecr.io/{targetRepository}:{tag}

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of CacheRuleProperties.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of CacheRuleProperties.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of CacheRuleProperties into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to