azure.mgmt.resourcegraph package¶
Module contents¶
-
class
azure.mgmt.resourcegraph.
ResourceGraphClient
(credentials, base_url=None)[source]¶ Bases:
msrest.service_client.SDKClient
Azure Resource Graph API Reference
Variables: - config (ResourceGraphClientConfiguration) – Configuration for client.
- operations (azure.mgmt.resourcegraph.operations.Operations) – Operations operations
Parameters: - credentials (
A msrestazure Credentials object
) – Credentials needed for the client to connect to Azure. - base_url (str) – Service URL
-
resources
(query, custom_headers=None, raw=False, **operation_config)[source]¶ Queries the resources managed by Azure Resource Manager for all subscriptions specified in the request.
Parameters: - query (QueryRequest) – Request specifying query and its options.
- custom_headers (dict) – headers that will be added to the request
- raw (bool) – returns the direct response alongside the deserialized response
- operation_config – Operation configuration overrides.
Returns: QueryResponse or ClientRawResponse if raw=true
Return type: QueryResponse or ClientRawResponse
Raises: