Extensions class

Class representing a Extensions.

Constructors

Extensions(VisualStudioResourceProviderClientContext)

Create a Extensions.

Methods

create(string, ExtensionResourceRequest, string, string, RequestOptionsBase)

Registers the extension with a Visual Studio Team Services account.

create(string, ExtensionResourceRequest, string, string, RequestOptionsBase, ServiceCallback<ExtensionResource>)
create(string, ExtensionResourceRequest, string, string, ServiceCallback<ExtensionResource>)
deleteMethod(string, string, string, RequestOptionsBase)

Removes an extension resource registration for a Visual Studio Team Services account.

deleteMethod(string, string, string, RequestOptionsBase, ServiceCallback<void>)
deleteMethod(string, string, string, ServiceCallback<void>)
get(string, string, string, RequestOptionsBase)

Gets the details of an extension associated with a Visual Studio Team Services account resource.

get(string, string, string, RequestOptionsBase, ServiceCallback<ExtensionResource>)
get(string, string, string, ServiceCallback<ExtensionResource>)
listByAccount(string, string, RequestOptionsBase)

Gets the details of the extension resources created within the resource group.

listByAccount(string, string, RequestOptionsBase, ServiceCallback<ExtensionResourceListResult>)
listByAccount(string, string, ServiceCallback<ExtensionResourceListResult>)
update(string, ExtensionResourceRequest, string, string, RequestOptionsBase)

Updates an existing extension registration for the Visual Studio Team Services account.

update(string, ExtensionResourceRequest, string, string, RequestOptionsBase, ServiceCallback<ExtensionResource>)
update(string, ExtensionResourceRequest, string, string, ServiceCallback<ExtensionResource>)

Constructor Details

Extensions(VisualStudioResourceProviderClientContext)

Create a Extensions.

new Extensions(client: VisualStudioResourceProviderClientContext)

Parameters

client
VisualStudioResourceProviderClientContext

Reference to the service client.

Method Details

create(string, ExtensionResourceRequest, string, string, RequestOptionsBase)

Registers the extension with a Visual Studio Team Services account.

function create(resourceGroupName: string, body: ExtensionResourceRequest, accountResourceName: string, extensionResourceName: string, options?: RequestOptionsBase): Promise<ExtensionsCreateResponse>

Parameters

resourceGroupName

string

Name of the resource group within the Azure subscription.

body
ExtensionResourceRequest

An object containing additional information related to the extension request.

accountResourceName

string

The name of the Visual Studio Team Services account resource.

extensionResourceName

string

The name of the extension.

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.ExtensionsCreateResponse>

create(string, ExtensionResourceRequest, string, string, RequestOptionsBase, ServiceCallback<ExtensionResource>)

function create(resourceGroupName: string, body: ExtensionResourceRequest, accountResourceName: string, extensionResourceName: string, options: RequestOptionsBase, callback: ServiceCallback<ExtensionResource>)

Parameters

resourceGroupName

string

Name of the resource group within the Azure subscription.

body
ExtensionResourceRequest

An object containing additional information related to the extension request.

accountResourceName

string

The name of the Visual Studio Team Services account resource.

extensionResourceName

string

The name of the extension.

options
RequestOptionsBase

The optional parameters

callback

ServiceCallback<ExtensionResource>

The callback

create(string, ExtensionResourceRequest, string, string, ServiceCallback<ExtensionResource>)

function create(resourceGroupName: string, body: ExtensionResourceRequest, accountResourceName: string, extensionResourceName: string, callback: ServiceCallback<ExtensionResource>)

Parameters

resourceGroupName

string

Name of the resource group within the Azure subscription.

body
ExtensionResourceRequest

An object containing additional information related to the extension request.

accountResourceName

string

The name of the Visual Studio Team Services account resource.

extensionResourceName

string

The name of the extension.

callback

ServiceCallback<ExtensionResource>

The callback

deleteMethod(string, string, string, RequestOptionsBase)

Removes an extension resource registration for a Visual Studio Team Services account.

function deleteMethod(resourceGroupName: string, accountResourceName: string, extensionResourceName: string, options?: RequestOptionsBase): Promise<RestResponse>

Parameters

resourceGroupName

string

Name of the resource group within the Azure subscription.

accountResourceName

string

The name of the Visual Studio Team Services account resource.

extensionResourceName

string

The name of the extension.

options
RequestOptionsBase

The optional parameters

Returns

Promise<RestResponse>

Promise<msRest.RestResponse>

deleteMethod(string, string, string, RequestOptionsBase, ServiceCallback<void>)

function deleteMethod(resourceGroupName: string, accountResourceName: string, extensionResourceName: string, options: RequestOptionsBase, callback: ServiceCallback<void>)

Parameters

resourceGroupName

string

Name of the resource group within the Azure subscription.

accountResourceName

string

The name of the Visual Studio Team Services account resource.

extensionResourceName

string

The name of the extension.

options
RequestOptionsBase

The optional parameters

callback

ServiceCallback<void>

The callback

deleteMethod(string, string, string, ServiceCallback<void>)

function deleteMethod(resourceGroupName: string, accountResourceName: string, extensionResourceName: string, callback: ServiceCallback<void>)

Parameters

resourceGroupName

string

Name of the resource group within the Azure subscription.

accountResourceName

string

The name of the Visual Studio Team Services account resource.

extensionResourceName

string

The name of the extension.

callback

ServiceCallback<void>

The callback

get(string, string, string, RequestOptionsBase)

Gets the details of an extension associated with a Visual Studio Team Services account resource.

function get(resourceGroupName: string, accountResourceName: string, extensionResourceName: string, options?: RequestOptionsBase): Promise<ExtensionsGetResponse>

Parameters

resourceGroupName

string

Name of the resource group within the Azure subscription.

accountResourceName

string

The name of the Visual Studio Team Services account resource.

extensionResourceName

string

The name of the extension.

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.ExtensionsGetResponse>

get(string, string, string, RequestOptionsBase, ServiceCallback<ExtensionResource>)

function get(resourceGroupName: string, accountResourceName: string, extensionResourceName: string, options: RequestOptionsBase, callback: ServiceCallback<ExtensionResource>)

Parameters

resourceGroupName

string

Name of the resource group within the Azure subscription.

accountResourceName

string

The name of the Visual Studio Team Services account resource.

extensionResourceName

string

The name of the extension.

options
RequestOptionsBase

The optional parameters

callback

ServiceCallback<ExtensionResource>

The callback

get(string, string, string, ServiceCallback<ExtensionResource>)

function get(resourceGroupName: string, accountResourceName: string, extensionResourceName: string, callback: ServiceCallback<ExtensionResource>)

Parameters

resourceGroupName

string

Name of the resource group within the Azure subscription.

accountResourceName

string

The name of the Visual Studio Team Services account resource.

extensionResourceName

string

The name of the extension.

callback

ServiceCallback<ExtensionResource>

The callback

listByAccount(string, string, RequestOptionsBase)

Gets the details of the extension resources created within the resource group.

function listByAccount(resourceGroupName: string, accountResourceName: string, options?: RequestOptionsBase): Promise<ExtensionsListByAccountResponse>

Parameters

resourceGroupName

string

Name of the resource group within the Azure subscription.

accountResourceName

string

The name of the Visual Studio Team Services account resource.

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.ExtensionsListByAccountResponse>

listByAccount(string, string, RequestOptionsBase, ServiceCallback<ExtensionResourceListResult>)

function listByAccount(resourceGroupName: string, accountResourceName: string, options: RequestOptionsBase, callback: ServiceCallback<ExtensionResourceListResult>)

Parameters

resourceGroupName

string

Name of the resource group within the Azure subscription.

accountResourceName

string

The name of the Visual Studio Team Services account resource.

options
RequestOptionsBase

The optional parameters

listByAccount(string, string, ServiceCallback<ExtensionResourceListResult>)

function listByAccount(resourceGroupName: string, accountResourceName: string, callback: ServiceCallback<ExtensionResourceListResult>)

Parameters

resourceGroupName

string

Name of the resource group within the Azure subscription.

accountResourceName

string

The name of the Visual Studio Team Services account resource.

update(string, ExtensionResourceRequest, string, string, RequestOptionsBase)

Updates an existing extension registration for the Visual Studio Team Services account.

function update(resourceGroupName: string, body: ExtensionResourceRequest, accountResourceName: string, extensionResourceName: string, options?: RequestOptionsBase): Promise<ExtensionsUpdateResponse>

Parameters

resourceGroupName

string

Name of the resource group within the Azure subscription.

body
ExtensionResourceRequest

An object containing additional information related to the extension request.

accountResourceName

string

The name of the Visual Studio Team Services account resource.

extensionResourceName

string

The name of the extension.

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.ExtensionsUpdateResponse>

update(string, ExtensionResourceRequest, string, string, RequestOptionsBase, ServiceCallback<ExtensionResource>)

function update(resourceGroupName: string, body: ExtensionResourceRequest, accountResourceName: string, extensionResourceName: string, options: RequestOptionsBase, callback: ServiceCallback<ExtensionResource>)

Parameters

resourceGroupName

string

Name of the resource group within the Azure subscription.

body
ExtensionResourceRequest

An object containing additional information related to the extension request.

accountResourceName

string

The name of the Visual Studio Team Services account resource.

extensionResourceName

string

The name of the extension.

options
RequestOptionsBase

The optional parameters

callback

ServiceCallback<ExtensionResource>

The callback

update(string, ExtensionResourceRequest, string, string, ServiceCallback<ExtensionResource>)

function update(resourceGroupName: string, body: ExtensionResourceRequest, accountResourceName: string, extensionResourceName: string, callback: ServiceCallback<ExtensionResource>)

Parameters

resourceGroupName

string

Name of the resource group within the Azure subscription.

body
ExtensionResourceRequest

An object containing additional information related to the extension request.

accountResourceName

string

The name of the Visual Studio Team Services account resource.

extensionResourceName

string

The name of the extension.

callback

ServiceCallback<ExtensionResource>

The callback