AppsOperations クラス
AppsOperations 操作。
このクラスを直接インスタンス化するのではなく、それを作成して属性としてアタッチするクライアント インスタンスを作成する必要があります。
- 継承
-
builtins.objectAppsOperations
コンストラクター
AppsOperations(client, config, serializer, deserializer)
パラメーター
- client
サービス要求のクライアント。
- config
サービス クライアントの構成。
- serializer
オブジェクト モデル シリアライザー。
- deserializer
オブジェクト モデル逆シリアライザー。
メソッド
add |
新しい LUIS アプリを作成します。 |
add_custom_prebuilt_domain |
新しいアプリケーションとして、事前構築済みドメインとその意図モデルとエンティティ モデルを追加します。 |
delete |
アプリケーションを削除します。 |
download_query_logs |
アプリケーションに対する過去 1 か月のエンドポイント クエリのログを取得します。 |
get |
アプリケーション情報を取得します。 |
get_publish_settings |
"UseAllTrainingData" を含むアプリケーション発行設定を取得します。 |
get_settings |
"UseAllTrainingData" を含むアプリケーション設定を取得します。 |
import_lu_format |
LUIS にアプリケーションをインポートします。アプリケーションの構造は要求本文に含まれます。 |
import_method |
LUIS にアプリケーションをインポートします。アプリケーションの構造は要求本文に含まれます。 |
import_v2_app |
LUIS にアプリケーションをインポートします。アプリケーションの構造は要求本文に含まれます。 |
list |
すべてのユーザーのアプリケーションを一覧表示します。 |
list_available_custom_prebuilt_domains |
すべてのカルチャで使用可能なすべてのカスタム事前構築済みドメインを取得します。 |
list_available_custom_prebuilt_domains_for_culture |
特定のカルチャで使用可能なすべての事前構築済みドメインを取得します。 |
list_cortana_endpoints |
事前構築済みの Cortana アプリケーションのエンドポイント URL を取得します。 |
list_domains |
使用可能なアプリケーション ドメインを取得します。 |
list_endpoints |
使用可能なエンドポイントデプロイリージョンと URL を返します。 |
list_supported_cultures |
サポートされているカルチャの一覧を取得します。 カルチャは、記述された言語とロケールに相当します。 たとえば、"en-us" は英語の米国のバリエーションを表します。 |
list_usage_scenarios |
アプリケーションで使用可能な使用シナリオを取得します。 |
package_published_application_as_gzip |
package - バイナリ ストリーム GZip 形式で発行された LUIS アプリケーション パッケージを取得します。 発行された LUIS アプリケーションを、LUIS コンテナーで使用する GZip ファイルとしてパッケージ化します。 |
package_trained_application_as_gzip |
package - バイナリ ストリーム GZip 形式でトレーニング済みの LUIS アプリケーション パッケージを取得します。 トレーニング済みの LUIS アプリケーションを、LUIS コンテナーで使用する GZip ファイルとしてパッケージ化します。 |
publish |
アプリケーションの特定のバージョンを発行します。 |
update |
アプリケーションの名前または説明を更新します。 |
update_publish_settings |
'UseAllTrainingData' を含むアプリケーションの発行設定を更新します。 |
update_settings |
'UseAllTrainingData' などのアプリケーション設定を更新します。 |
add
新しい LUIS アプリを作成します。
add(application_create_object, custom_headers=None, raw=False, **operation_config)
パラメーター
- application_create_object
- ApplicationCreateObject
アプリケーションの名前、説明 (省略可能)、カルチャ、使用シナリオ (省略可能)、ドメイン (省略可能)、および初期バージョン ID (省略可能) を含むアプリケーション。 バージョン ID の既定値は "0.1" です。 注: アプリの作成後にカルチャを変更することはできません。
- operation_config
操作の構成がオーバーライドされます。
戻り値
raw=true の場合、str または ClientRawResponse
の戻り値の型 :
例外
add_custom_prebuilt_domain
新しいアプリケーションとして、事前構築済みドメインとその意図モデルとエンティティ モデルを追加します。
add_custom_prebuilt_domain(domain_name=None, culture=None, custom_headers=None, raw=False, **operation_config)
パラメーター
- operation_config
操作の構成がオーバーライドされます。
戻り値
raw=true の場合、str または ClientRawResponse
の戻り値の型 :
例外
delete
アプリケーションを削除します。
delete(app_id, force=False, custom_headers=None, raw=False, **operation_config)
パラメーター
- operation_config
操作の構成がオーバーライドされます。
戻り値
operationStatus または ClientRawResponse (raw=true の場合)
の戻り値の型 :
例外
download_query_logs
アプリケーションに対する過去 1 か月のエンドポイント クエリのログを取得します。
download_query_logs(app_id, custom_headers=None, raw=False, callback=None, **operation_config)
パラメーター
- callback
- Callable[<xref:Bytes>, <xref:response=None>]
を指定すると、ストリーミングされるデータの各チャンクで が呼び出されます。 コールバックは、現在のデータ チャンクと応答オブジェクトのバイトである 2 つの引数を受け取る必要があります。 データがアップロードされている場合、応答は None になります。
- operation_config
操作の構成がオーバーライドされます。
戻り値
object または ClientRawResponse (raw=true の場合)
の戻り値の型 :
例外
get
アプリケーション情報を取得します。
get(app_id, custom_headers=None, raw=False, **operation_config)
パラメーター
- operation_config
操作の構成がオーバーライドされます。
戻り値
applicationInfoResponse または ClientRawResponse (raw=true の場合)
の戻り値の型 :
例外
get_publish_settings
"UseAllTrainingData" を含むアプリケーション発行設定を取得します。
get_publish_settings(app_id, custom_headers=None, raw=False, **operation_config)
パラメーター
- operation_config
操作の構成がオーバーライドされます。
戻り値
publishSettings または ClientRawResponse (raw=true の場合)
の戻り値の型 :
例外
get_settings
"UseAllTrainingData" を含むアプリケーション設定を取得します。
get_settings(app_id, custom_headers=None, raw=False, **operation_config)
パラメーター
- operation_config
操作の構成がオーバーライドされます。
戻り値
ApplicationSettings または ClientRawResponse (raw=true の場合)
の戻り値の型 :
例外
import_lu_format
LUIS にアプリケーションをインポートします。アプリケーションの構造は要求本文に含まれます。
import_lu_format(luis_app_lu, app_name=None, custom_headers=None, raw=False, **operation_config)
パラメーター
- app_name
- str
作成するアプリケーション名。 指定しない場合、アプリケーション名はインポートされたオブジェクトから読み取られます。 アプリケーション名が既に存在する場合は、エラーが返されます。
- operation_config
操作の構成がオーバーライドされます。
戻り値
raw=true の場合、str または ClientRawResponse
の戻り値の型 :
例外
import_method
LUIS にアプリケーションをインポートします。アプリケーションの構造は要求本文に含まれます。
import_method(luis_app, app_name=None, custom_headers=None, raw=False, **operation_config)
パラメーター
- app_name
- str
作成するアプリケーション名。 指定しない場合、アプリケーション名はインポートされたオブジェクトから読み取られます。 アプリケーション名が既に存在する場合は、エラーが返されます。
- operation_config
操作の構成がオーバーライドされます。
戻り値
raw=true の場合、str または ClientRawResponse
の戻り値の型 :
例外
import_v2_app
LUIS にアプリケーションをインポートします。アプリケーションの構造は要求本文に含まれます。
import_v2_app(luis_app_v2, app_name=None, custom_headers=None, raw=False, **operation_config)
パラメーター
- app_name
- str
作成するアプリケーション名。 指定しない場合、アプリケーション名はインポートされたオブジェクトから読み取られます。 アプリケーション名が既に存在する場合は、エラーが返されます。
- operation_config
操作の構成がオーバーライドされます。
戻り値
raw=true の場合、str または ClientRawResponse
の戻り値の型 :
例外
list
すべてのユーザーのアプリケーションを一覧表示します。
list(skip=0, take=100, custom_headers=None, raw=False, **operation_config)
パラメーター
- operation_config
操作の構成がオーバーライドされます。
戻り値
raw=true の場合は list または ClientRawResponse
の戻り値の型 :
例外
list_available_custom_prebuilt_domains
すべてのカルチャで使用可能なすべてのカスタム事前構築済みドメインを取得します。
list_available_custom_prebuilt_domains(custom_headers=None, raw=False, **operation_config)
パラメーター
- operation_config
操作の構成がオーバーライドされます。
戻り値
raw=true の場合は list または ClientRawResponse
の戻り値の型 :
例外
list_available_custom_prebuilt_domains_for_culture
特定のカルチャで使用可能なすべての事前構築済みドメインを取得します。
list_available_custom_prebuilt_domains_for_culture(culture, custom_headers=None, raw=False, **operation_config)
パラメーター
- operation_config
操作構成のオーバーライド。
戻り値
list または ClientRawResponse (raw=true の場合)
の戻り値の型 :
例外
list_cortana_endpoints
事前構築済みの Cortana アプリケーションのエンドポイント URL を取得します。
list_cortana_endpoints(custom_headers=None, raw=False, **operation_config)
パラメーター
- operation_config
操作構成のオーバーライド。
戻り値
raw=true の場合は PersonalAssistantsResponse または ClientRawResponse
の戻り値の型 :
例外
list_domains
使用可能なアプリケーション ドメインを取得します。
list_domains(custom_headers=None, raw=False, **operation_config)
パラメーター
- operation_config
操作構成のオーバーライド。
戻り値
list または ClientRawResponse (raw=true の場合)
の戻り値の型 :
例外
list_endpoints
使用可能なエンドポイントデプロイリージョンと URL を返します。
list_endpoints(app_id, custom_headers=None, raw=False, **operation_config)
パラメーター
- operation_config
操作構成のオーバーライド。
戻り値
dict または ClientRawResponse (raw=true の場合)
の戻り値の型 :
例外
list_supported_cultures
サポートされているカルチャの一覧を取得します。 カルチャは、記述された言語とロケールに相当します。 たとえば、"en-us" は英語の米国のバリエーションを表します。
list_supported_cultures(custom_headers=None, raw=False, **operation_config)
パラメーター
- operation_config
操作構成のオーバーライド。
戻り値
list または ClientRawResponse (raw=true の場合)
の戻り値の型 :
例外
list_usage_scenarios
アプリケーションで使用可能な使用シナリオを取得します。
list_usage_scenarios(custom_headers=None, raw=False, **operation_config)
パラメーター
- operation_config
操作構成のオーバーライド。
戻り値
list または ClientRawResponse (raw=true の場合)
の戻り値の型 :
例外
package_published_application_as_gzip
package - バイナリ ストリーム GZip 形式で発行された LUIS アプリケーション パッケージを取得します。
発行された LUIS アプリケーションを、LUIS コンテナーで使用する GZip ファイルとしてパッケージ化します。
package_published_application_as_gzip(app_id, slot_name, custom_headers=None, raw=False, callback=None, **operation_config)
パラメーター
- callback
- Callable[<xref:Bytes>, <xref:response=None>]
を指定すると、ストリーミングされるデータの各チャンクで が呼び出されます。 コールバックは、データの現在のチャンクのバイトと応答オブジェクトの 2 つの引数を受け取る必要があります。 データがアップロードされている場合、応答は None になります。
- operation_config
操作構成のオーバーライド。
戻り値
object または ClientRawResponse (raw=true の場合)
の戻り値の型 :
例外
package_trained_application_as_gzip
package - バイナリ ストリーム GZip 形式でトレーニング済みの LUIS アプリケーション パッケージを取得します。
トレーニング済みの LUIS アプリケーションを、LUIS コンテナーで使用する GZip ファイルとしてパッケージ化します。
package_trained_application_as_gzip(app_id, version_id, custom_headers=None, raw=False, callback=None, **operation_config)
パラメーター
- callback
- Callable[<xref:Bytes>, <xref:response=None>]
を指定すると、ストリーミングされるデータの各チャンクで が呼び出されます。 コールバックは、データの現在のチャンクのバイトと応答オブジェクトの 2 つの引数を受け取る必要があります。 データがアップロードされている場合、応答は None になります。
- operation_config
操作構成のオーバーライド。
戻り値
object または ClientRawResponse (raw=true の場合)
の戻り値の型 :
例外
publish
アプリケーションの特定のバージョンを発行します。
publish(app_id, version_id=None, is_staging=False, custom_headers=None, raw=False, **operation_config)
パラメーター
- operation_config
操作構成のオーバーライド。
戻り値
ProductionOrStagingEndpointInfo または ClientRawResponse (raw=true の場合)
の戻り値の型 :
例外
update
アプリケーションの名前または説明を更新します。
update(app_id, name=None, description=None, custom_headers=None, raw=False, **operation_config)
パラメーター
- operation_config
操作構成のオーバーライド。
戻り値
OperationStatus または ClientRawResponse (raw=true の場合)
の戻り値の型 :
例外
update_publish_settings
'UseAllTrainingData' を含むアプリケーションの発行設定を更新します。
update_publish_settings(app_id, publish_setting_update_object, custom_headers=None, raw=False, **operation_config)
パラメーター
- operation_config
操作構成のオーバーライド。
戻り値
OperationStatus または ClientRawResponse (raw=true の場合)
の戻り値の型 :
例外
update_settings
'UseAllTrainingData' などのアプリケーション設定を更新します。
update_settings(app_id, is_public=None, custom_headers=None, raw=False, **operation_config)
パラメーター
- operation_config
操作構成のオーバーライド。
戻り値
OperationStatus または ClientRawResponse (raw=true の場合)
の戻り値の型 :
例外
属性
models
models = <module 'azure.cognitiveservices.language.luis.authoring.models' from 'C:\\hostedtoolcache\\windows\\Python\\3.11.7\\x64\\Lib\\site-packages\\azure\\cognitiveservices\\language\\luis\\authoring\\models\\__init__.py'>
Azure SDK for Python
フィードバック
https://aka.ms/ContentUserFeedback」を参照してください。
以下は間もなく提供いたします。2024 年を通じて、コンテンツのフィードバック メカニズムとして GitHub の issue を段階的に廃止し、新しいフィードバック システムに置き換えます。 詳細については、「フィードバックの送信と表示