add

Usage

ionosctl apigateway gateway customdomains add [flags]

Aliases

For gateway command:

[a api]

For customdomains command:

[custom-domains]

Description

Options

  -u, --api-url string          Override default host URL. If contains placeholder, location will be embedded. Preferred over the config file override 'apigateway' and env var 'IONOS_API_URL' (default "https://apigateway.%s.ionos.com")
      --certificate-id string   The ID of the certificate to use for the distribution. (required)
      --cols strings            Set of columns to be printed on output 
                                Available columns: [Id Name Logs Metrics Enable DomainName CertificateId HttpMethods HttpCodes Override PublicEndpoint Status]
  -c, --config string           Configuration file used for authentication (default "$XDG_CONFIG_HOME/ionosctl/config.yaml")
  -f, --force                   Force command to execute without user input
  -g, --gateway-id string       The ID of the gateway (required)
  -h, --help                    Print usage
  -l, --location string         Location of the resource to operate on. Can be one of: de/txl, gb/lhr, fr/par, es/vit (default "de/txl")
      --name string             The domain name of the distribution. Field is validated as FQDN according to RFC1123. (required)
      --no-headers              Don't print table headers when table output is used
  -o, --output string           Desired output format [text|json|api-json] (default "text")
  -q, --quiet                   Quiet output
  -v, --verbose                 Print step-by-step process when running command

Examples

ionosctl apigateway gateway customdomains add --gateway-id ID --name NAME --certificate-id CERTIFICATEID

Last updated