Webhook interface
Interfaz que representa un webhook.
Métodos
| create |
Cree un webhook appComplianceAutomation o actualice un webhook de AppComplianceAutomation. |
| delete(string, string, Webhook |
Elimine un webhook AppComplianceAutomation. |
| get(string, string, Webhook |
Obtenga el webhook AppComplianceAutomation y sus propiedades. |
| list(string, Webhook |
Obtenga la lista de webhooks AppComplianceAutomation. |
| update(string, string, Webhook |
Actualice un webhook de AppComplianceAutomation de salida. |
Detalles del método
createOrUpdate(string, string, WebhookResource, WebhookCreateOrUpdateOptionalParams)
Cree un webhook appComplianceAutomation o actualice un webhook de AppComplianceAutomation.
function createOrUpdate(reportName: string, webhookName: string, properties: WebhookResource, options?: WebhookCreateOrUpdateOptionalParams): Promise<WebhookResource>
Parámetros
- reportName
-
string
Nombre del informe.
- webhookName
-
string
Nombre del webhook.
- properties
- WebhookResource
Parámetros para la operación de creación o actualización
Parámetros de opciones.
Devoluciones
Promise<WebhookResource>
delete(string, string, WebhookDeleteOptionalParams)
Elimine un webhook AppComplianceAutomation.
function delete(reportName: string, webhookName: string, options?: WebhookDeleteOptionalParams): Promise<void>
Parámetros
- reportName
-
string
Nombre del informe.
- webhookName
-
string
Nombre del webhook.
- options
- WebhookDeleteOptionalParams
Parámetros de opciones.
Devoluciones
Promise<void>
get(string, string, WebhookGetOptionalParams)
Obtenga el webhook AppComplianceAutomation y sus propiedades.
function get(reportName: string, webhookName: string, options?: WebhookGetOptionalParams): Promise<WebhookResource>
Parámetros
- reportName
-
string
Nombre del informe.
- webhookName
-
string
Nombre del webhook.
- options
- WebhookGetOptionalParams
Parámetros de opciones.
Devoluciones
Promise<WebhookResource>
list(string, WebhookListOptionalParams)
Obtenga la lista de webhooks AppComplianceAutomation.
function list(reportName: string, options?: WebhookListOptionalParams): PagedAsyncIterableIterator<WebhookResource, WebhookResource[], PageSettings>
Parámetros
- reportName
-
string
Nombre del informe.
- options
- WebhookListOptionalParams
Parámetros de opciones.
Devoluciones
update(string, string, WebhookResourcePatch, WebhookUpdateOptionalParams)
Actualice un webhook de AppComplianceAutomation de salida.
function update(reportName: string, webhookName: string, properties: WebhookResourcePatch, options?: WebhookUpdateOptionalParams): Promise<WebhookResource>
Parámetros
- reportName
-
string
Nombre del informe.
- webhookName
-
string
Nombre del webhook.
- properties
- WebhookResourcePatch
Parámetros para la operación de creación o actualización
- options
- WebhookUpdateOptionalParams
Parámetros de opciones.
Devoluciones
Promise<WebhookResource>