UpdateRecoveryServiceSubnetDetails

class oci.recovery.models.UpdateRecoveryServiceSubnetDetails(**kwargs)

Bases: object

Describes the parameters required to update a recovery service subnet.

Methods

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

Attributes

defined_tags Gets the defined_tags of this UpdateRecoveryServiceSubnetDetails.
display_name Gets the display_name of this UpdateRecoveryServiceSubnetDetails.
freeform_tags Gets the freeform_tags of this UpdateRecoveryServiceSubnetDetails.
nsg_ids Gets the nsg_ids of this UpdateRecoveryServiceSubnetDetails.
subnets 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.
  • 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.
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))
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
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)
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 NetworkSecurityGroup for more information.

Returns:The nsg_ids of this UpdateRecoveryServiceSubnetDetails.
Return type:list[str]
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]