日本熟妇hd丰满老熟妇,中文字幕一区二区三区在线不卡 ,亚洲成片在线观看,免费女同在线一区二区

ALIYUN::OOS::StateConfiguration

ALIYUN::OOS::StateConfiguration類型用于創建終態配置。

語法

{
  "Type": "ALIYUN::OOS::StateConfiguration",
  "Properties": {
    "ConfigureMode": String,
    "ScheduleExpression": String,
    "ScheduleType": String,
    "Description": String,
    "Parameters": String,
    "ResourceGroupId": String,
    "TemplateName": String,
    "TemplateVersion": String,
    "Targets": String,
    "Tags": Map
  }
}

屬性

屬性名稱

類型

必須

允許更新

描述

約束

ConfigureMode

String

配置模式。

取值:

  • ApplyOnly:配置只應用一次(更新配置后重新應用)。

  • ApplyAndMonitor: 配置只應用一次,成功應用后,后續只檢查配置是否漂移。

  • ApplyAndAutoCorrect:總是應用配置。

ScheduleExpression

String

調度表達式。

調度間隔不得小于30分鐘。

ScheduleType

String

調度類型。

可選值:rate。

Description

String

終態配置的描述信息。

Parameters

String

參數。

示例值:

{ "policy": { "ACS:Application": { "Collection": "Enabled" }, "ACS:Network": { "Collection": "Enabled" } } }

ResourceGroupId

String

資源組ID。

TemplateName

String

模板名稱。

內容限制為字母、數字、中劃線、下劃線,長度200字符。

TemplateVersion

String

版本號。

如不填默認為最新的版本號。

Targets

String

目標資源。

Tags

Map

標簽。

標簽的鍵數最多可達20個。 示例值:

{"Key": "oos", "Value": "inventory"}

返回值

Fn::GetAtt

StateConfigurationId:創建生成的配置ID。

示例

  • YAML格式

    ROSTemplateFormatVersion: '2015-09-01'
    Parameters:
      ConfigureMode:
        Description:
          en: '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.'
        Required: false
        Type: String
      Description:
        AssociationProperty: TextArea
        Description:
          en: The description of the desired-state configuration.
        Required: false
        Type: String
      Parameters:
        Description:
          en: The parameters.
        Required: false
        Type: String
      ResourceGroupId:
        AssociationProperty: ALIYUN::ECS::ResourceGroup::ResourceGroupId
        Description:
          en: The resource group ID.
        Required: false
        Type: String
      ScheduleExpression:
        Description:
          en: The schedule expression. The interval between two schedules must be a minimum
            of 30 minutes.
        Required: true
        Type: String
      ScheduleType:
        Description:
          en: The schedule type. Set the value to rate.
        Required: true
        Type: String
      Tags:
        Description:
          en: Tag value and the key mapping, the label of the key number can be up to
            20.
        Required: false
        Type: Json
      Targets:
        Description:
          en: The resources to be queried.
        Required: true
        Type: String
      TemplateName:
        Description:
          en: The name of the template. The name must be 1 to 200 characters in length
            and can contain letters, digits, hyphens (-), and underscores (_).
        Required: true
        Type: String
      TemplateVersion:
        Description:
          en: The version number of the template. If you do not specify this parameter,
            the latest version of the template is used.
        Required: false
        Type: String
    Resources:
      StateConfiguration:
        Properties:
          ConfigureMode:
            Ref: ConfigureMode
          Description:
            Ref: Description
          Parameters:
            Ref: Parameters
          ResourceGroupId:
            Ref: ResourceGroupId
          ScheduleExpression:
            Ref: ScheduleExpression
          ScheduleType:
            Ref: ScheduleType
          Tags:
            Ref: Tags
          Targets:
            Ref: Targets
          TemplateName:
            Ref: TemplateName
          TemplateVersion:
            Ref: TemplateVersion
        Type: ALIYUN::OOS::StateConfiguration
    Outputs:
      StateConfigurationId:
        Description: The ID of the desired-state configuration.
        Value:
          Fn::GetAtt:
          - StateConfiguration
          - StateConfigurationId
                            
  • JSON格式

    {
      "ROSTemplateFormatVersion": "2015-09-01",
      "Parameters": {
        "ConfigureMode": {
          "Type": "String",
          "Description": {
            "en": "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."
          },
          "Required": false
        },
        "ScheduleExpression": {
          "Type": "String",
          "Description": {
            "en": "The schedule expression. The interval between two schedules must be a minimum of 30 minutes."
          },
          "Required": true
        },
        "ScheduleType": {
          "Type": "String",
          "Description": {
            "en": "The schedule type. Set the value to rate."
          },
          "Required": true
        },
        "Description": {
          "AssociationProperty": "TextArea",
          "Type": "String",
          "Description": {
            "en": "The description of the desired-state configuration."
          },
          "Required": false
        },
        "Parameters": {
          "Type": "String",
          "Description": {
            "en": "The parameters."
          },
          "Required": false
        },
        "ResourceGroupId": {
          "AssociationProperty": "ALIYUN::ECS::ResourceGroup::ResourceGroupId",
          "Type": "String",
          "Description": {
            "en": "The resource group ID."
          },
          "Required": false
        },
        "TemplateName": {
          "Type": "String",
          "Description": {
            "en": "The name of the template. The name must be 1 to 200 characters in length and can contain letters, digits, hyphens (-), and underscores (_)."
          },
          "Required": true
        },
        "TemplateVersion": {
          "Type": "String",
          "Description": {
            "en": "The version number of the template. If you do not specify this parameter, the latest version of the template is used."
          },
          "Required": false
        },
        "Targets": {
          "Type": "String",
          "Description": {
            "en": "The resources to be queried."
          },
          "Required": true
        },
        "Tags": {
          "Type": "Json",
          "Description": {
            "en": "Tag value and the key mapping, the label of the key number can be up to 20."
          },
          "Required": false
        }
      },
      "Resources": {
        "StateConfiguration": {
          "Type": "ALIYUN::OOS::StateConfiguration",
          "Properties": {
            "ConfigureMode": {
              "Ref": "ConfigureMode"
            },
            "ScheduleExpression": {
              "Ref": "ScheduleExpression"
            },
            "ScheduleType": {
              "Ref": "ScheduleType"
            },
            "Description": {
              "Ref": "Description"
            },
            "Parameters": {
              "Ref": "Parameters"
            },
            "ResourceGroupId": {
              "Ref": "ResourceGroupId"
            },
            "TemplateName": {
              "Ref": "TemplateName"
            },
            "TemplateVersion": {
              "Ref": "TemplateVersion"
            },
            "Targets": {
              "Ref": "Targets"
            },
            "Tags": {
              "Ref": "Tags"
            }
          }
        }
      },
      "Outputs": {
        "StateConfigurationId": {
          "Description": "The ID of the desired-state configuration.",
          "Value": {
            "Fn::GetAtt": [
              "StateConfiguration",
              "StateConfigurationId"
            ]
          }
        }
      }
    }