你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

Accounts interface

表示帐户的接口。

方法

beginCreateAndUpdate(string, string, AccountResource, AccountsCreateAndUpdateOptionalParams)

创建或更新帐户资源。

beginCreateAndUpdateAndWait(string, string, AccountResource, AccountsCreateAndUpdateOptionalParams)

创建或更新帐户资源。

delete(string, string, AccountsDeleteOptionalParams)

删除帐户资源。

get(string, string, AccountsGetOptionalParams)

返回给定名称的帐户资源。

listByResourceGroup(string, AccountsListByResourceGroupOptionalParams)

返回帐户应用的列表。

listBySubscription(AccountsListBySubscriptionOptionalParams)

返回属于订阅的帐户列表。

update(string, string, AccountPatchResource, AccountsUpdateOptionalParams)

更新帐户详细信息。

方法详细信息

beginCreateAndUpdate(string, string, AccountResource, AccountsCreateAndUpdateOptionalParams)

创建或更新帐户资源。

function beginCreateAndUpdate(resourceGroupName: string, resourceName: string, accountResource: AccountResource, options?: AccountsCreateAndUpdateOptionalParams): Promise<SimplePollerLike<OperationState<AccountResource>, AccountResource>>

参数

resourceGroupName

string

资源组的名称。 名称不区分大小写。

resourceName

string

资源的名称。

accountResource
AccountResource

帐户详细信息。

options
AccountsCreateAndUpdateOptionalParams

选项参数。

返回

Promise<@azure/core-lro.SimplePollerLike<OperationState<AccountResource>, AccountResource>>

beginCreateAndUpdateAndWait(string, string, AccountResource, AccountsCreateAndUpdateOptionalParams)

创建或更新帐户资源。

function beginCreateAndUpdateAndWait(resourceGroupName: string, resourceName: string, accountResource: AccountResource, options?: AccountsCreateAndUpdateOptionalParams): Promise<AccountResource>

参数

resourceGroupName

string

资源组的名称。 名称不区分大小写。

resourceName

string

资源的名称。

accountResource
AccountResource

帐户详细信息。

options
AccountsCreateAndUpdateOptionalParams

选项参数。

返回

Promise<AccountResource>

delete(string, string, AccountsDeleteOptionalParams)

删除帐户资源。

function delete(resourceGroupName: string, resourceName: string, options?: AccountsDeleteOptionalParams): Promise<void>

参数

resourceGroupName

string

资源组的名称。 名称不区分大小写。

resourceName

string

资源的名称。

options
AccountsDeleteOptionalParams

选项参数。

返回

Promise<void>

get(string, string, AccountsGetOptionalParams)

返回给定名称的帐户资源。

function get(resourceGroupName: string, resourceName: string, options?: AccountsGetOptionalParams): Promise<AccountResource>

参数

resourceGroupName

string

资源组的名称。 名称不区分大小写。

resourceName

string

资源的名称。

options
AccountsGetOptionalParams

选项参数。

返回

Promise<AccountResource>

listByResourceGroup(string, AccountsListByResourceGroupOptionalParams)

返回帐户应用的列表。

function listByResourceGroup(resourceGroupName: string, options?: AccountsListByResourceGroupOptionalParams): PagedAsyncIterableIterator<AccountResource, AccountResource[], PageSettings>

参数

resourceGroupName

string

资源组的名称。 名称不区分大小写。

返回

listBySubscription(AccountsListBySubscriptionOptionalParams)

返回属于订阅的帐户列表。

function listBySubscription(options?: AccountsListBySubscriptionOptionalParams): PagedAsyncIterableIterator<AccountResource, AccountResource[], PageSettings>

参数

返回

update(string, string, AccountPatchResource, AccountsUpdateOptionalParams)

更新帐户详细信息。

function update(resourceGroupName: string, resourceName: string, accountResource: AccountPatchResource, options?: AccountsUpdateOptionalParams): Promise<AccountResource>

参数

resourceGroupName

string

资源组的名称。 名称不区分大小写。

resourceName

string

资源的名称。

accountResource
AccountPatchResource

帐户修补程序详细信息。

options
AccountsUpdateOptionalParams

选项参数。

返回

Promise<AccountResource>