Listing Schedules
This topic explains how to list existing schedules with the Console, CLI, and API, and describes the information in a schedule.
Authentication and Authorization
This page describes the Identity and Access Management IAM process that is used to ensure secure access to Resource Scheduler.
Each service in Oracle Cloud Infrastructure integrates with IAM for authentication and authorization, for all interfaces (the Console, SDK or CLI, and REST API).
An administrator in your organization needs to set up groups , compartments , andpolicies that control which users can access which services, which resources, and the type of access. For example, the policies control who can create new users, create and manage the cloud network, launch instances, create buckets, download objects, and so on. For more information, see Getting Started with Policies. For specific details about writing policies for each of the different services, see the Policy Reference.
Important! To create and manage schedules you must create a policy to give users permission to access and change schedules AND you must create a policy to allow a schedule to manage resources.
For more information, see Resource Scheduler Policies, and Example Policies.
Example 1. This policy gives users permission to create and modify schedules
Allow the ResourceScheduleUsers group to view and list resource schedules in tenancy.
Allow ResourceScheduleUsers to inspect resource-schedule in tenancy
Example 2. This policy gives the resource schedule permission to perform an action on the target resource.
When a resource schedule is created, by default, it doesn't have permission to perform the action on target resources, so you must give it permission.
General example
Allow any-user to manage <resource_type (instance, database, and others)> in compartment id <target_compartment_ocid> where all {request.principal.type='resourceschedule',request.principal.id='ocid_of_resourceschedule'}
If you are a regular user (not an administrator) who needs to use the Oracle Cloud Infrastructure resources that your company owns, contact your administrator to set up a user ID for you. The administrator can confirm which compartment or compartments you should be using.
To use any of the Resource Scheduler API operations, you must be authorized in an IAM policy. If you're not authorized, contact the administrator. If you're an administrator who needs to write policies to give users access, see Getting Started with Policies