CreateClusterKubeconfigContentDetails

class oci.container_engine.models.CreateClusterKubeconfigContentDetails(**kwargs)

Bases: object

The properties that define a request to create a cluster kubeconfig.

__init__(**kwargs)

Initializes a new CreateClusterKubeconfigContentDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • token_version (str) -- The value to assign to the token_version property of this CreateClusterKubeconfigContentDetails.
  • expiration (int) -- The value to assign to the expiration property of this CreateClusterKubeconfigContentDetails.
expiration

Gets the expiration of this CreateClusterKubeconfigContentDetails. The desired expiration, in seconds, to use for the kubeconfig token. Important Note, expiration field is only honored for token version 1.0.0

Returns:The expiration of this CreateClusterKubeconfigContentDetails.
Return type:int
token_version

Gets the token_version of this CreateClusterKubeconfigContentDetails. The version of the kubeconfig token. Supported values 1.0.0 and 2.0.0

Returns:The token_version of this CreateClusterKubeconfigContentDetails.
Return type:str