- NAME
-
- gcloud alpha compute ssl-policies import - import an SSL policy
- SYNOPSIS
-
-
gcloud alpha compute ssl-policies import
SSL_POLICY
[--source
=SOURCE
] [--global
|--region
=REGION
] [GCLOUD_WIDE_FLAG …
]
-
- DESCRIPTION
-
(ALPHA)
If the specified SSL policy already exists, it will be overwritten. Otherwise, a new SSL policy will be created. To edit an SSL policy you can export the SSL policy to a file, edit its configuration, and then import the new configuration. - POSITIONAL ARGUMENTS
-
SSL_POLICY
- Name of the SSL policy to import.
- FLAGS
-
--source
=SOURCE
-
Path to a YAML file containing configuration export data. Alternatively, you may
omit this flag to read from standard input.For a schema describing the
export/import format, see:
$CLOUDSDKROOT/lib/googlecloudsdk/schemas/compute/alpha/SslPolicy.yaml.
Note: $CLOUDSDKROOT represents the Google Cloud CLI's installation directory.
-
At most one of these can be specified:
--global
- If set, the SSL policy is global.
--region
=REGION
-
Region of the SSL policy to import. Overrides the default
compute/region
property value for this command invocation.
- GCLOUD WIDE FLAGS
-
These flags are available to all commands:
--access-token-file
,--account
,--billing-project
,--configuration
,--flags-file
,--flatten
,--format
,--help
,--impersonate-service-account
,--log-http
,--project
,--quiet
,--trace-token
,--user-output-enabled
,--verbosity
.Run
$ gcloud help
for details. - NOTES
- This command is currently in alpha and might change without notice. If this command fails with API permission errors despite specifying the correct project, you might be trying to access an API with an invitation-only early access allowlist.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-05-21 UTC.