Share via


AsAzureDataplaneClient Class

Definition

Provides methods for sending HTTP requests and receiving HTTP responses from a resource identified by a URI.

public class AsAzureDataplaneClient : Microsoft.Rest.ServiceClient<Microsoft.Azure.Commands.AnalysisServices.Dataplane.Models.AsAzureDataplaneClient>, Microsoft.Azure.Commands.AnalysisServices.Dataplane.Models.IAsAzureHttpClient
type AsAzureDataplaneClient = class
    inherit ServiceClient<AsAzureDataplaneClient>
    interface IAsAzureHttpClient
Public Class AsAzureDataplaneClient
Inherits ServiceClient(Of AsAzureDataplaneClient)
Implements IAsAzureHttpClient
Inheritance
AsAzureDataplaneClient
Implements

Constructors

AsAzureDataplaneClient(Uri, ServiceClientCredentials, Func<HttpClient>, DelegatingHandler[])

Initializes a new instance of the AsAzureDataplaneClient class.

Properties

BaseUri

The base Uri of the service.

Credentials

Credentials needed for the client to connect to Azure.

Methods

CallGetAsync(String)

Calls SendRequestAsync() for a GET using the default BaseUri and a blank correlationId.

CallGetAsync(Uri, String, Guid)

Calls SendRequestAsync() for a GET.

CallPostAsync(String, HttpContent)

Calls SendRequestAsync() for a POST using the default BaseUri and a blank correlationId.

CallPostAsync(Uri, String, Guid, HttpContent)

Calls SendRequestAsync() for a POST.

CallPostAsync(Uri, String, HttpContent)

Calls SendRequestAsync() for a POST using a blank correlationId.

ResetHttpClient()

Invokes the HttpClientProvider function to reset the HttpClient to a new instance.

Applies to