Todos os produtos
Search
Central de documentação

Resource Orchestration Service:ALIYUN::OOS::DefaultPatchBaseline

Última atualização: Jun 27, 2026

Registra uma linha de base de patches padrão.

Sintaxe

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

Propriedades

Propriedade

Tipo

Obrigatória

Editável

Descrição

Restrição

PatchBaselineName

String

Sim

Não

Nome da linha de base de patches.

Nenhuma.

Valores de retorno

Fn::GetAtt

  • UpdatedBy: usuário que atualizou a linha de base de patches.

  • Description: descrição da linha de base de patches.

  • CreatedBy: usuário que criou a linha de base de patches.

  • UpdatedDate: data e hora da última atualização da linha de base de patches.

  • PatchBaselineName: nome da linha de base de patches.

  • CreatedDate: data e hora de criação da linha de base de patches.

  • OperationSystem: tipo de sistema operacional.

  • ApprovalRules: regras para verificação e instalação de patches no sistema operacional.

  • PatchBaselineId: ID da linha de base de patches.

  • ShareType: tipo de compartilhamento da linha de base de patches.

Exemplos

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