import type { PagedAsyncIterableIterator } from "@azure/core-paging"; import type { ServiceGateways } from "../operationsInterfaces/index.js"; import type { NetworkManagementClient } from "../networkManagementClient.js"; import type { SimplePollerLike, OperationState } from "@azure/core-lro"; import type { ServiceGateway, ServiceGatewaysListAllOptionalParams, ServiceGatewaysListOptionalParams, ServiceGatewayAddressLocationResponse, ServiceGatewaysGetAddressLocationsOptionalParams, ServiceGatewayService, ServiceGatewaysGetServicesOptionalParams, ServiceGatewaysDeleteOptionalParams, ServiceGatewaysDeleteResponse, ServiceGatewaysGetOptionalParams, ServiceGatewaysGetResponse, ServiceGatewaysCreateOrUpdateOptionalParams, ServiceGatewaysCreateOrUpdateResponse, TagsObject, ServiceGatewaysUpdateTagsOptionalParams, ServiceGatewaysUpdateTagsResponse, ServiceGatewayUpdateAddressLocationsRequest, ServiceGatewaysUpdateAddressLocationsOptionalParams, ServiceGatewaysUpdateAddressLocationsResponse, ServiceGatewayUpdateServicesRequest, ServiceGatewaysUpdateServicesOptionalParams, ServiceGatewaysUpdateServicesResponse } from "../models/index.js"; /** Class containing ServiceGateways operations. */ export declare class ServiceGatewaysImpl implements ServiceGateways { private readonly client; /** * Initialize a new instance of the class ServiceGateways class. * @param client Reference to the service client */ constructor(client: NetworkManagementClient); /** * Gets all the service gateways in a subscription. * @param options The options parameters. */ listAll(options?: ServiceGatewaysListAllOptionalParams): PagedAsyncIterableIterator; private listAllPagingPage; private listAllPagingAll; /** * Gets all the service gateways in a resource group. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param options The options parameters. */ list(resourceGroupName: string, options?: ServiceGatewaysListOptionalParams): PagedAsyncIterableIterator; private listPagingPage; private listPagingAll; /** * Get address locations in service gateway. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param serviceGatewayName The name of the service gateway. * @param options The options parameters. */ listAddressLocations(resourceGroupName: string, serviceGatewayName: string, options?: ServiceGatewaysGetAddressLocationsOptionalParams): PagedAsyncIterableIterator; private getAddressLocationsPagingPage; private getAddressLocationsPagingAll; /** * Get Services in service gateway. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param serviceGatewayName The name of the service gateway. * @param options The options parameters. */ listServices(resourceGroupName: string, serviceGatewayName: string, options?: ServiceGatewaysGetServicesOptionalParams): PagedAsyncIterableIterator; private getServicesPagingPage; private getServicesPagingAll; /** * Deletes the specified service gateway. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param serviceGatewayName The name of the service gateway. * @param options The options parameters. */ beginDelete(resourceGroupName: string, serviceGatewayName: string, options?: ServiceGatewaysDeleteOptionalParams): Promise, ServiceGatewaysDeleteResponse>>; /** * Deletes the specified service gateway. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param serviceGatewayName The name of the service gateway. * @param options The options parameters. */ beginDeleteAndWait(resourceGroupName: string, serviceGatewayName: string, options?: ServiceGatewaysDeleteOptionalParams): Promise; /** * Gets the specified service gateway. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param serviceGatewayName The name of the service gateway. * @param options The options parameters. */ get(resourceGroupName: string, serviceGatewayName: string, options?: ServiceGatewaysGetOptionalParams): Promise; /** * Creates or updates a service gateway. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param serviceGatewayName The name of the service gateway. * @param parameters Parameters supplied to the create or update service gateway operation. * @param options The options parameters. */ beginCreateOrUpdate(resourceGroupName: string, serviceGatewayName: string, parameters: ServiceGateway, options?: ServiceGatewaysCreateOrUpdateOptionalParams): Promise, ServiceGatewaysCreateOrUpdateResponse>>; /** * Creates or updates a service gateway. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param serviceGatewayName The name of the service gateway. * @param parameters Parameters supplied to the create or update service gateway operation. * @param options The options parameters. */ beginCreateOrUpdateAndWait(resourceGroupName: string, serviceGatewayName: string, parameters: ServiceGateway, options?: ServiceGatewaysCreateOrUpdateOptionalParams): Promise; /** * Updates a service gateway tags. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param serviceGatewayName The name of the service gateway. * @param parameters Parameters supplied to update service gateway tags. * @param options The options parameters. */ updateTags(resourceGroupName: string, serviceGatewayName: string, parameters: TagsObject, options?: ServiceGatewaysUpdateTagsOptionalParams): Promise; /** * Gets all the service gateways in a subscription. * @param options The options parameters. */ private _listAll; /** * Gets all the service gateways in a resource group. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param options The options parameters. */ private _list; /** * Creates or updates address locations within the service gateway. * * The request supports both full and partial update modes at two levels: location and address. * * Full update replaces all existing data. * * Partial update modifies only the specified entries: * * For location-level partial updates, if no address is provided, the existing address will be deleted. * * For address-level partial updates, if no services are provided, the existing services will be * considered for deletion. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param serviceGatewayName The name of the service gateway. * @param parameters Parameters supplied to the create or updates address locations in service gateway * operation. * @param options The options parameters. */ beginUpdateAddressLocations(resourceGroupName: string, serviceGatewayName: string, parameters: ServiceGatewayUpdateAddressLocationsRequest, options?: ServiceGatewaysUpdateAddressLocationsOptionalParams): Promise, ServiceGatewaysUpdateAddressLocationsResponse>>; /** * Creates or updates address locations within the service gateway. * * The request supports both full and partial update modes at two levels: location and address. * * Full update replaces all existing data. * * Partial update modifies only the specified entries: * * For location-level partial updates, if no address is provided, the existing address will be deleted. * * For address-level partial updates, if no services are provided, the existing services will be * considered for deletion. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param serviceGatewayName The name of the service gateway. * @param parameters Parameters supplied to the create or updates address locations in service gateway * operation. * @param options The options parameters. */ beginUpdateAddressLocationsAndWait(resourceGroupName: string, serviceGatewayName: string, parameters: ServiceGatewayUpdateAddressLocationsRequest, options?: ServiceGatewaysUpdateAddressLocationsOptionalParams): Promise; /** * Creates, updates, or deletes services within the service gateway. * The request supports both full and partial update modes at the service level. * * Full update replaces all existing services with the new list provided in the request. * Partial update modifies only the specified services. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param serviceGatewayName The name of the service gateway. * @param parameters Parameters supplied to the create or updates services in service gateway * operation. * @param options The options parameters. */ beginUpdateServices(resourceGroupName: string, serviceGatewayName: string, parameters: ServiceGatewayUpdateServicesRequest, options?: ServiceGatewaysUpdateServicesOptionalParams): Promise, ServiceGatewaysUpdateServicesResponse>>; /** * Creates, updates, or deletes services within the service gateway. * The request supports both full and partial update modes at the service level. * * Full update replaces all existing services with the new list provided in the request. * Partial update modifies only the specified services. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param serviceGatewayName The name of the service gateway. * @param parameters Parameters supplied to the create or updates services in service gateway * operation. * @param options The options parameters. */ beginUpdateServicesAndWait(resourceGroupName: string, serviceGatewayName: string, parameters: ServiceGatewayUpdateServicesRequest, options?: ServiceGatewaysUpdateServicesOptionalParams): Promise; /** * Get address locations in service gateway. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param serviceGatewayName The name of the service gateway. * @param options The options parameters. */ private _getAddressLocations; /** * Get Services in service gateway. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param serviceGatewayName The name of the service gateway. * @param options The options parameters. */ private _getServices; /** * ListAllNext * @param nextLink The nextLink from the previous successful call to the ListAll method. * @param options The options parameters. */ private _listAllNext; /** * ListNext * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param nextLink The nextLink from the previous successful call to the List method. * @param options The options parameters. */ private _listNext; /** * GetAddressLocationsNext * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param serviceGatewayName The name of the service gateway. * @param nextLink The nextLink from the previous successful call to the GetAddressLocations method. * @param options The options parameters. */ private _getAddressLocationsNext; /** * GetServicesNext * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param serviceGatewayName The name of the service gateway. * @param nextLink The nextLink from the previous successful call to the GetServices method. * @param options The options parameters. */ private _getServicesNext; } //# sourceMappingURL=serviceGateways.d.ts.map