RecoveryServiceSubnetDetails¶
- class oci.recovery.models.RecoveryServiceSubnetDetails(**kwargs)¶
Bases:
objectDetails of the Recovery Service Subnet.
Attributes:
A constant which can be used with the lifecycle_state property of a RecoveryServiceSubnetDetails.
A constant which can be used with the lifecycle_state property of a RecoveryServiceSubnetDetails.
A constant which can be used with the lifecycle_state property of a RecoveryServiceSubnetDetails.
A constant which can be used with the lifecycle_state property of a RecoveryServiceSubnetDetails.
A constant which can be used with the lifecycle_state property of a RecoveryServiceSubnetDetails.
A constant which can be used with the lifecycle_state property of a RecoveryServiceSubnetDetails.
A constant which can be used with the lifecycle_state property of a RecoveryServiceSubnetDetails.
Gets the lifecycle_state of this RecoveryServiceSubnetDetails.
[Required] Gets the recovery_service_subnet_id of this RecoveryServiceSubnetDetails.
Methods:
__init__(**kwargs)Initializes a new RecoveryServiceSubnetDetails object with values from keyword arguments.
- LIFECYCLE_STATE_ACTIVE = 'ACTIVE'¶
A constant which can be used with the lifecycle_state property of a RecoveryServiceSubnetDetails. This constant has a value of “ACTIVE”
- LIFECYCLE_STATE_CREATING = 'CREATING'¶
A constant which can be used with the lifecycle_state property of a RecoveryServiceSubnetDetails. This constant has a value of “CREATING”
- LIFECYCLE_STATE_DELETED = 'DELETED'¶
A constant which can be used with the lifecycle_state property of a RecoveryServiceSubnetDetails. This constant has a value of “DELETED”
- LIFECYCLE_STATE_DELETE_SCHEDULED = 'DELETE_SCHEDULED'¶
A constant which can be used with the lifecycle_state property of a RecoveryServiceSubnetDetails. This constant has a value of “DELETE_SCHEDULED”
- LIFECYCLE_STATE_DELETING = 'DELETING'¶
A constant which can be used with the lifecycle_state property of a RecoveryServiceSubnetDetails. This constant has a value of “DELETING”
- LIFECYCLE_STATE_FAILED = 'FAILED'¶
A constant which can be used with the lifecycle_state property of a RecoveryServiceSubnetDetails. This constant has a value of “FAILED”
- LIFECYCLE_STATE_UPDATING = 'UPDATING'¶
A constant which can be used with the lifecycle_state property of a RecoveryServiceSubnetDetails. This constant has a value of “UPDATING”
- __init__(**kwargs)¶
Initializes a new RecoveryServiceSubnetDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
recovery_service_subnet_id (str) – The value to assign to the recovery_service_subnet_id property of this RecoveryServiceSubnetDetails.
lifecycle_state (str) – The value to assign to the lifecycle_state property of this RecoveryServiceSubnetDetails. Allowed values for this property are: “CREATING”, “UPDATING”, “ACTIVE”, “DELETE_SCHEDULED”, “DELETING”, “DELETED”, “FAILED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- property lifecycle_state¶
Gets the lifecycle_state of this RecoveryServiceSubnetDetails. The current state of the Recovery Service Subnet.
Allowed values for this property are: “CREATING”, “UPDATING”, “ACTIVE”, “DELETE_SCHEDULED”, “DELETING”, “DELETED”, “FAILED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The lifecycle_state of this RecoveryServiceSubnetDetails.
- Return type
str
- property recovery_service_subnet_id¶
[Required] Gets the recovery_service_subnet_id of this RecoveryServiceSubnetDetails. Recovery Service Subnet Identifier.
- Returns
The recovery_service_subnet_id of this RecoveryServiceSubnetDetails.
- Return type
str