hatoba / Client / delete_node_pools

delete_node_pools

hatoba.Client.delete_node_pools(**kwargs)

ノードプールを削除します。

1回のリクエストで複数のノードプールを削除できます。

See also: NIFCLOUD API Documentation

Request Syntax

response = client.delete_node_pools(
    ClusterName='string',
    Names='string'
)
Parameters:
  • ClusterName (string) – [REQUIRED]

  • Names (string) – [REQUIRED]

Return type:

dict

Returns:

Response Syntax

{
    'NodePools': [
        {
            'InitialNodeCount': 123,
            'InstanceType': 'string',
            'Name': 'string',
            'NodeCount': 123,
            'Nodes': [
                {
                    'AvailabilityZone': 'string',
                    'Name': 'string',
                    'PrivateIpAddress': 'string',
                    'PublicIpAddress': 'string',
                    'Status': 'string'
                },
            ],
            'Nrn': 'string',
            'Status': 'string',
            'Tags': [
                {
                    'Id': 'string',
                    'Key': 'string',
                    'Value': 'string'
                },
            ]
        },
    ]
}

Response Structure

  • (dict) –

    • NodePools (list) –

      • (dict) –

        • InitialNodeCount (integer) –

        • InstanceType (string) –

        • Name (string) –

        • NodeCount (integer) –

        • Nodes (list) –

          • (dict) –

            • AvailabilityZone (string) –

            • Name (string) –

            • PrivateIpAddress (string) –

            • PublicIpAddress (string) –

            • Status (string) –

        • Nrn (string) –

        • Status (string) –

        • Tags (list) –

          • (dict) –

            • Id (string) –

            • Key (string) –

            • Value (string) –