Accounts interface
Interface representing a Accounts.
Methods
check |
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. |
create |
Creates or updates a Visual Studio Team Services account resource. |
delete(string, string, Accounts |
Deletes a Visual Studio Team Services account resource. |
get(string, string, Accounts |
Gets the Visual Studio Team Services account resource details. |
list |
Gets all Visual Studio Team Services account resources under the resource group linked to the specified Azure subscription. |
update(string, string, Account |
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
Parameters describing the name to check availability for.
The options parameters.
Returns
Promise<CheckNameAvailabilityResult>
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.
The request data.
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.
The options parameters.
Returns
Promise<AccountResourceListResult>
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>