WorkbookRevisionCollection Class

Definition

A class representing a collection of WorkbookRevisionResource and their operations. Each WorkbookRevisionResource in the collection will belong to the same instance of WorkbookResource. To get a WorkbookRevisionCollection instance call the GetWorkbookRevisions method from an instance of WorkbookResource.

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

Constructors

WorkbookRevisionCollection()

Initializes a new instance of the WorkbookRevisionCollection 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

Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/workbooks/{resourceName}/revisions/{revisionId}
  • Operation Id: Workbooks_RevisionGet
  • Default Api Version: 2022-04-01
  • Resource: WorkbookRevisionResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/workbooks/{resourceName}/revisions/{revisionId}
  • Operation Id: Workbooks_RevisionGet
  • Default Api Version: 2022-04-01
  • Resource: WorkbookRevisionResource
Get(String, CancellationToken)

Get a single workbook revision defined by its revisionId.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/workbooks/{resourceName}/revisions/{revisionId}
  • Operation Id: Workbooks_RevisionGet
  • Default Api Version: 2022-04-01
  • Resource: WorkbookRevisionResource
GetAll(CancellationToken)

Get the revisions for the workbook defined by its resourceName.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/workbooks/{resourceName}/revisions
  • Operation Id: Workbooks_RevisionsList
  • Default Api Version: 2022-04-01
  • Resource: WorkbookRevisionResource
GetAllAsync(CancellationToken)

Get the revisions for the workbook defined by its resourceName.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/workbooks/{resourceName}/revisions
  • Operation Id: Workbooks_RevisionsList
  • Default Api Version: 2022-04-01
  • Resource: WorkbookRevisionResource
GetAsync(String, CancellationToken)

Get a single workbook revision defined by its revisionId.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/workbooks/{resourceName}/revisions/{revisionId}
  • Operation Id: Workbooks_RevisionGet
  • Default Api Version: 2022-04-01
  • Resource: WorkbookRevisionResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/workbooks/{resourceName}/revisions/{revisionId}
  • Operation Id: Workbooks_RevisionGet
  • Default Api Version: 2022-04-01
  • Resource: WorkbookRevisionResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/workbooks/{resourceName}/revisions/{revisionId}
  • Operation Id: Workbooks_RevisionGet
  • Default Api Version: 2022-04-01
  • Resource: WorkbookRevisionResource
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<WorkbookRevisionResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<WorkbookRevisionResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to