ResourceGraphClient Class

Definition

Azure Resource Graph API Reference

public class ResourceGraphClient : Microsoft.Rest.ServiceClient<Microsoft.Azure.Management.ResourceGraph.ResourceGraphClient>, IDisposable, Microsoft.Azure.Management.ResourceGraph.IResourceGraphClient, Microsoft.Rest.Azure.IAzureClient
type ResourceGraphClient = class
    inherit ServiceClient<ResourceGraphClient>
    interface IResourceGraphClient
    interface IDisposable
    interface IAzureClient
Public Class ResourceGraphClient
Inherits ServiceClient(Of ResourceGraphClient)
Implements IAzureClient, IDisposable, IResourceGraphClient
Inheritance
Implements

Constructors

ResourceGraphClient(DelegatingHandler[])

Initializes a new instance of the ResourceGraphClient class.

ResourceGraphClient(HttpClient, Boolean)

Initializes a new instance of the ResourceGraphClient class.

ResourceGraphClient(HttpClientHandler, DelegatingHandler[])

Initializes a new instance of the ResourceGraphClient class.

ResourceGraphClient(ServiceClientCredentials, DelegatingHandler[])

Initializes a new instance of the ResourceGraphClient class.

ResourceGraphClient(ServiceClientCredentials, HttpClient, Boolean)

Initializes a new instance of the ResourceGraphClient class.

ResourceGraphClient(ServiceClientCredentials, HttpClientHandler, DelegatingHandler[])

Initializes a new instance of the ResourceGraphClient class.

ResourceGraphClient(Uri, DelegatingHandler[])

Initializes a new instance of the ResourceGraphClient class.

ResourceGraphClient(Uri, HttpClientHandler, DelegatingHandler[])

Initializes a new instance of the ResourceGraphClient class.

ResourceGraphClient(Uri, ServiceClientCredentials, DelegatingHandler[])

Initializes a new instance of the ResourceGraphClient class.

ResourceGraphClient(Uri, ServiceClientCredentials, HttpClientHandler, DelegatingHandler[])

Initializes a new instance of the ResourceGraphClient class.

Properties

AcceptLanguage

The preferred language for the response.

ApiVersion

API version.

BaseUri

The base URI of the service.

Credentials

Credentials needed for the client to connect to Azure.

DeserializationSettings

Gets or sets json deserialization settings.

FirstMessageHandler (Inherited from ServiceClient<T>)
GenerateClientRequestId

Whether a unique x-ms-client-request-id should be generated. When set to true a unique x-ms-client-request-id value is generated and included in each request. Default is true.

HttpClient (Inherited from ServiceClient<T>)
HttpClientHandler (Inherited from ServiceClient<T>)
HttpMessageHandlers (Inherited from ServiceClient<T>)
LongRunningOperationRetryTimeout

The retry timeout in seconds for Long Running Operations. Default value is 30.

Operations

Gets the IOperations.

SerializationSettings

Gets or sets json serialization settings.

UserAgent (Inherited from ServiceClient<T>)

Methods

Dispose() (Inherited from ServiceClient<T>)
Dispose(Boolean) (Inherited from ServiceClient<T>)
InitializeHttpClient(HttpClientHandler, DelegatingHandler[]) (Inherited from ServiceClient<T>)
ResourcesWithHttpMessagesAsync(QueryRequest, Dictionary<String,List<String>>, CancellationToken)

Queries the resources managed by Azure Resource Manager for all subscriptions specified in the request.

SetRetryPolicy(RetryPolicy) (Inherited from ServiceClient<T>)
SetUserAgent(String) (Inherited from ServiceClient<T>)
SetUserAgent(String, String) (Inherited from ServiceClient<T>)

Extension Methods

Resources(IResourceGraphClient, QueryRequest)

Queries the resources managed by Azure Resource Manager for all subscriptions specified in the request.

ResourcesAsync(IResourceGraphClient, QueryRequest, CancellationToken)

Queries the resources managed by Azure Resource Manager for all subscriptions specified in the request.

GetLongRunningOperationResultAsync(IAzureClient, AzureOperationResponse, Dictionary<String,List<String>>, CancellationToken)
GetLongRunningOperationResultAsync<THeader>(IAzureClient, AzureOperationHeaderResponse<THeader>, Dictionary<String,List<String>>, CancellationToken)
GetLongRunningOperationResultAsync<TBody>(IAzureClient, AzureOperationResponse<TBody>, Dictionary<String,List<String>>, CancellationToken)
GetLongRunningOperationResultAsync<TBody,THeader>(IAzureClient, AzureOperationResponse<TBody,THeader>, Dictionary<String,List<String>>, CancellationToken)
GetPostOrDeleteOperationResultAsync(IAzureClient, AzureOperationResponse, Dictionary<String,List<String>>, CancellationToken)
GetPostOrDeleteOperationResultAsync<THeader>(IAzureClient, AzureOperationHeaderResponse<THeader>, Dictionary<String,List<String>>, CancellationToken)
GetPostOrDeleteOperationResultAsync<TBody>(IAzureClient, AzureOperationResponse<TBody>, Dictionary<String,List<String>>, CancellationToken)
GetPostOrDeleteOperationResultAsync<TBody,THeader>(IAzureClient, AzureOperationResponse<TBody,THeader>, Dictionary<String,List<String>>, CancellationToken)
GetPutOrPatchOperationResultAsync(IAzureClient, AzureOperationResponse, Dictionary<String,List<String>>, CancellationToken)
GetPutOrPatchOperationResultAsync<TBody>(IAzureClient, AzureOperationResponse<TBody>, Dictionary<String,List<String>>, CancellationToken)
GetPutOrPatchOperationResultAsync<TBody,THeader>(IAzureClient, AzureOperationResponse<TBody,THeader>, Dictionary<String,List<String>>, CancellationToken)

Applies to