Extensions class
Class representing a Extensions.
Constructors
Extensions(Visual |
Create a Extensions. |
Methods
Constructor Details
Extensions(VisualStudioResourceProviderClientContext)
Create a Extensions.
new Extensions(client: VisualStudioResourceProviderClientContext)
Parameters
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.
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<ExtensionsCreateResponse>
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.
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
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.
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
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<ExtensionsGetResponse>
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
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
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<ExtensionsListByAccountResponse>
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
- callback
The callback
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.
- callback
The callback
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.
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<ExtensionsUpdateResponse>
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.
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
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.
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
The callback