Accounts interface
代表帳戶的介面。
方法
| create |
使用指定的參數建立或更新小組帳戶。 |
| delete(string, string, Accounts |
刪除機器學習小組帳戶。 |
| get(string, string, Accounts |
取得指定機器學習小組帳戶的屬性。 |
| list(Accounts |
列出指定訂用帳戶下所有可用的機器學習小組帳戶。 |
| list |
列出指定資源群組下所有可用的機器學習小組帳戶。 |
| update(string, string, Account |
使用指定的參數更新機器學習小組帳戶。 |
方法詳細資料
createOrUpdate(string, string, Account, AccountsCreateOrUpdateOptionalParams)
使用指定的參數建立或更新小組帳戶。
function createOrUpdate(resourceGroupName: string, accountName: string, parameters: Account, options?: AccountsCreateOrUpdateOptionalParams): Promise<Account>
參數
- resourceGroupName
-
string
機器學習小組帳戶所屬的資源群組名稱。
- accountName
-
string
機器學習小組帳戶的名稱。
- parameters
- Account
建立或更新機器學習小組帳戶的參數。
選項參數。
傳回
Promise<Account>
delete(string, string, AccountsDeleteOptionalParams)
刪除機器學習小組帳戶。
function delete(resourceGroupName: string, accountName: string, options?: AccountsDeleteOptionalParams): Promise<void>
參數
- resourceGroupName
-
string
機器學習小組帳戶所屬的資源群組名稱。
- accountName
-
string
機器學習小組帳戶的名稱。
- options
- AccountsDeleteOptionalParams
選項參數。
傳回
Promise<void>
get(string, string, AccountsGetOptionalParams)
取得指定機器學習小組帳戶的屬性。
function get(resourceGroupName: string, accountName: string, options?: AccountsGetOptionalParams): Promise<Account>
參數
- resourceGroupName
-
string
機器學習小組帳戶所屬的資源群組名稱。
- accountName
-
string
機器學習小組帳戶的名稱。
- options
- AccountsGetOptionalParams
選項參數。
傳回
Promise<Account>
list(AccountsListOptionalParams)
列出指定訂用帳戶下所有可用的機器學習小組帳戶。
function list(options?: AccountsListOptionalParams): PagedAsyncIterableIterator<Account, Account[], PageSettings>
參數
- options
- AccountsListOptionalParams
選項參數。
傳回
listByResourceGroup(string, AccountsListByResourceGroupOptionalParams)
列出指定資源群組下所有可用的機器學習小組帳戶。
function listByResourceGroup(resourceGroupName: string, options?: AccountsListByResourceGroupOptionalParams): PagedAsyncIterableIterator<Account, Account[], PageSettings>
參數
- resourceGroupName
-
string
機器學習小組帳戶所屬的資源群組名稱。
選項參數。
傳回
update(string, string, AccountUpdateParameters, AccountsUpdateOptionalParams)
使用指定的參數更新機器學習小組帳戶。
function update(resourceGroupName: string, accountName: string, parameters: AccountUpdateParameters, options?: AccountsUpdateOptionalParams): Promise<Account>
參數
- resourceGroupName
-
string
機器學習小組帳戶所屬的資源群組名稱。
- accountName
-
string
機器學習小組帳戶的名稱。
- parameters
- AccountUpdateParameters
更新機器學習小組帳戶的參數。
- options
- AccountsUpdateOptionalParams
選項參數。
傳回
Promise<Account>