nas / Client / describe_nas_instances

describe_nas_instances

nas.Client.describe_nas_instances(**kwargs)

NASの情報を取得します。

See also: NIFCLOUD API Documentation

Request Syntax

response = client.describe_nas_instances(
    NASInstanceIdentifier='string'
)
Parameters:

NASInstanceIdentifier (string) –

Return type:

dict

Returns:

Response Syntax

{
    'NASInstances': [
        {
            '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) –

    • NASInstances (list) –

      • (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) –