computing / Client / create_dhcp_options

create_dhcp_options

computing.Client.create_dhcp_options(**kwargs)

DHCPオプションの設定情報を新規作成します。

See also: NIFCLOUD API Documentation

Request Syntax

response = client.create_dhcp_options(
    DhcpConfiguration=[
        {
            'Key': 'default-router'|'domain-name'|'domain-name-servers'|'ntp-servers'|'netbios-name-servers'|'netbios-node-type'|'lease-time',
            'ListOfRequestValue': [
                'string',
            ]
        },
    ]
)
Parameters:

DhcpConfiguration (list) –

[REQUIRED]

  • (dict) –

    • Key (string) – [REQUIRED]

    • ListOfRequestValue (list) – [REQUIRED]

      • (string) –

Return type:

dict

Returns:

Response Syntax

{
    'DhcpOptions': {
        'DhcpConfigurationSet': [
            {
                'Key': 'string',
                'ValueSet': [
                    {
                        'Value': 'string'
                    },
                ]
            },
        ],
        'DhcpOptionsId': 'string'
    },
    'RequestId': 'string'
}

Response Structure

  • (dict) –

    • DhcpOptions (dict) –

      • DhcpConfigurationSet (list) –

        • (dict) –

          • Key (string) –

          • ValueSet (list) –

            • (dict) –

              • Value (string) –

      • DhcpOptionsId (string) –

    • RequestId (string) –