import { PagedAsyncIterableIterator } from "@azure/core-paging"; import { PartnerRegistrations } from "../operationsInterfaces/index.js"; import { EventGridManagementClient } from "../eventGridManagementClient.js"; import { SimplePollerLike, OperationState } from "@azure/core-lro"; import { PartnerRegistration, PartnerRegistrationsListBySubscriptionOptionalParams, PartnerRegistrationsListByResourceGroupOptionalParams, PartnerRegistrationsGetOptionalParams, PartnerRegistrationsGetResponse, PartnerRegistrationsCreateOrUpdateOptionalParams, PartnerRegistrationsCreateOrUpdateResponse, PartnerRegistrationsDeleteOptionalParams, PartnerRegistrationUpdateParameters, PartnerRegistrationsUpdateOptionalParams } from "../models/index.js"; /** Class containing PartnerRegistrations operations. */ export declare class PartnerRegistrationsImpl implements PartnerRegistrations { private readonly client; /** * Initialize a new instance of the class PartnerRegistrations class. * @param client Reference to the service client */ constructor(client: EventGridManagementClient); /** * List all the partner registrations under an Azure subscription. * @param options The options parameters. */ listBySubscription(options?: PartnerRegistrationsListBySubscriptionOptionalParams): PagedAsyncIterableIterator; private listBySubscriptionPagingPage; private listBySubscriptionPagingAll; /** * List all the partner registrations 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?: PartnerRegistrationsListByResourceGroupOptionalParams): PagedAsyncIterableIterator; private listByResourceGroupPagingPage; private listByResourceGroupPagingAll; /** * Gets a partner registration with the specified parameters. * @param resourceGroupName The name of the resource group within the user's subscription. * @param partnerRegistrationName Name of the partner registration. * @param options The options parameters. */ get(resourceGroupName: string, partnerRegistrationName: string, options?: PartnerRegistrationsGetOptionalParams): Promise; /** * Creates a new partner registration with the specified parameters. * @param resourceGroupName The name of the resource group within the user's subscription. * @param partnerRegistrationName Name of the partner registration. * @param partnerRegistrationInfo PartnerRegistration information. * @param options The options parameters. */ beginCreateOrUpdate(resourceGroupName: string, partnerRegistrationName: string, partnerRegistrationInfo: PartnerRegistration, options?: PartnerRegistrationsCreateOrUpdateOptionalParams): Promise, PartnerRegistrationsCreateOrUpdateResponse>>; /** * Creates a new partner registration with the specified parameters. * @param resourceGroupName The name of the resource group within the user's subscription. * @param partnerRegistrationName Name of the partner registration. * @param partnerRegistrationInfo PartnerRegistration information. * @param options The options parameters. */ beginCreateOrUpdateAndWait(resourceGroupName: string, partnerRegistrationName: string, partnerRegistrationInfo: PartnerRegistration, options?: PartnerRegistrationsCreateOrUpdateOptionalParams): Promise; /** * Deletes a partner registration with the specified parameters. * @param resourceGroupName The name of the resource group within the user's subscription. * @param partnerRegistrationName Name of the partner registration. * @param options The options parameters. */ beginDelete(resourceGroupName: string, partnerRegistrationName: string, options?: PartnerRegistrationsDeleteOptionalParams): Promise, void>>; /** * Deletes a partner registration with the specified parameters. * @param resourceGroupName The name of the resource group within the user's subscription. * @param partnerRegistrationName Name of the partner registration. * @param options The options parameters. */ beginDeleteAndWait(resourceGroupName: string, partnerRegistrationName: string, options?: PartnerRegistrationsDeleteOptionalParams): Promise; /** * Updates a partner registration with the specified parameters. * @param resourceGroupName The name of the resource group within the user's subscription. * @param partnerRegistrationName Name of the partner registration. * @param partnerRegistrationUpdateParameters Partner registration update information. * @param options The options parameters. */ beginUpdate(resourceGroupName: string, partnerRegistrationName: string, partnerRegistrationUpdateParameters: PartnerRegistrationUpdateParameters, options?: PartnerRegistrationsUpdateOptionalParams): Promise, void>>; /** * Updates a partner registration with the specified parameters. * @param resourceGroupName The name of the resource group within the user's subscription. * @param partnerRegistrationName Name of the partner registration. * @param partnerRegistrationUpdateParameters Partner registration update information. * @param options The options parameters. */ beginUpdateAndWait(resourceGroupName: string, partnerRegistrationName: string, partnerRegistrationUpdateParameters: PartnerRegistrationUpdateParameters, options?: PartnerRegistrationsUpdateOptionalParams): Promise; /** * List all the partner registrations under an Azure subscription. * @param options The options parameters. */ private _listBySubscription; /** * List all the partner registrations under a resource group. * @param resourceGroupName The name of the resource group within the user's subscription. * @param options The options parameters. */ private _listByResourceGroup; /** * 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=partnerRegistrations.d.ts.map