UpdateBastionDetails¶
- class oci.bastion.models.UpdateBastionDetails(**kwargs)¶
Bases:
objectThe configuration to update on an existing bastion.
Methods:
__init__(**kwargs)Initializes a new UpdateBastionDetails object with values from keyword arguments.
Attributes:
Gets the client_cidr_block_allow_list of this UpdateBastionDetails.
Gets the defined_tags of this UpdateBastionDetails.
Gets the freeform_tags of this UpdateBastionDetails.
Gets the max_session_ttl_in_seconds of this UpdateBastionDetails.
Gets the security_attributes of this UpdateBastionDetails.
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.
security_attributes (dict(str, dict(str, object))) – The value to assign to the security_attributes property of this UpdateBastionDetails.
- property 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]
- property defined_tags¶
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))
- property freeform_tags¶
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)
- property 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
- property security_attributes¶
Gets the security_attributes of this UpdateBastionDetails. Security attributes for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {“Oracle-ZPR”: {“MaxEgressCount”: {“value”: “42”, “mode”: “enforce”}}}
- Returns
The security_attributes of this UpdateBastionDetails.
- Return type
dict(str, dict(str, object))
- property 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]