Webhook interface
Gränssnitt som representerar en webhook.
Metoder
| create |
Skapa en ny AppComplianceAutomation-webhook eller uppdatera en avslutad AppComplianceAutomation-webhook. |
| delete(string, string, Webhook |
Ta bort en AppComplianceAutomation-webhook. |
| get(string, string, Webhook |
Hämta webhooken AppComplianceAutomation och dess egenskaper. |
| list(string, Webhook |
Hämta webhookslistan AppComplianceAutomation. |
| update(string, string, Webhook |
Uppdatera en avslutad AppComplianceAutomation-webhook. |
Metodinformation
createOrUpdate(string, string, WebhookResource, WebhookCreateOrUpdateOptionalParams)
Skapa en ny AppComplianceAutomation-webhook eller uppdatera en avslutad AppComplianceAutomation-webhook.
function createOrUpdate(reportName: string, webhookName: string, properties: WebhookResource, options?: WebhookCreateOrUpdateOptionalParams): Promise<WebhookResource>
Parametrar
- reportName
-
string
Rapportnamn.
- webhookName
-
string
Webhook-namn.
- properties
- WebhookResource
Parametrar för åtgärden skapa eller uppdatera
Alternativparametrarna.
Returer
Promise<WebhookResource>
delete(string, string, WebhookDeleteOptionalParams)
Ta bort en AppComplianceAutomation-webhook.
function delete(reportName: string, webhookName: string, options?: WebhookDeleteOptionalParams): Promise<void>
Parametrar
- reportName
-
string
Rapportnamn.
- webhookName
-
string
Webhook-namn.
- options
- WebhookDeleteOptionalParams
Alternativparametrarna.
Returer
Promise<void>
get(string, string, WebhookGetOptionalParams)
Hämta webhooken AppComplianceAutomation och dess egenskaper.
function get(reportName: string, webhookName: string, options?: WebhookGetOptionalParams): Promise<WebhookResource>
Parametrar
- reportName
-
string
Rapportnamn.
- webhookName
-
string
Webhook-namn.
- options
- WebhookGetOptionalParams
Alternativparametrarna.
Returer
Promise<WebhookResource>
list(string, WebhookListOptionalParams)
Hämta webhookslistan AppComplianceAutomation.
function list(reportName: string, options?: WebhookListOptionalParams): PagedAsyncIterableIterator<WebhookResource, WebhookResource[], PageSettings>
Parametrar
- reportName
-
string
Rapportnamn.
- options
- WebhookListOptionalParams
Alternativparametrarna.
Returer
update(string, string, WebhookResourcePatch, WebhookUpdateOptionalParams)
Uppdatera en avslutad AppComplianceAutomation-webhook.
function update(reportName: string, webhookName: string, properties: WebhookResourcePatch, options?: WebhookUpdateOptionalParams): Promise<WebhookResource>
Parametrar
- reportName
-
string
Rapportnamn.
- webhookName
-
string
Webhook-namn.
- properties
- WebhookResourcePatch
Parametrar för åtgärden skapa eller uppdatera
- options
- WebhookUpdateOptionalParams
Alternativparametrarna.
Returer
Promise<WebhookResource>