ImageDigestMirror 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.
ImageDigestMirror specifies a set of mirror registries to redirect image pulls targeting the specified source registries.
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.RedHatOpenShiftHcp.Models.ImageDigestMirrorTypeConverter))]
public class ImageDigestMirror : Microsoft.Azure.PowerShell.Cmdlets.RedHatOpenShiftHcp.Models.IImageDigestMirror
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.RedHatOpenShiftHcp.Models.ImageDigestMirrorTypeConverter))>]
type ImageDigestMirror = class
interface IImageDigestMirror
interface IJsonSerializable
Public Class ImageDigestMirror
Implements IImageDigestMirror
- Inheritance
-
ImageDigestMirror
- Attributes
- Implements
Constructors
| Name | Description |
|---|---|
| ImageDigestMirror() |
Creates an new ImageDigestMirror instance. |
Properties
| Name | Description |
|---|---|
| Mirror |
mirrors is zero or more locations that may also contain the same images. No mirror will be configured if not specified. Images can be pulled from these mirrors only if they are referenced by their digests. The mirrored location is obtained by replacing the part of the input reference that matches source by the mirrors entry, e.g. for registry.redhat.io/product/repo reference, a (source, mirror) pair *.redhat.io, mirror.local/redhat causes a mirror.local/redhat/product/repo repository to be used. The order of mirrors in this list is treated as the user's desired priority, while source is by default considered lower priority than all mirrors. If no mirror is specified or all image pulls from the mirror list fail, the image will continue to be pulled from the repository in the pull spec. Other cluster configuration, including (but not limited to) other imageDigestMirrors objects, may impact the exact order mirrors are contacted in, or some mirrors may be contacted in parallel, so this should be considered a preference rather than a guarantee of ordering. mirrors uses one of the following formats:
|
| Source |
source matches the repository that users refer to, e.g. in image pull specifications. Setting source to a registry hostname, e.g. docker.io, quay.io, or registry.redhat.io, will match the image pull specification of the corresponding registry. source uses one of the following formats:
|
Methods
| Name | Description |
|---|---|
| DeserializeFromDictionary(IDictionary) |
Deserializes a IDictionary into an instance of ImageDigestMirror. |
| DeserializeFromPSObject(PSObject) |
Deserializes a PSObject into an instance of ImageDigestMirror. |
| FromJson(JsonNode) |
Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.RedHatOpenShiftHcp.Models.IImageDigestMirror. |
| FromJsonString(String) |
Creates a new instance of ImageDigestMirror, deserializing the content from a json string. |
| ToJson(JsonObject, SerializationMode) |
Serializes this instance of ImageDigestMirror into a JsonNode. |
| ToJsonString() |
Serializes this instance to a json string. |
| ToString() | |