none
How to download cab file included driver crash dump from partner center? RRS feed

  • 질문

  • How to download cab file included driver crash dump from partner center?

    I try to use below sample python file.

    SampleTabularAPIClient.py
    https://dev.azure.com/partneranalytics/TabularAPISampleClients/_git/TabularAPISampleClientPython?path=%2FSampleTabularAPIClient.py

    when I use above the file, I changed a few things.

    // v1.0  => 2.0.

    url = '/api/v2.0/query/' + dataset       

    // partneranalyticsapi.azure-api.net => partneranalyticsapim.microsoft.com

    connection = http.client.HTTPSConnection('partneranalyticsapim.microsoft.com')

    // 'Performance' => 'IHVReliability'

    query_data('IHVReliability', query, access_token)

    query = '''{
    "measures": [
    "[Measures].[Total Machines]",
    "[Measures].[Crashes]",
    "[Measures].[Impacted Machines]",
    "[Measures].[Percent Impacted]",
    "[Measures].[Crashing Model Families]"
    ],
    "dimensions": [
    "[Incident].[Incident Id]",
    "[Driver].[Driver Name]",
    "[Incident].[Vertical]",
    "[Incident].[Device Class]"
    ],
    "filters": [],
    "rangeFilters": [],
    "ordering": null
    }
    '''

    when I execute that, it responsed 404 error.

    connection = http.client.HTTPSConnection('partneranalyticsapim.microsoft.com')
    connection.request('POST', url, body=query, headers=headers)

    with connection.getresponse() as response:
    if response.status != 200:

    Let me know what is a problem.

    Please help.



    • 편집됨 Dogeyom.yang 2021년 1월 6일 수요일 오전 10:12
    2021년 1월 6일 수요일 오전 10:10