@pulumi/oci 3.11.0-alpha.1762844657 → 3.11.0-alpha.1763007519
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/artifacts/getContainerImages.d.ts +11 -0
- package/artifacts/getContainerImages.js +4 -0
- package/artifacts/getContainerImages.js.map +1 -1
- package/containerengine/getClusterOption.d.ts +11 -0
- package/containerengine/getClusterOption.js +4 -0
- package/containerengine/getClusterOption.js.map +1 -1
- package/containerengine/getNodePoolOption.d.ts +44 -0
- package/containerengine/getNodePoolOption.js +16 -0
- package/containerengine/getNodePoolOption.js.map +1 -1
- package/core/dedicatedVmHost.d.ts +33 -7
- package/core/dedicatedVmHost.js +6 -0
- package/core/dedicatedVmHost.js.map +1 -1
- package/core/getDedicatedVmHost.d.ts +11 -3
- package/core/getDedicatedVmHost.js.map +1 -1
- package/core/getDedicatedVmHostInstances.d.ts +14 -0
- package/core/getDedicatedVmHostInstances.js +4 -0
- package/core/getDedicatedVmHostInstances.js.map +1 -1
- package/core/getDedicatedVmHosts.d.ts +14 -0
- package/core/getDedicatedVmHosts.js +4 -0
- package/core/getDedicatedVmHosts.js.map +1 -1
- package/fleetappsmanagement/catalogItem.d.ts +0 -54
- package/fleetappsmanagement/catalogItem.js +0 -42
- package/fleetappsmanagement/catalogItem.js.map +1 -1
- package/fleetappsmanagement/fleet.d.ts +6 -6
- package/fleetappsmanagement/getCatalogItemVariablesDefinition.d.ts +83 -0
- package/fleetappsmanagement/getCatalogItemVariablesDefinition.js +54 -0
- package/fleetappsmanagement/getCatalogItemVariablesDefinition.js.map +1 -0
- package/fleetappsmanagement/getCatalogItems.d.ts +14 -0
- package/fleetappsmanagement/getCatalogItems.js +4 -0
- package/fleetappsmanagement/getCatalogItems.js.map +1 -1
- package/fleetappsmanagement/getFleet.d.ts +1 -1
- package/fleetappsmanagement/getFleetCompliance.d.ts +75 -0
- package/fleetappsmanagement/getFleetCompliance.js +54 -0
- package/fleetappsmanagement/getFleetCompliance.js.map +1 -0
- package/fleetappsmanagement/getFleetTargets.d.ts +14 -0
- package/fleetappsmanagement/getFleetTargets.js +4 -0
- package/fleetappsmanagement/getFleetTargets.js.map +1 -1
- package/fleetappsmanagement/getInstalledPatches.d.ts +138 -0
- package/fleetappsmanagement/getInstalledPatches.js +78 -0
- package/fleetappsmanagement/getInstalledPatches.js.map +1 -0
- package/fleetappsmanagement/getInventoryRecords.d.ts +11 -0
- package/fleetappsmanagement/getInventoryRecords.js +4 -0
- package/fleetappsmanagement/getInventoryRecords.js.map +1 -1
- package/fleetappsmanagement/getRecommendedPatches.d.ts +150 -0
- package/fleetappsmanagement/getRecommendedPatches.js +80 -0
- package/fleetappsmanagement/getRecommendedPatches.js.map +1 -0
- package/fleetappsmanagement/getReportMetadata.d.ts +83 -0
- package/fleetappsmanagement/getReportMetadata.js +60 -0
- package/fleetappsmanagement/getReportMetadata.js.map +1 -0
- package/fleetappsmanagement/getRunbook.d.ts +2 -2
- package/fleetappsmanagement/getRunbookExport.d.ts +99 -0
- package/fleetappsmanagement/getRunbookExport.js +58 -0
- package/fleetappsmanagement/getRunbookExport.js.map +1 -0
- package/fleetappsmanagement/getRunbookExportStatuses.d.ts +73 -0
- package/fleetappsmanagement/getRunbookExportStatuses.js +60 -0
- package/fleetappsmanagement/getRunbookExportStatuses.js.map +1 -0
- package/fleetappsmanagement/getRunbookImport.d.ts +99 -0
- package/fleetappsmanagement/getRunbookImport.js +58 -0
- package/fleetappsmanagement/getRunbookImport.js.map +1 -0
- package/fleetappsmanagement/getRunbookImportStatuses.d.ts +73 -0
- package/fleetappsmanagement/getRunbookImportStatuses.js +60 -0
- package/fleetappsmanagement/getRunbookImportStatuses.js.map +1 -0
- package/fleetappsmanagement/getRunbookVersion.d.ts +1 -1
- package/fleetappsmanagement/getRunbookVersions.d.ts +1 -1
- package/fleetappsmanagement/getSchedulerExecutions.d.ts +26 -4
- package/fleetappsmanagement/getSchedulerExecutions.js +10 -2
- package/fleetappsmanagement/getSchedulerExecutions.js.map +1 -1
- package/fleetappsmanagement/getTargetComponents.d.ts +119 -0
- package/fleetappsmanagement/getTargetComponents.js +72 -0
- package/fleetappsmanagement/getTargetComponents.js.map +1 -0
- package/fleetappsmanagement/getTargetProperties.d.ts +105 -0
- package/fleetappsmanagement/getTargetProperties.js +68 -0
- package/fleetappsmanagement/getTargetProperties.js.map +1 -0
- package/fleetappsmanagement/index.d.ts +33 -0
- package/fleetappsmanagement/index.js +36 -3
- package/fleetappsmanagement/index.js.map +1 -1
- package/fleetappsmanagement/onboarding.d.ts +22 -19
- package/fleetappsmanagement/onboarding.js +2 -13
- package/fleetappsmanagement/onboarding.js.map +1 -1
- package/fleetappsmanagement/platformConfiguration.d.ts +29 -11
- package/fleetappsmanagement/platformConfiguration.js +8 -2
- package/fleetappsmanagement/platformConfiguration.js.map +1 -1
- package/fleetappsmanagement/property.d.ts +22 -4
- package/fleetappsmanagement/property.js +8 -2
- package/fleetappsmanagement/property.js.map +1 -1
- package/fleetappsmanagement/runbook.d.ts +6 -5
- package/fleetappsmanagement/runbook.js +1 -0
- package/fleetappsmanagement/runbook.js.map +1 -1
- package/fleetappsmanagement/runbookVersion.d.ts +6 -152
- package/fleetappsmanagement/runbookVersion.js +0 -152
- package/fleetappsmanagement/runbookVersion.js.map +1 -1
- package/fleetappsmanagement/taskRecord.d.ts +1 -0
- package/fleetappsmanagement/taskRecord.js +1 -0
- package/fleetappsmanagement/taskRecord.js.map +1 -1
- package/functions/getFusionEnvironmentAdminUser.d.ts +3 -0
- package/functions/getFusionEnvironmentAdminUser.js.map +1 -1
- package/fusionapps/fusionEnvironmentAdminUser.d.ts +6 -0
- package/fusionapps/fusionEnvironmentAdminUser.js.map +1 -1
- package/limits/getLimitDefinitions.d.ts +8 -8
- package/limits/getLimitDefinitions.js +6 -6
- package/limits/getLimitValues.d.ts +17 -4
- package/limits/getLimitValues.js +8 -2
- package/limits/getLimitValues.js.map +1 -1
- package/limits/getResourceAvailability.d.ts +17 -6
- package/limits/getResourceAvailability.js +8 -4
- package/limits/getResourceAvailability.js.map +1 -1
- package/limits/getServices.d.ts +2 -2
- package/package.json +2 -2
- package/types/input.d.ts +155 -60
- package/types/output.d.ts +730 -87
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.getFleetComplianceOutput = exports.getFleetCompliance = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* This data source provides details about a specific Fleet Compliance resource in Oracle Cloud Infrastructure Fleet Apps Management service.
|
|
10
|
+
*
|
|
11
|
+
* Retrieve compliance for a fleet.
|
|
12
|
+
*
|
|
13
|
+
* ## Example Usage
|
|
14
|
+
*
|
|
15
|
+
* ```typescript
|
|
16
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
17
|
+
* import * as oci from "@pulumi/oci";
|
|
18
|
+
*
|
|
19
|
+
* const testFleetCompliance = oci.FleetAppsManagement.getFleetCompliance({
|
|
20
|
+
* fleetId: testFleet.id,
|
|
21
|
+
* });
|
|
22
|
+
* ```
|
|
23
|
+
*/
|
|
24
|
+
function getFleetCompliance(args, opts) {
|
|
25
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
26
|
+
return pulumi.runtime.invoke("oci:FleetAppsManagement/getFleetCompliance:getFleetCompliance", {
|
|
27
|
+
"fleetId": args.fleetId,
|
|
28
|
+
}, opts);
|
|
29
|
+
}
|
|
30
|
+
exports.getFleetCompliance = getFleetCompliance;
|
|
31
|
+
/**
|
|
32
|
+
* This data source provides details about a specific Fleet Compliance resource in Oracle Cloud Infrastructure Fleet Apps Management service.
|
|
33
|
+
*
|
|
34
|
+
* Retrieve compliance for a fleet.
|
|
35
|
+
*
|
|
36
|
+
* ## Example Usage
|
|
37
|
+
*
|
|
38
|
+
* ```typescript
|
|
39
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
40
|
+
* import * as oci from "@pulumi/oci";
|
|
41
|
+
*
|
|
42
|
+
* const testFleetCompliance = oci.FleetAppsManagement.getFleetCompliance({
|
|
43
|
+
* fleetId: testFleet.id,
|
|
44
|
+
* });
|
|
45
|
+
* ```
|
|
46
|
+
*/
|
|
47
|
+
function getFleetComplianceOutput(args, opts) {
|
|
48
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
49
|
+
return pulumi.runtime.invokeOutput("oci:FleetAppsManagement/getFleetCompliance:getFleetCompliance", {
|
|
50
|
+
"fleetId": args.fleetId,
|
|
51
|
+
}, opts);
|
|
52
|
+
}
|
|
53
|
+
exports.getFleetComplianceOutput = getFleetComplianceOutput;
|
|
54
|
+
//# sourceMappingURL=getFleetCompliance.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getFleetCompliance.js","sourceRoot":"","sources":["../../fleetappsmanagement/getFleetCompliance.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,kBAAkB,CAAC,IAA4B,EAAE,IAA2B;IACxF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,+DAA+D,EAAE;QAC1F,SAAS,EAAE,IAAI,CAAC,OAAO;KAC1B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,gDAKC;AAkCD;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,wBAAwB,CAAC,IAAkC,EAAE,IAAiC;IAC1G,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,+DAA+D,EAAE;QAChG,SAAS,EAAE,IAAI,CAAC,OAAO;KAC1B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,4DAKC"}
|
|
@@ -18,6 +18,7 @@ import * as outputs from "../types/output";
|
|
|
18
18
|
* product: fleetTargetProduct,
|
|
19
19
|
* resourceDisplayName: fleetTargetResourceDisplayName,
|
|
20
20
|
* resourceId: testResource.id,
|
|
21
|
+
* state: fleetTargetState,
|
|
21
22
|
* });
|
|
22
23
|
* ```
|
|
23
24
|
*/
|
|
@@ -47,6 +48,10 @@ export interface GetFleetTargetsArgs {
|
|
|
47
48
|
* Resource Identifier
|
|
48
49
|
*/
|
|
49
50
|
resourceId?: string;
|
|
51
|
+
/**
|
|
52
|
+
* A filter to return fleets whose lifecycleState matches the given lifecycleState.
|
|
53
|
+
*/
|
|
54
|
+
state?: string;
|
|
50
55
|
}
|
|
51
56
|
/**
|
|
52
57
|
* A collection of values returned by getFleetTargets.
|
|
@@ -78,6 +83,10 @@ export interface GetFleetTargetsResult {
|
|
|
78
83
|
* The OCID of the resource.
|
|
79
84
|
*/
|
|
80
85
|
readonly resourceId?: string;
|
|
86
|
+
/**
|
|
87
|
+
* The current state of the FleetTarget.
|
|
88
|
+
*/
|
|
89
|
+
readonly state?: string;
|
|
81
90
|
}
|
|
82
91
|
/**
|
|
83
92
|
* This data source provides the list of Fleet Targets in Oracle Cloud Infrastructure Fleet Apps Management service.
|
|
@@ -96,6 +105,7 @@ export interface GetFleetTargetsResult {
|
|
|
96
105
|
* product: fleetTargetProduct,
|
|
97
106
|
* resourceDisplayName: fleetTargetResourceDisplayName,
|
|
98
107
|
* resourceId: testResource.id,
|
|
108
|
+
* state: fleetTargetState,
|
|
99
109
|
* });
|
|
100
110
|
* ```
|
|
101
111
|
*/
|
|
@@ -125,4 +135,8 @@ export interface GetFleetTargetsOutputArgs {
|
|
|
125
135
|
* Resource Identifier
|
|
126
136
|
*/
|
|
127
137
|
resourceId?: pulumi.Input<string>;
|
|
138
|
+
/**
|
|
139
|
+
* A filter to return fleets whose lifecycleState matches the given lifecycleState.
|
|
140
|
+
*/
|
|
141
|
+
state?: pulumi.Input<string>;
|
|
128
142
|
}
|
|
@@ -22,6 +22,7 @@ const utilities = require("../utilities");
|
|
|
22
22
|
* product: fleetTargetProduct,
|
|
23
23
|
* resourceDisplayName: fleetTargetResourceDisplayName,
|
|
24
24
|
* resourceId: testResource.id,
|
|
25
|
+
* state: fleetTargetState,
|
|
25
26
|
* });
|
|
26
27
|
* ```
|
|
27
28
|
*/
|
|
@@ -34,6 +35,7 @@ function getFleetTargets(args, opts) {
|
|
|
34
35
|
"product": args.product,
|
|
35
36
|
"resourceDisplayName": args.resourceDisplayName,
|
|
36
37
|
"resourceId": args.resourceId,
|
|
38
|
+
"state": args.state,
|
|
37
39
|
}, opts);
|
|
38
40
|
}
|
|
39
41
|
exports.getFleetTargets = getFleetTargets;
|
|
@@ -54,6 +56,7 @@ exports.getFleetTargets = getFleetTargets;
|
|
|
54
56
|
* product: fleetTargetProduct,
|
|
55
57
|
* resourceDisplayName: fleetTargetResourceDisplayName,
|
|
56
58
|
* resourceId: testResource.id,
|
|
59
|
+
* state: fleetTargetState,
|
|
57
60
|
* });
|
|
58
61
|
* ```
|
|
59
62
|
*/
|
|
@@ -66,6 +69,7 @@ function getFleetTargetsOutput(args, opts) {
|
|
|
66
69
|
"product": args.product,
|
|
67
70
|
"resourceDisplayName": args.resourceDisplayName,
|
|
68
71
|
"resourceId": args.resourceId,
|
|
72
|
+
"state": args.state,
|
|
69
73
|
}, opts);
|
|
70
74
|
}
|
|
71
75
|
exports.getFleetTargetsOutput = getFleetTargetsOutput;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getFleetTargets.js","sourceRoot":"","sources":["../../fleetappsmanagement/getFleetTargets.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"getFleetTargets.js","sourceRoot":"","sources":["../../fleetappsmanagement/getFleetTargets.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,SAAgB,eAAe,CAAC,IAAyB,EAAE,IAA2B;IAClF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,yDAAyD,EAAE;QACpF,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,qBAAqB,EAAE,IAAI,CAAC,mBAAmB;QAC/C,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,OAAO,EAAE,IAAI,CAAC,KAAK;KACtB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAXD,0CAWC;AAoED;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,SAAgB,qBAAqB,CAAC,IAA+B,EAAE,IAAiC;IACpG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,yDAAyD,EAAE;QAC1F,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,qBAAqB,EAAE,IAAI,CAAC,mBAAmB;QAC/C,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,OAAO,EAAE,IAAI,CAAC,KAAK;KACtB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAXD,sDAWC"}
|
|
@@ -0,0 +1,138 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "../types/input";
|
|
3
|
+
import * as outputs from "../types/output";
|
|
4
|
+
/**
|
|
5
|
+
* This data source provides the list of Installed Patches in Oracle Cloud Infrastructure Fleet Apps Management service.
|
|
6
|
+
*
|
|
7
|
+
* Gets a list of installed patches for the specified target.
|
|
8
|
+
* CompartmentId should be the compartment OCID of the resource (Containing the target).
|
|
9
|
+
*
|
|
10
|
+
* ## Example Usage
|
|
11
|
+
*
|
|
12
|
+
* ```typescript
|
|
13
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
14
|
+
* import * as oci from "@pulumi/oci";
|
|
15
|
+
*
|
|
16
|
+
* const testInstalledPatches = oci.FleetAppsManagement.getInstalledPatches({
|
|
17
|
+
* compartmentId: compartmentId,
|
|
18
|
+
* targetId: fleetTargetId,
|
|
19
|
+
* targetName: fleetTargetName,
|
|
20
|
+
* patchLevel: installedPatchPatchLevel,
|
|
21
|
+
* patchType: installedPatchPatchType,
|
|
22
|
+
* severity: installedPatchSeverity,
|
|
23
|
+
* });
|
|
24
|
+
* ```
|
|
25
|
+
*/
|
|
26
|
+
export declare function getInstalledPatches(args: GetInstalledPatchesArgs, opts?: pulumi.InvokeOptions): Promise<GetInstalledPatchesResult>;
|
|
27
|
+
/**
|
|
28
|
+
* A collection of arguments for invoking getInstalledPatches.
|
|
29
|
+
*/
|
|
30
|
+
export interface GetInstalledPatchesArgs {
|
|
31
|
+
/**
|
|
32
|
+
* The OCID of the compartment in which to list resources.
|
|
33
|
+
*/
|
|
34
|
+
compartmentId: string;
|
|
35
|
+
filters?: inputs.FleetAppsManagement.GetInstalledPatchesFilter[];
|
|
36
|
+
/**
|
|
37
|
+
* Patch level with values like LATEST, LATEST_MINUS_ONE, LATEST_MIUS_TWO etc.,.
|
|
38
|
+
*/
|
|
39
|
+
patchLevel?: string;
|
|
40
|
+
/**
|
|
41
|
+
* Patch type.
|
|
42
|
+
*/
|
|
43
|
+
patchType?: string;
|
|
44
|
+
/**
|
|
45
|
+
* Patch severity with values like CRITICAL, HIGH, MEDIUM and LOW.
|
|
46
|
+
*/
|
|
47
|
+
severity?: string;
|
|
48
|
+
/**
|
|
49
|
+
* Target identifier.
|
|
50
|
+
*/
|
|
51
|
+
targetId?: string;
|
|
52
|
+
/**
|
|
53
|
+
* Target name.
|
|
54
|
+
*/
|
|
55
|
+
targetName?: string;
|
|
56
|
+
}
|
|
57
|
+
/**
|
|
58
|
+
* A collection of values returned by getInstalledPatches.
|
|
59
|
+
*/
|
|
60
|
+
export interface GetInstalledPatchesResult {
|
|
61
|
+
readonly compartmentId: string;
|
|
62
|
+
readonly filters?: outputs.FleetAppsManagement.GetInstalledPatchesFilter[];
|
|
63
|
+
/**
|
|
64
|
+
* The provider-assigned unique ID for this managed resource.
|
|
65
|
+
*/
|
|
66
|
+
readonly id: string;
|
|
67
|
+
/**
|
|
68
|
+
* The list of installed_patch_collection.
|
|
69
|
+
*/
|
|
70
|
+
readonly installedPatchCollections: outputs.FleetAppsManagement.GetInstalledPatchesInstalledPatchCollection[];
|
|
71
|
+
/**
|
|
72
|
+
* Patch level.
|
|
73
|
+
*/
|
|
74
|
+
readonly patchLevel?: string;
|
|
75
|
+
/**
|
|
76
|
+
* Type of the patch.
|
|
77
|
+
*/
|
|
78
|
+
readonly patchType?: string;
|
|
79
|
+
/**
|
|
80
|
+
* Patch severity.
|
|
81
|
+
*/
|
|
82
|
+
readonly severity?: string;
|
|
83
|
+
readonly targetId?: string;
|
|
84
|
+
readonly targetName?: string;
|
|
85
|
+
}
|
|
86
|
+
/**
|
|
87
|
+
* This data source provides the list of Installed Patches in Oracle Cloud Infrastructure Fleet Apps Management service.
|
|
88
|
+
*
|
|
89
|
+
* Gets a list of installed patches for the specified target.
|
|
90
|
+
* CompartmentId should be the compartment OCID of the resource (Containing the target).
|
|
91
|
+
*
|
|
92
|
+
* ## Example Usage
|
|
93
|
+
*
|
|
94
|
+
* ```typescript
|
|
95
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
96
|
+
* import * as oci from "@pulumi/oci";
|
|
97
|
+
*
|
|
98
|
+
* const testInstalledPatches = oci.FleetAppsManagement.getInstalledPatches({
|
|
99
|
+
* compartmentId: compartmentId,
|
|
100
|
+
* targetId: fleetTargetId,
|
|
101
|
+
* targetName: fleetTargetName,
|
|
102
|
+
* patchLevel: installedPatchPatchLevel,
|
|
103
|
+
* patchType: installedPatchPatchType,
|
|
104
|
+
* severity: installedPatchSeverity,
|
|
105
|
+
* });
|
|
106
|
+
* ```
|
|
107
|
+
*/
|
|
108
|
+
export declare function getInstalledPatchesOutput(args: GetInstalledPatchesOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetInstalledPatchesResult>;
|
|
109
|
+
/**
|
|
110
|
+
* A collection of arguments for invoking getInstalledPatches.
|
|
111
|
+
*/
|
|
112
|
+
export interface GetInstalledPatchesOutputArgs {
|
|
113
|
+
/**
|
|
114
|
+
* The OCID of the compartment in which to list resources.
|
|
115
|
+
*/
|
|
116
|
+
compartmentId: pulumi.Input<string>;
|
|
117
|
+
filters?: pulumi.Input<pulumi.Input<inputs.FleetAppsManagement.GetInstalledPatchesFilterArgs>[]>;
|
|
118
|
+
/**
|
|
119
|
+
* Patch level with values like LATEST, LATEST_MINUS_ONE, LATEST_MIUS_TWO etc.,.
|
|
120
|
+
*/
|
|
121
|
+
patchLevel?: pulumi.Input<string>;
|
|
122
|
+
/**
|
|
123
|
+
* Patch type.
|
|
124
|
+
*/
|
|
125
|
+
patchType?: pulumi.Input<string>;
|
|
126
|
+
/**
|
|
127
|
+
* Patch severity with values like CRITICAL, HIGH, MEDIUM and LOW.
|
|
128
|
+
*/
|
|
129
|
+
severity?: pulumi.Input<string>;
|
|
130
|
+
/**
|
|
131
|
+
* Target identifier.
|
|
132
|
+
*/
|
|
133
|
+
targetId?: pulumi.Input<string>;
|
|
134
|
+
/**
|
|
135
|
+
* Target name.
|
|
136
|
+
*/
|
|
137
|
+
targetName?: pulumi.Input<string>;
|
|
138
|
+
}
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.getInstalledPatchesOutput = exports.getInstalledPatches = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* This data source provides the list of Installed Patches in Oracle Cloud Infrastructure Fleet Apps Management service.
|
|
10
|
+
*
|
|
11
|
+
* Gets a list of installed patches for the specified target.
|
|
12
|
+
* CompartmentId should be the compartment OCID of the resource (Containing the target).
|
|
13
|
+
*
|
|
14
|
+
* ## Example Usage
|
|
15
|
+
*
|
|
16
|
+
* ```typescript
|
|
17
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
18
|
+
* import * as oci from "@pulumi/oci";
|
|
19
|
+
*
|
|
20
|
+
* const testInstalledPatches = oci.FleetAppsManagement.getInstalledPatches({
|
|
21
|
+
* compartmentId: compartmentId,
|
|
22
|
+
* targetId: fleetTargetId,
|
|
23
|
+
* targetName: fleetTargetName,
|
|
24
|
+
* patchLevel: installedPatchPatchLevel,
|
|
25
|
+
* patchType: installedPatchPatchType,
|
|
26
|
+
* severity: installedPatchSeverity,
|
|
27
|
+
* });
|
|
28
|
+
* ```
|
|
29
|
+
*/
|
|
30
|
+
function getInstalledPatches(args, opts) {
|
|
31
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
32
|
+
return pulumi.runtime.invoke("oci:FleetAppsManagement/getInstalledPatches:getInstalledPatches", {
|
|
33
|
+
"compartmentId": args.compartmentId,
|
|
34
|
+
"filters": args.filters,
|
|
35
|
+
"patchLevel": args.patchLevel,
|
|
36
|
+
"patchType": args.patchType,
|
|
37
|
+
"severity": args.severity,
|
|
38
|
+
"targetId": args.targetId,
|
|
39
|
+
"targetName": args.targetName,
|
|
40
|
+
}, opts);
|
|
41
|
+
}
|
|
42
|
+
exports.getInstalledPatches = getInstalledPatches;
|
|
43
|
+
/**
|
|
44
|
+
* This data source provides the list of Installed Patches in Oracle Cloud Infrastructure Fleet Apps Management service.
|
|
45
|
+
*
|
|
46
|
+
* Gets a list of installed patches for the specified target.
|
|
47
|
+
* CompartmentId should be the compartment OCID of the resource (Containing the target).
|
|
48
|
+
*
|
|
49
|
+
* ## Example Usage
|
|
50
|
+
*
|
|
51
|
+
* ```typescript
|
|
52
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
53
|
+
* import * as oci from "@pulumi/oci";
|
|
54
|
+
*
|
|
55
|
+
* const testInstalledPatches = oci.FleetAppsManagement.getInstalledPatches({
|
|
56
|
+
* compartmentId: compartmentId,
|
|
57
|
+
* targetId: fleetTargetId,
|
|
58
|
+
* targetName: fleetTargetName,
|
|
59
|
+
* patchLevel: installedPatchPatchLevel,
|
|
60
|
+
* patchType: installedPatchPatchType,
|
|
61
|
+
* severity: installedPatchSeverity,
|
|
62
|
+
* });
|
|
63
|
+
* ```
|
|
64
|
+
*/
|
|
65
|
+
function getInstalledPatchesOutput(args, opts) {
|
|
66
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
67
|
+
return pulumi.runtime.invokeOutput("oci:FleetAppsManagement/getInstalledPatches:getInstalledPatches", {
|
|
68
|
+
"compartmentId": args.compartmentId,
|
|
69
|
+
"filters": args.filters,
|
|
70
|
+
"patchLevel": args.patchLevel,
|
|
71
|
+
"patchType": args.patchType,
|
|
72
|
+
"severity": args.severity,
|
|
73
|
+
"targetId": args.targetId,
|
|
74
|
+
"targetName": args.targetName,
|
|
75
|
+
}, opts);
|
|
76
|
+
}
|
|
77
|
+
exports.getInstalledPatchesOutput = getInstalledPatchesOutput;
|
|
78
|
+
//# sourceMappingURL=getInstalledPatches.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getInstalledPatches.js","sourceRoot":"","sources":["../../fleetappsmanagement/getInstalledPatches.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,SAAgB,mBAAmB,CAAC,IAA6B,EAAE,IAA2B;IAC1F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,iEAAiE,EAAE;QAC5F,eAAe,EAAE,IAAI,CAAC,aAAa;QACnC,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,YAAY,EAAE,IAAI,CAAC,UAAU;KAChC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAXD,kDAWC;AA8DD;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,SAAgB,yBAAyB,CAAC,IAAmC,EAAE,IAAiC;IAC5G,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,iEAAiE,EAAE;QAClG,eAAe,EAAE,IAAI,CAAC,aAAa;QACnC,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,YAAY,EAAE,IAAI,CAAC,UAAU;KAChC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAXD,8DAWC"}
|
|
@@ -16,6 +16,7 @@ import * as outputs from "../types/output";
|
|
|
16
16
|
* compartmentId: compartmentId,
|
|
17
17
|
* compartmentIdInSubtree: inventoryRecordCompartmentIdInSubtree,
|
|
18
18
|
* fleetId: testFleet.id,
|
|
19
|
+
* isDetailsRequired: inventoryRecordIsDetailsRequired,
|
|
19
20
|
* resourceId: testResource.id,
|
|
20
21
|
* });
|
|
21
22
|
* ```
|
|
@@ -38,6 +39,10 @@ export interface GetInventoryRecordsArgs {
|
|
|
38
39
|
* unique Fleet identifier
|
|
39
40
|
*/
|
|
40
41
|
fleetId?: string;
|
|
42
|
+
/**
|
|
43
|
+
* If set to true, inventory details will be returned.
|
|
44
|
+
*/
|
|
45
|
+
isDetailsRequired?: boolean;
|
|
41
46
|
/**
|
|
42
47
|
* Resource Identifier
|
|
43
48
|
*/
|
|
@@ -62,6 +67,7 @@ export interface GetInventoryRecordsResult {
|
|
|
62
67
|
* The list of inventory_record_collection.
|
|
63
68
|
*/
|
|
64
69
|
readonly inventoryRecordCollections: outputs.FleetAppsManagement.GetInventoryRecordsInventoryRecordCollection[];
|
|
70
|
+
readonly isDetailsRequired?: boolean;
|
|
65
71
|
readonly resourceId?: string;
|
|
66
72
|
}
|
|
67
73
|
/**
|
|
@@ -79,6 +85,7 @@ export interface GetInventoryRecordsResult {
|
|
|
79
85
|
* compartmentId: compartmentId,
|
|
80
86
|
* compartmentIdInSubtree: inventoryRecordCompartmentIdInSubtree,
|
|
81
87
|
* fleetId: testFleet.id,
|
|
88
|
+
* isDetailsRequired: inventoryRecordIsDetailsRequired,
|
|
82
89
|
* resourceId: testResource.id,
|
|
83
90
|
* });
|
|
84
91
|
* ```
|
|
@@ -101,6 +108,10 @@ export interface GetInventoryRecordsOutputArgs {
|
|
|
101
108
|
* unique Fleet identifier
|
|
102
109
|
*/
|
|
103
110
|
fleetId?: pulumi.Input<string>;
|
|
111
|
+
/**
|
|
112
|
+
* If set to true, inventory details will be returned.
|
|
113
|
+
*/
|
|
114
|
+
isDetailsRequired?: pulumi.Input<boolean>;
|
|
104
115
|
/**
|
|
105
116
|
* Resource Identifier
|
|
106
117
|
*/
|
|
@@ -20,6 +20,7 @@ const utilities = require("../utilities");
|
|
|
20
20
|
* compartmentId: compartmentId,
|
|
21
21
|
* compartmentIdInSubtree: inventoryRecordCompartmentIdInSubtree,
|
|
22
22
|
* fleetId: testFleet.id,
|
|
23
|
+
* isDetailsRequired: inventoryRecordIsDetailsRequired,
|
|
23
24
|
* resourceId: testResource.id,
|
|
24
25
|
* });
|
|
25
26
|
* ```
|
|
@@ -31,6 +32,7 @@ function getInventoryRecords(args, opts) {
|
|
|
31
32
|
"compartmentIdInSubtree": args.compartmentIdInSubtree,
|
|
32
33
|
"filters": args.filters,
|
|
33
34
|
"fleetId": args.fleetId,
|
|
35
|
+
"isDetailsRequired": args.isDetailsRequired,
|
|
34
36
|
"resourceId": args.resourceId,
|
|
35
37
|
}, opts);
|
|
36
38
|
}
|
|
@@ -50,6 +52,7 @@ exports.getInventoryRecords = getInventoryRecords;
|
|
|
50
52
|
* compartmentId: compartmentId,
|
|
51
53
|
* compartmentIdInSubtree: inventoryRecordCompartmentIdInSubtree,
|
|
52
54
|
* fleetId: testFleet.id,
|
|
55
|
+
* isDetailsRequired: inventoryRecordIsDetailsRequired,
|
|
53
56
|
* resourceId: testResource.id,
|
|
54
57
|
* });
|
|
55
58
|
* ```
|
|
@@ -61,6 +64,7 @@ function getInventoryRecordsOutput(args, opts) {
|
|
|
61
64
|
"compartmentIdInSubtree": args.compartmentIdInSubtree,
|
|
62
65
|
"filters": args.filters,
|
|
63
66
|
"fleetId": args.fleetId,
|
|
67
|
+
"isDetailsRequired": args.isDetailsRequired,
|
|
64
68
|
"resourceId": args.resourceId,
|
|
65
69
|
}, opts);
|
|
66
70
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getInventoryRecords.js","sourceRoot":"","sources":["../../fleetappsmanagement/getInventoryRecords.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"getInventoryRecords.js","sourceRoot":"","sources":["../../fleetappsmanagement/getInventoryRecords.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;GAmBG;AACH,SAAgB,mBAAmB,CAAC,IAA6B,EAAE,IAA2B;IAC1F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,iEAAiE,EAAE;QAC5F,eAAe,EAAE,IAAI,CAAC,aAAa;QACnC,wBAAwB,EAAE,IAAI,CAAC,sBAAsB;QACrD,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,mBAAmB,EAAE,IAAI,CAAC,iBAAiB;QAC3C,YAAY,EAAE,IAAI,CAAC,UAAU;KAChC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAVD,kDAUC;AAmDD;;;;;;;;;;;;;;;;;;;GAmBG;AACH,SAAgB,yBAAyB,CAAC,IAAmC,EAAE,IAAiC;IAC5G,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,iEAAiE,EAAE;QAClG,eAAe,EAAE,IAAI,CAAC,aAAa;QACnC,wBAAwB,EAAE,IAAI,CAAC,sBAAsB;QACrD,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,mBAAmB,EAAE,IAAI,CAAC,iBAAiB;QAC3C,YAAY,EAAE,IAAI,CAAC,UAAU;KAChC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAVD,8DAUC"}
|
|
@@ -0,0 +1,150 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "../types/input";
|
|
3
|
+
import * as outputs from "../types/output";
|
|
4
|
+
/**
|
|
5
|
+
* This data source provides the list of Recommended Patches in Oracle Cloud Infrastructure Fleet Apps Management service.
|
|
6
|
+
*
|
|
7
|
+
* Gets a list of recommended patches for the specified target.
|
|
8
|
+
*
|
|
9
|
+
* ## Example Usage
|
|
10
|
+
*
|
|
11
|
+
* ```typescript
|
|
12
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
13
|
+
* import * as oci from "@pulumi/oci";
|
|
14
|
+
*
|
|
15
|
+
* const testRecommendedPatches = oci.FleetAppsManagement.getRecommendedPatches({
|
|
16
|
+
* compartmentId: compartmentId,
|
|
17
|
+
* targetId: fleetTargetId,
|
|
18
|
+
* targetName: fleetTargetName,
|
|
19
|
+
* patchId: testPatch.id,
|
|
20
|
+
* patchLevel: recommendedPatchPatchLevel,
|
|
21
|
+
* patchType: recommendedPatchPatchType,
|
|
22
|
+
* severity: recommendedPatchSeverity,
|
|
23
|
+
* });
|
|
24
|
+
* ```
|
|
25
|
+
*/
|
|
26
|
+
export declare function getRecommendedPatches(args: GetRecommendedPatchesArgs, opts?: pulumi.InvokeOptions): Promise<GetRecommendedPatchesResult>;
|
|
27
|
+
/**
|
|
28
|
+
* A collection of arguments for invoking getRecommendedPatches.
|
|
29
|
+
*/
|
|
30
|
+
export interface GetRecommendedPatchesArgs {
|
|
31
|
+
/**
|
|
32
|
+
* The ID of the compartment in which to list resources.
|
|
33
|
+
*/
|
|
34
|
+
compartmentId: string;
|
|
35
|
+
filters?: inputs.FleetAppsManagement.GetRecommendedPatchesFilter[];
|
|
36
|
+
/**
|
|
37
|
+
* Patch identifier.
|
|
38
|
+
*/
|
|
39
|
+
patchId?: string;
|
|
40
|
+
/**
|
|
41
|
+
* Patch level with values like LATEST, LATEST_MINUS_ONE, LATEST_MIUS_TWO etc.,.
|
|
42
|
+
*/
|
|
43
|
+
patchLevel?: string;
|
|
44
|
+
/**
|
|
45
|
+
* Patch type.
|
|
46
|
+
*/
|
|
47
|
+
patchType?: string;
|
|
48
|
+
/**
|
|
49
|
+
* Patch severity with values like CRITICAL, HIGH, MEDIUM and LOW.
|
|
50
|
+
*/
|
|
51
|
+
severity?: string;
|
|
52
|
+
/**
|
|
53
|
+
* Fleet target identifier.
|
|
54
|
+
*/
|
|
55
|
+
targetId?: string;
|
|
56
|
+
/**
|
|
57
|
+
* Fleet target name.
|
|
58
|
+
*/
|
|
59
|
+
targetName?: string;
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* A collection of values returned by getRecommendedPatches.
|
|
63
|
+
*/
|
|
64
|
+
export interface GetRecommendedPatchesResult {
|
|
65
|
+
readonly compartmentId: string;
|
|
66
|
+
readonly filters?: outputs.FleetAppsManagement.GetRecommendedPatchesFilter[];
|
|
67
|
+
/**
|
|
68
|
+
* The provider-assigned unique ID for this managed resource.
|
|
69
|
+
*/
|
|
70
|
+
readonly id: string;
|
|
71
|
+
/**
|
|
72
|
+
* The OCID of the patch.
|
|
73
|
+
*/
|
|
74
|
+
readonly patchId?: string;
|
|
75
|
+
/**
|
|
76
|
+
* Patch level
|
|
77
|
+
*/
|
|
78
|
+
readonly patchLevel?: string;
|
|
79
|
+
/**
|
|
80
|
+
* Type of the patch.
|
|
81
|
+
*/
|
|
82
|
+
readonly patchType?: string;
|
|
83
|
+
/**
|
|
84
|
+
* The list of recommended_patch_collection.
|
|
85
|
+
*/
|
|
86
|
+
readonly recommendedPatchCollections: outputs.FleetAppsManagement.GetRecommendedPatchesRecommendedPatchCollection[];
|
|
87
|
+
/**
|
|
88
|
+
* Patch severity.
|
|
89
|
+
*/
|
|
90
|
+
readonly severity?: string;
|
|
91
|
+
readonly targetId?: string;
|
|
92
|
+
readonly targetName?: string;
|
|
93
|
+
}
|
|
94
|
+
/**
|
|
95
|
+
* This data source provides the list of Recommended Patches in Oracle Cloud Infrastructure Fleet Apps Management service.
|
|
96
|
+
*
|
|
97
|
+
* Gets a list of recommended patches for the specified target.
|
|
98
|
+
*
|
|
99
|
+
* ## Example Usage
|
|
100
|
+
*
|
|
101
|
+
* ```typescript
|
|
102
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
103
|
+
* import * as oci from "@pulumi/oci";
|
|
104
|
+
*
|
|
105
|
+
* const testRecommendedPatches = oci.FleetAppsManagement.getRecommendedPatches({
|
|
106
|
+
* compartmentId: compartmentId,
|
|
107
|
+
* targetId: fleetTargetId,
|
|
108
|
+
* targetName: fleetTargetName,
|
|
109
|
+
* patchId: testPatch.id,
|
|
110
|
+
* patchLevel: recommendedPatchPatchLevel,
|
|
111
|
+
* patchType: recommendedPatchPatchType,
|
|
112
|
+
* severity: recommendedPatchSeverity,
|
|
113
|
+
* });
|
|
114
|
+
* ```
|
|
115
|
+
*/
|
|
116
|
+
export declare function getRecommendedPatchesOutput(args: GetRecommendedPatchesOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetRecommendedPatchesResult>;
|
|
117
|
+
/**
|
|
118
|
+
* A collection of arguments for invoking getRecommendedPatches.
|
|
119
|
+
*/
|
|
120
|
+
export interface GetRecommendedPatchesOutputArgs {
|
|
121
|
+
/**
|
|
122
|
+
* The ID of the compartment in which to list resources.
|
|
123
|
+
*/
|
|
124
|
+
compartmentId: pulumi.Input<string>;
|
|
125
|
+
filters?: pulumi.Input<pulumi.Input<inputs.FleetAppsManagement.GetRecommendedPatchesFilterArgs>[]>;
|
|
126
|
+
/**
|
|
127
|
+
* Patch identifier.
|
|
128
|
+
*/
|
|
129
|
+
patchId?: pulumi.Input<string>;
|
|
130
|
+
/**
|
|
131
|
+
* Patch level with values like LATEST, LATEST_MINUS_ONE, LATEST_MIUS_TWO etc.,.
|
|
132
|
+
*/
|
|
133
|
+
patchLevel?: pulumi.Input<string>;
|
|
134
|
+
/**
|
|
135
|
+
* Patch type.
|
|
136
|
+
*/
|
|
137
|
+
patchType?: pulumi.Input<string>;
|
|
138
|
+
/**
|
|
139
|
+
* Patch severity with values like CRITICAL, HIGH, MEDIUM and LOW.
|
|
140
|
+
*/
|
|
141
|
+
severity?: pulumi.Input<string>;
|
|
142
|
+
/**
|
|
143
|
+
* Fleet target identifier.
|
|
144
|
+
*/
|
|
145
|
+
targetId?: pulumi.Input<string>;
|
|
146
|
+
/**
|
|
147
|
+
* Fleet target name.
|
|
148
|
+
*/
|
|
149
|
+
targetName?: pulumi.Input<string>;
|
|
150
|
+
}
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.getRecommendedPatchesOutput = exports.getRecommendedPatches = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* This data source provides the list of Recommended Patches in Oracle Cloud Infrastructure Fleet Apps Management service.
|
|
10
|
+
*
|
|
11
|
+
* Gets a list of recommended patches for the specified target.
|
|
12
|
+
*
|
|
13
|
+
* ## Example Usage
|
|
14
|
+
*
|
|
15
|
+
* ```typescript
|
|
16
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
17
|
+
* import * as oci from "@pulumi/oci";
|
|
18
|
+
*
|
|
19
|
+
* const testRecommendedPatches = oci.FleetAppsManagement.getRecommendedPatches({
|
|
20
|
+
* compartmentId: compartmentId,
|
|
21
|
+
* targetId: fleetTargetId,
|
|
22
|
+
* targetName: fleetTargetName,
|
|
23
|
+
* patchId: testPatch.id,
|
|
24
|
+
* patchLevel: recommendedPatchPatchLevel,
|
|
25
|
+
* patchType: recommendedPatchPatchType,
|
|
26
|
+
* severity: recommendedPatchSeverity,
|
|
27
|
+
* });
|
|
28
|
+
* ```
|
|
29
|
+
*/
|
|
30
|
+
function getRecommendedPatches(args, opts) {
|
|
31
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
32
|
+
return pulumi.runtime.invoke("oci:FleetAppsManagement/getRecommendedPatches:getRecommendedPatches", {
|
|
33
|
+
"compartmentId": args.compartmentId,
|
|
34
|
+
"filters": args.filters,
|
|
35
|
+
"patchId": args.patchId,
|
|
36
|
+
"patchLevel": args.patchLevel,
|
|
37
|
+
"patchType": args.patchType,
|
|
38
|
+
"severity": args.severity,
|
|
39
|
+
"targetId": args.targetId,
|
|
40
|
+
"targetName": args.targetName,
|
|
41
|
+
}, opts);
|
|
42
|
+
}
|
|
43
|
+
exports.getRecommendedPatches = getRecommendedPatches;
|
|
44
|
+
/**
|
|
45
|
+
* This data source provides the list of Recommended Patches in Oracle Cloud Infrastructure Fleet Apps Management service.
|
|
46
|
+
*
|
|
47
|
+
* Gets a list of recommended patches for the specified target.
|
|
48
|
+
*
|
|
49
|
+
* ## Example Usage
|
|
50
|
+
*
|
|
51
|
+
* ```typescript
|
|
52
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
53
|
+
* import * as oci from "@pulumi/oci";
|
|
54
|
+
*
|
|
55
|
+
* const testRecommendedPatches = oci.FleetAppsManagement.getRecommendedPatches({
|
|
56
|
+
* compartmentId: compartmentId,
|
|
57
|
+
* targetId: fleetTargetId,
|
|
58
|
+
* targetName: fleetTargetName,
|
|
59
|
+
* patchId: testPatch.id,
|
|
60
|
+
* patchLevel: recommendedPatchPatchLevel,
|
|
61
|
+
* patchType: recommendedPatchPatchType,
|
|
62
|
+
* severity: recommendedPatchSeverity,
|
|
63
|
+
* });
|
|
64
|
+
* ```
|
|
65
|
+
*/
|
|
66
|
+
function getRecommendedPatchesOutput(args, opts) {
|
|
67
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
68
|
+
return pulumi.runtime.invokeOutput("oci:FleetAppsManagement/getRecommendedPatches:getRecommendedPatches", {
|
|
69
|
+
"compartmentId": args.compartmentId,
|
|
70
|
+
"filters": args.filters,
|
|
71
|
+
"patchId": args.patchId,
|
|
72
|
+
"patchLevel": args.patchLevel,
|
|
73
|
+
"patchType": args.patchType,
|
|
74
|
+
"severity": args.severity,
|
|
75
|
+
"targetId": args.targetId,
|
|
76
|
+
"targetName": args.targetName,
|
|
77
|
+
}, opts);
|
|
78
|
+
}
|
|
79
|
+
exports.getRecommendedPatchesOutput = getRecommendedPatchesOutput;
|
|
80
|
+
//# sourceMappingURL=getRecommendedPatches.js.map
|