Accounts class
Class representing a Accounts.
Constructors
Accounts(Visual |
Create a Accounts. |
Methods
Constructor Details
Accounts(VisualStudioResourceProviderClientContext)
Create a Accounts.
new Accounts(client: VisualStudioResourceProviderClientContext)
Parameters
Reference to the service client.
Method Details
checkNameAvailability(CheckNameAvailabilityParameter, RequestOptionsBase)
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?: RequestOptionsBase): Promise<AccountsCheckNameAvailabilityResponse>
Parameters
Parameters describing the name to check availability for.
- options
- RequestOptionsBase
The optional parameters
Returns
Promise<Models.AccountsCheckNameAvailabilityResponse>
checkNameAvailability(CheckNameAvailabilityParameter, RequestOptionsBase, ServiceCallback<CheckNameAvailabilityResult>)
function checkNameAvailability(body: CheckNameAvailabilityParameter, options: RequestOptionsBase, callback: ServiceCallback<CheckNameAvailabilityResult>)
Parameters
Parameters describing the name to check availability for.
- options
- RequestOptionsBase
The optional parameters
- callback
The callback
checkNameAvailability(CheckNameAvailabilityParameter, ServiceCallback<CheckNameAvailabilityResult>)
function checkNameAvailability(body: CheckNameAvailabilityParameter, callback: ServiceCallback<CheckNameAvailabilityResult>)
Parameters
Parameters describing the name to check availability for.
- callback
The callback
createOrUpdate(string, AccountResourceRequest, string, RequestOptionsBase)
Creates or updates a Visual Studio Team Services account resource.
function createOrUpdate(resourceGroupName: string, body: AccountResourceRequest, resourceName: string, options?: RequestOptionsBase): Promise<AccountsCreateOrUpdateResponse>
Parameters
- resourceGroupName
-
string
Name of the resource group within the Azure subscription.
The request data.
- resourceName
-
string
Name of the resource.
- options
- RequestOptionsBase
The optional parameters
Returns
Promise<AccountsCreateOrUpdateResponse>
Promise<Models.AccountsCreateOrUpdateResponse>
createOrUpdate(string, AccountResourceRequest, string, RequestOptionsBase, ServiceCallback<AccountResource>)
function createOrUpdate(resourceGroupName: string, body: AccountResourceRequest, resourceName: string, options: RequestOptionsBase, callback: ServiceCallback<AccountResource>)
Parameters
- resourceGroupName
-
string
Name of the resource group within the Azure subscription.
The request data.
- resourceName
-
string
Name of the resource.
- options
- RequestOptionsBase
The optional parameters
- callback
The callback
createOrUpdate(string, AccountResourceRequest, string, ServiceCallback<AccountResource>)
function createOrUpdate(resourceGroupName: string, body: AccountResourceRequest, resourceName: string, callback: ServiceCallback<AccountResource>)
Parameters
- resourceGroupName
-
string
Name of the resource group within the Azure subscription.
The request data.
- resourceName
-
string
Name of the resource.
- callback
The callback
deleteMethod(string, string, RequestOptionsBase)
Deletes a Visual Studio Team Services account resource.
function deleteMethod(resourceGroupName: string, resourceName: string, options?: RequestOptionsBase): Promise<RestResponse>
Parameters
- resourceGroupName
-
string
Name of the resource group within the Azure subscription.
- resourceName
-
string
Name of the resource.
- options
- RequestOptionsBase
The optional parameters
Returns
Promise<RestResponse>
Promise<msRest.RestResponse>
deleteMethod(string, string, RequestOptionsBase, ServiceCallback<void>)
function deleteMethod(resourceGroupName: string, resourceName: string, options: RequestOptionsBase, callback: ServiceCallback<void>)
Parameters
- resourceGroupName
-
string
Name of the resource group within the Azure subscription.
- resourceName
-
string
Name of the resource.
- options
- RequestOptionsBase
The optional parameters
- callback
-
ServiceCallback<void>
The callback
deleteMethod(string, string, ServiceCallback<void>)
function deleteMethod(resourceGroupName: string, resourceName: string, callback: ServiceCallback<void>)
Parameters
- resourceGroupName
-
string
Name of the resource group within the Azure subscription.
- resourceName
-
string
Name of the resource.
- callback
-
ServiceCallback<void>
The callback
get(string, string, RequestOptionsBase)
Gets the Visual Studio Team Services account resource details.
function get(resourceGroupName: string, resourceName: string, options?: RequestOptionsBase): Promise<AccountsGetResponse>
Parameters
- resourceGroupName
-
string
Name of the resource group within the Azure subscription.
- resourceName
-
string
Name of the resource.
- options
- RequestOptionsBase
The optional parameters
Returns
Promise<AccountsGetResponse>
Promise<Models.AccountsGetResponse>
get(string, string, RequestOptionsBase, ServiceCallback<AccountResource>)
function get(resourceGroupName: string, resourceName: string, options: RequestOptionsBase, callback: ServiceCallback<AccountResource>)
Parameters
- resourceGroupName
-
string
Name of the resource group within the Azure subscription.
- resourceName
-
string
Name of the resource.
- options
- RequestOptionsBase
The optional parameters
- callback
The callback
get(string, string, ServiceCallback<AccountResource>)
function get(resourceGroupName: string, resourceName: string, callback: ServiceCallback<AccountResource>)
Parameters
- resourceGroupName
-
string
Name of the resource group within the Azure subscription.
- resourceName
-
string
Name of the resource.
- callback
The callback
listByResourceGroup(string, RequestOptionsBase)
Gets all Visual Studio Team Services account resources under the resource group linked to the specified Azure subscription.
function listByResourceGroup(resourceGroupName: string, options?: RequestOptionsBase): Promise<AccountsListByResourceGroupResponse>
Parameters
- resourceGroupName
-
string
Name of the resource group within the Azure subscription.
- options
- RequestOptionsBase
The optional parameters
Returns
Promise<AccountsListByResourceGroupResponse>
Promise<Models.AccountsListByResourceGroupResponse>
listByResourceGroup(string, RequestOptionsBase, ServiceCallback<AccountResourceListResult>)
function listByResourceGroup(resourceGroupName: string, options: RequestOptionsBase, callback: ServiceCallback<AccountResourceListResult>)
Parameters
- resourceGroupName
-
string
Name of the resource group within the Azure subscription.
- options
- RequestOptionsBase
The optional parameters
- callback
The callback
listByResourceGroup(string, ServiceCallback<AccountResourceListResult>)
function listByResourceGroup(resourceGroupName: string, callback: ServiceCallback<AccountResourceListResult>)
Parameters
- resourceGroupName
-
string
Name of the resource group within the Azure subscription.
- callback
The callback
update(string, AccountTagRequest, string, RequestOptionsBase)
Updates tags for Visual Studio Team Services account resource.
function update(resourceGroupName: string, body: AccountTagRequest, resourceName: string, options?: RequestOptionsBase): Promise<AccountsUpdateResponse>
Parameters
- resourceGroupName
-
string
Name of the resource group within the Azure subscription.
- body
- AccountTagRequest
The request data.
- resourceName
-
string
Name of the resource.
- options
- RequestOptionsBase
The optional parameters
Returns
Promise<AccountsUpdateResponse>
Promise<Models.AccountsUpdateResponse>
update(string, AccountTagRequest, string, RequestOptionsBase, ServiceCallback<AccountResource>)
function update(resourceGroupName: string, body: AccountTagRequest, resourceName: string, options: RequestOptionsBase, callback: ServiceCallback<AccountResource>)
Parameters
- resourceGroupName
-
string
Name of the resource group within the Azure subscription.
- body
- AccountTagRequest
The request data.
- resourceName
-
string
Name of the resource.
- options
- RequestOptionsBase
The optional parameters
- callback
The callback
update(string, AccountTagRequest, string, ServiceCallback<AccountResource>)
function update(resourceGroupName: string, body: AccountTagRequest, resourceName: string, callback: ServiceCallback<AccountResource>)
Parameters
- resourceGroupName
-
string
Name of the resource group within the Azure subscription.
- body
- AccountTagRequest
The request data.
- resourceName
-
string
Name of the resource.
- callback
The callback