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

ApplicationGroups interface

Interface representing a ApplicationGroups.

Methods

createOrUpdate(string, string, ApplicationGroup, ApplicationGroupsCreateOrUpdateOptionalParams)

Create or update an applicationGroup.

delete(string, string, ApplicationGroupsDeleteOptionalParams)

Remove an applicationGroup.

get(string, string, ApplicationGroupsGetOptionalParams)

Get an application group.

listByResourceGroup(string, ApplicationGroupsListByResourceGroupOptionalParams)

List applicationGroups.

listBySubscription(ApplicationGroupsListBySubscriptionOptionalParams)

List applicationGroups in subscription.

update(string, string, ApplicationGroupsUpdateOptionalParams)

Update an applicationGroup.

Method Details

createOrUpdate(string, string, ApplicationGroup, ApplicationGroupsCreateOrUpdateOptionalParams)

Create or update an applicationGroup.

function createOrUpdate(resourceGroupName: string, applicationGroupName: string, applicationGroup: ApplicationGroup, options?: ApplicationGroupsCreateOrUpdateOptionalParams): Promise<ApplicationGroup>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

applicationGroupName

string

The name of the application group

applicationGroup
ApplicationGroup

Object containing ApplicationGroup definitions.

options
ApplicationGroupsCreateOrUpdateOptionalParams

The options parameters.

Returns

Promise<ApplicationGroup>

delete(string, string, ApplicationGroupsDeleteOptionalParams)

Remove an applicationGroup.

function delete(resourceGroupName: string, applicationGroupName: string, options?: ApplicationGroupsDeleteOptionalParams): Promise<void>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

applicationGroupName

string

The name of the application group

options
ApplicationGroupsDeleteOptionalParams

The options parameters.

Returns

Promise<void>

get(string, string, ApplicationGroupsGetOptionalParams)

Get an application group.

function get(resourceGroupName: string, applicationGroupName: string, options?: ApplicationGroupsGetOptionalParams): Promise<ApplicationGroup>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

applicationGroupName

string

The name of the application group

options
ApplicationGroupsGetOptionalParams

The options parameters.

Returns

Promise<ApplicationGroup>

listByResourceGroup(string, ApplicationGroupsListByResourceGroupOptionalParams)

List applicationGroups.

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

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

options
ApplicationGroupsListByResourceGroupOptionalParams

The options parameters.

Returns

listBySubscription(ApplicationGroupsListBySubscriptionOptionalParams)

List applicationGroups in subscription.

function listBySubscription(options?: ApplicationGroupsListBySubscriptionOptionalParams): PagedAsyncIterableIterator<ApplicationGroup, ApplicationGroup[], PageSettings>

Parameters

options
ApplicationGroupsListBySubscriptionOptionalParams

The options parameters.

Returns

update(string, string, ApplicationGroupsUpdateOptionalParams)

Update an applicationGroup.

function update(resourceGroupName: string, applicationGroupName: string, options?: ApplicationGroupsUpdateOptionalParams): Promise<ApplicationGroup>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

applicationGroupName

string

The name of the application group

options
ApplicationGroupsUpdateOptionalParams

The options parameters.

Returns

Promise<ApplicationGroup>