AccountsOperations interface
代表 Accounts 作業的介面。
屬性
check |
新增檢查全域名稱可用性作業,通常會在資源名稱必須是全域唯一時使用。 |
create |
建立帳戶 |
delete | 刪除帳戶 |
get | 取得帳戶 |
list |
依資源群組列出帳戶資源 |
list |
依訂用帳戶標識碼列出帳戶資源 |
update | 更新帳戶 |
屬性詳細資料
checkNameAvailability
新增檢查全域名稱可用性作業,通常會在資源名稱必須是全域唯一時使用。
checkNameAvailability: (body: CheckNameAvailabilityRequest, options?: AccountsCheckNameAvailabilityOptionalParams) => Promise<CheckNameAvailabilityResponse>
屬性值
(body: CheckNameAvailabilityRequest, options?: AccountsCheckNameAvailabilityOptionalParams) => Promise<CheckNameAvailabilityResponse>
createOrUpdate
建立帳戶
createOrUpdate: (resourceGroupName: string, accountName: string, resource: Account, options?: AccountsCreateOrUpdateOptionalParams) => PollerLike<OperationState<Account>, Account>
屬性值
(resourceGroupName: string, accountName: string, resource: Account, options?: AccountsCreateOrUpdateOptionalParams) => PollerLike<OperationState<Account>, Account>
delete
刪除帳戶
delete: (resourceGroupName: string, accountName: string, options?: AccountsDeleteOptionalParams) => PollerLike<OperationState<void>, void>
屬性值
(resourceGroupName: string, accountName: string, options?: AccountsDeleteOptionalParams) => PollerLike<OperationState<void>, void>
get
取得帳戶
get: (resourceGroupName: string, accountName: string, options?: AccountsGetOptionalParams) => Promise<Account>
屬性值
(resourceGroupName: string, accountName: string, options?: AccountsGetOptionalParams) => Promise<Account>
listByResourceGroup
依資源群組列出帳戶資源
listByResourceGroup: (resourceGroupName: string, options?: AccountsListByResourceGroupOptionalParams) => PagedAsyncIterableIterator<Account, Account[], PageSettings>
屬性值
(resourceGroupName: string, options?: AccountsListByResourceGroupOptionalParams) => PagedAsyncIterableIterator<Account, Account[], PageSettings>
listBySubscription
依訂用帳戶標識碼列出帳戶資源
listBySubscription: (options?: AccountsListBySubscriptionOptionalParams) => PagedAsyncIterableIterator<Account, Account[], PageSettings>
屬性值
(options?: AccountsListBySubscriptionOptionalParams) => PagedAsyncIterableIterator<Account, Account[], PageSettings>
update
更新帳戶
update: (resourceGroupName: string, accountName: string, properties: AccountUpdate, options?: AccountsUpdateOptionalParams) => Promise<Account>
屬性值
(resourceGroupName: string, accountName: string, properties: AccountUpdate, options?: AccountsUpdateOptionalParams) => Promise<Account>