Condividi tramite


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

CreateHttpHandlerPipeline(HttpClientHandler, DelegatingHandler[]) (Inherited from ServiceClient<T>)
Dispose() (Inherited from ServiceClient<T>)
Dispose(Boolean) (Inherited from ServiceClient<T>)
InitializeHttpClient(HttpClient, HttpClientHandler, DelegatingHandler[]) (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 scopes specified in the request. https://aka.ms/resource-graph/learntoquery

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

Extension Methods

Resources(IResourceGraphClient, QueryRequest)

Queries the resources managed by Azure Resource Manager for scopes specified in the request. https://aka.ms/resource-graph/learntoquery

ResourcesAsync(IResourceGraphClient, QueryRequest, CancellationToken)

Queries the resources managed by Azure Resource Manager for scopes specified in the request. https://aka.ms/resource-graph/learntoquery

Applies to