Network Security Policy Schedule
CreateNetworkSecurityPolicySchedule
Creates a network security policy schedule. For example,
CreateNetworkSecurityPolicySchedule name=office-hours resourceType=SecurityGroup resourceUuid=d1a544b28f443966aa454aa2f6fc4ba9 timeType=UTC repeatType=Weekly startDate=2026-01-01 endDate=2026-12-31 startTime=09:00 endTime=18:00Parameters
| Name | Description | Optional | Optional Values | Starting Version |
|---|---|---|---|---|
| name | The name. | 5.5.38 | ||
| description | The description. | Yes | 5.5.38 | |
| resourceType | The type of the associated resource. |
| 5.5.38 | |
| resourceUuid | The UUID of the associated resource. | 5.5.38 | ||
| timeType | The time type. |
| 5.5.38 | |
| repeatType | The schedule type. |
| 5.5.38 | |
| startDate | The start date, in the format of yyyy-MM-dd. | 5.5.38 | ||
| endDate | The end date, in the format of yyyy-MM-dd. | 5.5.38 | ||
| startTime | The start time, in the format of HH:mm. | 5.5.38 | ||
| endTime | The end time, in the format of HH:mm. For Weekly, 00:00 to 00:00 indicates all day. | 5.5.38 | ||
| weekDays | The weekdays when the Weekly schedule takes effect. 1 indicates Monday, and 7 indicates Sunday. | Yes | 5.5.38 | |
| systemTags | The system tags. | Yes | 5.5.38 | |
| userTags | The user tags. | Yes | 5.5.38 |
DeleteNetworkSecurityPolicySchedule
Deletes a network security policy schedule. For example,
DeleteNetworkSecurityPolicySchedule uuid=d2dd5f75e21f3a7bb196887388092856Parameters
| Name | Description | Optional | Optional Values | Starting Version |
|---|---|---|---|---|
| uuid | The schedule UUID. | 5.5.38 | ||
| deleteMode | The deletion mode. | Yes | 5.5.38 | |
| systemTags | The system tags. | Yes | 5.5.38 | |
| userTags | The user tags. | Yes | 5.5.38 |
GetNetworkSecurityPolicySchedule
Gets the network security policy schedules of a resource. For example,
GetNetworkSecurityPolicySchedule resourceUuid=ff9de337b8e93ddd8d0e384d7314c028Parameters
| Name | Description | Optional | Optional Values | Starting Version |
|---|---|---|---|---|
| resourceUuid | The resource UUID. | 5.5.38 | ||
| timeStatus | The time status. | Yes |
| 5.5.38 |
| repeatType | The schedule type. | Yes |
| 5.5.38 |
| timeType | The time type. | Yes |
| 5.5.38 |
| systemTags | The system tags. | Yes | 5.5.38 | |
| userTags | The user tags. | Yes | 5.5.38 |
SetNetworkSecurityPolicySchedule
Sets the network security policy schedule currently used by a resource. If scheduleUuid is not specified, the current setting is cancelled. For example,
SetNetworkSecurityPolicySchedule resourceType=SecurityGroup resourceUuid=e32979f01e2f3f32a6eafcfb26b985d0Parameters
| Name | Description | Optional | Optional Values | Starting Version |
|---|---|---|---|---|
| scheduleUuid | The schedule UUID. If empty, the current setting is cancelled. | Yes | 5.5.38 | |
| resourceType | The target resource type. |
| 5.5.38 | |
| resourceUuid | The target resource UUID. | 5.5.38 | ||
| systemTags | The system tags. | Yes | 5.5.38 | |
| userTags | The user tags. | Yes | 5.5.38 |
UpdateNetworkSecurityPolicySchedule
Fully updates a network security policy schedule. For example,
UpdateNetworkSecurityPolicySchedule uuid=a293605961af30939fddccb54074b85e name=office-hours timeType=UTC repeatType=Weekly startDate=2026-01-01 endDate=2026-12-31 startTime=09:00 endTime=18:00Parameters
| Name | Description | Optional | Optional Values | Starting Version |
|---|---|---|---|---|
| uuid | The schedule UUID. | 5.5.38 | ||
| name | The name. | 5.5.38 | ||
| description | The description. If not specified, it is cleared. | Yes | 5.5.38 | |
| timeType | The time type. |
| 5.5.38 | |
| repeatType | The schedule type. |
| 5.5.38 | |
| startDate | The start date, in the format of yyyy-MM-dd. | 5.5.38 | ||
| endDate | The end date, in the format of yyyy-MM-dd. | 5.5.38 | ||
| startTime | The start time, in the format of HH:mm. | 5.5.38 | ||
| endTime | The end time, in the format of HH:mm. For Weekly, 00:00 to 00:00 indicates all day. | 5.5.38 | ||
| weekDays | The weekdays when the Weekly schedule takes effect. 1 indicates Monday, and 7 indicates Sunday. | Yes | 5.5.38 | |
| systemTags | The system tags. | Yes | 5.5.38 | |
| userTags | The user tags. | Yes | 5.5.38 |
