Accounts interface
アカウントを表すインターフェイス。
メソッド
メソッドの詳細
beginCreate(string, string, Account, AccountsCreateOptionalParams)
Cognitive Services アカウントを作成します。 アカウントは、リソース グループ全体のリソースの種類です。 開発者がインテリジェント API にアクセスするためのキーが保持されます。 これは、課金のリソースの種類でもあります。
function beginCreate(resourceGroupName: string, accountName: string, account: Account, options?: AccountsCreateOptionalParams): Promise<SimplePollerLike<OperationState<Account>, Account>>
パラメーター
- resourceGroupName
-
string
リソース グループの名前。 名前の大文字と小文字は区別されます。
- accountName
-
string
Cognitive Services アカウントの名前。
- account
- Account
作成されたアカウントに指定するパラメーター。
- options
- AccountsCreateOptionalParams
options パラメーター。
戻り値
Promise<SimplePollerLike<OperationState<Account>, Account>>
beginCreateAndWait(string, string, Account, AccountsCreateOptionalParams)
Cognitive Services アカウントを作成します。 アカウントは、リソース グループ全体のリソースの種類です。 開発者がインテリジェント API にアクセスするためのキーが保持されます。 これは、課金のリソースの種類でもあります。
function beginCreateAndWait(resourceGroupName: string, accountName: string, account: Account, options?: AccountsCreateOptionalParams): Promise<Account>
パラメーター
- resourceGroupName
-
string
リソース グループの名前。 名前の大文字と小文字は区別されます。
- accountName
-
string
Cognitive Services アカウントの名前。
- account
- Account
作成されたアカウントに指定するパラメーター。
- options
- AccountsCreateOptionalParams
options パラメーター。
戻り値
Promise<Account>
beginDelete(string, string, AccountsDeleteOptionalParams)
リソース グループから Cognitive Services アカウントを削除します。
function beginDelete(resourceGroupName: string, accountName: string, options?: AccountsDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>
パラメーター
- resourceGroupName
-
string
リソース グループの名前。 名前の大文字と小文字は区別されます。
- accountName
-
string
Cognitive Services アカウントの名前。
- options
- AccountsDeleteOptionalParams
options パラメーター。
戻り値
Promise<SimplePollerLike<OperationState<void>, void>>
beginDeleteAndWait(string, string, AccountsDeleteOptionalParams)
リソース グループから Cognitive Services アカウントを削除します。
function beginDeleteAndWait(resourceGroupName: string, accountName: string, options?: AccountsDeleteOptionalParams): Promise<void>
パラメーター
- resourceGroupName
-
string
リソース グループの名前。 名前の大文字と小文字は区別されます。
- accountName
-
string
Cognitive Services アカウントの名前。
- options
- AccountsDeleteOptionalParams
options パラメーター。
戻り値
Promise<void>
beginUpdate(string, string, Account, AccountsUpdateOptionalParams)
Cognitive Services アカウントを更新する
function beginUpdate(resourceGroupName: string, accountName: string, account: Account, options?: AccountsUpdateOptionalParams): Promise<SimplePollerLike<OperationState<Account>, Account>>
パラメーター
- resourceGroupName
-
string
リソース グループの名前。 名前の大文字と小文字は区別されます。
- accountName
-
string
Cognitive Services アカウントの名前。
- account
- Account
作成されたアカウントに指定するパラメーター。
- options
- AccountsUpdateOptionalParams
options パラメーター。
戻り値
Promise<SimplePollerLike<OperationState<Account>, Account>>
beginUpdateAndWait(string, string, Account, AccountsUpdateOptionalParams)
Cognitive Services アカウントを更新する
function beginUpdateAndWait(resourceGroupName: string, accountName: string, account: Account, options?: AccountsUpdateOptionalParams): Promise<Account>
パラメーター
- resourceGroupName
-
string
リソース グループの名前。 名前の大文字と小文字は区別されます。
- accountName
-
string
Cognitive Services アカウントの名前。
- account
- Account
作成されたアカウントに指定するパラメーター。
- options
- AccountsUpdateOptionalParams
options パラメーター。
戻り値
Promise<Account>
get(string, string, AccountsGetOptionalParams)
パラメーターで指定された Cognitive Services アカウントを返します。
function get(resourceGroupName: string, accountName: string, options?: AccountsGetOptionalParams): Promise<Account>
パラメーター
- resourceGroupName
-
string
リソース グループの名前。 名前の大文字と小文字は区別されます。
- accountName
-
string
Cognitive Services アカウントの名前。
- options
- AccountsGetOptionalParams
options パラメーター。
戻り値
Promise<Account>
list(AccountsListOptionalParams)
サブスクリプションに属する特定の種類のすべてのリソースを返します。
function list(options?: AccountsListOptionalParams): PagedAsyncIterableIterator<Account, Account[], PageSettings>
パラメーター
- options
- AccountsListOptionalParams
options パラメーター。
戻り値
listByResourceGroup(string, AccountsListByResourceGroupOptionalParams)
リソース グループに属する特定の種類のすべてのリソースを返します
function listByResourceGroup(resourceGroupName: string, options?: AccountsListByResourceGroupOptionalParams): PagedAsyncIterableIterator<Account, Account[], PageSettings>
パラメーター
- resourceGroupName
-
string
リソース グループの名前。 名前の大文字と小文字は区別されます。
options パラメーター。
戻り値
listKeys(string, string, AccountsListKeysOptionalParams)
指定した Cognitive Services アカウントのアカウント キーを一覧表示します。
function listKeys(resourceGroupName: string, accountName: string, options?: AccountsListKeysOptionalParams): Promise<ApiKeys>
パラメーター
- resourceGroupName
-
string
リソース グループの名前。 名前の大文字と小文字は区別されます。
- accountName
-
string
Cognitive Services アカウントの名前。
- options
- AccountsListKeysOptionalParams
options パラメーター。
戻り値
Promise<ApiKeys>
listModels(string, string, AccountsListModelsOptionalParams)
要求された Cognitive Services アカウントで使用可能なモデルを一覧表示する
function listModels(resourceGroupName: string, accountName: string, options?: AccountsListModelsOptionalParams): PagedAsyncIterableIterator<AccountModel, AccountModel[], PageSettings>
パラメーター
- resourceGroupName
-
string
リソース グループの名前。 名前の大文字と小文字は区別されます。
- accountName
-
string
Cognitive Services アカウントの名前。
- options
- AccountsListModelsOptionalParams
options パラメーター。
戻り値
listSkus(string, string, AccountsListSkusOptionalParams)
要求された Cognitive Services アカウントで使用可能な SKU を一覧表示する
function listSkus(resourceGroupName: string, accountName: string, options?: AccountsListSkusOptionalParams): Promise<AccountSkuListResult>
パラメーター
- resourceGroupName
-
string
リソース グループの名前。 名前の大文字と小文字は区別されます。
- accountName
-
string
Cognitive Services アカウントの名前。
- options
- AccountsListSkusOptionalParams
options パラメーター。
戻り値
Promise<AccountSkuListResult>
listUsages(string, string, AccountsListUsagesOptionalParams)
要求された Cognitive Services アカウントの使用状況を取得する
function listUsages(resourceGroupName: string, accountName: string, options?: AccountsListUsagesOptionalParams): Promise<UsageListResult>
パラメーター
- resourceGroupName
-
string
リソース グループの名前。 名前の大文字と小文字は区別されます。
- accountName
-
string
Cognitive Services アカウントの名前。
- options
- AccountsListUsagesOptionalParams
options パラメーター。
戻り値
Promise<UsageListResult>
regenerateKey(string, string, KeyName, AccountsRegenerateKeyOptionalParams)
指定した Cognitive Services アカウントの指定したアカウント キーを再生成します。
function regenerateKey(resourceGroupName: string, accountName: string, keyName: KeyName, options?: AccountsRegenerateKeyOptionalParams): Promise<ApiKeys>
パラメーター
- resourceGroupName
-
string
リソース グループの名前。 名前の大文字と小文字は区別されます。
- accountName
-
string
Cognitive Services アカウントの名前。
- keyName
- KeyName
生成するキー名 (Key1|Key2)
options パラメーター。
戻り値
Promise<ApiKeys>