CreateClusterKubeconfigContentDetails

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

Bases: object

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

Methods

__init__(**kwargs) Initializes a new CreateClusterKubeconfigContentDetails object with values from keyword arguments.

Attributes

expiration Gets the expiration of this CreateClusterKubeconfigContentDetails.
token_version Gets the token_version of this CreateClusterKubeconfigContentDetails.
__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. Deprecated. This field is no longer used.

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 value 2.0.0

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