@azure/arm-automation
Version:
AutomationClient Library with typescript type definitions for node.js and browser.
175 lines • 10.1 kB
TypeScript
import * as msRest from "@azure/ms-rest-js";
import * as Models from "../models";
import { AutomationClientContext } from "../automationClientContext";
/** Class representing a WebhookOperations. */
export declare class WebhookOperations {
private readonly client;
/**
* Create a WebhookOperations.
* @param {AutomationClientContext} client Reference to the service client.
*/
constructor(client: AutomationClientContext);
/**
* Generates a Uri for use in creating a webhook.
* @param resourceGroupName Name of an Azure Resource group.
* @param automationAccountName The name of the automation account.
* @param [options] The optional parameters
* @returns Promise<Models.WebhookGenerateUriResponse>
*/
generateUri(resourceGroupName: string, automationAccountName: string, options?: msRest.RequestOptionsBase): Promise<Models.WebhookGenerateUriResponse>;
/**
* @param resourceGroupName Name of an Azure Resource group.
* @param automationAccountName The name of the automation account.
* @param callback The callback
*/
generateUri(resourceGroupName: string, automationAccountName: string, callback: msRest.ServiceCallback<string>): void;
/**
* @param resourceGroupName Name of an Azure Resource group.
* @param automationAccountName The name of the automation account.
* @param options The optional parameters
* @param callback The callback
*/
generateUri(resourceGroupName: string, automationAccountName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<string>): void;
/**
* Delete the webhook by name.
* @param resourceGroupName Name of an Azure Resource group.
* @param automationAccountName The name of the automation account.
* @param webhookName The webhook name.
* @param [options] The optional parameters
* @returns Promise<msRest.RestResponse>
*/
deleteMethod(resourceGroupName: string, automationAccountName: string, webhookName: string, options?: msRest.RequestOptionsBase): Promise<msRest.RestResponse>;
/**
* @param resourceGroupName Name of an Azure Resource group.
* @param automationAccountName The name of the automation account.
* @param webhookName The webhook name.
* @param callback The callback
*/
deleteMethod(resourceGroupName: string, automationAccountName: string, webhookName: string, callback: msRest.ServiceCallback<void>): void;
/**
* @param resourceGroupName Name of an Azure Resource group.
* @param automationAccountName The name of the automation account.
* @param webhookName The webhook name.
* @param options The optional parameters
* @param callback The callback
*/
deleteMethod(resourceGroupName: string, automationAccountName: string, webhookName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<void>): void;
/**
* Retrieve the webhook identified by webhook name.
* @param resourceGroupName Name of an Azure Resource group.
* @param automationAccountName The name of the automation account.
* @param webhookName The webhook name.
* @param [options] The optional parameters
* @returns Promise<Models.WebhookGetResponse>
*/
get(resourceGroupName: string, automationAccountName: string, webhookName: string, options?: msRest.RequestOptionsBase): Promise<Models.WebhookGetResponse>;
/**
* @param resourceGroupName Name of an Azure Resource group.
* @param automationAccountName The name of the automation account.
* @param webhookName The webhook name.
* @param callback The callback
*/
get(resourceGroupName: string, automationAccountName: string, webhookName: string, callback: msRest.ServiceCallback<Models.Webhook>): void;
/**
* @param resourceGroupName Name of an Azure Resource group.
* @param automationAccountName The name of the automation account.
* @param webhookName The webhook name.
* @param options The optional parameters
* @param callback The callback
*/
get(resourceGroupName: string, automationAccountName: string, webhookName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.Webhook>): void;
/**
* Create the webhook identified by webhook name.
* @param resourceGroupName Name of an Azure Resource group.
* @param automationAccountName The name of the automation account.
* @param webhookName The webhook name.
* @param parameters The create or update parameters for webhook.
* @param [options] The optional parameters
* @returns Promise<Models.WebhookCreateOrUpdateResponse>
*/
createOrUpdate(resourceGroupName: string, automationAccountName: string, webhookName: string, parameters: Models.WebhookCreateOrUpdateParameters, options?: msRest.RequestOptionsBase): Promise<Models.WebhookCreateOrUpdateResponse>;
/**
* @param resourceGroupName Name of an Azure Resource group.
* @param automationAccountName The name of the automation account.
* @param webhookName The webhook name.
* @param parameters The create or update parameters for webhook.
* @param callback The callback
*/
createOrUpdate(resourceGroupName: string, automationAccountName: string, webhookName: string, parameters: Models.WebhookCreateOrUpdateParameters, callback: msRest.ServiceCallback<Models.Webhook>): void;
/**
* @param resourceGroupName Name of an Azure Resource group.
* @param automationAccountName The name of the automation account.
* @param webhookName The webhook name.
* @param parameters The create or update parameters for webhook.
* @param options The optional parameters
* @param callback The callback
*/
createOrUpdate(resourceGroupName: string, automationAccountName: string, webhookName: string, parameters: Models.WebhookCreateOrUpdateParameters, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.Webhook>): void;
/**
* Update the webhook identified by webhook name.
* @param resourceGroupName Name of an Azure Resource group.
* @param automationAccountName The name of the automation account.
* @param webhookName The webhook name.
* @param parameters The update parameters for webhook.
* @param [options] The optional parameters
* @returns Promise<Models.WebhookUpdateResponse>
*/
update(resourceGroupName: string, automationAccountName: string, webhookName: string, parameters: Models.WebhookUpdateParameters, options?: msRest.RequestOptionsBase): Promise<Models.WebhookUpdateResponse>;
/**
* @param resourceGroupName Name of an Azure Resource group.
* @param automationAccountName The name of the automation account.
* @param webhookName The webhook name.
* @param parameters The update parameters for webhook.
* @param callback The callback
*/
update(resourceGroupName: string, automationAccountName: string, webhookName: string, parameters: Models.WebhookUpdateParameters, callback: msRest.ServiceCallback<Models.Webhook>): void;
/**
* @param resourceGroupName Name of an Azure Resource group.
* @param automationAccountName The name of the automation account.
* @param webhookName The webhook name.
* @param parameters The update parameters for webhook.
* @param options The optional parameters
* @param callback The callback
*/
update(resourceGroupName: string, automationAccountName: string, webhookName: string, parameters: Models.WebhookUpdateParameters, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.Webhook>): void;
/**
* Retrieve a list of webhooks.
* @param resourceGroupName Name of an Azure Resource group.
* @param automationAccountName The name of the automation account.
* @param [options] The optional parameters
* @returns Promise<Models.WebhookListByAutomationAccountResponse>
*/
listByAutomationAccount(resourceGroupName: string, automationAccountName: string, options?: Models.WebhookListByAutomationAccountOptionalParams): Promise<Models.WebhookListByAutomationAccountResponse>;
/**
* @param resourceGroupName Name of an Azure Resource group.
* @param automationAccountName The name of the automation account.
* @param callback The callback
*/
listByAutomationAccount(resourceGroupName: string, automationAccountName: string, callback: msRest.ServiceCallback<Models.WebhookListResult>): void;
/**
* @param resourceGroupName Name of an Azure Resource group.
* @param automationAccountName The name of the automation account.
* @param options The optional parameters
* @param callback The callback
*/
listByAutomationAccount(resourceGroupName: string, automationAccountName: string, options: Models.WebhookListByAutomationAccountOptionalParams, callback: msRest.ServiceCallback<Models.WebhookListResult>): void;
/**
* Retrieve a list of webhooks.
* @param nextPageLink The NextLink from the previous successful call to List operation.
* @param [options] The optional parameters
* @returns Promise<Models.WebhookListByAutomationAccountNextResponse>
*/
listByAutomationAccountNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.WebhookListByAutomationAccountNextResponse>;
/**
* @param nextPageLink The NextLink from the previous successful call to List operation.
* @param callback The callback
*/
listByAutomationAccountNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.WebhookListResult>): void;
/**
* @param nextPageLink The NextLink from the previous successful call to List operation.
* @param options The optional parameters
* @param callback The callback
*/
listByAutomationAccountNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.WebhookListResult>): void;
}
//# sourceMappingURL=webhookOperations.d.ts.map