ImagePullSecret¶
-
class
oci.container_instances.models.
ImagePullSecret
(**kwargs)¶ Bases:
object
The image pull secrets for accessing private registry to pull images for containers
Attributes
SECRET_TYPE_BASIC
A constant which can be used with the secret_type property of a ImagePullSecret. SECRET_TYPE_VAULT
A constant which can be used with the secret_type property of a ImagePullSecret. registry_endpoint
[Required] Gets the registry_endpoint of this ImagePullSecret. secret_type
[Required] Gets the secret_type of this ImagePullSecret. Methods
__init__
(**kwargs)Initializes a new ImagePullSecret object with values from keyword arguments. get_subtype
(object_dictionary)Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype. -
SECRET_TYPE_BASIC
= 'BASIC'¶ A constant which can be used with the secret_type property of a ImagePullSecret. This constant has a value of “BASIC”
-
SECRET_TYPE_VAULT
= 'VAULT'¶ A constant which can be used with the secret_type property of a ImagePullSecret. This constant has a value of “VAULT”
-
__init__
(**kwargs)¶ Initializes a new ImagePullSecret object with values from keyword arguments. This class has the following subclasses and if you are using this class as input to a service operations then you should favor using a subclass over the base class:
The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - secret_type (str) – The value to assign to the secret_type property of this ImagePullSecret. Allowed values for this property are: “BASIC”, “VAULT”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- registry_endpoint (str) – The value to assign to the registry_endpoint property of this ImagePullSecret.
-
static
get_subtype
(object_dictionary)¶ Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.
-
registry_endpoint
¶ [Required] Gets the registry_endpoint of this ImagePullSecret. The registry endpoint of the container image.
Returns: The registry_endpoint of this ImagePullSecret. Return type: str
-
secret_type
¶ [Required] Gets the secret_type of this ImagePullSecret. The type of ImagePullSecret.
Allowed values for this property are: “BASIC”, “VAULT”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The secret_type of this ImagePullSecret. Return type: str
-