CreateInstanceConsoleConnectionDetails

class oci.core.models.CreateInstanceConsoleConnectionDetails(**kwargs)

Bases: object

The details for creating a instance console connection. The instance console connection is created in the same compartment as the instance.

Methods

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

Attributes

defined_tags Gets the defined_tags of this CreateInstanceConsoleConnectionDetails.
freeform_tags Gets the freeform_tags of this CreateInstanceConsoleConnectionDetails.
instance_id [Required] Gets the instance_id of this CreateInstanceConsoleConnectionDetails.
public_key [Required] Gets the public_key of this CreateInstanceConsoleConnectionDetails.
__init__(**kwargs)

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

Parameters:
  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this CreateInstanceConsoleConnectionDetails.
  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this CreateInstanceConsoleConnectionDetails.
  • instance_id (str) – The value to assign to the instance_id property of this CreateInstanceConsoleConnectionDetails.
  • public_key (str) – The value to assign to the public_key property of this CreateInstanceConsoleConnectionDetails.
defined_tags

Gets the defined_tags of this CreateInstanceConsoleConnectionDetails. Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.

Example: {“Operations”: {“CostCenter”: “42”}}

Returns:The defined_tags of this CreateInstanceConsoleConnectionDetails.
Return type:dict(str, dict(str, object))
freeform_tags

Gets the freeform_tags of this CreateInstanceConsoleConnectionDetails. Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags.

Example: {“Department”: “Finance”}

Returns:The freeform_tags of this CreateInstanceConsoleConnectionDetails.
Return type:dict(str, str)
instance_id

[Required] Gets the instance_id of this CreateInstanceConsoleConnectionDetails. The OCID of the instance to create the console connection to.

Returns:The instance_id of this CreateInstanceConsoleConnectionDetails.
Return type:str
public_key

[Required] Gets the public_key of this CreateInstanceConsoleConnectionDetails. The SSH public key used to authenticate the console connection.

Returns:The public_key of this CreateInstanceConsoleConnectionDetails.
Return type:str