ReportResourceCollection Class

Definition

A class representing a collection of ReportResource and their operations. Each ReportResource in the collection will belong to the same instance of TenantResource. To get a ReportResourceCollection instance call the GetReportResources method from an instance of TenantResource.

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

Constructors

ReportResourceCollection()

Initializes a new instance of the ReportResourceCollection 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, ReportResourceData, CancellationToken)

Create a new AppComplianceAutomation report or update an exiting AppComplianceAutomation report.

  • Request Path: /providers/Microsoft.AppComplianceAutomation/reports/{reportName}
  • Operation Id: Report_CreateOrUpdate
CreateOrUpdateAsync(WaitUntil, String, ReportResourceData, CancellationToken)

Create a new AppComplianceAutomation report or update an exiting AppComplianceAutomation report.

  • Request Path: /providers/Microsoft.AppComplianceAutomation/reports/{reportName}
  • Operation Id: Report_CreateOrUpdate
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /providers/Microsoft.AppComplianceAutomation/reports/{reportName}
  • Operation Id: Report_Get
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /providers/Microsoft.AppComplianceAutomation/reports/{reportName}
  • Operation Id: Report_Get
Get(String, CancellationToken)

Get the AppComplianceAutomation report and its properties.

  • Request Path: /providers/Microsoft.AppComplianceAutomation/reports/{reportName}
  • Operation Id: Report_Get
GetAll(String, Nullable<Int32>, String, String, String, CancellationToken)

Get the AppComplianceAutomation report list for the tenant.

  • Request Path: /providers/Microsoft.AppComplianceAutomation/reports
  • Operation Id: Reports_List
GetAllAsync(String, Nullable<Int32>, String, String, String, CancellationToken)

Get the AppComplianceAutomation report list for the tenant.

  • Request Path: /providers/Microsoft.AppComplianceAutomation/reports
  • Operation Id: Reports_List
GetAsync(String, CancellationToken)

Get the AppComplianceAutomation report and its properties.

  • Request Path: /providers/Microsoft.AppComplianceAutomation/reports/{reportName}
  • Operation Id: Report_Get
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /providers/Microsoft.AppComplianceAutomation/reports/{reportName}
  • Operation Id: Report_Get
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /providers/Microsoft.AppComplianceAutomation/reports/{reportName}
  • Operation Id: Report_Get
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<ReportResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<ReportResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to