All Products
Search
Document Center

Resource Orchestration Service:ALIYUN::OOS::DefaultPatchBaseline

更新時間:Nov 23, 2023

ALIYUN::OOS::DefaultPatchBaseline is used to register a default patch baseline.

Syntax

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

Properties

Property

Type

Required

Editable

Description

Constraint

PatchBaselineName

String

Yes

No

The name of the patch baseline.

None.

Return values

Fn::GetAtt

  • UpdatedBy: the user who updated the patch baseline.

  • Description: the description of the patch baseline.

  • CreatedBy: the user who created the patch baseline.

  • UpdatedDate: the time when the patch baseline was updated.

  • PatchBaselineName: the name of the patch baseline.

  • CreatedDate: the time when the patch baseline was created.

  • OperationSystem: the type of the OS.

  • ApprovalRules: the rules for scanning and installing patches for the OS.

  • PatchBaselineId: the ID of the patch baseline.

  • ShareType: the share type of the patch baseline.

Examples

  • YAML format

    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 format

    {
      "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"
            ]
          }
        }
      }
    }