Bagikan melalui


WebhookOperations interface

Antarmuka yang mewakili WebhookOperations.

Metode

createOrUpdate(string, string, string, WebhookCreateOrUpdateParameters, WebhookCreateOrUpdateOptionalParams)

Buat webhook yang diidentifikasi dengan nama webhook.

delete(string, string, string, WebhookDeleteOptionalParams)

Hapus webhook berdasarkan nama.

generateUri(string, string, WebhookGenerateUriOptionalParams)

Menghasilkan Uri untuk digunakan dalam membuat webhook.

get(string, string, string, WebhookGetOptionalParams)

Ambil webhook yang diidentifikasi dengan nama webhook.

listByAutomationAccount(string, string, WebhookListByAutomationAccountOptionalParams)

Ambil daftar webhook.

update(string, string, string, WebhookUpdateParameters, WebhookUpdateOptionalParams)

Perbarui webhook yang diidentifikasi dengan nama webhook.

Detail Metode

createOrUpdate(string, string, string, WebhookCreateOrUpdateParameters, WebhookCreateOrUpdateOptionalParams)

Buat webhook yang diidentifikasi dengan nama webhook.

function createOrUpdate(resourceGroupName: string, automationAccountName: string, webhookName: string, parameters: WebhookCreateOrUpdateParameters, options?: WebhookCreateOrUpdateOptionalParams): Promise<Webhook>

Parameter

resourceGroupName

string

Nama grup Sumber Daya Azure.

automationAccountName

string

Nama akun automasi.

webhookName

string

Nama webhook.

parameters
WebhookCreateOrUpdateParameters

Parameter buat atau perbarui untuk webhook.

options
WebhookCreateOrUpdateOptionalParams

Parameter opsi.

Mengembalikan

Promise<Webhook>

delete(string, string, string, WebhookDeleteOptionalParams)

Hapus webhook berdasarkan nama.

function delete(resourceGroupName: string, automationAccountName: string, webhookName: string, options?: WebhookDeleteOptionalParams): Promise<void>

Parameter

resourceGroupName

string

Nama grup Sumber Daya Azure.

automationAccountName

string

Nama akun automasi.

webhookName

string

Nama webhook.

options
WebhookDeleteOptionalParams

Parameter opsi.

Mengembalikan

Promise<void>

generateUri(string, string, WebhookGenerateUriOptionalParams)

Menghasilkan Uri untuk digunakan dalam membuat webhook.

function generateUri(resourceGroupName: string, automationAccountName: string, options?: WebhookGenerateUriOptionalParams): Promise<WebhookGenerateUriResponse>

Parameter

resourceGroupName

string

Nama grup Sumber Daya Azure.

automationAccountName

string

Nama akun automasi.

options
WebhookGenerateUriOptionalParams

Parameter opsi.

Mengembalikan

get(string, string, string, WebhookGetOptionalParams)

Ambil webhook yang diidentifikasi dengan nama webhook.

function get(resourceGroupName: string, automationAccountName: string, webhookName: string, options?: WebhookGetOptionalParams): Promise<Webhook>

Parameter

resourceGroupName

string

Nama grup Sumber Daya Azure.

automationAccountName

string

Nama akun automasi.

webhookName

string

Nama webhook.

options
WebhookGetOptionalParams

Parameter opsi.

Mengembalikan

Promise<Webhook>

listByAutomationAccount(string, string, WebhookListByAutomationAccountOptionalParams)

Ambil daftar webhook.

function listByAutomationAccount(resourceGroupName: string, automationAccountName: string, options?: WebhookListByAutomationAccountOptionalParams): PagedAsyncIterableIterator<Webhook, Webhook[], PageSettings>

Parameter

resourceGroupName

string

Nama grup Sumber Daya Azure.

automationAccountName

string

Nama akun automasi.

Mengembalikan

update(string, string, string, WebhookUpdateParameters, WebhookUpdateOptionalParams)

Perbarui webhook yang diidentifikasi dengan nama webhook.

function update(resourceGroupName: string, automationAccountName: string, webhookName: string, parameters: WebhookUpdateParameters, options?: WebhookUpdateOptionalParams): Promise<Webhook>

Parameter

resourceGroupName

string

Nama grup Sumber Daya Azure.

automationAccountName

string

Nama akun automasi.

webhookName

string

Nama webhook.

parameters
WebhookUpdateParameters

Parameter pembaruan untuk webhook.

options
WebhookUpdateOptionalParams

Parameter opsi.

Mengembalikan

Promise<Webhook>