create
******


Description
===========

Assigns a policy to the specified asset, such as a volume. Note that a
given asset can only have one policy assigned to it; if this method is
called for an asset that previously has a different policy assigned,
the prior assignment will be silently deleted.


Usage
=====

   oci bv volume-backup-policy-assignment create [OPTIONS]


Options
=======


--asset-id [text]
-----------------

The OCID of the asset (e.g. a volume) to which to assign the policy.
[required]


--policy-id [text]
------------------

The OCID of the volume backup policy to assign to an asset. [required]


--from-json [text]
------------------

Provide input to this command as a JSON document from a file.

Options can still be provided on the command line. If an option exists
in both the JSON document and the command line then the command line
specified value will be used


-?, -h, --help
--------------

Show this message and exit.
