Share via


AppComplianceReportWebhookCollection Class

Definition

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

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

Constructors

AppComplianceReportWebhookCollection()

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

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

  • Request Path: /providers/Microsoft.AppComplianceAutomation/reports/{reportName}/webhooks/{webhookName}
  • Operation Id: Webhook_CreateOrUpdate
  • Default Api Version: 2024-06-27
  • Resource: AppComplianceReportWebhookResource
CreateOrUpdateAsync(WaitUntil, String, AppComplianceReportWebhookData, CancellationToken)

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

  • Request Path: /providers/Microsoft.AppComplianceAutomation/reports/{reportName}/webhooks/{webhookName}
  • Operation Id: Webhook_CreateOrUpdate
  • Default Api Version: 2024-06-27
  • Resource: AppComplianceReportWebhookResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /providers/Microsoft.AppComplianceAutomation/reports/{reportName}/webhooks/{webhookName}
  • Operation Id: Webhook_Get
  • Default Api Version: 2024-06-27
  • Resource: AppComplianceReportWebhookResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /providers/Microsoft.AppComplianceAutomation/reports/{reportName}/webhooks/{webhookName}
  • Operation Id: Webhook_Get
  • Default Api Version: 2024-06-27
  • Resource: AppComplianceReportWebhookResource
Get(String, CancellationToken)

Get the AppComplianceAutomation webhook and its properties.

  • Request Path: /providers/Microsoft.AppComplianceAutomation/reports/{reportName}/webhooks/{webhookName}
  • Operation Id: Webhook_Get
  • Default Api Version: 2024-06-27
  • Resource: AppComplianceReportWebhookResource
GetAll(AppComplianceReportWebhookCollectionGetAllOptions, CancellationToken)

Get the AppComplianceAutomation webhook list.

  • Request Path: /providers/Microsoft.AppComplianceAutomation/reports/{reportName}/webhooks
  • Operation Id: Webhook_List
  • Default Api Version: 2024-06-27
  • Resource: AppComplianceReportWebhookResource
GetAllAsync(AppComplianceReportWebhookCollectionGetAllOptions, CancellationToken)

Get the AppComplianceAutomation webhook list.

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

Get the AppComplianceAutomation webhook and its properties.

  • Request Path: /providers/Microsoft.AppComplianceAutomation/reports/{reportName}/webhooks/{webhookName}
  • Operation Id: Webhook_Get
  • Default Api Version: 2024-06-27
  • Resource: AppComplianceReportWebhookResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /providers/Microsoft.AppComplianceAutomation/reports/{reportName}/webhooks/{webhookName}
  • Operation Id: Webhook_Get
  • Default Api Version: 2024-06-27
  • Resource: AppComplianceReportWebhookResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

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

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<AppComplianceReportWebhookResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to