UNPKG

@azure/arm-automation

Version:

AutomationClient Library with typescript type definitions for node.js and browser.

127 lines 8.11 kB
import * as msRest from "@azure/ms-rest-js"; import * as Models from "../models"; import { AutomationClientContext } from "../automationClientContext"; /** Class representing a HybridRunbookWorkerGroupOperations. */ export declare class HybridRunbookWorkerGroupOperations { private readonly client; /** * Create a HybridRunbookWorkerGroupOperations. * @param {AutomationClientContext} client Reference to the service client. */ constructor(client: AutomationClientContext); /** * Delete a hybrid runbook worker group. * @param resourceGroupName Name of an Azure Resource group. * @param automationAccountName The name of the automation account. * @param hybridRunbookWorkerGroupName The hybrid runbook worker group name * @param [options] The optional parameters * @returns Promise<msRest.RestResponse> */ deleteMethod(resourceGroupName: string, automationAccountName: string, hybridRunbookWorkerGroupName: string, options?: msRest.RequestOptionsBase): Promise<msRest.RestResponse>; /** * @param resourceGroupName Name of an Azure Resource group. * @param automationAccountName The name of the automation account. * @param hybridRunbookWorkerGroupName The hybrid runbook worker group name * @param callback The callback */ deleteMethod(resourceGroupName: string, automationAccountName: string, hybridRunbookWorkerGroupName: string, callback: msRest.ServiceCallback<void>): void; /** * @param resourceGroupName Name of an Azure Resource group. * @param automationAccountName The name of the automation account. * @param hybridRunbookWorkerGroupName The hybrid runbook worker group name * @param options The optional parameters * @param callback The callback */ deleteMethod(resourceGroupName: string, automationAccountName: string, hybridRunbookWorkerGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<void>): void; /** * Retrieve a hybrid runbook worker group. * @param resourceGroupName Name of an Azure Resource group. * @param automationAccountName The name of the automation account. * @param hybridRunbookWorkerGroupName The hybrid runbook worker group name * @param [options] The optional parameters * @returns Promise<Models.HybridRunbookWorkerGroupGetResponse> */ get(resourceGroupName: string, automationAccountName: string, hybridRunbookWorkerGroupName: string, options?: msRest.RequestOptionsBase): Promise<Models.HybridRunbookWorkerGroupGetResponse>; /** * @param resourceGroupName Name of an Azure Resource group. * @param automationAccountName The name of the automation account. * @param hybridRunbookWorkerGroupName The hybrid runbook worker group name * @param callback The callback */ get(resourceGroupName: string, automationAccountName: string, hybridRunbookWorkerGroupName: string, callback: msRest.ServiceCallback<Models.HybridRunbookWorkerGroup>): void; /** * @param resourceGroupName Name of an Azure Resource group. * @param automationAccountName The name of the automation account. * @param hybridRunbookWorkerGroupName The hybrid runbook worker group name * @param options The optional parameters * @param callback The callback */ get(resourceGroupName: string, automationAccountName: string, hybridRunbookWorkerGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.HybridRunbookWorkerGroup>): void; /** * Update a hybrid runbook worker group. * @param resourceGroupName Name of an Azure Resource group. * @param automationAccountName The name of the automation account. * @param hybridRunbookWorkerGroupName The hybrid runbook worker group name * @param parameters The hybrid runbook worker group * @param [options] The optional parameters * @returns Promise<Models.HybridRunbookWorkerGroupUpdateResponse> */ update(resourceGroupName: string, automationAccountName: string, hybridRunbookWorkerGroupName: string, parameters: Models.HybridRunbookWorkerGroupUpdateParameters, options?: msRest.RequestOptionsBase): Promise<Models.HybridRunbookWorkerGroupUpdateResponse>; /** * @param resourceGroupName Name of an Azure Resource group. * @param automationAccountName The name of the automation account. * @param hybridRunbookWorkerGroupName The hybrid runbook worker group name * @param parameters The hybrid runbook worker group * @param callback The callback */ update(resourceGroupName: string, automationAccountName: string, hybridRunbookWorkerGroupName: string, parameters: Models.HybridRunbookWorkerGroupUpdateParameters, callback: msRest.ServiceCallback<Models.HybridRunbookWorkerGroup>): void; /** * @param resourceGroupName Name of an Azure Resource group. * @param automationAccountName The name of the automation account. * @param hybridRunbookWorkerGroupName The hybrid runbook worker group name * @param parameters The hybrid runbook worker group * @param options The optional parameters * @param callback The callback */ update(resourceGroupName: string, automationAccountName: string, hybridRunbookWorkerGroupName: string, parameters: Models.HybridRunbookWorkerGroupUpdateParameters, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.HybridRunbookWorkerGroup>): void; /** * Retrieve a list of hybrid runbook worker groups. * @param resourceGroupName Name of an Azure Resource group. * @param automationAccountName The name of the automation account. * @param [options] The optional parameters * @returns Promise<Models.HybridRunbookWorkerGroupListByAutomationAccountResponse> */ listByAutomationAccount(resourceGroupName: string, automationAccountName: string, options?: Models.HybridRunbookWorkerGroupListByAutomationAccountOptionalParams): Promise<Models.HybridRunbookWorkerGroupListByAutomationAccountResponse>; /** * @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.HybridRunbookWorkerGroupsListResult>): 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.HybridRunbookWorkerGroupListByAutomationAccountOptionalParams, callback: msRest.ServiceCallback<Models.HybridRunbookWorkerGroupsListResult>): void; /** * Retrieve a list of hybrid runbook worker groups. * @param nextPageLink The NextLink from the previous successful call to List operation. * @param [options] The optional parameters * @returns Promise<Models.HybridRunbookWorkerGroupListByAutomationAccountNextResponse> */ listByAutomationAccountNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.HybridRunbookWorkerGroupListByAutomationAccountNextResponse>; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback */ listByAutomationAccountNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.HybridRunbookWorkerGroupsListResult>): 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.HybridRunbookWorkerGroupsListResult>): void; } //# sourceMappingURL=hybridRunbookWorkerGroupOperations.d.ts.map