全部产品
Search
文档中心

资源编排:ALIYUN::OOS::DefaultPatchBaseline

更新时间:Nov 23, 2023

ALIYUN::OOS::DefaultPatchBaseline类型用于注册默认补丁基线。

语法

{
  "Type": "ALIYUN::OOS::DefaultPatchBaseline",
  "Properties": {
    "PatchBaselineName": String
  }
}

属性

属性名称

类型

必须

允许更新

描述

约束

PatchBaselineName

String

补丁基线名称。

返回值

Fn::GetAtt

  • UpdatedBy:补丁基线更新者。

  • Description:补丁基线描述信息。

  • CreatedBy:补丁基线创建者。

  • UpdatedDate:更新时间。

  • PatchBaselineName:补丁基线的名称。

  • CreatedDate:创建时间。

  • OperationSystem:操作系统类型。

  • ApprovalRules:接受规则。

  • PatchBaselineId:补丁基线的ID。

  • ShareType:补丁基线共享类型。

示例

  • YAML格式

    ROSTemplateFormatVersion: '2015-09-01'
    Parameters:
      PatchBaselineName:
        Description:
          en: The name of the patch baseline.
        Type: String
    Resources:
      DefaultPatchBaseline:
        Properties:
          PatchBaselineName:
            Ref: PatchBaselineName
        Type: ALIYUN::OOS::DefaultPatchBaseline
    Outputs:
      ApprovalRules:
        Description: The rules of scanning and installing patches for the specified operating
          system.
        Value:
          Fn::GetAtt:
          - DefaultPatchBaseline
          - ApprovalRules
      CreatedBy:
        Description: The creator of the patch baseline.
        Value:
          Fn::GetAtt:
          - DefaultPatchBaseline
          - CreatedBy
      CreatedDate:
        Description: The time when the patch baseline was created.
        Value:
          Fn::GetAtt:
          - DefaultPatchBaseline
          - CreatedDate
      Description:
        Description: The description of the patch baseline.
        Value:
          Fn::GetAtt:
          - DefaultPatchBaseline
          - Description
      OperationSystem:
        Description: The type of the operating system.
        Value:
          Fn::GetAtt:
          - DefaultPatchBaseline
          - OperationSystem
      PatchBaselineId:
        Description: The ID of the patch baseline.
        Value:
          Fn::GetAtt:
          - DefaultPatchBaseline
          - PatchBaselineId
      PatchBaselineName:
        Description: The name of the patch baseline.
        Value:
          Fn::GetAtt:
          - DefaultPatchBaseline
          - PatchBaselineName
      ShareType:
        Description: The share type of the patch baseline.
        Value:
          Fn::GetAtt:
          - DefaultPatchBaseline
          - ShareType
      UpdatedBy:
        Description: The user who last modified the patch baseline.
        Value:
          Fn::GetAtt:
          - DefaultPatchBaseline
          - UpdatedBy
      UpdatedDate:
        Description: The time when the patch baseline was last modified.
        Value:
          Fn::GetAtt:
          - DefaultPatchBaseline
          - UpdatedDate
                            
  • JSON格式

    {
      "ROSTemplateFormatVersion": "2015-09-01",
      "Parameters": {
        "PatchBaselineName": {
          "Type": "String",
          "Description": {
            "en": "The name of the patch baseline."
          }
        }
      },
      "Resources": {
        "DefaultPatchBaseline": {
          "Type": "ALIYUN::OOS::DefaultPatchBaseline",
          "Properties": {
            "PatchBaselineName": {
              "Ref": "PatchBaselineName"
            }
          }
        }
      },
      "Outputs": {
        "UpdatedBy": {
          "Description": "The user who last modified the patch baseline.",
          "Value": {
            "Fn::GetAtt": [
              "DefaultPatchBaseline",
              "UpdatedBy"
            ]
          }
        },
        "Description": {
          "Description": "The description of the patch baseline.",
          "Value": {
            "Fn::GetAtt": [
              "DefaultPatchBaseline",
              "Description"
            ]
          }
        },
        "CreatedBy": {
          "Description": "The creator of the patch baseline.",
          "Value": {
            "Fn::GetAtt": [
              "DefaultPatchBaseline",
              "CreatedBy"
            ]
          }
        },
        "UpdatedDate": {
          "Description": "The time when the patch baseline was last modified.",
          "Value": {
            "Fn::GetAtt": [
              "DefaultPatchBaseline",
              "UpdatedDate"
            ]
          }
        },
        "PatchBaselineName": {
          "Description": "The name of the patch baseline.",
          "Value": {
            "Fn::GetAtt": [
              "DefaultPatchBaseline",
              "PatchBaselineName"
            ]
          }
        },
        "CreatedDate": {
          "Description": "The time when the patch baseline was created.",
          "Value": {
            "Fn::GetAtt": [
              "DefaultPatchBaseline",
              "CreatedDate"
            ]
          }
        },
        "OperationSystem": {
          "Description": "The type of the operating system.",
          "Value": {
            "Fn::GetAtt": [
              "DefaultPatchBaseline",
              "OperationSystem"
            ]
          }
        },
        "ApprovalRules": {
          "Description": "The rules of scanning and installing patches for the specified operating system.",
          "Value": {
            "Fn::GetAtt": [
              "DefaultPatchBaseline",
              "ApprovalRules"
            ]
          }
        },
        "PatchBaselineId": {
          "Description": "The ID of the patch baseline.",
          "Value": {
            "Fn::GetAtt": [
              "DefaultPatchBaseline",
              "PatchBaselineId"
            ]
          }
        },
        "ShareType": {
          "Description": "The share type of the patch baseline.",
          "Value": {
            "Fn::GetAtt": [
              "DefaultPatchBaseline",
              "ShareType"
            ]
          }
        }
      }
    }