共用方式為


Accounts interface

Interface representing a Accounts.

Methods

checkNameAvailability(CheckNameAvailabilityParameter, AccountsCheckNameAvailabilityOptionalParams)

Checks if the specified Visual Studio Team Services account name is available. Resource name can be either an account name or an account name and PUID.

createOrUpdate(string, string, AccountResourceRequest, AccountsCreateOrUpdateOptionalParams)

Creates or updates a Visual Studio Team Services account resource.

delete(string, string, AccountsDeleteOptionalParams)

Deletes a Visual Studio Team Services account resource.

get(string, string, AccountsGetOptionalParams)

Gets the Visual Studio Team Services account resource details.

listByResourceGroup(string, AccountsListByResourceGroupOptionalParams)

Gets all Visual Studio Team Services account resources under the resource group linked to the specified Azure subscription.

update(string, string, AccountTagRequest, AccountsUpdateOptionalParams)

Updates tags for Visual Studio Team Services account resource.

Method Details

checkNameAvailability(CheckNameAvailabilityParameter, AccountsCheckNameAvailabilityOptionalParams)

Checks if the specified Visual Studio Team Services account name is available. Resource name can be either an account name or an account name and PUID.

function checkNameAvailability(body: CheckNameAvailabilityParameter, options?: AccountsCheckNameAvailabilityOptionalParams): Promise<CheckNameAvailabilityResult>

Parameters

body
CheckNameAvailabilityParameter

Parameters describing the name to check availability for.

options
AccountsCheckNameAvailabilityOptionalParams

The options parameters.

Returns

createOrUpdate(string, string, AccountResourceRequest, AccountsCreateOrUpdateOptionalParams)

Creates or updates a Visual Studio Team Services account resource.

function createOrUpdate(resourceGroupName: string, resourceName: string, body: AccountResourceRequest, options?: AccountsCreateOrUpdateOptionalParams): Promise<AccountResource>

Parameters

resourceGroupName

string

Name of the resource group within the Azure subscription.

resourceName

string

Name of the resource.

body
AccountResourceRequest

The request data.

options
AccountsCreateOrUpdateOptionalParams

The options parameters.

Returns

Promise<AccountResource>

delete(string, string, AccountsDeleteOptionalParams)

Deletes a Visual Studio Team Services account resource.

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

Parameters

resourceGroupName

string

Name of the resource group within the Azure subscription.

resourceName

string

Name of the resource.

options
AccountsDeleteOptionalParams

The options parameters.

Returns

Promise<void>

get(string, string, AccountsGetOptionalParams)

Gets the Visual Studio Team Services account resource details.

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

Parameters

resourceGroupName

string

Name of the resource group within the Azure subscription.

resourceName

string

Name of the resource.

options
AccountsGetOptionalParams

The options parameters.

Returns

Promise<AccountResource>

listByResourceGroup(string, AccountsListByResourceGroupOptionalParams)

Gets all Visual Studio Team Services account resources under the resource group linked to the specified Azure subscription.

function listByResourceGroup(resourceGroupName: string, options?: AccountsListByResourceGroupOptionalParams): Promise<AccountResourceListResult>

Parameters

resourceGroupName

string

Name of the resource group within the Azure subscription.

options
AccountsListByResourceGroupOptionalParams

The options parameters.

Returns

update(string, string, AccountTagRequest, AccountsUpdateOptionalParams)

Updates tags for Visual Studio Team Services account resource.

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

Parameters

resourceGroupName

string

Name of the resource group within the Azure subscription.

resourceName

string

Name of the resource.

body
AccountTagRequest

The request data.

options
AccountsUpdateOptionalParams

The options parameters.

Returns

Promise<AccountResource>