CreateVolumeBackupPolicyAssignmentDetails

class oci.core.models.CreateVolumeBackupPolicyAssignmentDetails(**kwargs)

Bases: object

CreateVolumeBackupPolicyAssignmentDetails model.

Methods

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

Attributes

asset_id [Required] Gets the asset_id of this CreateVolumeBackupPolicyAssignmentDetails.
policy_id [Required] Gets the policy_id of this CreateVolumeBackupPolicyAssignmentDetails.
__init__(**kwargs)

Initializes a new CreateVolumeBackupPolicyAssignmentDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • asset_id (str) – The value to assign to the asset_id property of this CreateVolumeBackupPolicyAssignmentDetails.
  • policy_id (str) – The value to assign to the policy_id property of this CreateVolumeBackupPolicyAssignmentDetails.
asset_id

[Required] Gets the asset_id of this CreateVolumeBackupPolicyAssignmentDetails. The OCID of the volume to assign the policy to.

Returns:The asset_id of this CreateVolumeBackupPolicyAssignmentDetails.
Return type:str
policy_id

[Required] Gets the policy_id of this CreateVolumeBackupPolicyAssignmentDetails. The OCID of the volume backup policy to assign to the volume.

Returns:The policy_id of this CreateVolumeBackupPolicyAssignmentDetails.
Return type:str