create-hosted-zone

Description

ゾーンの作成を行います。

リクエストボディにてゾーンの作成に必要な情報を入力し、それにもとづいてゾーンが作成されます。

作成したゾーンのドメインをユーザーが所持している場合、認証なしでゾーンが作成されます。

作成したゾーンのドメインをユーザーが所持していない場合、ゾーン作成前に認証が行われるため、Unauthorizedエラーが発生します。 Unauthorized発生の場合、エラーメッセージにある認証情報をレジストラまたはDNSに設定し、再度本APIを実行してください。

認証に失敗した場合は、ゾーンは作成されずエラーが返されます。

See also: NIFCLOUD API Documentation

Synopsis

  create-hosted-zone
[--caller-reference <value>]
--name <value>
[--request-hosted-zone-config <value>]
[--debug]
[--endpoint-url <value>]
[--no-verify-ssl]
[--no-paginate]
[--output <value>]
[--query <value>]
[--profile <value>]
[--region <value>]
[--version <value>]
[--color <value>]
[--no-sign-request]
[--ca-bundle <value>]
[--cli-read-timeout <value>]
[--cli-connect-timeout <value>]

Options

--caller-reference (string)

--name (string)

--request-hosted-zone-config (structure) Comment -> (string)

Shorthand Syntax:

Comment=string

JSON Syntax:

{
  "Comment": "string"
}

Global Options

--debug (boolean)

Turn on debug logging.

--endpoint-url (string)

Override command’s default URL with the given URL.

--no-verify-ssl (boolean)

By default, the AWS CLI uses SSL when communicating with AWS services. For each SSL connection, the AWS CLI will verify SSL certificates. This option overrides the default behavior of verifying SSL certificates.

--no-paginate (boolean)

Disable automatic pagination.

--output (string)

The formatting style for command output.

  • json

  • text

  • table

--query (string)

A JMESPath query to use in filtering the response data.

--profile (string)

Use a specific profile from your credential file.

--region (string)

The region to use. Overrides config/env settings.

--version (string)

Display the version of this tool.

--color (string)

Turn on/off color output.

  • on

  • off

  • auto

--no-sign-request (boolean)

Do not sign requests. Credentials will not be loaded if this argument is provided.

--ca-bundle (string)

The CA certificate bundle to use when verifying SSL certificates. Overrides config/env settings.

--cli-read-timeout (int)

The maximum socket read time in seconds. If the value is set to 0, the socket read will be blocking and not timeout. The default value is 60 seconds.

--cli-connect-timeout (int)

The maximum socket connect time in seconds. If the value is set to 0, the socket connect will be blocking and not timeout. The default value is 60 seconds.

Output

ChangeInfo -> (structure)

Id -> (string)

Status -> (string)

SubmittedAt -> (string)

DelegationSet -> (structure)

NameServers -> (list)

(string)

HostedZone -> (structure)

CallerReference -> (string)

Config -> (structure)

Comment -> (string)

Id -> (string)

Name -> (string)

ResourceRecordSetCount -> (integer)