CacheRule Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
An object that represents a cache rule for a container registry.
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ContainerRegistry.Models.Api202301Preview.CacheRuleTypeConverter))]
public class CacheRule : Microsoft.Azure.PowerShell.Cmdlets.ContainerRegistry.Models.Api202301Preview.ICacheRule, Microsoft.Azure.PowerShell.Cmdlets.ContainerRegistry.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ContainerRegistry.Models.Api202301Preview.CacheRuleTypeConverter))>]
type CacheRule = class
interface ICacheRule
interface IJsonSerializable
interface IProxyResource
interface IValidates
Public Class CacheRule
Implements ICacheRule, IValidates
- Inheritance
-
CacheRule
- Attributes
- Implements
Constructors
CacheRule() |
Creates an new CacheRule 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. |
Id |
The resource ID. |
Name |
The name of the resource. |
ProvisioningState |
Provisioning state of the resource. |
ResourceGroupName |
Gets the resource group name |
SourceRepository |
Source repository pulled from upstream. |
SystemData |
Metadata pertaining to creation and last modification of the resource. |
SystemDataCreatedAt |
The timestamp of resource creation (UTC). |
SystemDataCreatedBy |
The identity that created the resource. |
SystemDataCreatedByType |
The type of identity that created the resource. |
SystemDataLastModifiedAt |
The timestamp of resource modification (UTC). |
SystemDataLastModifiedBy |
The identity that last modified the resource. |
SystemDataLastModifiedByType |
The type of identity that last modified the resource. |
TargetRepository |
Target repository specified in docker pull command. Eg: docker pull myregistry.azurecr.io/{targetRepository}:{tag} |
Type |
The type of the resource. |
Methods
DeserializeFromDictionary(IDictionary) |
Deserializes a IDictionary into an instance of CacheRule. |
DeserializeFromPSObject(PSObject) | |
FromJson(JsonNode) |
Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.ContainerRegistry.Models.Api202301Preview.ICacheRule. |
FromJsonString(String) |
Creates a new instance of CacheRule, deserializing the content from a json string. |
ToJson(JsonObject, SerializationMode) | |
ToJsonString() |
Serializes this instance to a json string. |
ToString() | |
Validate(IEventListener) |
Validates that this object meets the validation criteria. |