StateConfigurationProps
Properties for defining a StateConfiguration
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-oos-stateconfiguration
Initializer
import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkoos"
&alicloudroscdkoos.StateConfigurationProps {
ScheduleExpression: interface{},
ScheduleType: interface{},
Targets: interface{},
TemplateName: interface{},
ConfigureMode: interface{},
Description: interface{},
Parameters: interface{},
ResourceGroupId: interface{},
Tags: *map[string]interface{},
TemplateVersion: interface{},
}
Properties
Name | Type | Description |
---|---|---|
ScheduleExpression |
interface{} |
Property scheduleExpression: The schedule expression. |
ScheduleType |
interface{} |
Property scheduleType: The schedule type. |
Targets |
interface{} |
Property targets: The resources to be queried. |
TemplateName |
interface{} |
Property templateName: The name of the template. |
ConfigureMode |
interface{} |
Property configureMode: The configuration mode. |
Description |
interface{} |
Property description: The description of the desired-state configuration. |
Parameters |
interface{} |
Property parameters: The parameters. |
ResourceGroupId |
interface{} |
Property resourceGroupId: The resource group ID. |
Tags |
*map[string]interface{} |
Property tags: Tag value and the key mapping, the label of the key number can be up to 20. |
TemplateVersion |
interface{} |
Property templateVersion: The version number of the template. |
ScheduleExpression
Required
ScheduleExpression interface{}
- Type: interface{}
Property scheduleExpression: The schedule expression.
The interval between two schedules must be a minimum of 30 minutes.
ScheduleType
Required
ScheduleType interface{}
- Type: interface{}
Property scheduleType: The schedule type.
Set the value to rate.
Targets
Required
Targets interface{}
- Type: interface{}
Property targets: The resources to be queried.
TemplateName
Required
TemplateName interface{}
- Type: interface{}
Property templateName: The name of the template.
The name must be 1 to 200 characters in length and can contain letters, digits, hyphens (-), and underscores (_).
ConfigureMode
Optional
ConfigureMode interface{}
- Type: interface{}
Property configureMode: The configuration mode.
Valid values: ApplyOnce: The configuration is applied only once. After a configuration is updated, the new configuration is applied. ApplyAndMonitor: The configuration is applied only once. After the configuration is applied, the system only checks whether the configuration is migrated in the future. ApplyAndAutoCorrect: The configuration is always applied.
Description
Optional
Description interface{}
- Type: interface{}
Property description: The description of the desired-state configuration.
Parameters
Optional
Parameters interface{}
- Type: interface{}
Property parameters: The parameters.
ResourceGroupId
Optional
ResourceGroupId interface{}
- Type: interface{}
Property resourceGroupId: The resource group ID.
Tags
Optional
Tags *map[string]interface{}
- Type: *map[string]interface{}
Property tags: Tag value and the key mapping, the label of the key number can be up to 20.
TemplateVersion
Optional
TemplateVersion interface{}
- Type: interface{}
Property templateVersion: The version number of the template.
If you do not specify this parameter, the latest version of the template is used.