Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

ContentSafetyClient Class

Definition

Namespace:
Azure.AI.ContentSafety
Assembly:
Azure.AI.ContentSafety.dll
Package:
Azure.AI.ContentSafety v1.0.0
Package:
Azure.AI.ContentSafety v1.0.0-beta.1
Source:
ContentSafetyClient.cs
Source:
ContentSafetyClient.cs

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

The ContentSafety service client.

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

Constructors

Name Description
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

Name Description
Pipeline

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

Methods

Name Description
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


Feedback

Was this page helpful?