hatoba / Client / create_node_pool
create_node_pool
- hatoba.Client.create_node_pool(**kwargs)
ノードプールを作成します。
See also: NIFCLOUD API Documentation
Request Syntax
response = client.create_node_pool( ClusterName='string', NodePool={ 'InstanceType': 'c-medium'|'e-medium'|'medium'|'c-medium4'|'e-medium4'|'medium4'|'c-medium8'|'e-medium8'|'medium8'|'e-medium16'|'medium16'|'e-medium24'|'medium24'|'c-large'|'e-large'|'large'|'c-large8'|'e-large8'|'large8'|'e-large16'|'large16'|'e-large24'|'large24'|'e-large32'|'large32'|'e-extra-large8'|'extra-large8'|'e-extra-large16'|'extra-large16'|'e-extra-large24'|'extra-large24'|'e-extra-large32'|'extra-large32'|'e-extra-large48'|'extra-large48'|'e-double-large16'|'double-large16'|'e-double-large24'|'double-large24'|'e-double-large32'|'double-large32'|'e-double-large48'|'double-large48'|'e-double-large64'|'double-large64'|'e-double-large96'|'double-large96', 'ListOfRequestTags': [ { 'Key': 'string', 'Value': 'string' }, ], 'Name': 'string', 'NodeCount': 123 } )
- Parameters:
ClusterName (string) – [REQUIRED]
NodePool (dict) –
[REQUIRED]
InstanceType (string) – [REQUIRED]
ListOfRequestTags (list) –
(dict) –
Key (string) –
Value (string) –
Name (string) – [REQUIRED]
NodeCount (integer) –
- Return type:
dict
- Returns:
Response Syntax
{ 'NodePool': { '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) –
NodePool (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) –