WorkbookTemplates interface
Interface representing a WorkbookTemplates.
Methods
create |
Create a new workbook template. |
delete(string, string, Workbook |
Delete a workbook template. |
get(string, string, Workbook |
Get a single workbook template by its resourceName. |
list |
Get all Workbook templates defined within a specified resource group. |
update(string, string, Workbook |
Updates a workbook template that has already been added. |
Method Details
createOrUpdate(string, string, WorkbookTemplate, WorkbookTemplatesCreateOrUpdateOptionalParams)
Create a new workbook template.
function createOrUpdate(resourceGroupName: string, resourceName: string, workbookTemplateProperties: WorkbookTemplate, options?: WorkbookTemplatesCreateOrUpdateOptionalParams): Promise<WorkbookTemplate>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- resourceName
-
string
The name of the Application Insights component resource.
- workbookTemplateProperties
- WorkbookTemplate
Properties that need to be specified to create a new workbook.
The options parameters.
Returns
Promise<WorkbookTemplate>
delete(string, string, WorkbookTemplatesDeleteOptionalParams)
Delete a workbook template.
function delete(resourceGroupName: string, resourceName: string, options?: WorkbookTemplatesDeleteOptionalParams): Promise<void>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- resourceName
-
string
The name of the Application Insights component resource.
The options parameters.
Returns
Promise<void>
get(string, string, WorkbookTemplatesGetOptionalParams)
Get a single workbook template by its resourceName.
function get(resourceGroupName: string, resourceName: string, options?: WorkbookTemplatesGetOptionalParams): Promise<WorkbookTemplate>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- resourceName
-
string
The name of the Application Insights component resource.
The options parameters.
Returns
Promise<WorkbookTemplate>
listByResourceGroup(string, WorkbookTemplatesListByResourceGroupOptionalParams)
Get all Workbook templates defined within a specified resource group.
function listByResourceGroup(resourceGroupName: string, options?: WorkbookTemplatesListByResourceGroupOptionalParams): PagedAsyncIterableIterator<WorkbookTemplate, WorkbookTemplate[], PageSettings>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
The options parameters.
Returns
update(string, string, WorkbookTemplatesUpdateOptionalParams)
Updates a workbook template that has already been added.
function update(resourceGroupName: string, resourceName: string, options?: WorkbookTemplatesUpdateOptionalParams): Promise<WorkbookTemplate>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- resourceName
-
string
The name of the Application Insights component resource.
The options parameters.
Returns
Promise<WorkbookTemplate>
Azure SDK for JavaScript