MqClient Class

Definition

Typed client for mq connector.

public class MqClient : Azure.Connectors.Sdk.ConnectorClientBase
type MqClient = class
    inherit ConnectorClientBase
Public Class MqClient
Inherits ConnectorClientBase
Inheritance

Constructors

Name Description
MqClient()
MqClient(String)

Creates a new MqClient with the specified connection runtime URL string. Uses ManagedIdentityCredential by default.

MqClient(Uri, TokenCredential, ConnectorClientOptions)

Creates a new MqClient with the specified connection runtime URL and credential.

MqClient(Uri, TokenCredential)

Creates a new MqClient with the specified connection runtime URL and credential.

MqClient(Uri)

Creates a new MqClient with the specified connection runtime URL. Uses ManagedIdentityCredential by default.

Properties

Name Description
ConnectorName
Pipeline

Gets the HTTP pipeline for making connector requests.

(Inherited from ConnectorClientBase)

Methods

Name Description
CallConnectorAsync(HttpMethod, String, Object, CancellationToken)

Sends a connector API request with no response body. Uses the Azure.Core HttpPipeline for retry, authentication, and diagnostics.

(Inherited from ConnectorClientBase)
CallConnectorAsync<TResponse>(HttpMethod, String, Object, CancellationToken)

Sends a connector API request and deserializes the JSON response. Uses the Azure.Core HttpPipeline for retry, authentication, and diagnostics.

(Inherited from ConnectorClientBase)
DeleteAllAsync(MultipleGetValidOptions, CancellationToken)

Delete messages (v2)

DeleteAsync(SingleGetValidOptions, CancellationToken)

Delete message (v2)

Dispose() (Inherited from ConnectorClientBase)
Dispose(Boolean)

Disposes the connector client resources.

(Inherited from ConnectorClientBase)
ReadAllAsync(MultipleGetValidOptions, CancellationToken)

Browse messages (v2)

ReadAsync(SingleGetValidOptions, CancellationToken)

Browse message (v2)

ReceiveAllAsync(MultipleGetValidOptions, CancellationToken)

Receive messages (v2)

ReceiveAsync(SingleGetValidOptions, CancellationToken)

Receive message (v2)

ResolveUrl(String)

Resolves a relative path or validates an absolute URL against the connection runtime URL. When the NextLink host matches the connection URL, it's used as-is. When it doesn't match (codeless connectors like ARM return nextLink pointing to the backend host e.g. management.azure.com), the path+query is extracted and routed through the APIM proxy. This is safe because the request still goes through the connection runtime URL with API Hub auth.

(Inherited from ConnectorClientBase)
SendAsync(SendValidDataOptions, CancellationToken)

Send message (v2)

Applies to