azure.mgmt.resourcegraph.operations module¶
-
class
azure.mgmt.resourcegraph.operations.
Operations
(client, config, serializer, deserializer)[source]¶ Bases:
object
Operations operations.
You should not instantiate directly this class, but create a Client instance that will create it for you and attach it as attribute.
- Parameters
client – Client for service requests.
config – Configuration of service client.
serializer – An object model serializer.
deserializer – An object model deserializer.
- Variables
api_version – API version. Constant value: “2019-04-01”.
-
list
(custom_headers=None, raw=False, **operation_config)[source]¶ Lists all of the available REST API operations.
- Parameters
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
An iterator like instance of Operation
- Return type
- Raises
CloudError
-
models
= <module 'azure.mgmt.resourcegraph.models' from '/builddir/build/BUILD/azure-sdk-for-python-2b2cfd46758e7b9d55346f79f05592d7488c1bd0/sdk/resources/azure-mgmt-resourcegraph/azure/mgmt/resourcegraph/models/__init__.py'>¶
-
class
azure.mgmt.resourcegraph.operations.
ResourceGraphClientOperationsMixin
[source]¶ Bases:
object
-
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
-