mirror of
https://github.com/LukeHagar/developer.sailpoint.com.git
synced 2025-12-10 04:19:42 +00:00
add method and model docs for powershell and python v2025
This commit is contained in:
45
docs/tools/sdk/powershell/Reference/V2025/Models/Schedule.md
Normal file
45
docs/tools/sdk/powershell/Reference/V2025/Models/Schedule.md
Normal file
@@ -0,0 +1,45 @@
|
||||
---
|
||||
id: v2025-schedule
|
||||
title: Schedule
|
||||
pagination_label: Schedule
|
||||
sidebar_label: Schedule
|
||||
sidebar_class_name: powershellsdk
|
||||
keywords: ['powershell', 'PowerShell', 'sdk', 'Schedule', 'V2025Schedule']
|
||||
slug: /tools/sdk/powershell/v2025/models/schedule
|
||||
tags: ['SDK', 'Software Development Kit', 'Schedule', 'V2025Schedule']
|
||||
---
|
||||
|
||||
|
||||
# Schedule
|
||||
|
||||
## Properties
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**Type** | **Enum** [ "WEEKLY", "MONTHLY", "ANNUALLY", "CALENDAR" ] | Determines the overall schedule cadence. In general, all time period fields smaller than the chosen type can be configured. For example, a DAILY schedule can have 'hours' set, but not 'days'; a WEEKLY schedule can have both 'hours' and 'days' set. | [required]
|
||||
**Months** | [**ScheduleMonths**](schedule-months) | | [optional]
|
||||
**Days** | [**ScheduleDays**](schedule-days) | | [optional]
|
||||
**Hours** | [**ScheduleHours**](schedule-hours) | | [required]
|
||||
**Expiration** | **System.DateTime** | Specifies the time after which this schedule will no longer occur. | [optional]
|
||||
**TimeZoneId** | **String** | The time zone to use when running the schedule. For instance, if the schedule is scheduled to run at 1AM, and this field is set to ""CST"", the schedule will run at 1AM CST. | [optional]
|
||||
|
||||
## Examples
|
||||
|
||||
- Prepare the resource
|
||||
```powershell
|
||||
$Schedule = Initialize-PSSailpoint.V2025Schedule -Type WEEKLY `
|
||||
-Months null `
|
||||
-Days null `
|
||||
-Hours null `
|
||||
-Expiration null `
|
||||
-TimeZoneId CST
|
||||
```
|
||||
|
||||
- Convert the resource to JSON
|
||||
```powershell
|
||||
$Schedule | ConvertTo-JSON
|
||||
```
|
||||
|
||||
|
||||
[[Back to top]](#)
|
||||
|
||||
Reference in New Issue
Block a user