CccInfrastructure¶
-
class
oci.compute_cloud_at_customer.models.
CccInfrastructure
(**kwargs)¶ Bases:
object
The Oracle Cloud Infrastructure resource representing the connection to the hardware and software located in a customer’s data center running the Compute Cloud@Customer IaaS services.
Attributes
CONNECTION_STATE_CONNECTED
A constant which can be used with the connection_state property of a CccInfrastructure. CONNECTION_STATE_DISCONNECTED
A constant which can be used with the connection_state property of a CccInfrastructure. CONNECTION_STATE_READY
A constant which can be used with the connection_state property of a CccInfrastructure. CONNECTION_STATE_REJECT
A constant which can be used with the connection_state property of a CccInfrastructure. CONNECTION_STATE_REQUEST
A constant which can be used with the connection_state property of a CccInfrastructure. LIFECYCLE_STATE_ACTIVE
A constant which can be used with the lifecycle_state property of a CccInfrastructure. LIFECYCLE_STATE_DELETED
A constant which can be used with the lifecycle_state property of a CccInfrastructure. LIFECYCLE_STATE_FAILED
A constant which can be used with the lifecycle_state property of a CccInfrastructure. LIFECYCLE_STATE_NEEDS_ATTENTION
A constant which can be used with the lifecycle_state property of a CccInfrastructure. ccc_upgrade_schedule_id
Gets the ccc_upgrade_schedule_id of this CccInfrastructure. compartment_id
[Required] Gets the compartment_id of this CccInfrastructure. connection_details
Gets the connection_details of this CccInfrastructure. connection_state
Gets the connection_state of this CccInfrastructure. defined_tags
Gets the defined_tags of this CccInfrastructure. description
Gets the description of this CccInfrastructure. display_name
[Required] Gets the display_name of this CccInfrastructure. freeform_tags
Gets the freeform_tags of this CccInfrastructure. id
[Required] Gets the id of this CccInfrastructure. infrastructure_inventory
Gets the infrastructure_inventory of this CccInfrastructure. infrastructure_network_configuration
Gets the infrastructure_network_configuration of this CccInfrastructure. lifecycle_details
Gets the lifecycle_details of this CccInfrastructure. lifecycle_state
[Required] Gets the lifecycle_state of this CccInfrastructure. provisioning_fingerprint
Gets the provisioning_fingerprint of this CccInfrastructure. provisioning_pin
Gets the provisioning_pin of this CccInfrastructure. short_name
Gets the short_name of this CccInfrastructure. subnet_id
[Required] Gets the subnet_id of this CccInfrastructure. system_tags
Gets the system_tags of this CccInfrastructure. time_created
[Required] Gets the time_created of this CccInfrastructure. time_updated
Gets the time_updated of this CccInfrastructure. upgrade_information
Gets the upgrade_information of this CccInfrastructure. Methods
__init__
(**kwargs)Initializes a new CccInfrastructure object with values from keyword arguments. -
CONNECTION_STATE_CONNECTED
= 'CONNECTED'¶ A constant which can be used with the connection_state property of a CccInfrastructure. This constant has a value of “CONNECTED”
-
CONNECTION_STATE_DISCONNECTED
= 'DISCONNECTED'¶ A constant which can be used with the connection_state property of a CccInfrastructure. This constant has a value of “DISCONNECTED”
-
CONNECTION_STATE_READY
= 'READY'¶ A constant which can be used with the connection_state property of a CccInfrastructure. This constant has a value of “READY”
-
CONNECTION_STATE_REJECT
= 'REJECT'¶ A constant which can be used with the connection_state property of a CccInfrastructure. This constant has a value of “REJECT”
-
CONNECTION_STATE_REQUEST
= 'REQUEST'¶ A constant which can be used with the connection_state property of a CccInfrastructure. This constant has a value of “REQUEST”
-
LIFECYCLE_STATE_ACTIVE
= 'ACTIVE'¶ A constant which can be used with the lifecycle_state property of a CccInfrastructure. This constant has a value of “ACTIVE”
-
LIFECYCLE_STATE_DELETED
= 'DELETED'¶ A constant which can be used with the lifecycle_state property of a CccInfrastructure. This constant has a value of “DELETED”
-
LIFECYCLE_STATE_FAILED
= 'FAILED'¶ A constant which can be used with the lifecycle_state property of a CccInfrastructure. This constant has a value of “FAILED”
-
LIFECYCLE_STATE_NEEDS_ATTENTION
= 'NEEDS_ATTENTION'¶ A constant which can be used with the lifecycle_state property of a CccInfrastructure. This constant has a value of “NEEDS_ATTENTION”
-
__init__
(**kwargs)¶ Initializes a new CccInfrastructure object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - id (str) – The value to assign to the id property of this CccInfrastructure.
- short_name (str) – The value to assign to the short_name property of this CccInfrastructure.
- display_name (str) – The value to assign to the display_name property of this CccInfrastructure.
- description (str) – The value to assign to the description property of this CccInfrastructure.
- compartment_id (str) – The value to assign to the compartment_id property of this CccInfrastructure.
- subnet_id (str) – The value to assign to the subnet_id property of this CccInfrastructure.
- connection_state (str) – The value to assign to the connection_state property of this CccInfrastructure. Allowed values for this property are: “REJECT”, “REQUEST”, “READY”, “CONNECTED”, “DISCONNECTED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- connection_details (str) – The value to assign to the connection_details property of this CccInfrastructure.
- ccc_upgrade_schedule_id (str) – The value to assign to the ccc_upgrade_schedule_id property of this CccInfrastructure.
- provisioning_fingerprint (str) – The value to assign to the provisioning_fingerprint property of this CccInfrastructure.
- provisioning_pin (str) – The value to assign to the provisioning_pin property of this CccInfrastructure.
- time_created (datetime) – The value to assign to the time_created property of this CccInfrastructure.
- time_updated (datetime) – The value to assign to the time_updated property of this CccInfrastructure.
- lifecycle_state (str) – The value to assign to the lifecycle_state property of this CccInfrastructure. Allowed values for this property are: “ACTIVE”, “NEEDS_ATTENTION”, “DELETED”, “FAILED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- lifecycle_details (str) – The value to assign to the lifecycle_details property of this CccInfrastructure.
- infrastructure_inventory (oci.compute_cloud_at_customer.models.CccInfrastructureInventory) – The value to assign to the infrastructure_inventory property of this CccInfrastructure.
- infrastructure_network_configuration (oci.compute_cloud_at_customer.models.CccInfrastructureNetworkConfiguration) – The value to assign to the infrastructure_network_configuration property of this CccInfrastructure.
- upgrade_information (oci.compute_cloud_at_customer.models.CccUpgradeInformation) – The value to assign to the upgrade_information property of this CccInfrastructure.
- freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this CccInfrastructure.
- defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this CccInfrastructure.
- system_tags (dict(str, dict(str, object))) – The value to assign to the system_tags property of this CccInfrastructure.
-
ccc_upgrade_schedule_id
¶ Gets the ccc_upgrade_schedule_id of this CccInfrastructure. Schedule used for upgrades. If no schedule is associated with the infrastructure, it can be updated at any time.
Returns: The ccc_upgrade_schedule_id of this CccInfrastructure. Return type: str
-
compartment_id
¶ [Required] Gets the compartment_id of this CccInfrastructure. The infrastructure compartment OCID.
Returns: The compartment_id of this CccInfrastructure. Return type: str
-
connection_details
¶ Gets the connection_details of this CccInfrastructure. A message describing the current connection state in more detail.
Returns: The connection_details of this CccInfrastructure. Return type: str
-
connection_state
¶ Gets the connection_state of this CccInfrastructure. The current connection state of the infrastructure. A user can only update it from REQUEST to READY or from any state back to REJECT. The system automatically handles the REJECT to REQUEST, READY to CONNECTED, or CONNECTED to DISCONNECTED transitions.
Allowed values for this property are: “REJECT”, “REQUEST”, “READY”, “CONNECTED”, “DISCONNECTED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The connection_state of this CccInfrastructure. Return type: str
Gets the defined_tags of this CccInfrastructure. Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {“foo-namespace”: {“bar-key”: “value”}}
Returns: The defined_tags of this CccInfrastructure. Return type: dict(str, dict(str, object))
-
description
¶ Gets the description of this CccInfrastructure. A mutable client-meaningful text description of the Compute Cloud@Customer infrastructure. Avoid entering confidential information.
Returns: The description of this CccInfrastructure. Return type: str
-
display_name
¶ [Required] Gets the display_name of this CccInfrastructure. The name that will be used to display the Compute Cloud@Customer infrastructure in the Oracle Cloud Infrastructure console. Does not have to be unique and can be changed. Avoid entering confidential information.
Returns: The display_name of this CccInfrastructure. Return type: str
Gets the freeform_tags of this CccInfrastructure. Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {“bar-key”: “value”}
Returns: The freeform_tags of this CccInfrastructure. Return type: dict(str, str)
-
id
¶ [Required] Gets the id of this CccInfrastructure. The Compute Cloud@Customer infrastructure OCID. This cannot be changed once created.
Returns: The id of this CccInfrastructure. Return type: str
-
infrastructure_inventory
¶ Gets the infrastructure_inventory of this CccInfrastructure.
Returns: The infrastructure_inventory of this CccInfrastructure. Return type: oci.compute_cloud_at_customer.models.CccInfrastructureInventory
-
infrastructure_network_configuration
¶ Gets the infrastructure_network_configuration of this CccInfrastructure.
Returns: The infrastructure_network_configuration of this CccInfrastructure. Return type: oci.compute_cloud_at_customer.models.CccInfrastructureNetworkConfiguration
-
lifecycle_details
¶ Gets the lifecycle_details of this CccInfrastructure. A message describing the current lifecycle state in more detail. For example, this can be used to provide actionable information for a resource that is in a Failed state.
Returns: The lifecycle_details of this CccInfrastructure. Return type: str
-
lifecycle_state
¶ [Required] Gets the lifecycle_state of this CccInfrastructure. The current state of the Compute Cloud@Customer infrastructure.
Allowed values for this property are: “ACTIVE”, “NEEDS_ATTENTION”, “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 CccInfrastructure. Return type: str
-
provisioning_fingerprint
¶ Gets the provisioning_fingerprint of this CccInfrastructure. Fingerprint of a Compute Cloud@Customer infrastructure in a data center generated during the initial connection to this resource. The fingerprint should be verified by the administrator when changing the connectionState from REQUEST to READY.
Returns: The provisioning_fingerprint of this CccInfrastructure. Return type: str
-
provisioning_pin
¶ Gets the provisioning_pin of this CccInfrastructure. Code that is required for service personnel to connect a Compute Cloud@Customer infrastructure in a data center to this resource. This code will only be available when the connectionState is REJECT (usually at create time of the Compute Cloud@Customer infrastructure).
Returns: The provisioning_pin of this CccInfrastructure. Return type: str
-
short_name
¶ Gets the short_name of this CccInfrastructure. The Compute Cloud@Customer infrastructure short name. This cannot be changed once created. The short name is used to refer to the infrastructure in several contexts and is unique.
Returns: The short_name of this CccInfrastructure. Return type: str
-
subnet_id
¶ [Required] Gets the subnet_id of this CccInfrastructure. OCID for the network subnet that is used to communicate with Compute Cloud@Customer infrastructure.
Returns: The subnet_id of this CccInfrastructure. Return type: str
Gets the system_tags of this CccInfrastructure. System tags for this resource. Each key is predefined and scoped to a namespace. Example: {“orcl-cloud”: {“free-tier-retained”: “true”}}
Returns: The system_tags of this CccInfrastructure. Return type: dict(str, dict(str, object))
-
time_created
¶ [Required] Gets the time_created of this CccInfrastructure. Compute Cloud@Customer infrastructure creation date and time, using an RFC3339 formatted datetime string.
Returns: The time_created of this CccInfrastructure. Return type: datetime
-
time_updated
¶ Gets the time_updated of this CccInfrastructure. Compute Cloud@Customer infrastructure updated date and time, using an RFC3339 formatted datetime string.
Returns: The time_updated of this CccInfrastructure. Return type: datetime
-
upgrade_information
¶ Gets the upgrade_information of this CccInfrastructure.
Returns: The upgrade_information of this CccInfrastructure. Return type: oci.compute_cloud_at_customer.models.CccUpgradeInformation
-