你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
AccountsOperations interface
表示帐户操作的接口。
属性
check |
添加检查全局名称可用性操作,如果资源名称必须全局唯一,则通常使用。 |
create |
创建帐户 |
delete | 删除帐户 |
get | 获取帐户 |
list |
按资源组列出帐户资源 |
list |
按订阅 ID 列出帐户资源 |
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
按订阅 ID 列出帐户资源
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>