serviceactivity / Client / describe_event_attributes

describe_event_attributes

serviceactivity.Client.describe_event_attributes(**kwargs)

ニフクラのサービス稼働に関するイベントをリストで取得します。

See also: NIFCLOUD API Documentation

Request Syntax

response = client.describe_event_attributes(
    Location='string',
    Mode='user'|'all',
    YearMonth='string'
)
Parameters:
  • Location (string) –

  • Mode (string) –

  • YearMonth (string) – [REQUIRED]

Return type:

dict

Returns:

Response Syntax

{
    'Data': {
        'Event': [
            {
                'AffectedServices': [
                    {
                        'EndAt': 'string',
                        'Influence': 'string',
                        'Location': 'string',
                        'Menu': 'string',
                        'Number': 123,
                        'Resources': [
                            {
                                'DiskName': 'string',
                                'ResourceName': 'string',
                                'ResourceType': 'string'
                            },
                        ],
                        'Service': 'string',
                        'StartAt': 'string',
                        'Status': 'string'
                    },
                ],
                'EndAt': 'string',
                'EventHistories': [
                    {
                        'Date': 'string',
                        'Message': 'string'
                    },
                ],
                'EventID': 'string',
                'EventStatus': 'string',
                'StartAt': 'string'
            },
        ],
        'Mode': 'string',
        'TargetDate': 'string'
    },
    'Datetime': 'string',
    'RequestID': 'string'
}

Response Structure

  • (dict) –

    • Data (dict) –

      • Event (list) –

        • (dict) –

          • AffectedServices (list) –

            • (dict) –

              • EndAt (string) –

              • Influence (string) –

              • Location (string) –

              • Menu (string) –

              • Number (integer) –

              • Resources (list) –

                • (dict) –

                  • DiskName (string) –

                  • ResourceName (string) –

                  • ResourceType (string) –

              • Service (string) –

              • StartAt (string) –

              • Status (string) –

          • EndAt (string) –

          • EventHistories (list) –

            • (dict) –

              • Date (string) –

              • Message (string) –

          • EventID (string) –

          • EventStatus (string) –

          • StartAt (string) –

      • Mode (string) –

      • TargetDate (string) –

    • Datetime (string) –

    • RequestID (string) –