Share via


PatternOperations クラス

PatternOperations 操作。

このクラスを直接インスタンス化するのではなく、それを作成して属性としてアタッチするクライアント インスタンスを作成する必要があります。

継承
builtins.object
PatternOperations

コンストラクター

PatternOperations(client, config, serializer, deserializer)

パラメーター

名前 説明
client
必須

サービス要求のクライアント。

config
必須

サービス クライアントの構成。

serializer
必須

オブジェクト モデル シリアライザー。

deserializer
必須

オブジェクト モデル逆シリアライザー。

メソッド

add_pattern

アプリケーションのバージョンにパターンを追加します。

batch_add_patterns

アプリケーションのバージョンにパターンのバッチを追加します。

delete_pattern

指定した ID を持つパターンをアプリケーションのバージョンから削除します。

delete_patterns

アプリケーションのバージョンのパターンの一覧を削除します。

list_intent_patterns

アプリケーションのバージョン内の特定の意図のパターンを返します。

list_patterns

アプリケーションのバージョンのパターンを取得します。

update_pattern

アプリケーションのバージョンでパターンを更新します。

update_patterns

アプリケーションのバージョンでパターンを更新します。

add_pattern

アプリケーションのバージョンにパターンを追加します。

add_pattern(app_id, version_id, pattern=None, intent=None, custom_headers=None, raw=False, **operation_config)

パラメーター

名前 説明
app_id
必須
str

アプリケーション ID。

version_id
必須
str

バージョン ID。

pattern
str

パターン テキスト。

既定値: None
intent
str

パターンが属する意図の名前。

既定値: None
custom_headers

要求に追加されるヘッダー

既定値: None
raw

は、逆シリアル化された応答と共に直接応答を返します

既定値: False
operation_config
必須

操作構成のオーバーライド

戻り値

説明
<xref:msrest.pipeline.ClientRawResponse>

PatternRuleInfo または ClientRawResponse (raw=true の場合)

例外

説明

batch_add_patterns

アプリケーションのバージョンにパターンのバッチを追加します。

batch_add_patterns(app_id, version_id, patterns, custom_headers=None, raw=False, **operation_config)

パラメーター

名前 説明
app_id
必須
str

アプリケーション ID。

version_id
必須
str

バージョン ID。

patterns
必須

パターンを含む JSON 配列。

custom_headers

要求に追加されるヘッダー

既定値: None
raw

は、逆シリアル化された応答と共に直接応答を返します

既定値: False
operation_config
必須

操作構成のオーバーライド

戻り値

説明
<xref:msrest.pipeline.ClientRawResponse>

list または ClientRawResponse (raw=true の場合)

例外

説明

delete_pattern

指定した ID を持つパターンをアプリケーションのバージョンから削除します。

delete_pattern(app_id, version_id, pattern_id, custom_headers=None, raw=False, **operation_config)

パラメーター

名前 説明
app_id
必須
str

アプリケーション ID。

version_id
必須
str

バージョン ID。

pattern_id
必須
str

パターン ID。

custom_headers

要求に追加されるヘッダー

既定値: None
raw

は、逆シリアル化された応答と共に直接応答を返します

既定値: False
operation_config
必須

操作構成のオーバーライド

戻り値

説明
<xref:msrest.pipeline.ClientRawResponse>

OperationStatus または ClientRawResponse (raw=true の場合)

例外

説明

delete_patterns

アプリケーションのバージョンのパターンの一覧を削除します。

delete_patterns(app_id, version_id, pattern_ids, custom_headers=None, raw=False, **operation_config)

パラメーター

名前 説明
app_id
必須
str

アプリケーション ID。

version_id
必須
str

バージョン ID。

pattern_ids
必須

パターン ID。

custom_headers

要求に追加されるヘッダー

既定値: None
raw

は、逆シリアル化された応答と共に直接応答を返します

既定値: False
operation_config
必須

操作構成のオーバーライド

戻り値

説明
<xref:msrest.pipeline.ClientRawResponse>

OperationStatus または ClientRawResponse (raw=true の場合)

例外

説明

list_intent_patterns

アプリケーションのバージョン内の特定の意図のパターンを返します。

list_intent_patterns(app_id, version_id, intent_id, skip=0, take=100, custom_headers=None, raw=False, **operation_config)

パラメーター

名前 説明
app_id
必須
str

アプリケーション ID。

version_id
必須
str

バージョン ID。

intent_id
必須
str

意図分類子 ID。

skip
int

スキップするエントリの数。 既定値は 0 です。

既定値: 0
take
int

返されるエントリの数。 最大ページ サイズは 500 です。既定値は 100 です。

既定値: 100
custom_headers

要求に追加されるヘッダー

既定値: None
raw

は、逆シリアル化された応答と共に直接応答を返します

既定値: False
operation_config
必須

操作構成のオーバーライド

戻り値

説明
<xref:msrest.pipeline.ClientRawResponse>

list または ClientRawResponse (raw=true の場合)

例外

説明

list_patterns

アプリケーションのバージョンのパターンを取得します。

list_patterns(app_id, version_id, skip=0, take=100, custom_headers=None, raw=False, **operation_config)

パラメーター

名前 説明
app_id
必須
str

アプリケーション ID。

version_id
必須
str

バージョン ID。

skip
int

スキップするエントリの数。 既定値は 0 です。

既定値: 0
take
int

返されるエントリの数。 最大ページ サイズは 500 です。既定値は 100 です。

既定値: 100
custom_headers

要求に追加されるヘッダー

既定値: None
raw

は、逆シリアル化された応答と共に直接応答を返します

既定値: False
operation_config
必須

操作構成のオーバーライド

戻り値

説明
<xref:msrest.pipeline.ClientRawResponse>

list または ClientRawResponse (raw=true の場合)

例外

説明

update_pattern

アプリケーションのバージョンでパターンを更新します。

update_pattern(app_id, version_id, pattern_id, pattern, custom_headers=None, raw=False, **operation_config)

パラメーター

名前 説明
app_id
必須
str

アプリケーション ID。

version_id
必須
str

バージョン ID。

pattern_id
必須
str

パターン ID。

pattern
必須

パターンを表す オブジェクト。

custom_headers

要求に追加されるヘッダー

既定値: None
raw

は、逆シリアル化された応答と共に直接応答を返します

既定値: False
operation_config
必須

操作構成のオーバーライド

戻り値

説明
<xref:msrest.pipeline.ClientRawResponse>

PatternRuleInfo または ClientRawResponse (raw=true の場合)

例外

説明

update_patterns

アプリケーションのバージョンでパターンを更新します。

update_patterns(app_id, version_id, patterns, custom_headers=None, raw=False, **operation_config)

パラメーター

名前 説明
app_id
必須
str

アプリケーション ID。

version_id
必須
str

バージョン ID。

patterns
必須

配列はパターンを表します。

custom_headers

要求に追加されるヘッダー

既定値: None
raw

は、逆シリアル化された応答と共に直接応答を返します

既定値: False
operation_config
必須

操作構成のオーバーライド

戻り値

説明
<xref:msrest.pipeline.ClientRawResponse>

list または ClientRawResponse (raw=true の場合)

例外

説明

属性

models

models = <module 'azure.cognitiveservices.language.luis.authoring.models' from 'C:\\hostedtoolcache\\windows\\Python\\3.11.9\\x64\\Lib\\site-packages\\azure\\cognitiveservices\\language\\luis\\authoring\\models\\__init__.py'>