Consulta uma linha de base de patches do OOS.
Sintaxe
{
"Type": "DATASOURCE::OOS::PatchBaseline",
"Properties": {
"PatchBaselineName": String,
"RefreshOptions": String
}
}
Propriedades
|
Propriedade |
Tipo |
Obrigatória |
Editável |
Descrição |
Restrição |
|
PatchBaselineName |
String |
Sim |
Sim |
Nome da linha de base de patches. |
Nenhuma. |
|
RefreshOptions |
String |
Não |
Sim |
Política de atualização dos recursos da fonte de dados durante atualizações da pilha. |
Valores válidos:
|
Valores de retorno
Fn::GetAtt
IsDefault: indica se a linha de base de patches é a padrão.
Description: descrição da linha de base de patches.
CreatedBy: usuário que criou a linha de base de patches.
ResourceGroupId: ID do grupo de recursos.
UpdatedDate: hora da última atualização da linha de base de patches.
CreateTime: 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 do sistema operacional.
Sources: configurações de source dos patches.
RejectedPatches: nomes dos patches rejeitados.
ApprovedPatches: nomes dos patches aprovados.
RejectedPatchesAction: ação executada em patches rejeitados.
UpdatedBy: usuário que atualizou a linha de base de patches pela última vez.
PatchBaselineName: nome da linha de base de patches.
ApprovedPatchesEnableNonSecurity: indica se os patches aprovados incluem atualizações não relacionadas à segurança.
PatchBaselineId: ID da linha de base de patches.
Tags: tags da linha de base de patches.
ShareType: tipo de compartilhamento da linha de base de patches.
Exemplos
ROSTemplateFormatVersion: '2015-09-01'
Parameters:
PatchBaselineName:
Description:
en: The name of the patch baseline.
Required: true
Type: String
Resources:
ExtensionDataSource:
Properties:
PatchBaselineName:
Ref: PatchBaselineName
Type: DATASOURCE::OOS::PatchBaseline
Outputs:
ApprovalRules:
Description: Accept the rules.
Value:
Fn::GetAtt:
- ExtensionDataSource
- ApprovalRules
ApprovedPatches:
Description: Approved patch list.
Value:
Fn::GetAtt:
- ExtensionDataSource
- ApprovedPatches
ApprovedPatchesEnableNonSecurity:
Description: Approve whether the patch includes updates other than security.
Value:
Fn::GetAtt:
- ExtensionDataSource
- ApprovedPatchesEnableNonSecurity
CreateTime:
Description: Creation time.
Value:
Fn::GetAtt:
- ExtensionDataSource
- CreateTime
CreatedBy:
Description: Patch baseline creator.
Value:
Fn::GetAtt:
- ExtensionDataSource
- CreatedBy
Description:
Description: Patches baseline description information.
Value:
Fn::GetAtt:
- ExtensionDataSource
- Description
IsDefault:
Description: Whether it is the default patch baseline.
Value:
Fn::GetAtt:
- ExtensionDataSource
- IsDefault
OperationSystem:
Description: Operating system type.
Value:
Fn::GetAtt:
- ExtensionDataSource
- OperationSystem
PatchBaselineId:
Description: Patch baseline ID.
Value:
Fn::GetAtt:
- ExtensionDataSource
- PatchBaselineId
PatchBaselineName:
Description: The name of the patch baseline.
Value:
Fn::GetAtt:
- ExtensionDataSource
- PatchBaselineName
RejectedPatches:
Description: Reject the name of the patch.
Value:
Fn::GetAtt:
- ExtensionDataSource
- RejectedPatches
RejectedPatchesAction:
Description: The operation of rejecting the patch.
Value:
Fn::GetAtt:
- ExtensionDataSource
- RejectedPatchesAction
ResourceGroupId:
Description: Approve whether the patch includes updates other than security
Value:
Fn::GetAtt:
- ExtensionDataSource
- ResourceGroupId
ShareType:
Description: Patch baseline sharing type.
Value:
Fn::GetAtt:
- ExtensionDataSource
- ShareType
Sources:
Description: Patch source configuration list.
Value:
Fn::GetAtt:
- ExtensionDataSource
- Sources
Tags:
Description: Tags of patch baseline.
Value:
Fn::GetAtt:
- ExtensionDataSource
- Tags
UpdatedBy:
Description: Patch baseline updater.
Value:
Fn::GetAtt:
- ExtensionDataSource
- UpdatedBy
UpdatedDate:
Description: Update time.
Value:
Fn::GetAtt:
- ExtensionDataSource
- UpdatedDate
{
"ROSTemplateFormatVersion": "2015-09-01",
"Parameters": {
"PatchBaselineName": {
"Type": "String",
"Description": {
"en": "The name of the patch baseline."
},
"Required": true
}
},
"Resources": {
"ExtensionDataSource": {
"Type": "DATASOURCE::OOS::PatchBaseline",
"Properties": {
"PatchBaselineName": {
"Ref": "PatchBaselineName"
}
}
}
},
"Outputs": {
"IsDefault": {
"Description": "Whether it is the default patch baseline.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"IsDefault"
]
}
},
"Description": {
"Description": "Patches baseline description information.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"Description"
]
}
},
"CreatedBy": {
"Description": "Patch baseline creator.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"CreatedBy"
]
}
},
"ResourceGroupId": {
"Description": "Approve whether the patch includes updates other than security",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"ResourceGroupId"
]
}
},
"UpdatedDate": {
"Description": "Update time.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"UpdatedDate"
]
}
},
"CreateTime": {
"Description": "Creation time.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"CreateTime"
]
}
},
"OperationSystem": {
"Description": "Operating system type.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"OperationSystem"
]
}
},
"ApprovalRules": {
"Description": "Accept the rules.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"ApprovalRules"
]
}
},
"Sources": {
"Description": "Patch source configuration list.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"Sources"
]
}
},
"RejectedPatches": {
"Description": "Reject the name of the patch.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"RejectedPatches"
]
}
},
"ApprovedPatches": {
"Description": "Approved patch list.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"ApprovedPatches"
]
}
},
"RejectedPatchesAction": {
"Description": "The operation of rejecting the patch.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"RejectedPatchesAction"
]
}
},
"UpdatedBy": {
"Description": "Patch baseline updater.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"UpdatedBy"
]
}
},
"PatchBaselineName": {
"Description": "The name of the patch baseline.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"PatchBaselineName"
]
}
},
"ApprovedPatchesEnableNonSecurity": {
"Description": "Approve whether the patch includes updates other than security.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"ApprovedPatchesEnableNonSecurity"
]
}
},
"PatchBaselineId": {
"Description": "Patch baseline ID.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"PatchBaselineId"
]
}
},
"Tags": {
"Description": "Tags of patch baseline.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"Tags"
]
}
},
"ShareType": {
"Description": "Patch baseline sharing type.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"ShareType"
]
}
}
}
}