egulu CLI reference / egulu protection-policies

egulu protection-policies assign

POST /v1/projects/{project}/locations/{location}/protectionPolicies/{policy}:assign

egulu protection-policies assign [options]

API operation

ProtectionPolicies_assign: POST /v1/projects/{project}/locations/{location}/protectionPolicies/{policy}:assign (backupcenter module)

Options

OptionTakesRequiredDescription
--locationvalueyeslocation
--policyvalueyespolicy
--projectvalueyesproject
--resourcesvaluenoresources: comma-separated, or @file with one item a line

The global options apply too.