import { PagedAsyncIterableIterator } from "@azure/core-paging"; import { RoleAssignmentScheduleRequests } from "../operationsInterfaces"; import { AuthorizationManagementClient } from "../authorizationManagementClient"; import { RoleAssignmentScheduleRequest, RoleAssignmentScheduleRequestsListForScopeOptionalParams, RoleAssignmentScheduleRequestsCreateOptionalParams, RoleAssignmentScheduleRequestsCreateResponse, RoleAssignmentScheduleRequestsGetOptionalParams, RoleAssignmentScheduleRequestsGetResponse, RoleAssignmentScheduleRequestsCancelOptionalParams, RoleAssignmentScheduleRequestsValidateOptionalParams, RoleAssignmentScheduleRequestsValidateResponse } from "../models"; /** Class containing RoleAssignmentScheduleRequests operations. */ export declare class RoleAssignmentScheduleRequestsImpl implements RoleAssignmentScheduleRequests { private readonly client; /** * Initialize a new instance of the class RoleAssignmentScheduleRequests class. * @param client Reference to the service client */ constructor(client: AuthorizationManagementClient); /** * Gets role assignment schedule requests for a scope. * @param scope The scope of the role assignments schedule requests. * @param options The options parameters. */ listForScope(scope: string, options?: RoleAssignmentScheduleRequestsListForScopeOptionalParams): PagedAsyncIterableIterator; private listForScopePagingPage; private listForScopePagingAll; /** * Creates a role assignment schedule request. * @param scope The scope of the role assignment schedule request to create. The scope can be any REST * resource instance. For example, use '/subscriptions/{subscription-id}/' for a subscription, * '/subscriptions/{subscription-id}/resourceGroups/{resource-group-name}' for a resource group, and * '/subscriptions/{subscription-id}/resourceGroups/{resource-group-name}/providers/{resource-provider}/{resource-type}/{resource-name}' * for a resource. * @param roleAssignmentScheduleRequestName A GUID for the role assignment to create. The name must be * unique and different for each role assignment. * @param parameters Parameters for the role assignment schedule request. * @param options The options parameters. */ create(scope: string, roleAssignmentScheduleRequestName: string, parameters: RoleAssignmentScheduleRequest, options?: RoleAssignmentScheduleRequestsCreateOptionalParams): Promise; /** * Get the specified role assignment schedule request. * @param scope The scope of the role assignment schedule request. * @param roleAssignmentScheduleRequestName The name (guid) of the role assignment schedule request to * get. * @param options The options parameters. */ get(scope: string, roleAssignmentScheduleRequestName: string, options?: RoleAssignmentScheduleRequestsGetOptionalParams): Promise; /** * Gets role assignment schedule requests for a scope. * @param scope The scope of the role assignments schedule requests. * @param options The options parameters. */ private _listForScope; /** * Cancels a pending role assignment schedule request. * @param scope The scope of the role assignment request to cancel. * @param roleAssignmentScheduleRequestName The name of the role assignment request to cancel. * @param options The options parameters. */ cancel(scope: string, roleAssignmentScheduleRequestName: string, options?: RoleAssignmentScheduleRequestsCancelOptionalParams): Promise; /** * Validates a new role assignment schedule request. * @param scope The scope of the role assignment request to validate. * @param roleAssignmentScheduleRequestName The name of the role assignment request to validate. * @param parameters Parameters for the role assignment schedule request. * @param options The options parameters. */ validate(scope: string, roleAssignmentScheduleRequestName: string, parameters: RoleAssignmentScheduleRequest, options?: RoleAssignmentScheduleRequestsValidateOptionalParams): Promise; /** * ListForScopeNext * @param scope The scope of the role assignments schedule requests. * @param nextLink The nextLink from the previous successful call to the ListForScope method. * @param options The options parameters. */ private _listForScopeNext; } //# sourceMappingURL=roleAssignmentScheduleRequests.d.ts.map