AppComplianceReportSnapshotCollection Class

Definition

A class representing a collection of AppComplianceReportSnapshotResource and their operations. Each AppComplianceReportSnapshotResource in the collection will belong to the same instance of AppComplianceReportResource. To get an AppComplianceReportSnapshotCollection instance call the GetAppComplianceReportSnapshots method from an instance of AppComplianceReportResource.

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

Constructors

AppComplianceReportSnapshotCollection()

Initializes a new instance of the AppComplianceReportSnapshotCollection 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: /providers/Microsoft.AppComplianceAutomation/reports/{reportName}/snapshots/{snapshotName}
  • Operation Id: Snapshot_Get
  • Default Api Version: 2024-06-27
  • Resource: AppComplianceReportSnapshotResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /providers/Microsoft.AppComplianceAutomation/reports/{reportName}/snapshots/{snapshotName}
  • Operation Id: Snapshot_Get
  • Default Api Version: 2024-06-27
  • Resource: AppComplianceReportSnapshotResource
Get(String, CancellationToken)

Get the AppComplianceAutomation snapshot and its properties.

  • Request Path: /providers/Microsoft.AppComplianceAutomation/reports/{reportName}/snapshots/{snapshotName}
  • Operation Id: Snapshot_Get
  • Default Api Version: 2024-06-27
  • Resource: AppComplianceReportSnapshotResource
GetAll(AppComplianceReportSnapshotCollectionGetAllOptions, CancellationToken)

Get the AppComplianceAutomation snapshot list.

  • Request Path: /providers/Microsoft.AppComplianceAutomation/reports/{reportName}/snapshots
  • Operation Id: Snapshot_List
  • Default Api Version: 2024-06-27
  • Resource: AppComplianceReportSnapshotResource
GetAllAsync(AppComplianceReportSnapshotCollectionGetAllOptions, CancellationToken)

Get the AppComplianceAutomation snapshot list.

  • Request Path: /providers/Microsoft.AppComplianceAutomation/reports/{reportName}/snapshots
  • Operation Id: Snapshot_List
  • Default Api Version: 2024-06-27
  • Resource: AppComplianceReportSnapshotResource
GetAsync(String, CancellationToken)

Get the AppComplianceAutomation snapshot and its properties.

  • Request Path: /providers/Microsoft.AppComplianceAutomation/reports/{reportName}/snapshots/{snapshotName}
  • Operation Id: Snapshot_Get
  • Default Api Version: 2024-06-27
  • Resource: AppComplianceReportSnapshotResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /providers/Microsoft.AppComplianceAutomation/reports/{reportName}/snapshots/{snapshotName}
  • Operation Id: Snapshot_Get
  • Default Api Version: 2024-06-27
  • Resource: AppComplianceReportSnapshotResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /providers/Microsoft.AppComplianceAutomation/reports/{reportName}/snapshots/{snapshotName}
  • Operation Id: Snapshot_Get
  • Default Api Version: 2024-06-27
  • Resource: AppComplianceReportSnapshotResource
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<AppComplianceReportSnapshotResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<AppComplianceReportSnapshotResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to