def METHOD_NAME(self):
    """Tests data plane query capabilities for Application Insights."""
    self.cmd('az monitor app-insights query --apps 578f0e27-12e9-4631-bc02-50b965da2633 f4963800-c77d-40a3-8b0b-448678904c33 --analytics-query "availabilityResults | distinct name | order by name asc"', checks=[
        self.check('tables[0].rows[-1][0]', 'microsoft'),
        self.check('tables[0].rows[-2][0]', 'google')
    ])
    query_guid = self.cmd('az monitor app-insights query --app 578f0e27-12e9-4631-bc02-50b965da2633 --analytics-query "requests | getschema"').get_output_in_json()
    query_name_rg = self.cmd('az monitor app-insights query --apps ace-test -g ace-test --analytics-query "requests | getschema"').get_output_in_json()
    query_azure_id = self.cmd('az monitor app-insights query --analytics-query "requests | getschema" --ids /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ace-test/providers/microsoft.insights/components/ace-test').get_output_in_json()
    assert query_guid == query_name_rg
    assert query_name_rg == query_azure_id
    assert len(query_guid['tables'][0]['rows']) == 37
    assert isinstance(query_guid['tables'][0]['rows'][0][1], (int, float, complex))