Queries the list of Operation Orchestration Service (OOS) patch baselines.
Syntax
{
"Type": "DATASOURCE::OOS::PatchBaselines",
"Properties": {
"PatchBaselineName": String,
"OperationSystem": String,
"ShareType": String,
"RefreshOptions": String
}
}
Properties
|
Property |
Type |
Required |
Editable |
Description |
Constraint |
|
PatchBaselineName |
String |
No |
Yes |
The name of the patch baseline. |
None. |
|
OperationSystem |
String |
No |
Yes |
The operating system type. |
Valid values:
|
|
ShareType |
String |
No |
Yes |
The share type of the patch baseline. |
None. |
|
RefreshOptions |
String |
No |
Yes |
The refresh policy for data source resources when the stack is updated. |
Valid values:
|
Return values
Fn::GetAtt
-
PatchBaselineNames: the names of the patch baselines.
-
PatchBaselines: details of the patch baselines.
|
Property |
Type |
Description |
Constraint |
|
PatchBaselineNames |
List |
The names of the patch baselines. |
None. |
|
PatchBaselines |
List |
Details of the patch baselines. |
None. |
|
Description |
string |
The description of the patch baseline. |
None. |
|
PatchBaselineName |
string |
The name of the patch baseline. |
None. |
|
ShareType |
string |
The share type of the patch baseline. |
None. |
|
PatchBaselineId |
string |
The ID of the patch baseline. |
None. |
|
UpdatedDate |
string |
The time when the patch baseline was last updated. |
None. |
|
UpdatedBy |
string |
The user who last updated the patch baseline. |
None. |
|
CreatedBy |
string |
The user who created the patch baseline. |
None. |
|
OperationSystem |
string |
The operating system type. |
None. |
|
CreateTime |
string |
The time when the patch baseline was created. |
None. |
|
IsDefault |
boolean |
Indicates whether the patch baseline is a default patch baseline. |
Valid values:
|
Examples
ROSTemplateFormatVersion: '2015-09-01'
Parameters: {}
Resources:
ExtensionDataSource:
Type: DATASOURCE::OOS::PatchBaselines
Properties:
OperationSystem: Windows
Outputs:
PatchBaselineNames:
Description: The list of patch baseline names.
Value:
Fn::GetAtt:
- ExtensionDataSource
- PatchBaselineNames
PatchBaselines:
Description: The list of patch baselines.
Value:
Fn::GetAtt:
- ExtensionDataSource
- PatchBaselines{
"ROSTemplateFormatVersion": "2015-09-01",
"Parameters": {
},
"Resources": {
"ExtensionDataSource": {
"Type": "DATASOURCE::OOS::PatchBaselines",
"Properties": {
"OperationSystem": "Windows"
}
}
},
"Outputs": {
"PatchBaselineNames": {
"Description": "The list of patch baseline names.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"PatchBaselineNames"
]
}
},
"PatchBaselines": {
"Description": "The list of patch baselines.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"PatchBaselines"
]
}
}
}
}