/* * Copyright (c) Microsoft Corporation. * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ import { PagedAsyncIterableIterator } from "@azure/core-paging"; import { RoleAssignmentScheduleInstance, RoleAssignmentScheduleInstancesListForScopeOptionalParams, RoleAssignmentScheduleInstancesGetOptionalParams, RoleAssignmentScheduleInstancesGetResponse } from "../models"; /// /** Interface representing a RoleAssignmentScheduleInstances. */ export interface RoleAssignmentScheduleInstances { /** * Gets role assignment schedule instances of a role assignment schedule. * @param scope The scope of the role assignment schedule. * @param options The options parameters. */ listForScope( scope: string, options?: RoleAssignmentScheduleInstancesListForScopeOptionalParams ): PagedAsyncIterableIterator; /** * Gets the specified role assignment schedule instance. * @param scope The scope of the role assignments schedules. * @param roleAssignmentScheduleInstanceName The name (hash of schedule name + time) of the role * assignment schedule to get. * @param options The options parameters. */ get( scope: string, roleAssignmentScheduleInstanceName: string, options?: RoleAssignmentScheduleInstancesGetOptionalParams ): Promise; }