Extensions interface
Interface representing a Extensions.
Methods
create(string, string, string, Extension |
Registers the extension with a Visual Studio Team Services account. |
delete(string, string, string, Extensions |
Removes an extension resource registration for a Visual Studio Team Services account. |
get(string, string, string, Extensions |
Gets the details of an extension associated with a Visual Studio Team Services account resource. |
list |
Gets the details of the extension resources created within the resource group. |
update(string, string, string, Extension |
Updates an existing extension registration for the Visual Studio Team Services account. |
Method Details
create(string, string, string, ExtensionResourceRequest, ExtensionsCreateOptionalParams)
Registers the extension with a Visual Studio Team Services account.
function create(resourceGroupName: string, accountResourceName: string, extensionResourceName: string, body: ExtensionResourceRequest, options?: ExtensionsCreateOptionalParams): Promise<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.
An object containing additional information related to the extension request.
- options
- ExtensionsCreateOptionalParams
The options parameters.
Returns
Promise<ExtensionResource>
delete(string, string, string, ExtensionsDeleteOptionalParams)
Removes an extension resource registration for a Visual Studio Team Services account.
function delete(resourceGroupName: string, accountResourceName: string, extensionResourceName: string, options?: ExtensionsDeleteOptionalParams): Promise<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
- ExtensionsDeleteOptionalParams
The options parameters.
Returns
Promise<void>
get(string, string, string, ExtensionsGetOptionalParams)
Gets the details of an extension associated with a Visual Studio Team Services account resource.
function get(resourceGroupName: string, accountResourceName: string, extensionResourceName: string, options?: ExtensionsGetOptionalParams): Promise<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
- ExtensionsGetOptionalParams
The options parameters.
Returns
Promise<ExtensionResource>
listByAccount(string, string, ExtensionsListByAccountOptionalParams)
Gets the details of the extension resources created within the resource group.
function listByAccount(resourceGroupName: string, accountResourceName: string, options?: ExtensionsListByAccountOptionalParams): Promise<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.
The options parameters.
Returns
Promise<ExtensionResourceListResult>
update(string, string, string, ExtensionResourceRequest, ExtensionsUpdateOptionalParams)
Updates an existing extension registration for the Visual Studio Team Services account.
function update(resourceGroupName: string, accountResourceName: string, extensionResourceName: string, body: ExtensionResourceRequest, options?: ExtensionsUpdateOptionalParams): Promise<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.
An object containing additional information related to the extension request.
- options
- ExtensionsUpdateOptionalParams
The options parameters.
Returns
Promise<ExtensionResource>
Azure SDK for JavaScript