nas / Client / modify_nas_instance
modify_nas_instance
- nas.Client.modify_nas_instance(**kwargs)
NASの設定を変更します。
一度に複数のNAS設定を変更することができます。
NASに接続した状態でプライベートIPアドレスを変更すると、NASにアクセスできなくなる場合があります。
NASのプライベートIPアドレスを変更する場合は、NASへの接続がないことをご確認ください。
NASにアクセスできなくなった場合は、クライアント側のOS強制再起動を行ってください。
See also: NIFCLOUD API Documentation
Request Syntax
response = client.modify_nas_instance( AllocatedStorage=123, MasterPrivateAddress='string', MasterUserPassword='string', NASInstanceDescription='string', NASInstanceIdentifier='string', NASSecurityGroups=[ 'string', ], NetworkId='string', NewNASInstanceIdentifier='string', NoRootSquash=True|False )
- Parameters:
AllocatedStorage (integer) –
MasterPrivateAddress (string) –
MasterUserPassword (string) –
NASInstanceDescription (string) –
NASInstanceIdentifier (string) – [REQUIRED]
NASSecurityGroups (list) –
(string) –
NetworkId (string) –
NewNASInstanceIdentifier (string) –
NoRootSquash (boolean) –
- Return type:
dict
- Returns:
Response Syntax
{ 'NASInstance': { 'AllocatedStorage': 123, 'AuthenticationType': 123, 'AvailabilityZone': 'string', 'Endpoint': { 'Address': 'string', 'PrivateAddress': 'string' }, 'MasterUsername': 'string', 'NASInstanceClass': 'string', 'NASInstanceDescription': 'string', 'NASInstanceErrorInfo': { 'NASInstanceErrorCode': 'string', 'NASInstanceErrorMessage': 'string' }, 'NASInstanceIdentifier': 'string', 'NASInstanceStatus': 'string', 'NASInstanceType': 123, 'NASSecurityGroups': [ { 'NASSecurityGroupName': 'string', 'Status': 'string' }, ], 'NetworkId': 'string', 'NoRootSquash': True|False, 'Protocol': 'string', 'StorageType': 123, 'UpgradeRequired': True|False }, 'ResponseMetadata': { 'RequestId': 'string' } }
Response Structure
(dict) –
NASInstance (dict) –
AllocatedStorage (integer) –
AuthenticationType (integer) –
AvailabilityZone (string) –
Endpoint (dict) –
Address (string) –
PrivateAddress (string) –
MasterUsername (string) –
NASInstanceClass (string) –
NASInstanceDescription (string) –
NASInstanceErrorInfo (dict) –
NASInstanceErrorCode (string) –
NASInstanceErrorMessage (string) –
NASInstanceIdentifier (string) –
NASInstanceStatus (string) –
NASInstanceType (integer) –
NASSecurityGroups (list) –
(dict) –
NASSecurityGroupName (string) –
Status (string) –
NetworkId (string) –
NoRootSquash (boolean) –
Protocol (string) –
StorageType (integer) –
UpgradeRequired (boolean) –
ResponseMetadata (dict) –
RequestId (string) –