WorkbookTemplates class
表示 WorkbookTemplates 的类。
构造函数
| Workbook |
创建 WorkbookTemplates。 |
方法
构造函数详细信息
WorkbookTemplates(ApplicationInsightsManagementClientContext)
创建 WorkbookTemplates。
new WorkbookTemplates(client: ApplicationInsightsManagementClientContext)
参数
对服务客户端的引用。
方法详细信息
createOrUpdate(string, string, WorkbookTemplate, RequestOptionsBase)
创建新的工作簿模板。
function createOrUpdate(resourceGroupName: string, resourceName: string, workbookTemplateProperties: WorkbookTemplate, options?: RequestOptionsBase): Promise<WorkbookTemplatesCreateOrUpdateResponse>
参数
- resourceGroupName
-
string
资源组的名称。 名称不区分大小写。
- resourceName
-
string
Application Insights 组件资源的名称。
- workbookTemplateProperties
- WorkbookTemplate
需要指定以创建新工作簿的属性。
- options
- RequestOptionsBase
可选参数
返回
Promise<Models.WorkbookTemplatesCreateOrUpdateResponse>
createOrUpdate(string, string, WorkbookTemplate, RequestOptionsBase, ServiceCallback<WorkbookTemplate>)
function createOrUpdate(resourceGroupName: string, resourceName: string, workbookTemplateProperties: WorkbookTemplate, options: RequestOptionsBase, callback: ServiceCallback<WorkbookTemplate>)
参数
- resourceGroupName
-
string
资源组的名称。 名称不区分大小写。
- resourceName
-
string
Application Insights 组件资源的名称。
- workbookTemplateProperties
- WorkbookTemplate
需要指定以创建新工作簿的属性。
- options
- RequestOptionsBase
可选参数
- callback
回调
createOrUpdate(string, string, WorkbookTemplate, ServiceCallback<WorkbookTemplate>)
function createOrUpdate(resourceGroupName: string, resourceName: string, workbookTemplateProperties: WorkbookTemplate, callback: ServiceCallback<WorkbookTemplate>)
参数
- resourceGroupName
-
string
资源组的名称。 名称不区分大小写。
- resourceName
-
string
Application Insights 组件资源的名称。
- workbookTemplateProperties
- WorkbookTemplate
需要指定以创建新工作簿的属性。
- callback
回调
deleteMethod(string, string, RequestOptionsBase)
删除工作簿模板。
function deleteMethod(resourceGroupName: string, resourceName: string, options?: RequestOptionsBase): Promise<RestResponse>
参数
- resourceGroupName
-
string
资源组的名称。 名称不区分大小写。
- resourceName
-
string
Application Insights 组件资源的名称。
- options
- RequestOptionsBase
可选参数
返回
Promise<RestResponse>
承诺<msRest.RestResponse>
deleteMethod(string, string, RequestOptionsBase, ServiceCallback<void>)
function deleteMethod(resourceGroupName: string, resourceName: string, options: RequestOptionsBase, callback: ServiceCallback<void>)
参数
- resourceGroupName
-
string
资源组的名称。 名称不区分大小写。
- resourceName
-
string
Application Insights 组件资源的名称。
- options
- RequestOptionsBase
可选参数
- callback
-
ServiceCallback<void>
回调
deleteMethod(string, string, ServiceCallback<void>)
function deleteMethod(resourceGroupName: string, resourceName: string, callback: ServiceCallback<void>)
参数
- resourceGroupName
-
string
资源组的名称。 名称不区分大小写。
- resourceName
-
string
Application Insights 组件资源的名称。
- callback
-
ServiceCallback<void>
回调
get(string, string, RequestOptionsBase)
按 resourceName 获取单个工作簿模板。
function get(resourceGroupName: string, resourceName: string, options?: RequestOptionsBase): Promise<WorkbookTemplatesGetResponse>
参数
- resourceGroupName
-
string
资源组的名称。 名称不区分大小写。
- resourceName
-
string
Application Insights 组件资源的名称。
- options
- RequestOptionsBase
可选参数
返回
Promise<WorkbookTemplatesGetResponse>
承诺<Models.WorkbookTemplatesGetResponse>
get(string, string, RequestOptionsBase, ServiceCallback<WorkbookTemplate>)
function get(resourceGroupName: string, resourceName: string, options: RequestOptionsBase, callback: ServiceCallback<WorkbookTemplate>)
参数
- resourceGroupName
-
string
资源组的名称。 名称不区分大小写。
- resourceName
-
string
Application Insights 组件资源的名称。
- options
- RequestOptionsBase
可选参数
- callback
回调
get(string, string, ServiceCallback<WorkbookTemplate>)
function get(resourceGroupName: string, resourceName: string, callback: ServiceCallback<WorkbookTemplate>)
参数
- resourceGroupName
-
string
资源组的名称。 名称不区分大小写。
- resourceName
-
string
Application Insights 组件资源的名称。
- callback
回调
listByResourceGroup(string, RequestOptionsBase)
获取指定资源组中定义的所有工作簿模板。
function listByResourceGroup(resourceGroupName: string, options?: RequestOptionsBase): Promise<WorkbookTemplatesListByResourceGroupResponse>
参数
- resourceGroupName
-
string
资源组的名称。 名称不区分大小写。
- options
- RequestOptionsBase
可选参数
返回
Promise<Models.WorkbookTemplatesListByResourceGroupResponse>
listByResourceGroup(string, RequestOptionsBase, ServiceCallback<WorkbookTemplatesListResult>)
function listByResourceGroup(resourceGroupName: string, options: RequestOptionsBase, callback: ServiceCallback<WorkbookTemplatesListResult>)
参数
- resourceGroupName
-
string
资源组的名称。 名称不区分大小写。
- options
- RequestOptionsBase
可选参数
- callback
回调
listByResourceGroup(string, ServiceCallback<WorkbookTemplatesListResult>)
function listByResourceGroup(resourceGroupName: string, callback: ServiceCallback<WorkbookTemplatesListResult>)
参数
- resourceGroupName
-
string
资源组的名称。 名称不区分大小写。
- callback
回调
update(string, string, ServiceCallback<WorkbookTemplate>)
function update(resourceGroupName: string, resourceName: string, callback: ServiceCallback<WorkbookTemplate>)
参数
- resourceGroupName
-
string
资源组的名称。 名称不区分大小写。
- resourceName
-
string
Application Insights 组件资源的名称。
- callback
回调
update(string, string, WorkbookTemplatesUpdateOptionalParams)
更新已添加的工作簿模板。
function update(resourceGroupName: string, resourceName: string, options?: WorkbookTemplatesUpdateOptionalParams): Promise<WorkbookTemplatesUpdateResponse>
参数
- resourceGroupName
-
string
资源组的名称。 名称不区分大小写。
- resourceName
-
string
Application Insights 组件资源的名称。
可选参数
返回
Promise<WorkbookTemplatesUpdateResponse>
Promise<Models.WorkbookTemplatesUpdateResponse>
update(string, string, WorkbookTemplatesUpdateOptionalParams, ServiceCallback<WorkbookTemplate>)
function update(resourceGroupName: string, resourceName: string, options: WorkbookTemplatesUpdateOptionalParams, callback: ServiceCallback<WorkbookTemplate>)
参数
- resourceGroupName
-
string
资源组的名称。 名称不区分大小写。
- resourceName
-
string
Application Insights 组件资源的名称。
可选参数
- callback
回调