Partager via


ContentSafetyClient Class

Definition

The ContentSafety service client.

public class ContentSafetyClient
type ContentSafetyClient = class
Public Class ContentSafetyClient
Inheritance
ContentSafetyClient

Constructors

ContentSafetyClient()

Initializes a new instance of ContentSafetyClient for mocking.

ContentSafetyClient(Uri, AzureKeyCredential, ContentSafetyClientOptions)

Initializes a new instance of ContentSafetyClient.

ContentSafetyClient(Uri, AzureKeyCredential)

Initializes a new instance of ContentSafetyClient.

ContentSafetyClient(Uri, TokenCredential, ContentSafetyClientOptions)

Initializes a new instance of ContentSafetyClient.

ContentSafetyClient(Uri, TokenCredential)

Initializes a new instance of ContentSafetyClient.

Properties

Pipeline

The HTTP pipeline for sending and receiving REST requests and responses.

Methods

AddBlockItems(String, AddBlockItemsOptions, CancellationToken)

Add BlockItems To Text Blocklist.

AddBlockItems(String, RequestContent, RequestContext)

[Protocol Method] Add BlockItems To Text Blocklist

AddBlockItemsAsync(String, AddBlockItemsOptions, CancellationToken)

Add BlockItems To Text Blocklist.

AddBlockItemsAsync(String, RequestContent, RequestContext)

[Protocol Method] Add BlockItems To Text Blocklist

AnalyzeImage(AnalyzeImageOptions, CancellationToken)

Analyze Image.

AnalyzeImage(BinaryData, CancellationToken)

Analyze Image with Binary Data.

AnalyzeImage(RequestContent, RequestContext)

[Protocol Method] Analyze Image

AnalyzeImage(Uri, CancellationToken)

Analyze Image with Blob URI.

AnalyzeImageAsync(AnalyzeImageOptions, CancellationToken)

Analyze Image.

AnalyzeImageAsync(BinaryData, CancellationToken)

Analyze Image with Binary Data Async.

AnalyzeImageAsync(RequestContent, RequestContext)

[Protocol Method] Analyze Image

AnalyzeImageAsync(Uri, CancellationToken)

Analyze Image with Blob URI Async.

AnalyzeText(AnalyzeTextOptions, CancellationToken)

Analyze Text.

AnalyzeText(RequestContent, RequestContext)

[Protocol Method] Analyze Text

AnalyzeText(String, CancellationToken)

Analyze Text.

AnalyzeTextAsync(AnalyzeTextOptions, CancellationToken)

Analyze Text.

AnalyzeTextAsync(RequestContent, RequestContext)

[Protocol Method] Analyze Text

AnalyzeTextAsync(String, CancellationToken)

Analyze Text Async.

CreateOrUpdateTextBlocklist(String, RequestContent, RequestContext)

[Protocol Method] Create Or Update Text Blocklist

  • This protocol method allows explicit creation of the request and processing of the response for advanced scenarios.
CreateOrUpdateTextBlocklistAsync(String, RequestContent, RequestContext)

[Protocol Method] Create Or Update Text Blocklist

  • This protocol method allows explicit creation of the request and processing of the response for advanced scenarios.
DeleteTextBlocklist(String, RequestContext)

[Protocol Method] Delete Text Blocklist By blocklistName

  • This protocol method allows explicit creation of the request and processing of the response for advanced scenarios.
DeleteTextBlocklistAsync(String, RequestContext)

[Protocol Method] Delete Text Blocklist By blocklistName

  • This protocol method allows explicit creation of the request and processing of the response for advanced scenarios.
GetTextBlocklist(String, CancellationToken)

Get Text Blocklist By blocklistName.

GetTextBlocklist(String, RequestContext)

[Protocol Method] Get Text Blocklist By blocklistName

GetTextBlocklistAsync(String, CancellationToken)

Get Text Blocklist By blocklistName.

GetTextBlocklistAsync(String, RequestContext)

[Protocol Method] Get Text Blocklist By blocklistName

GetTextBlocklistItem(String, String, CancellationToken)

Get BlockItem By blocklistName And blockItemId.

GetTextBlocklistItem(String, String, RequestContext)

[Protocol Method] Get BlockItem By blocklistName And blockItemId

GetTextBlocklistItemAsync(String, String, CancellationToken)

Get BlockItem By blocklistName And blockItemId.

GetTextBlocklistItemAsync(String, String, RequestContext)

[Protocol Method] Get BlockItem By blocklistName And blockItemId

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

Get All BlockItems By blocklistName.

GetTextBlocklistItems(String, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, RequestContext)

[Protocol Method] Get All BlockItems By blocklistName

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

Get All BlockItems By blocklistName.

GetTextBlocklistItemsAsync(String, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, RequestContext)

[Protocol Method] Get All BlockItems By blocklistName

GetTextBlocklists(CancellationToken)

Get All Text Blocklists.

GetTextBlocklists(RequestContext)

[Protocol Method] Get All Text Blocklists

GetTextBlocklistsAsync(CancellationToken)

Get All Text Blocklists.

GetTextBlocklistsAsync(RequestContext)

[Protocol Method] Get All Text Blocklists

RemoveBlockItems(String, RemoveBlockItemsOptions, CancellationToken)

Remove BlockItems From Text Blocklist.

RemoveBlockItems(String, RequestContent, RequestContext)

[Protocol Method] Remove BlockItems From Text Blocklist

RemoveBlockItemsAsync(String, RemoveBlockItemsOptions, CancellationToken)

Remove BlockItems From Text Blocklist.

RemoveBlockItemsAsync(String, RequestContent, RequestContext)

[Protocol Method] Remove BlockItems From Text Blocklist

Applies to