CreateVaultImagePullSecretDetails

class oci.container_instances.models.CreateVaultImagePullSecretDetails(**kwargs)

Bases: oci.container_instances.models.create_image_pull_secret_details.CreateImagePullSecretDetails

A CreateVaultImagePullSecretDetails is a ImagePullSecret which accepts secretId as credentials information. Sample Format for username and password in Vault Secret ` { "username": "this-is-not-the-secret", "password": "example-password" } `

Attributes

SECRET_TYPE_BASIC str(object=’’) -> str
SECRET_TYPE_VAULT str(object=’’) -> str
registry_endpoint [Required] Gets the registry_endpoint of this CreateImagePullSecretDetails.
secret_id [Required] Gets the secret_id of this CreateVaultImagePullSecretDetails.
secret_type [Required] Gets the secret_type of this CreateImagePullSecretDetails.

Methods

__init__(**kwargs) Initializes a new CreateVaultImagePullSecretDetails 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'
SECRET_TYPE_VAULT = 'VAULT'
__init__(**kwargs)

Initializes a new CreateVaultImagePullSecretDetails object with values from keyword arguments. The default value of the secret_type attribute of this class is VAULT and it should not be changed. 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 CreateVaultImagePullSecretDetails. Allowed values for this property are: “BASIC”, “VAULT”
  • registry_endpoint (str) – The value to assign to the registry_endpoint property of this CreateVaultImagePullSecretDetails.
  • secret_id (str) – The value to assign to the secret_id property of this CreateVaultImagePullSecretDetails.
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 CreateImagePullSecretDetails. The registry endpoint of the container image.

Returns:The registry_endpoint of this CreateImagePullSecretDetails.
Return type:str
secret_id

[Required] Gets the secret_id of this CreateVaultImagePullSecretDetails. The OCID of the secret for registry credentials.

Returns:The secret_id of this CreateVaultImagePullSecretDetails.
Return type:str
secret_type

[Required] Gets the secret_type of this CreateImagePullSecretDetails. The type of ImagePullSecret.

Allowed values for this property are: “BASIC”, “VAULT”

Returns:The secret_type of this CreateImagePullSecretDetails.
Return type:str