StateConfigurationProps
Properties for defining a StateConfiguration
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-oos-stateconfiguration
Initializer
using AlibabaCloud.SDK.ROS.CDK.Oos;
new StateConfigurationProps {
object ScheduleExpression,
object ScheduleType,
object Targets,
object TemplateName,
object ConfigureMode = null,
object Description = null,
object Parameters = null,
object ResourceGroupId = null,
System.Collections.Generic.IDictionary<string, object> Tags = null,
object TemplateVersion = null
};
Properties
Name | Type | Description |
---|---|---|
ScheduleExpression |
object |
Property scheduleExpression: The schedule expression. |
ScheduleType |
object |
Property scheduleType: The schedule type. |
Targets |
object |
Property targets: The resources to be queried. |
TemplateName |
object |
Property templateName: The name of the template. |
ConfigureMode |
object |
Property configureMode: The configuration mode. |
Description |
object |
Property description: The description of the desired-state configuration. |
Parameters |
object |
Property parameters: The parameters. |
ResourceGroupId |
object |
Property resourceGroupId: The resource group ID. |
Tags |
System.Collections.Generic.IDictionary |
Property tags: Tag value and the key mapping, the label of the key number can be up to 20. |
TemplateVersion |
object |
Property templateVersion: The version number of the template. |
ScheduleExpression
Required
public object ScheduleExpression { get; set; }
- Type: object
Property scheduleExpression: The schedule expression.
The interval between two schedules must be a minimum of 30 minutes.
ScheduleType
Required
public object ScheduleType { get; set; }
- Type: object
Property scheduleType: The schedule type.
Set the value to rate.
Targets
Required
public object Targets { get; set; }
- Type: object
Property targets: The resources to be queried.
TemplateName
Required
public object TemplateName { get; set; }
- Type: object
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
public object ConfigureMode { get; set; }
- Type: object
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
public object Description { get; set; }
- Type: object
Property description: The description of the desired-state configuration.
Parameters
Optional
public object Parameters { get; set; }
- Type: object
Property parameters: The parameters.
ResourceGroupId
Optional
public object ResourceGroupId { get; set; }
- Type: object
Property resourceGroupId: The resource group ID.
Tags
Optional
public System.Collections.Generic.IDictionary<string, object> Tags { get; set; }
- Type: System.Collections.Generic.IDictionary
Property tags: Tag value and the key mapping, the label of the key number can be up to 20.
TemplateVersion
Optional
public object TemplateVersion { get; set; }
- Type: object
Property templateVersion: The version number of the template.
If you do not specify this parameter, the latest version of the template is used.