CacheRule Class
An object that represents a cache rule for a container registry.
Variables are only populated by the server, and will be ignored when sending a request.
- Inheritance
-
azure.mgmt.containerregistry.v2023_01_01_preview.models._models_py3.ProxyResourceCacheRule
Constructor
CacheRule(*, credential_set_resource_id: str | None = None, source_repository: str | None = None, target_repository: str | None = None, **kwargs: Any)
Keyword-Only Parameters
Name | Description |
---|---|
credential_set_resource_id
|
The ARM resource ID of the credential store which is associated with the cache rule. |
source_repository
|
Source repository pulled from upstream. |
target_repository
|
Target repository specified in docker pull command. Eg: docker pull myregistry.azurecr.io/{targetRepository}:{tag}. |
Variables
Name | Description |
---|---|
id
|
The resource ID. |
name
|
The name of the resource. |
type
|
The type of the resource. |
system_data
|
Metadata pertaining to creation and last modification of the resource. |
credential_set_resource_id
|
The ARM resource ID of the credential store which is associated with the cache rule. |
source_repository
|
Source repository pulled from upstream. |
target_repository
|
Target repository specified in docker pull command. Eg: docker pull myregistry.azurecr.io/{targetRepository}:{tag}. |
creation_date
|
The creation date of the cache rule. |
provisioning_state
|
Provisioning state of the resource. Known values are: "Creating", "Updating", "Deleting", "Succeeded", "Failed", and "Canceled". |
Azure SDK for Python