import * as msRest from "@azure/ms-rest-js"; import * as Models from "../models"; import { ComputeManagementClientContext } from "../computeManagementClientContext"; /** Class representing a AvailabilitySets. */ export declare class AvailabilitySets { private readonly client; /** * Create a AvailabilitySets. * @param {ComputeManagementClientContext} client Reference to the service client. */ constructor(client: ComputeManagementClientContext); /** * Create or update an availability set. * @param resourceGroupName The name of the resource group. * @param availabilitySetName The name of the availability set. * @param parameters Parameters supplied to the Create Availability Set operation. * @param [options] The optional parameters * @returns Promise */ createOrUpdate(resourceGroupName: string, availabilitySetName: string, parameters: Models.AvailabilitySet, options?: msRest.RequestOptionsBase): Promise; /** * @param resourceGroupName The name of the resource group. * @param availabilitySetName The name of the availability set. * @param parameters Parameters supplied to the Create Availability Set operation. * @param callback The callback */ createOrUpdate(resourceGroupName: string, availabilitySetName: string, parameters: Models.AvailabilitySet, callback: msRest.ServiceCallback): void; /** * @param resourceGroupName The name of the resource group. * @param availabilitySetName The name of the availability set. * @param parameters Parameters supplied to the Create Availability Set operation. * @param options The optional parameters * @param callback The callback */ createOrUpdate(resourceGroupName: string, availabilitySetName: string, parameters: Models.AvailabilitySet, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; /** * Update an availability set. * @param resourceGroupName The name of the resource group. * @param availabilitySetName The name of the availability set. * @param parameters Parameters supplied to the Update Availability Set operation. * @param [options] The optional parameters * @returns Promise */ update(resourceGroupName: string, availabilitySetName: string, parameters: Models.AvailabilitySetUpdate, options?: msRest.RequestOptionsBase): Promise; /** * @param resourceGroupName The name of the resource group. * @param availabilitySetName The name of the availability set. * @param parameters Parameters supplied to the Update Availability Set operation. * @param callback The callback */ update(resourceGroupName: string, availabilitySetName: string, parameters: Models.AvailabilitySetUpdate, callback: msRest.ServiceCallback): void; /** * @param resourceGroupName The name of the resource group. * @param availabilitySetName The name of the availability set. * @param parameters Parameters supplied to the Update Availability Set operation. * @param options The optional parameters * @param callback The callback */ update(resourceGroupName: string, availabilitySetName: string, parameters: Models.AvailabilitySetUpdate, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; /** * Delete an availability set. * @param resourceGroupName The name of the resource group. * @param availabilitySetName The name of the availability set. * @param [options] The optional parameters * @returns Promise */ deleteMethod(resourceGroupName: string, availabilitySetName: string, options?: msRest.RequestOptionsBase): Promise; /** * @param resourceGroupName The name of the resource group. * @param availabilitySetName The name of the availability set. * @param callback The callback */ deleteMethod(resourceGroupName: string, availabilitySetName: string, callback: msRest.ServiceCallback): void; /** * @param resourceGroupName The name of the resource group. * @param availabilitySetName The name of the availability set. * @param options The optional parameters * @param callback The callback */ deleteMethod(resourceGroupName: string, availabilitySetName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; /** * Retrieves information about an availability set. * @param resourceGroupName The name of the resource group. * @param availabilitySetName The name of the availability set. * @param [options] The optional parameters * @returns Promise */ get(resourceGroupName: string, availabilitySetName: string, options?: msRest.RequestOptionsBase): Promise; /** * @param resourceGroupName The name of the resource group. * @param availabilitySetName The name of the availability set. * @param callback The callback */ get(resourceGroupName: string, availabilitySetName: string, callback: msRest.ServiceCallback): void; /** * @param resourceGroupName The name of the resource group. * @param availabilitySetName The name of the availability set. * @param options The optional parameters * @param callback The callback */ get(resourceGroupName: string, availabilitySetName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; /** * Lists all availability sets in a subscription. * @param [options] The optional parameters * @returns Promise */ listBySubscription(options?: msRest.RequestOptionsBase): Promise; /** * @param callback The callback */ listBySubscription(callback: msRest.ServiceCallback): void; /** * @param options The optional parameters * @param callback The callback */ listBySubscription(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; /** * Lists all availability sets in a resource group. * @param resourceGroupName The name of the resource group. * @param [options] The optional parameters * @returns Promise */ list(resourceGroupName: string, options?: msRest.RequestOptionsBase): Promise; /** * @param resourceGroupName The name of the resource group. * @param callback The callback */ list(resourceGroupName: string, callback: msRest.ServiceCallback): void; /** * @param resourceGroupName The name of the resource group. * @param options The optional parameters * @param callback The callback */ list(resourceGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; /** * Lists all available virtual machine sizes that can be used to create a new virtual machine in an * existing availability set. * @param resourceGroupName The name of the resource group. * @param availabilitySetName The name of the availability set. * @param [options] The optional parameters * @returns Promise */ listAvailableSizes(resourceGroupName: string, availabilitySetName: string, options?: msRest.RequestOptionsBase): Promise; /** * @param resourceGroupName The name of the resource group. * @param availabilitySetName The name of the availability set. * @param callback The callback */ listAvailableSizes(resourceGroupName: string, availabilitySetName: string, callback: msRest.ServiceCallback): void; /** * @param resourceGroupName The name of the resource group. * @param availabilitySetName The name of the availability set. * @param options The optional parameters * @param callback The callback */ listAvailableSizes(resourceGroupName: string, availabilitySetName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; /** * Lists all availability sets in a subscription. * @param nextPageLink The NextLink from the previous successful call to List operation. * @param [options] The optional parameters * @returns Promise */ listBySubscriptionNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback */ listBySubscriptionNext(nextPageLink: string, callback: msRest.ServiceCallback): void; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param options The optional parameters * @param callback The callback */ listBySubscriptionNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; /** * Lists all availability sets in a resource group. * @param nextPageLink The NextLink from the previous successful call to List operation. * @param [options] The optional parameters * @returns Promise */ listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback */ listNext(nextPageLink: string, callback: msRest.ServiceCallback): void; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param options The optional parameters * @param callback The callback */ listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; } //# sourceMappingURL=availabilitySets.d.ts.map