UpdateBastionDetails¶
-
class
oci.bastion.models.
UpdateBastionDetails
(**kwargs)¶ Bases:
object
The configuration to update on an existing bastion.
Methods
__init__
(**kwargs)Initializes a new UpdateBastionDetails object with values from keyword arguments. Attributes
client_cidr_block_allow_list
Gets the client_cidr_block_allow_list of this UpdateBastionDetails. defined_tags
Gets the defined_tags of this UpdateBastionDetails. freeform_tags
Gets the freeform_tags of this UpdateBastionDetails. max_session_ttl_in_seconds
Gets the max_session_ttl_in_seconds of this UpdateBastionDetails. static_jump_host_ip_addresses
Gets the static_jump_host_ip_addresses of this UpdateBastionDetails. -
__init__
(**kwargs)¶ Initializes a new UpdateBastionDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - max_session_ttl_in_seconds (int) – The value to assign to the max_session_ttl_in_seconds property of this UpdateBastionDetails.
- static_jump_host_ip_addresses (list[str]) – The value to assign to the static_jump_host_ip_addresses property of this UpdateBastionDetails.
- client_cidr_block_allow_list (list[str]) – The value to assign to the client_cidr_block_allow_list property of this UpdateBastionDetails.
- freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this UpdateBastionDetails.
- defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this UpdateBastionDetails.
-
client_cidr_block_allow_list
¶ Gets the client_cidr_block_allow_list of this UpdateBastionDetails. A list of address ranges in CIDR notation that you want to allow to connect to sessions hosted by this bastion.
Returns: The client_cidr_block_allow_list of this UpdateBastionDetails. Return type: list[str]
Gets the defined_tags of this UpdateBastionDetails. 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 UpdateBastionDetails. Return type: dict(str, dict(str, object))
Gets the freeform_tags of this UpdateBastionDetails. 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 UpdateBastionDetails. Return type: dict(str, str)
-
max_session_ttl_in_seconds
¶ Gets the max_session_ttl_in_seconds of this UpdateBastionDetails. The maximum amount of time that any session on the bastion can remain active.
Returns: The max_session_ttl_in_seconds of this UpdateBastionDetails. Return type: int
-
static_jump_host_ip_addresses
¶ Gets the static_jump_host_ip_addresses of this UpdateBastionDetails. A list of IP addresses of the hosts that the bastion has access to. Not applicable to standard bastions.
Returns: The static_jump_host_ip_addresses of this UpdateBastionDetails. Return type: list[str]
-