WorkbookTemplateCollection Class

Definition

A class representing a collection of WorkbookTemplateResource and their operations. Each WorkbookTemplateResource in the collection will belong to the same instance of ResourceGroupResource. To get a WorkbookTemplateCollection instance call the GetWorkbookTemplates method from an instance of ResourceGroupResource.

public class WorkbookTemplateCollection : Azure.ResourceManager.ArmCollection, System.Collections.Generic.IAsyncEnumerable<Azure.ResourceManager.ApplicationInsights.WorkbookTemplateResource>, System.Collections.Generic.IEnumerable<Azure.ResourceManager.ApplicationInsights.WorkbookTemplateResource>
type WorkbookTemplateCollection = class
    inherit ArmCollection
    interface seq<WorkbookTemplateResource>
    interface IEnumerable
    interface IAsyncEnumerable<WorkbookTemplateResource>
Public Class WorkbookTemplateCollection
Inherits ArmCollection
Implements IAsyncEnumerable(Of WorkbookTemplateResource), IEnumerable(Of WorkbookTemplateResource)
Inheritance
WorkbookTemplateCollection
Implements

Constructors

WorkbookTemplateCollection()

Initializes a new instance of the WorkbookTemplateCollection class for mocking.

Properties

Client

Gets the ArmClient this resource client was created from.

(Inherited from ArmCollection)
Diagnostics

Gets the diagnostic options for this resource client.

(Inherited from ArmCollection)
Endpoint

Gets the base uri for this resource client.

(Inherited from ArmCollection)
Id

Gets the resource identifier.

(Inherited from ArmCollection)
Pipeline

Gets the pipeline for this resource client.

(Inherited from ArmCollection)

Methods

CreateOrUpdate(WaitUntil, String, WorkbookTemplateData, CancellationToken)

Create a new workbook template.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/workbooktemplates/{resourceName}
  • Operation Id: WorkbookTemplates_CreateOrUpdate
  • Default Api Version: 2020-11-20
  • Resource: WorkbookTemplateResource
CreateOrUpdateAsync(WaitUntil, String, WorkbookTemplateData, CancellationToken)

Create a new workbook template.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/workbooktemplates/{resourceName}
  • Operation Id: WorkbookTemplates_CreateOrUpdate
  • Default Api Version: 2020-11-20
  • Resource: WorkbookTemplateResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/workbooktemplates/{resourceName}
  • Operation Id: WorkbookTemplates_Get
  • Default Api Version: 2020-11-20
  • Resource: WorkbookTemplateResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/workbooktemplates/{resourceName}
  • Operation Id: WorkbookTemplates_Get
  • Default Api Version: 2020-11-20
  • Resource: WorkbookTemplateResource
Get(String, CancellationToken)

Get a single workbook template by its resourceName.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/workbooktemplates/{resourceName}
  • Operation Id: WorkbookTemplates_Get
  • Default Api Version: 2020-11-20
  • Resource: WorkbookTemplateResource
GetAll(CancellationToken)

Get all Workbook templates defined within a specified resource group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/workbooktemplates
  • Operation Id: WorkbookTemplates_ListByResourceGroup
  • Default Api Version: 2020-11-20
  • Resource: WorkbookTemplateResource
GetAllAsync(CancellationToken)

Get all Workbook templates defined within a specified resource group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/workbooktemplates
  • Operation Id: WorkbookTemplates_ListByResourceGroup
  • Default Api Version: 2020-11-20
  • Resource: WorkbookTemplateResource
GetAsync(String, CancellationToken)

Get a single workbook template by its resourceName.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/workbooktemplates/{resourceName}
  • Operation Id: WorkbookTemplates_Get
  • Default Api Version: 2020-11-20
  • Resource: WorkbookTemplateResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/workbooktemplates/{resourceName}
  • Operation Id: WorkbookTemplates_Get
  • Default Api Version: 2020-11-20
  • Resource: WorkbookTemplateResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/workbooktemplates/{resourceName}
  • Operation Id: WorkbookTemplates_Get
  • Default Api Version: 2020-11-20
  • Resource: WorkbookTemplateResource
TryGetApiVersion(ResourceType, String)

Gets the api version override if it has been set for the current client options.

(Inherited from ArmCollection)

Explicit Interface Implementations

IAsyncEnumerable<WorkbookTemplateResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<WorkbookTemplateResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to