StarmindClient Class

Definition

Typed client for starmind connector.

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

Constructors

Name Description
StarmindClient()
StarmindClient(String)

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

StarmindClient(Uri, TokenCredential, ConnectorClientOptions)

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

StarmindClient(Uri, TokenCredential)

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

StarmindClient(Uri)

Creates a new StarmindClient 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)
Dispose() (Inherited from ConnectorClientBase)
Dispose(Boolean)

Disposes the connector client resources.

(Inherited from ConnectorClientBase)
FindExpertsAsync(FindExpertsInput, CancellationToken)

Find experts

FindQuestionsAsync(String, Nullable<Int32>, String, String, CancellationToken)

Find questions

GetUserByIdAsync(String, CancellationToken)

Get user by id

PostQuestionDraftAsync(PostQuestionDraftInput, CancellationToken)

Create a question draft

PublishQuestionDraftAsync(Int32, CancellationToken)

Publish a question

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)

Applies to