yc smartwebsecurity custom-page custom-page create
Creates a CustomPage resource in the specified folder.
Command Usage
Syntax:
yc smartwebsecurity custom-page custom-page create <FOLDER-ID>
Flags
|
Flag |
Description |
|
|
ID of the folder to create the custom page in. |
|
|
Resource labels as 'key:value' pairs. |
|
|
Name of the custom page. |
|
|
Description of the custom page. |
|
|
Content of the custom page. |
|
|
MIME type of the custom page content. |
|
|
HTTP status code returned with the custom page. Possible Values: 'ok', 'created', 'accepted', 'non-authoritative-information', 'no-content', 'reset-content', 'partial-content', 'multi-status', 'already-reported', 'im-used', 'multiple-choices', 'moved-permanently', 'found', 'see-other', 'not-modified', 'use-proxy', 'temporary-redirect', 'permanent-redirect', 'bad-request', 'unauthorized', 'payment-required', 'forbidden', 'not-found', 'method-not-allowed', 'not-acceptable', 'proxy-authentication-required', 'request-timeout', 'conflict', 'gone', 'length-required', 'precondition-failed', 'payload-too-large', 'uri-too-long', 'unsupported-media-type', 'range-not-satisfiable', 'expectation-failed', 'misdirected-request', 'unprocessable-entity', 'locked', 'failed-dependency', 'upgrade-required', 'precondition-required', 'too-many-requests', 'request-header-fields-too-large', 'internal-server-error', 'not-implemented', 'bad-gateway', 'service-unavailable', 'gateway-timeout', 'http-version-not-supported', 'variant-also-negotiates', 'insufficient-storage', 'loop-detected', 'not-extended', 'network-authentication-required' |
|
|
HTTP response headers returned with the custom page. |
|
|
Display information about the operation in progress, without waiting for the operation to complete. |
|
|
Path to a request file. |
|
|
Generates a JSON template of the request. |
|
|
Generates a YAML template of the request. The template can be customized and used as input for the command. Usage example:
|
Global Flags
|
Flag |
Description |
|
|
Set the custom profile. |
|
|
Set the region. |
|
|
Debug logging. |
|
|
Debug gRPC logging. Very verbose, used for debugging connection problems. |
|
|
Disable printing user intended output to stderr. |
|
|
Set the custom pager. |
|
|
Do not pipe help output through a pager. |
|
|
Set the output format: text, yaml, json, table, summary || summary[name, instance.id, instance.disks[0].size]. |
|
|
Enable gRPC retries. By default, retries are enabled with maximum 5 attempts. |
|
|
Set the timeout. |
|
|
Set the IAM token to use. |
|
|
Set the ID of the service account to impersonate. |
|
|
Disable opening browser for authentication. |
|
|
Query to select values from the response using jq syntax |
|
|
Print operation metadata along with result. |
|
|
Choose syntax option. |
|
|
Enable interactive auto-prompt mode. Values: on, partial, off. Bare --cli-auto-prompt is equivalent to --cli-auto-prompt=on. |
|
|
Disable interactive auto-prompt mode (overrides --cli-auto-prompt, env and profile). |
|
|
Display help for the command. |