Skip to content

Latest commit

 

History

History
45 lines (31 loc) · 1.31 KB

stackit_sfs_export-policy_create.md

File metadata and controls

45 lines (31 loc) · 1.31 KB

stackit sfs export-policy create

Creates an export policy

Synopsis

Creates an export policy.

stackit sfs export-policy create [flags]

Examples

  Create a new export policy with name "EXPORT_POLICY_NAME"
  $ stackit sfs export-policy create --name EXPORT_POLICY_NAME

  Create a new export policy with name "EXPORT_POLICY_NAME" and rules from file "./rules.json"
  $ stackit sfs export-policy create --name EXPORT_POLICY_NAME --rules @./rules.json

Options

  -h, --help[=true|false]   Help for "stackit sfs export-policy create"
      --name string         Export policy name
      --rules string        Rules of the export policy (format: json)

Options inherited from parent commands

  -y, --assume-yes[=true|false]   If set, skips all confirmation prompts
      --async[=true|false]        If set, runs the command asynchronously
  -o, --output-format string      Output format, (one of: [json, pretty, none, yaml])
  -p, --project-id string         Project ID
      --region string             Target region for region-specific requests
      --verbosity string          Verbosity of the CLI, (one of: [debug, info, warning, error]) (default "info")

SEE ALSO