import { PagedAsyncIterableIterator } from "@azure/core-paging"; import { Domains } from "../operationsInterfaces/index.js"; import { EventGridManagementClient } from "../eventGridManagementClient.js"; import { SimplePollerLike, OperationState } from "@azure/core-lro"; import { Domain, DomainsListBySubscriptionOptionalParams, DomainsListByResourceGroupOptionalParams, DomainsGetOptionalParams, DomainsGetResponse, DomainsCreateOrUpdateOptionalParams, DomainsCreateOrUpdateResponse, DomainsDeleteOptionalParams, DomainUpdateParameters, DomainsUpdateOptionalParams, DomainsListSharedAccessKeysOptionalParams, DomainsListSharedAccessKeysResponse, DomainRegenerateKeyRequest, DomainsRegenerateKeyOptionalParams, DomainsRegenerateKeyResponse } from "../models/index.js"; /** Class containing Domains operations. */ export declare class DomainsImpl implements Domains { private readonly client; /** * Initialize a new instance of the class Domains class. * @param client Reference to the service client */ constructor(client: EventGridManagementClient); /** * List all the domains under an Azure subscription. * @param options The options parameters. */ listBySubscription(options?: DomainsListBySubscriptionOptionalParams): PagedAsyncIterableIterator; private listBySubscriptionPagingPage; private listBySubscriptionPagingAll; /** * List all the domains under a resource group. * @param resourceGroupName The name of the resource group within the user's subscription. * @param options The options parameters. */ listByResourceGroup(resourceGroupName: string, options?: DomainsListByResourceGroupOptionalParams): PagedAsyncIterableIterator; private listByResourceGroupPagingPage; private listByResourceGroupPagingAll; /** * Get properties of a domain. * @param resourceGroupName The name of the resource group within the user's subscription. * @param domainName Name of the domain. * @param options The options parameters. */ get(resourceGroupName: string, domainName: string, options?: DomainsGetOptionalParams): Promise; /** * Asynchronously creates or updates a new domain with the specified parameters. * @param resourceGroupName The name of the resource group within the user's subscription. * @param domainName Name of the domain. * @param domainInfo Domain information. * @param options The options parameters. */ beginCreateOrUpdate(resourceGroupName: string, domainName: string, domainInfo: Domain, options?: DomainsCreateOrUpdateOptionalParams): Promise, DomainsCreateOrUpdateResponse>>; /** * Asynchronously creates or updates a new domain with the specified parameters. * @param resourceGroupName The name of the resource group within the user's subscription. * @param domainName Name of the domain. * @param domainInfo Domain information. * @param options The options parameters. */ beginCreateOrUpdateAndWait(resourceGroupName: string, domainName: string, domainInfo: Domain, options?: DomainsCreateOrUpdateOptionalParams): Promise; /** * Delete existing domain. * @param resourceGroupName The name of the resource group within the user's subscription. * @param domainName Name of the domain. * @param options The options parameters. */ beginDelete(resourceGroupName: string, domainName: string, options?: DomainsDeleteOptionalParams): Promise, void>>; /** * Delete existing domain. * @param resourceGroupName The name of the resource group within the user's subscription. * @param domainName Name of the domain. * @param options The options parameters. */ beginDeleteAndWait(resourceGroupName: string, domainName: string, options?: DomainsDeleteOptionalParams): Promise; /** * Asynchronously updates a domain with the specified parameters. * @param resourceGroupName The name of the resource group within the user's subscription. * @param domainName Name of the domain. * @param domainUpdateParameters Domain update information. * @param options The options parameters. */ beginUpdate(resourceGroupName: string, domainName: string, domainUpdateParameters: DomainUpdateParameters, options?: DomainsUpdateOptionalParams): Promise, void>>; /** * Asynchronously updates a domain with the specified parameters. * @param resourceGroupName The name of the resource group within the user's subscription. * @param domainName Name of the domain. * @param domainUpdateParameters Domain update information. * @param options The options parameters. */ beginUpdateAndWait(resourceGroupName: string, domainName: string, domainUpdateParameters: DomainUpdateParameters, options?: DomainsUpdateOptionalParams): Promise; /** * List all the domains under an Azure subscription. * @param options The options parameters. */ private _listBySubscription; /** * List all the domains under a resource group. * @param resourceGroupName The name of the resource group within the user's subscription. * @param options The options parameters. */ private _listByResourceGroup; /** * List the two keys used to publish to a domain. * @param resourceGroupName The name of the resource group within the user's subscription. * @param domainName Name of the domain. * @param options The options parameters. */ listSharedAccessKeys(resourceGroupName: string, domainName: string, options?: DomainsListSharedAccessKeysOptionalParams): Promise; /** * Regenerate a shared access key for a domain. * @param resourceGroupName The name of the resource group within the user's subscription. * @param domainName Name of the domain. * @param regenerateKeyRequest Request body to regenerate key. * @param options The options parameters. */ regenerateKey(resourceGroupName: string, domainName: string, regenerateKeyRequest: DomainRegenerateKeyRequest, options?: DomainsRegenerateKeyOptionalParams): Promise; /** * ListBySubscriptionNext * @param nextLink The nextLink from the previous successful call to the ListBySubscription method. * @param options The options parameters. */ private _listBySubscriptionNext; /** * ListByResourceGroupNext * @param resourceGroupName The name of the resource group within the user's subscription. * @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method. * @param options The options parameters. */ private _listByResourceGroupNext; } //# sourceMappingURL=domains.d.ts.map