computing / Client / describe_resources

describe_resources

computing.Client.describe_resources()

リソースの利用状況を返却します。

コントロールパネル画面のダッシュボードに当たります。

See also: NIFCLOUD API Documentation

Request Syntax

response = client.describe_resources()
Return type:

dict

Returns:

Response Syntax

{
    'RequestId': 'string',
    'ResourceInfo': {
        'AddDiskCount': 123,
        'AddDiskTotalSize': 123,
        'AutoScaleCount': 123,
        'CustomizeImageCount': 123,
        'DynamicIpCount': 123,
        'ElasticIpItemSet': [
            {
                'Count': 123,
                'Type': 'string'
            },
        ],
        'ElasticLoadBalancerCount': 123,
        'InstanceBackupRuleCount': 123,
        'InstanceItemSet': [
            {
                'Count': 123,
                'Type': 'string'
            },
        ],
        'LoadBalancerCount': 123,
        'MigrationHubItemSet': [
            {
                'Count': 123,
                'Type': 'string'
            },
        ],
        'MonitoringRuleCount': 123,
        'MultiIpAddressItemSet': [
            {
                'Count': 123,
                'Type': 'string'
            },
        ],
        'NetworkFlowAmount': 123,
        'NetworkInterfaceItemSet': [
            {
                'Count': 123,
                'Type': 'string'
            },
        ],
        'NiftyMultiAccountCount': 123,
        'PremiumSupportSet': [
            {
                'SupportName': 'string'
            },
        ],
        'PrivateLanClassicCount': 123,
        'PrivateLanCount': 123,
        'RemoteAccessVpnGatewaySet': [
            {
                'Count': 123,
                'Type': 'string'
            },
        ],
        'RouterItemSet': [
            {
                'Count': 123,
                'Type': 'string'
            },
        ],
        'SecurityGroupCount': 123,
        'SslCertCount': 123,
        'VpnGatewayItemSet': [
            {
                'Count': 123,
                'Type': 'string'
            },
        ]
    }
}

Response Structure

  • (dict) –

    • RequestId (string) –

    • ResourceInfo (dict) –

      • AddDiskCount (integer) –

      • AddDiskTotalSize (integer) –

      • AutoScaleCount (integer) –

      • CustomizeImageCount (integer) –

      • DynamicIpCount (integer) –

      • ElasticIpItemSet (list) –

        • (dict) –

          • Count (integer) –

          • Type (string) –

      • ElasticLoadBalancerCount (integer) –

      • InstanceBackupRuleCount (integer) –

      • InstanceItemSet (list) –

        • (dict) –

          • Count (integer) –

          • Type (string) –

      • LoadBalancerCount (integer) –

      • MigrationHubItemSet (list) –

        • (dict) –

          • Count (integer) –

          • Type (string) –

      • MonitoringRuleCount (integer) –

      • MultiIpAddressItemSet (list) –

        • (dict) –

          • Count (integer) –

          • Type (string) –

      • NetworkFlowAmount (integer) –

      • NetworkInterfaceItemSet (list) –

        • (dict) –

          • Count (integer) –

          • Type (string) –

      • NiftyMultiAccountCount (integer) –

      • PremiumSupportSet (list) –

        • (dict) –

          • SupportName (string) –

      • PrivateLanClassicCount (integer) –

      • PrivateLanCount (integer) –

      • RemoteAccessVpnGatewaySet (list) –

        • (dict) –

          • Count (integer) –

          • Type (string) –

      • RouterItemSet (list) –

        • (dict) –

          • Count (integer) –

          • Type (string) –

      • SecurityGroupCount (integer) –

      • SslCertCount (integer) –

      • VpnGatewayItemSet (list) –

        • (dict) –

          • Count (integer) –

          • Type (string) –