WebhooksClient Interface

public interface WebhooksClient

An instance of this class provides access to all the operations defined in WebhooksClient.

Method Summary

Modifier and Type Method and Description
abstract WebhookResourceInner createOrUpdate(String reportName, String webhookName, WebhookResourceInner properties)

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

abstract Response<WebhookResourceInner> createOrUpdateWithResponse(String reportName, String webhookName, WebhookResourceInner properties, Context context)

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

abstract void delete(String reportName, String webhookName)

Delete an AppComplianceAutomation webhook.

abstract Response<Void> deleteWithResponse(String reportName, String webhookName, Context context)

Delete an AppComplianceAutomation webhook.

abstract WebhookResourceInner get(String reportName, String webhookName)

Get the AppComplianceAutomation webhook and its properties.

abstract Response<WebhookResourceInner> getWithResponse(String reportName, String webhookName, Context context)

Get the AppComplianceAutomation webhook and its properties.

abstract PagedIterable<WebhookResourceInner> list(String reportName)

Get the AppComplianceAutomation webhook list.

abstract PagedIterable<WebhookResourceInner> list(String reportName, String skipToken, Integer top, String select, String filter, String orderby, String offerGuid, String reportCreatorTenantId, Context context)

Get the AppComplianceAutomation webhook list.

abstract WebhookResourceInner update(String reportName, String webhookName, WebhookResourcePatch properties)

Update an exiting AppComplianceAutomation webhook.

abstract Response<WebhookResourceInner> updateWithResponse(String reportName, String webhookName, WebhookResourcePatch properties, Context context)

Update an exiting AppComplianceAutomation webhook.

Method Details

createOrUpdate

public abstract WebhookResourceInner createOrUpdate(String reportName, String webhookName, WebhookResourceInner properties)

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

Parameters:

reportName - Report Name.
webhookName - Webhook Name.
properties - Parameters for the create or update operation.

Returns:

a class represent an AppComplianceAutomation webhook resource.

createOrUpdateWithResponse

public abstract Response<WebhookResourceInner> createOrUpdateWithResponse(String reportName, String webhookName, WebhookResourceInner properties, Context context)

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

Parameters:

reportName - Report Name.
webhookName - Webhook Name.
properties - Parameters for the create or update operation.
context - The context to associate with this operation.

Returns:

a class represent an AppComplianceAutomation webhook resource along with Response<T>.

delete

public abstract void delete(String reportName, String webhookName)

Delete an AppComplianceAutomation webhook.

Parameters:

reportName - Report Name.
webhookName - Webhook Name.

deleteWithResponse

public abstract Response<Void> deleteWithResponse(String reportName, String webhookName, Context context)

Delete an AppComplianceAutomation webhook.

Parameters:

reportName - Report Name.
webhookName - Webhook Name.
context - The context to associate with this operation.

Returns:

get

public abstract WebhookResourceInner get(String reportName, String webhookName)

Get the AppComplianceAutomation webhook and its properties.

Parameters:

reportName - Report Name.
webhookName - Webhook Name.

Returns:

the AppComplianceAutomation webhook and its properties.

getWithResponse

public abstract Response<WebhookResourceInner> getWithResponse(String reportName, String webhookName, Context context)

Get the AppComplianceAutomation webhook and its properties.

Parameters:

reportName - Report Name.
webhookName - Webhook Name.
context - The context to associate with this operation.

Returns:

the AppComplianceAutomation webhook and its properties along with Response<T>.

list

public abstract PagedIterable<WebhookResourceInner> list(String reportName)

Get the AppComplianceAutomation webhook list.

Parameters:

reportName - Report Name.

Returns:

the AppComplianceAutomation webhook list as paginated response with PagedIterable<T>.

list

public abstract PagedIterable<WebhookResourceInner> list(String reportName, String skipToken, Integer top, String select, String filter, String orderby, String offerGuid, String reportCreatorTenantId, Context context)

Get the AppComplianceAutomation webhook list.

Parameters:

reportName - Report Name.
skipToken - Skip over when retrieving results.
top - Number of elements to return when retrieving results.
select - OData Select statement. Limits the properties on each entry to just those requested, e.g. ?$select=reportName,id.
filter - The filter to apply on the operation.
orderby - OData order by query option.
offerGuid - The offerGuid which mapping to the reports.
reportCreatorTenantId - The tenant id of the report creator.
context - The context to associate with this operation.

Returns:

the AppComplianceAutomation webhook list as paginated response with PagedIterable<T>.

update

public abstract WebhookResourceInner update(String reportName, String webhookName, WebhookResourcePatch properties)

Update an exiting AppComplianceAutomation webhook.

Parameters:

reportName - Report Name.
webhookName - Webhook Name.
properties - Parameters for the create or update operation.

Returns:

a class represent an AppComplianceAutomation webhook resource.

updateWithResponse

public abstract Response<WebhookResourceInner> updateWithResponse(String reportName, String webhookName, WebhookResourcePatch properties, Context context)

Update an exiting AppComplianceAutomation webhook.

Parameters:

reportName - Report Name.
webhookName - Webhook Name.
properties - Parameters for the create or update operation.
context - The context to associate with this operation.

Returns:

a class represent an AppComplianceAutomation webhook resource along with Response<T>.

Applies to