UpdateRecoveryServiceSubnetDetails¶
- class oci.recovery.models.UpdateRecoveryServiceSubnetDetails(**kwargs)¶
Bases:
objectDescribes the parameters required to update a recovery service subnet.
Methods:
__init__(**kwargs)Initializes a new UpdateRecoveryServiceSubnetDetails object with values from keyword arguments.
Attributes:
Gets the defined_tags of this UpdateRecoveryServiceSubnetDetails.
Gets the display_name of this UpdateRecoveryServiceSubnetDetails.
Gets the freeform_tags of this UpdateRecoveryServiceSubnetDetails.
Gets the nsg_ids of this UpdateRecoveryServiceSubnetDetails.
Gets the security_attributes of this UpdateRecoveryServiceSubnetDetails.
Gets the subnets of this UpdateRecoveryServiceSubnetDetails.
- __init__(**kwargs)¶
Initializes a new UpdateRecoveryServiceSubnetDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
display_name (str) – The value to assign to the display_name property of this UpdateRecoveryServiceSubnetDetails.
subnets (list[str]) – The value to assign to the subnets property of this UpdateRecoveryServiceSubnetDetails.
nsg_ids (list[str]) – The value to assign to the nsg_ids property of this UpdateRecoveryServiceSubnetDetails.
security_attributes (dict(str, dict(str, object))) – The value to assign to the security_attributes property of this UpdateRecoveryServiceSubnetDetails.
freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this UpdateRecoveryServiceSubnetDetails.
defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this UpdateRecoveryServiceSubnetDetails.
- property defined_tags¶
Gets the defined_tags of this UpdateRecoveryServiceSubnetDetails. Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {“foo-namespace”: {“bar-key”: “value”}}. For more information, see Resource Tags
- Returns
The defined_tags of this UpdateRecoveryServiceSubnetDetails.
- Return type
dict(str, dict(str, object))
- property display_name¶
Gets the display_name of this UpdateRecoveryServiceSubnetDetails. A user-provided name for the recovery service subnet. The ‘displayName’ does not have to be unique, and it can be modified. Avoid entering confidential information.
- Returns
The display_name of this UpdateRecoveryServiceSubnetDetails.
- Return type
str
- property freeform_tags¶
Gets the freeform_tags of this UpdateRecoveryServiceSubnetDetails. 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 UpdateRecoveryServiceSubnetDetails.
- Return type
dict(str, str)
- property nsg_ids¶
Gets the nsg_ids of this UpdateRecoveryServiceSubnetDetails. A list of network security group (NSG) OCIDs that are associated with the Recovery Service subnet. You can specify a maximum of 5 unique OCIDs, which implies that you can associate a maximum of 5 NSGs to each Recovery Service subnet. Specify an empty array if you want to remove all the associated NSGs from a Recovery Service subnet. See
NetworkSecurityGroupfor more information.- Returns
The nsg_ids of this UpdateRecoveryServiceSubnetDetails.
- Return type
list[str]
- property security_attributes¶
Gets the security_attributes of this UpdateRecoveryServiceSubnetDetails. 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 UpdateRecoveryServiceSubnetDetails.
- Return type
dict(str, dict(str, object))
- property subnets¶
Gets the subnets of this UpdateRecoveryServiceSubnetDetails. A list of OCIDs of the subnets associated with the recovery service subnet.
- Returns
The subnets of this UpdateRecoveryServiceSubnetDetails.
- Return type
list[str]