mirror of
https://github.com/LukeHagar/developer.sailpoint.com.git
synced 2025-12-09 20:37:47 +00:00
adding powershell sdk docs back
This commit is contained in:
45
docs/tools/sdk/powershell/Reference/V2024/Models/Schedule.md
Normal file
45
docs/tools/sdk/powershell/Reference/V2024/Models/Schedule.md
Normal file
@@ -0,0 +1,45 @@
|
||||
---
|
||||
id: v2024-schedule
|
||||
title: Schedule
|
||||
pagination_label: Schedule
|
||||
sidebar_label: Schedule
|
||||
sidebar_class_name: powershellsdk
|
||||
keywords: ['powershell', 'PowerShell', 'sdk', 'Schedule', 'V2024Schedule']
|
||||
slug: /tools/sdk/powershell/v2024/models/schedule
|
||||
tags: ['SDK', 'Software Development Kit', 'Schedule', 'V2024Schedule']
|
||||
---
|
||||
|
||||
|
||||
# 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** | Pointer to [**ScheduleMonths**](schedule-months) | | [optional]
|
||||
**Days** | Pointer to [**ScheduleDays**](schedule-days) | | [optional]
|
||||
**Hours** | [**ScheduleHours**](schedule-hours) | | [required]
|
||||
**Expiration** | Pointer to **System.DateTime** | Specifies the time after which this schedule will no longer occur. | [optional]
|
||||
**TimeZoneId** | Pointer to **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.V2024Schedule -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