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

文檔

資源編排ROS

本文介紹了資源編排ROS使用示例,您可以參見示例進(jìn)行操作。

本產(chǎn)品已接入阿里云資源編排服務(wù)(簡稱ROS),您可以使ROS管理流程。

使用示例

您可以使用ROS控制臺CLI創(chuàng)建資源。模板的定義請參見流程資源定義文檔

  • YAML格式流程資源模板
    ROSTemplateFormatVersion: '2015-09-01'
    Resources:
      Flow:
        Type: 'ALIYUN::FNF::Flow'
        Properties:
          Description: flow created from ros
          Definition: |-
            version: v1
            type: flow
            steps:
              - type: pass
                name: pass1
          Name: test-ros
    Outputs:
      CreatedTime:
        Description: The flow creation time.
        Value:
          'Fn::GetAtt':
            - Flow
            - CreatedTime
      LastModifiedTime:
        Description: The flow last modified time.
        Value:
          'Fn::GetAtt':
            - Flow
            - LastModifiedTime
      Id:
        Description: The flow ID.
        Value:
          'Fn::GetAtt':
            - Flow
            - Id           
  • JSON格式流程資源模板
    {
      "ROSTemplateFormatVersion": "2015-09-01",
      "Resources": {
        "Flow": {
          "Type": "ALIYUN::FNF::Flow",
          "Properties": {
            "Description": "flow created from ros",
            "Definition": "version: v1\ntype: flow\nsteps:\n  - type: pass\n    name: pass1",
            "Name": "test-ros"
          }
        }
      },
      "Outputs": {
        "CreatedTime": {
          "Description": "The flow creation time.",
          "Value": {
            "Fn::GetAtt": [
              "Flow",
              "CreatedTime"
            ]
          }
        },
        "LastModifiedTime": {
          "Description": "The flow last modified time.",
          "Value": {
            "Fn::GetAtt": [
              "Flow",
              "LastModifiedTime"
            ]
          }
        },
        "Id": {
          "Description": "The flow ID.",
          "Value": {
            "Fn::GetAtt": [
              "Flow",
              "Id"
            ]
          }
        }
      }
    }