PatternOperations クラス
PatternOperations 操作。
このクラスを直接インスタンス化するのではなく、それを作成して属性としてアタッチするクライアント インスタンスを作成する必要があります。
- 継承
-
builtins.objectPatternOperations
コンストラクター
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
必須
|
アプリケーション ID。 |
version_id
必須
|
バージョン ID。 |
pattern
|
パターン テキスト。 既定値: None
|
intent
|
パターンが属する意図の名前。 既定値: 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
必須
|
アプリケーション ID。 |
version_id
必須
|
バージョン 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
必須
|
アプリケーション ID。 |
version_id
必須
|
バージョン ID。 |
pattern_id
必須
|
パターン 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
必須
|
アプリケーション ID。 |
version_id
必須
|
バージョン 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
必須
|
アプリケーション ID。 |
version_id
必須
|
バージョン ID。 |
intent_id
必須
|
意図分類子 ID。 |
skip
|
スキップするエントリの数。 既定値は 0 です。 既定値: 0
|
take
|
返されるエントリの数。 最大ページ サイズは 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
必須
|
アプリケーション ID。 |
version_id
必須
|
バージョン ID。 |
skip
|
スキップするエントリの数。 既定値は 0 です。 既定値: 0
|
take
|
返されるエントリの数。 最大ページ サイズは 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
必須
|
アプリケーション ID。 |
version_id
必須
|
バージョン ID。 |
pattern_id
必須
|
パターン 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
必須
|
アプリケーション ID。 |
version_id
必須
|
バージョン 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'>
Azure SDK for Python
フィードバック
https://aka.ms/ContentUserFeedback」を参照してください。
以下は間もなく提供いたします。2024 年を通じて、コンテンツのフィードバック メカニズムとして GitHub の issue を段階的に廃止し、新しいフィードバック システムに置き換えます。 詳細については、「フィードバックの送信と表示