ClusterMigrateToNativeVcnStatus¶
- class oci.container_engine.models.ClusterMigrateToNativeVcnStatus(**kwargs)¶
Bases:
objectInformation regarding a cluster’s move to Native VCN.
Attributes:
A constant which can be used with the state property of a ClusterMigrateToNativeVcnStatus.
A constant which can be used with the state property of a ClusterMigrateToNativeVcnStatus.
A constant which can be used with the state property of a ClusterMigrateToNativeVcnStatus.
A constant which can be used with the state property of a ClusterMigrateToNativeVcnStatus.
A constant which can be used with the state property of a ClusterMigrateToNativeVcnStatus.
[Required] Gets the state of this ClusterMigrateToNativeVcnStatus.
Gets the time_decommission_scheduled of this ClusterMigrateToNativeVcnStatus.
Methods:
__init__(**kwargs)Initializes a new ClusterMigrateToNativeVcnStatus object with values from keyword arguments.
- STATE_COMPLETED = 'COMPLETED'¶
A constant which can be used with the state property of a ClusterMigrateToNativeVcnStatus. This constant has a value of “COMPLETED”
- STATE_IN_PROGRESS = 'IN_PROGRESS'¶
A constant which can be used with the state property of a ClusterMigrateToNativeVcnStatus. This constant has a value of “IN_PROGRESS”
- STATE_NOT_STARTED = 'NOT_STARTED'¶
A constant which can be used with the state property of a ClusterMigrateToNativeVcnStatus. This constant has a value of “NOT_STARTED”
- STATE_PENDING_DECOMMISSION = 'PENDING_DECOMMISSION'¶
A constant which can be used with the state property of a ClusterMigrateToNativeVcnStatus. This constant has a value of “PENDING_DECOMMISSION”
- STATE_REQUESTED = 'REQUESTED'¶
A constant which can be used with the state property of a ClusterMigrateToNativeVcnStatus. This constant has a value of “REQUESTED”
- __init__(**kwargs)¶
Initializes a new ClusterMigrateToNativeVcnStatus object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
time_decommission_scheduled (datetime) – The value to assign to the time_decommission_scheduled property of this ClusterMigrateToNativeVcnStatus.
state (str) – The value to assign to the state property of this ClusterMigrateToNativeVcnStatus. Allowed values for this property are: “NOT_STARTED”, “REQUESTED”, “IN_PROGRESS”, “PENDING_DECOMMISSION”, “COMPLETED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- property state¶
[Required] Gets the state of this ClusterMigrateToNativeVcnStatus. The current migration status of the cluster.
Allowed values for this property are: “NOT_STARTED”, “REQUESTED”, “IN_PROGRESS”, “PENDING_DECOMMISSION”, “COMPLETED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The state of this ClusterMigrateToNativeVcnStatus.
- Return type
str
- property time_decommission_scheduled¶
Gets the time_decommission_scheduled of this ClusterMigrateToNativeVcnStatus. The date and time the non-native VCN is due to be decommissioned.
- Returns
The time_decommission_scheduled of this ClusterMigrateToNativeVcnStatus.
- Return type
datetime