CreateRecoveryServiceSubnetDetails

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

Bases: object

Describes the parameters required to create a recovery service subnet.

Methods

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

Attributes

compartment_id [Required] Gets the compartment_id of this CreateRecoveryServiceSubnetDetails.
defined_tags Gets the defined_tags of this CreateRecoveryServiceSubnetDetails.
display_name [Required] Gets the display_name of this CreateRecoveryServiceSubnetDetails.
freeform_tags Gets the freeform_tags of this CreateRecoveryServiceSubnetDetails.
subnet_id [Required] Gets the subnet_id of this CreateRecoveryServiceSubnetDetails.
vcn_id [Required] Gets the vcn_id of this CreateRecoveryServiceSubnetDetails.
__init__(**kwargs)

Initializes a new CreateRecoveryServiceSubnetDetails 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 CreateRecoveryServiceSubnetDetails.
  • subnet_id (str) – The value to assign to the subnet_id property of this CreateRecoveryServiceSubnetDetails.
  • vcn_id (str) – The value to assign to the vcn_id property of this CreateRecoveryServiceSubnetDetails.
  • compartment_id (str) – The value to assign to the compartment_id property of this CreateRecoveryServiceSubnetDetails.
  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this CreateRecoveryServiceSubnetDetails.
  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this CreateRecoveryServiceSubnetDetails.
compartment_id

[Required] Gets the compartment_id of this CreateRecoveryServiceSubnetDetails. The compartment OCID.

Returns:The compartment_id of this CreateRecoveryServiceSubnetDetails.
Return type:str
defined_tags

Gets the defined_tags of this CreateRecoveryServiceSubnetDetails. 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 CreateRecoveryServiceSubnetDetails.
Return type:dict(str, dict(str, object))
display_name

[Required] Gets the display_name of this CreateRecoveryServiceSubnetDetails. 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 CreateRecoveryServiceSubnetDetails.
Return type:str
freeform_tags

Gets the freeform_tags of this CreateRecoveryServiceSubnetDetails. 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 CreateRecoveryServiceSubnetDetails.
Return type:dict(str, str)
subnet_id

[Required] Gets the subnet_id of this CreateRecoveryServiceSubnetDetails. The OCID of the subnet associated with the recovery service subnet. You can create a single backup network per virtual cloud network (VCN).

Returns:The subnet_id of this CreateRecoveryServiceSubnetDetails.
Return type:str
vcn_id

[Required] Gets the vcn_id of this CreateRecoveryServiceSubnetDetails. The OCID of the virtual cloud network (VCN) that contains the recovery service subnet. You can create a single recovery service subnet per VCN.

Returns:The vcn_id of this CreateRecoveryServiceSubnetDetails.
Return type:str