OnenoteClient Class

Definition

Typed client for onenote connector.

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

Constructors

Name Description
OnenoteClient()
OnenoteClient(String)

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

OnenoteClient(Uri, TokenCredential, ConnectorClientOptions)

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

OnenoteClient(Uri, TokenCredential)

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

OnenoteClient(Uri)

Creates a new OnenoteClient 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)
CreatePageInQuickNotesAsync(String, CancellationToken)

Create a page in Quick Notes

CreatePageInSectionAsync(String, String, String, CancellationToken)

Create page in a section

CreateSectionInNotebookAsync(CreateSectionRequest, String, CancellationToken)

Create section in a notebook

DeletePageAsync(String, String, String, CancellationToken)

Delete a page

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

Disposes the connector client resources.

(Inherited from ConnectorClientBase)
GetNotebooksAsync(CancellationToken)

Get recent notebooks

GetPageContentAsync(String, String, String, CancellationToken)

Get page content

GetPagesInSectionAsync(String, String, CancellationToken)

Get pages for a specific section

GetSectionsInNotebookAsync(String, CancellationToken)

Get sections in notebook

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)
UpdatePageContentAsync(List<Nullable<JsonElement>>, String, String, String, CancellationToken)

Update page content

Applies to