CreateVolumeBackupPolicyAssignmentDetails

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

Bases: object

CreateVolumeBackupPolicyAssignmentDetails model.

__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 asset (e.g. a volume) to which to assign the policy.

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 an asset.

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