@pulumi/oci 4.5.1 → 4.6.0
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/cloudbridge/asset.d.ts +223 -0
- package/cloudbridge/asset.js +147 -0
- package/cloudbridge/asset.js.map +1 -1
- package/cloudbridge/assetSource.d.ts +67 -2
- package/cloudbridge/assetSource.js +16 -4
- package/cloudbridge/assetSource.js.map +1 -1
- package/cloudbridge/getAsset.d.ts +20 -0
- package/cloudbridge/getAsset.js.map +1 -1
- package/cloudbridge/getAssetSource.d.ts +11 -0
- package/cloudbridge/getAssetSource.js.map +1 -1
- package/cloudbridge/getAssets.d.ts +28 -0
- package/cloudbridge/getAssets.js +8 -0
- package/cloudbridge/getAssets.js.map +1 -1
- package/cloudbridge/getSupportedCloudRegions.d.ts +34 -0
- package/cloudbridge/getSupportedCloudRegions.js +28 -0
- package/cloudbridge/getSupportedCloudRegions.js.map +1 -0
- package/cloudbridge/index.d.ts +3 -0
- package/cloudbridge/index.js +4 -1
- package/cloudbridge/index.js.map +1 -1
- package/containerengine/getNodePool.d.ts +8 -0
- package/containerengine/getNodePool.js.map +1 -1
- package/containerengine/nodePool.d.ts +57 -8
- package/containerengine/nodePool.js +35 -6
- package/containerengine/nodePool.js.map +1 -1
- package/core/getInstancePool.d.ts +4 -0
- package/core/getInstancePool.js.map +1 -1
- package/core/instancePool.d.ts +8 -0
- package/core/instancePool.js +2 -0
- package/core/instancePool.js.map +1 -1
- package/generativeai/getSemanticStore.d.ts +122 -0
- package/generativeai/getSemanticStore.js +54 -0
- package/generativeai/getSemanticStore.js.map +1 -0
- package/generativeai/getSemanticStores.d.ts +124 -0
- package/generativeai/getSemanticStores.js +74 -0
- package/generativeai/getSemanticStores.js.map +1 -0
- package/generativeai/index.d.ts +9 -0
- package/generativeai/index.js +12 -1
- package/generativeai/index.js.map +1 -1
- package/generativeai/semanticStore.d.ts +240 -0
- package/generativeai/semanticStore.js +135 -0
- package/generativeai/semanticStore.js.map +1 -0
- package/managementagent/getManagementAgents.d.ts +2 -2
- package/managementagent/getManagementAgents.js +2 -2
- package/objectstorage/bucket.d.ts +13 -0
- package/objectstorage/bucket.js +3 -0
- package/objectstorage/bucket.js.map +1 -1
- package/objectstorage/getBucket.d.ts +4 -0
- package/objectstorage/getBucket.js.map +1 -1
- package/osmanagementhub/dynamicSet.d.ts +247 -0
- package/osmanagementhub/dynamicSet.js +142 -0
- package/osmanagementhub/dynamicSet.js.map +1 -0
- package/osmanagementhub/dynamicSetInstallPackagesManagement.d.ts +119 -0
- package/osmanagementhub/dynamicSetInstallPackagesManagement.js +94 -0
- package/osmanagementhub/dynamicSetInstallPackagesManagement.js.map +1 -0
- package/osmanagementhub/dynamicSetRebootManagement.d.ts +119 -0
- package/osmanagementhub/dynamicSetRebootManagement.js +91 -0
- package/osmanagementhub/dynamicSetRebootManagement.js.map +1 -0
- package/osmanagementhub/dynamicSetRemovePackagesManagement.d.ts +119 -0
- package/osmanagementhub/dynamicSetRemovePackagesManagement.js +94 -0
- package/osmanagementhub/dynamicSetRemovePackagesManagement.js.map +1 -0
- package/osmanagementhub/dynamicSetUpdatePackagesManagement.d.ts +119 -0
- package/osmanagementhub/dynamicSetUpdatePackagesManagement.js +91 -0
- package/osmanagementhub/dynamicSetUpdatePackagesManagement.js.map +1 -0
- package/osmanagementhub/getDynamicSet.d.ts +122 -0
- package/osmanagementhub/getDynamicSet.js +54 -0
- package/osmanagementhub/getDynamicSet.js.map +1 -0
- package/osmanagementhub/getDynamicSetManagedInstances.d.ts +122 -0
- package/osmanagementhub/getDynamicSetManagedInstances.js +72 -0
- package/osmanagementhub/getDynamicSetManagedInstances.js.map +1 -0
- package/osmanagementhub/getDynamicSets.d.ts +111 -0
- package/osmanagementhub/getDynamicSets.js +70 -0
- package/osmanagementhub/getDynamicSets.js.map +1 -0
- package/osmanagementhub/getErrata.d.ts +14 -57
- package/osmanagementhub/getErrata.js +6 -22
- package/osmanagementhub/getErrata.js.map +1 -1
- package/osmanagementhub/getLifecycleStages.d.ts +0 -40
- package/osmanagementhub/getLifecycleStages.js +0 -40
- package/osmanagementhub/getLifecycleStages.js.map +1 -1
- package/osmanagementhub/getManagedInstance.d.ts +8 -0
- package/osmanagementhub/getManagedInstance.js.map +1 -1
- package/osmanagementhub/getManagedInstanceGroup.d.ts +1 -1
- package/osmanagementhub/getManagedInstanceGroupManagedInstances.d.ts +133 -0
- package/osmanagementhub/getManagedInstanceGroupManagedInstances.js +76 -0
- package/osmanagementhub/getManagedInstanceGroupManagedInstances.js.map +1 -0
- package/osmanagementhub/getManagedInstanceSnaps.d.ts +108 -0
- package/osmanagementhub/getManagedInstanceSnaps.js +68 -0
- package/osmanagementhub/getManagedInstanceSnaps.js.map +1 -0
- package/osmanagementhub/getManagedInstanceUpdatablePackages.d.ts +14 -0
- package/osmanagementhub/getManagedInstanceUpdatablePackages.js +4 -0
- package/osmanagementhub/getManagedInstanceUpdatablePackages.js.map +1 -1
- package/osmanagementhub/getManagementStation.d.ts +8 -0
- package/osmanagementhub/getManagementStation.js.map +1 -1
- package/osmanagementhub/getManagementStations.d.ts +11 -0
- package/osmanagementhub/getManagementStations.js +4 -0
- package/osmanagementhub/getManagementStations.js.map +1 -1
- package/osmanagementhub/getScheduledJob.d.ts +6 -2
- package/osmanagementhub/getScheduledJob.js.map +1 -1
- package/osmanagementhub/getScheduledJobs.d.ts +11 -0
- package/osmanagementhub/getScheduledJobs.js +4 -0
- package/osmanagementhub/getScheduledJobs.js.map +1 -1
- package/osmanagementhub/getSoftwareSource.d.ts +1 -0
- package/osmanagementhub/getSoftwareSource.js.map +1 -1
- package/osmanagementhub/getSoftwareSourceManifest.d.ts +0 -6
- package/osmanagementhub/getSoftwareSourceManifest.js.map +1 -1
- package/osmanagementhub/index.d.ts +63 -0
- package/osmanagementhub/index.js +99 -3
- package/osmanagementhub/index.js.map +1 -1
- package/osmanagementhub/lifecycleEnvironment.d.ts +8 -20
- package/osmanagementhub/lifecycleEnvironment.js +8 -20
- package/osmanagementhub/lifecycleEnvironment.js.map +1 -1
- package/osmanagementhub/managedInstance.d.ts +19 -3
- package/osmanagementhub/managedInstance.js +4 -0
- package/osmanagementhub/managedInstance.js.map +1 -1
- package/osmanagementhub/managedInstanceAttachSoftwareSourcesManagement.d.ts +107 -0
- package/osmanagementhub/managedInstanceAttachSoftwareSourcesManagement.js +92 -0
- package/osmanagementhub/managedInstanceAttachSoftwareSourcesManagement.js.map +1 -0
- package/osmanagementhub/managedInstanceDetachSoftwareSourcesManagement.d.ts +107 -0
- package/osmanagementhub/managedInstanceDetachSoftwareSourcesManagement.js +92 -0
- package/osmanagementhub/managedInstanceDetachSoftwareSourcesManagement.js.map +1 -0
- package/osmanagementhub/managedInstanceGroup.d.ts +3 -3
- package/osmanagementhub/managedInstanceInstallPackagesManagement.d.ts +106 -0
- package/osmanagementhub/managedInstanceInstallPackagesManagement.js +91 -0
- package/osmanagementhub/managedInstanceInstallPackagesManagement.js.map +1 -0
- package/osmanagementhub/managedInstanceInstallSnapsManagement.d.ts +112 -0
- package/osmanagementhub/managedInstanceInstallSnapsManagement.js +94 -0
- package/osmanagementhub/managedInstanceInstallSnapsManagement.js.map +1 -0
- package/osmanagementhub/managedInstanceRefreshSoftwareManagement.d.ts +85 -0
- package/osmanagementhub/managedInstanceRefreshSoftwareManagement.js +77 -0
- package/osmanagementhub/managedInstanceRefreshSoftwareManagement.js.map +1 -0
- package/osmanagementhub/managedInstanceRemovePackagesManagement.d.ts +106 -0
- package/osmanagementhub/managedInstanceRemovePackagesManagement.js +91 -0
- package/osmanagementhub/managedInstanceRemovePackagesManagement.js.map +1 -0
- package/osmanagementhub/managedInstanceRemoveSnapsManagement.d.ts +109 -0
- package/osmanagementhub/managedInstanceRemoveSnapsManagement.js +94 -0
- package/osmanagementhub/managedInstanceRemoveSnapsManagement.js.map +1 -0
- package/osmanagementhub/managedInstanceSwitchSnapChannelManagement.d.ts +109 -0
- package/osmanagementhub/managedInstanceSwitchSnapChannelManagement.js +91 -0
- package/osmanagementhub/managedInstanceSwitchSnapChannelManagement.js.map +1 -0
- package/osmanagementhub/managedInstancesInstallWindowsUpdatesManagement.d.ts +106 -0
- package/osmanagementhub/managedInstancesInstallWindowsUpdatesManagement.js +88 -0
- package/osmanagementhub/managedInstancesInstallWindowsUpdatesManagement.js.map +1 -0
- package/osmanagementhub/managedInstancesUpdatePackagesManagement.d.ts +106 -0
- package/osmanagementhub/managedInstancesUpdatePackagesManagement.js +88 -0
- package/osmanagementhub/managedInstancesUpdatePackagesManagement.js.map +1 -0
- package/osmanagementhub/managementStation.d.ts +26 -0
- package/osmanagementhub/managementStation.js +6 -0
- package/osmanagementhub/managementStation.js.map +1 -1
- package/osmanagementhub/profile.d.ts +6 -6
- package/osmanagementhub/profileDetachManagementStationManagement.d.ts +100 -0
- package/osmanagementhub/profileDetachManagementStationManagement.js +85 -0
- package/osmanagementhub/profileDetachManagementStationManagement.js.map +1 -0
- package/osmanagementhub/scheduledJob.d.ts +43 -15
- package/osmanagementhub/scheduledJob.js +18 -0
- package/osmanagementhub/scheduledJob.js.map +1 -1
- package/osmanagementhub/softwareSource.d.ts +12 -0
- package/osmanagementhub/softwareSource.js +2 -0
- package/osmanagementhub/softwareSource.js.map +1 -1
- package/osmanagementhub/softwareSourceManifest.d.ts +3 -12
- package/osmanagementhub/softwareSourceManifest.js +3 -3
- package/osmanagementhub/softwareSourceManifest.js.map +1 -1
- package/package.json +2 -2
- package/types/input.d.ts +1021 -11
- package/types/output.d.ts +2324 -34
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "../types/input";
|
|
3
|
+
import * as outputs from "../types/output";
|
|
4
|
+
/**
|
|
5
|
+
* This resource provides the Dynamic Set Reboot Management resource in Oracle Cloud Infrastructure Os Management Hub service.
|
|
6
|
+
* Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/osmh/latest/DynamicSet/Reboot
|
|
7
|
+
*
|
|
8
|
+
* Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/os_management_hub
|
|
9
|
+
*
|
|
10
|
+
* Initiates a reboot of all managed instances within the specified dynamic set.
|
|
11
|
+
*
|
|
12
|
+
* ## Example Usage
|
|
13
|
+
*
|
|
14
|
+
* ```typescript
|
|
15
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
16
|
+
* import * as oci from "@pulumi/oci";
|
|
17
|
+
*
|
|
18
|
+
* const testDynamicSetRebootManagement = new oci.osmanagementhub.DynamicSetRebootManagement("test_dynamic_set_reboot_management", {
|
|
19
|
+
* dynamicSetId: testDynamicSet.id,
|
|
20
|
+
* managedInstances: dynamicSetRebootManagementManagedInstances,
|
|
21
|
+
* rebootTimeoutInMins: dynamicSetRebootManagementRebootTimeoutInMins,
|
|
22
|
+
* workRequestDetails: {
|
|
23
|
+
* description: dynamicSetRebootManagementWorkRequestDetailsDescription,
|
|
24
|
+
* displayName: dynamicSetRebootManagementWorkRequestDetailsDisplayName,
|
|
25
|
+
* },
|
|
26
|
+
* });
|
|
27
|
+
* ```
|
|
28
|
+
*
|
|
29
|
+
* ## Import
|
|
30
|
+
*
|
|
31
|
+
* DynamicSetRebootManagement can be imported using the `id`, e.g.
|
|
32
|
+
*
|
|
33
|
+
* ```sh
|
|
34
|
+
* $ pulumi import oci:OsManagementHub/dynamicSetRebootManagement:DynamicSetRebootManagement test_dynamic_set_reboot_management "id"
|
|
35
|
+
* ```
|
|
36
|
+
*/
|
|
37
|
+
export declare class DynamicSetRebootManagement extends pulumi.CustomResource {
|
|
38
|
+
/**
|
|
39
|
+
* Get an existing DynamicSetRebootManagement resource's state with the given name, ID, and optional extra
|
|
40
|
+
* properties used to qualify the lookup.
|
|
41
|
+
*
|
|
42
|
+
* @param name The _unique_ name of the resulting resource.
|
|
43
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
44
|
+
* @param state Any extra arguments used during the lookup.
|
|
45
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
46
|
+
*/
|
|
47
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: DynamicSetRebootManagementState, opts?: pulumi.CustomResourceOptions): DynamicSetRebootManagement;
|
|
48
|
+
/**
|
|
49
|
+
* Returns true if the given object is an instance of DynamicSetRebootManagement. This is designed to work even
|
|
50
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
51
|
+
*/
|
|
52
|
+
static isInstance(obj: any): obj is DynamicSetRebootManagement;
|
|
53
|
+
/**
|
|
54
|
+
* The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the dynamic set. This filter returns resources associated with this dynamic set.
|
|
55
|
+
*/
|
|
56
|
+
readonly dynamicSetId: pulumi.Output<string>;
|
|
57
|
+
/**
|
|
58
|
+
* The list of managed instance OCIDs to be attached/detached.
|
|
59
|
+
*/
|
|
60
|
+
readonly managedInstances: pulumi.Output<string[] | undefined>;
|
|
61
|
+
/**
|
|
62
|
+
* The number of minutes the service waits for the reboot to complete. If the instances in the group don't reboot within this time, the reboot job status is set to failed.
|
|
63
|
+
*/
|
|
64
|
+
readonly rebootTimeoutInMins: pulumi.Output<number | undefined>;
|
|
65
|
+
/**
|
|
66
|
+
* Provides the name and description of the job.
|
|
67
|
+
*/
|
|
68
|
+
readonly workRequestDetails: pulumi.Output<outputs.OsManagementHub.DynamicSetRebootManagementWorkRequestDetails>;
|
|
69
|
+
/**
|
|
70
|
+
* Create a DynamicSetRebootManagement resource with the given unique name, arguments, and options.
|
|
71
|
+
*
|
|
72
|
+
* @param name The _unique_ name of the resource.
|
|
73
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
74
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
75
|
+
*/
|
|
76
|
+
constructor(name: string, args: DynamicSetRebootManagementArgs, opts?: pulumi.CustomResourceOptions);
|
|
77
|
+
}
|
|
78
|
+
/**
|
|
79
|
+
* Input properties used for looking up and filtering DynamicSetRebootManagement resources.
|
|
80
|
+
*/
|
|
81
|
+
export interface DynamicSetRebootManagementState {
|
|
82
|
+
/**
|
|
83
|
+
* The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the dynamic set. This filter returns resources associated with this dynamic set.
|
|
84
|
+
*/
|
|
85
|
+
dynamicSetId?: pulumi.Input<string>;
|
|
86
|
+
/**
|
|
87
|
+
* The list of managed instance OCIDs to be attached/detached.
|
|
88
|
+
*/
|
|
89
|
+
managedInstances?: pulumi.Input<pulumi.Input<string>[]>;
|
|
90
|
+
/**
|
|
91
|
+
* The number of minutes the service waits for the reboot to complete. If the instances in the group don't reboot within this time, the reboot job status is set to failed.
|
|
92
|
+
*/
|
|
93
|
+
rebootTimeoutInMins?: pulumi.Input<number>;
|
|
94
|
+
/**
|
|
95
|
+
* Provides the name and description of the job.
|
|
96
|
+
*/
|
|
97
|
+
workRequestDetails?: pulumi.Input<inputs.OsManagementHub.DynamicSetRebootManagementWorkRequestDetails>;
|
|
98
|
+
}
|
|
99
|
+
/**
|
|
100
|
+
* The set of arguments for constructing a DynamicSetRebootManagement resource.
|
|
101
|
+
*/
|
|
102
|
+
export interface DynamicSetRebootManagementArgs {
|
|
103
|
+
/**
|
|
104
|
+
* The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the dynamic set. This filter returns resources associated with this dynamic set.
|
|
105
|
+
*/
|
|
106
|
+
dynamicSetId: pulumi.Input<string>;
|
|
107
|
+
/**
|
|
108
|
+
* The list of managed instance OCIDs to be attached/detached.
|
|
109
|
+
*/
|
|
110
|
+
managedInstances?: pulumi.Input<pulumi.Input<string>[]>;
|
|
111
|
+
/**
|
|
112
|
+
* The number of minutes the service waits for the reboot to complete. If the instances in the group don't reboot within this time, the reboot job status is set to failed.
|
|
113
|
+
*/
|
|
114
|
+
rebootTimeoutInMins?: pulumi.Input<number>;
|
|
115
|
+
/**
|
|
116
|
+
* Provides the name and description of the job.
|
|
117
|
+
*/
|
|
118
|
+
workRequestDetails?: pulumi.Input<inputs.OsManagementHub.DynamicSetRebootManagementWorkRequestDetails>;
|
|
119
|
+
}
|
|
@@ -0,0 +1,91 @@
|
|
|
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.DynamicSetRebootManagement = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* This resource provides the Dynamic Set Reboot Management resource in Oracle Cloud Infrastructure Os Management Hub service.
|
|
10
|
+
* Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/osmh/latest/DynamicSet/Reboot
|
|
11
|
+
*
|
|
12
|
+
* Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/os_management_hub
|
|
13
|
+
*
|
|
14
|
+
* Initiates a reboot of all managed instances within the specified dynamic set.
|
|
15
|
+
*
|
|
16
|
+
* ## Example Usage
|
|
17
|
+
*
|
|
18
|
+
* ```typescript
|
|
19
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
20
|
+
* import * as oci from "@pulumi/oci";
|
|
21
|
+
*
|
|
22
|
+
* const testDynamicSetRebootManagement = new oci.osmanagementhub.DynamicSetRebootManagement("test_dynamic_set_reboot_management", {
|
|
23
|
+
* dynamicSetId: testDynamicSet.id,
|
|
24
|
+
* managedInstances: dynamicSetRebootManagementManagedInstances,
|
|
25
|
+
* rebootTimeoutInMins: dynamicSetRebootManagementRebootTimeoutInMins,
|
|
26
|
+
* workRequestDetails: {
|
|
27
|
+
* description: dynamicSetRebootManagementWorkRequestDetailsDescription,
|
|
28
|
+
* displayName: dynamicSetRebootManagementWorkRequestDetailsDisplayName,
|
|
29
|
+
* },
|
|
30
|
+
* });
|
|
31
|
+
* ```
|
|
32
|
+
*
|
|
33
|
+
* ## Import
|
|
34
|
+
*
|
|
35
|
+
* DynamicSetRebootManagement can be imported using the `id`, e.g.
|
|
36
|
+
*
|
|
37
|
+
* ```sh
|
|
38
|
+
* $ pulumi import oci:OsManagementHub/dynamicSetRebootManagement:DynamicSetRebootManagement test_dynamic_set_reboot_management "id"
|
|
39
|
+
* ```
|
|
40
|
+
*/
|
|
41
|
+
class DynamicSetRebootManagement extends pulumi.CustomResource {
|
|
42
|
+
/**
|
|
43
|
+
* Get an existing DynamicSetRebootManagement resource's state with the given name, ID, and optional extra
|
|
44
|
+
* properties used to qualify the lookup.
|
|
45
|
+
*
|
|
46
|
+
* @param name The _unique_ name of the resulting resource.
|
|
47
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
48
|
+
* @param state Any extra arguments used during the lookup.
|
|
49
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
50
|
+
*/
|
|
51
|
+
static get(name, id, state, opts) {
|
|
52
|
+
return new DynamicSetRebootManagement(name, state, { ...opts, id: id });
|
|
53
|
+
}
|
|
54
|
+
/**
|
|
55
|
+
* Returns true if the given object is an instance of DynamicSetRebootManagement. This is designed to work even
|
|
56
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
57
|
+
*/
|
|
58
|
+
static isInstance(obj) {
|
|
59
|
+
if (obj === undefined || obj === null) {
|
|
60
|
+
return false;
|
|
61
|
+
}
|
|
62
|
+
return obj['__pulumiType'] === DynamicSetRebootManagement.__pulumiType;
|
|
63
|
+
}
|
|
64
|
+
constructor(name, argsOrState, opts) {
|
|
65
|
+
let resourceInputs = {};
|
|
66
|
+
opts = opts || {};
|
|
67
|
+
if (opts.id) {
|
|
68
|
+
const state = argsOrState;
|
|
69
|
+
resourceInputs["dynamicSetId"] = state?.dynamicSetId;
|
|
70
|
+
resourceInputs["managedInstances"] = state?.managedInstances;
|
|
71
|
+
resourceInputs["rebootTimeoutInMins"] = state?.rebootTimeoutInMins;
|
|
72
|
+
resourceInputs["workRequestDetails"] = state?.workRequestDetails;
|
|
73
|
+
}
|
|
74
|
+
else {
|
|
75
|
+
const args = argsOrState;
|
|
76
|
+
if (args?.dynamicSetId === undefined && !opts.urn) {
|
|
77
|
+
throw new Error("Missing required property 'dynamicSetId'");
|
|
78
|
+
}
|
|
79
|
+
resourceInputs["dynamicSetId"] = args?.dynamicSetId;
|
|
80
|
+
resourceInputs["managedInstances"] = args?.managedInstances;
|
|
81
|
+
resourceInputs["rebootTimeoutInMins"] = args?.rebootTimeoutInMins;
|
|
82
|
+
resourceInputs["workRequestDetails"] = args?.workRequestDetails;
|
|
83
|
+
}
|
|
84
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
85
|
+
super(DynamicSetRebootManagement.__pulumiType, name, resourceInputs, opts);
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
exports.DynamicSetRebootManagement = DynamicSetRebootManagement;
|
|
89
|
+
/** @internal */
|
|
90
|
+
DynamicSetRebootManagement.__pulumiType = 'oci:OsManagementHub/dynamicSetRebootManagement:DynamicSetRebootManagement';
|
|
91
|
+
//# sourceMappingURL=dynamicSetRebootManagement.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dynamicSetRebootManagement.js","sourceRoot":"","sources":["../../osmanagementhub/dynamicSetRebootManagement.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgCG;AACH,MAAa,0BAA2B,SAAQ,MAAM,CAAC,cAAc;IACjE;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAuC,EAAE,IAAmC;QACrI,OAAO,IAAI,0BAA0B,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACjF,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,0BAA0B,CAAC,YAAY,CAAC;IAC3E,CAAC;IA2BD,YAAY,IAAY,EAAE,WAA8E,EAAE,IAAmC;QACzI,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA0D,CAAC;YACzE,cAAc,CAAC,cAAc,CAAC,GAAG,KAAK,EAAE,YAAY,CAAC;YACrD,cAAc,CAAC,kBAAkB,CAAC,GAAG,KAAK,EAAE,gBAAgB,CAAC;YAC7D,cAAc,CAAC,qBAAqB,CAAC,GAAG,KAAK,EAAE,mBAAmB,CAAC;YACnE,cAAc,CAAC,oBAAoB,CAAC,GAAG,KAAK,EAAE,kBAAkB,CAAC;SACpE;aAAM;YACH,MAAM,IAAI,GAAG,WAAyD,CAAC;YACvE,IAAI,IAAI,EAAE,YAAY,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAC/C,MAAM,IAAI,KAAK,CAAC,0CAA0C,CAAC,CAAC;aAC/D;YACD,cAAc,CAAC,cAAc,CAAC,GAAG,IAAI,EAAE,YAAY,CAAC;YACpD,cAAc,CAAC,kBAAkB,CAAC,GAAG,IAAI,EAAE,gBAAgB,CAAC;YAC5D,cAAc,CAAC,qBAAqB,CAAC,GAAG,IAAI,EAAE,mBAAmB,CAAC;YAClE,cAAc,CAAC,oBAAoB,CAAC,GAAG,IAAI,EAAE,kBAAkB,CAAC;SACnE;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,0BAA0B,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC/E,CAAC;;AA1EL,gEA2EC;AA7DG,gBAAgB;AACO,uCAAY,GAAG,2EAA2E,CAAC"}
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "../types/input";
|
|
3
|
+
import * as outputs from "../types/output";
|
|
4
|
+
/**
|
|
5
|
+
* This resource provides the Dynamic Set Remove Packages Management resource in Oracle Cloud Infrastructure Os Management Hub service.
|
|
6
|
+
* Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/osmh/latest/DynamicSet/RemovePackages
|
|
7
|
+
*
|
|
8
|
+
* Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/os_management_hub
|
|
9
|
+
*
|
|
10
|
+
* Removes specified software packages from all managed instances in the dynamic set.
|
|
11
|
+
*
|
|
12
|
+
* ## Example Usage
|
|
13
|
+
*
|
|
14
|
+
* ```typescript
|
|
15
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
16
|
+
* import * as oci from "@pulumi/oci";
|
|
17
|
+
*
|
|
18
|
+
* const testDynamicSetRemovePackagesManagement = new oci.osmanagementhub.DynamicSetRemovePackagesManagement("test_dynamic_set_remove_packages_management", {
|
|
19
|
+
* dynamicSetId: testDynamicSet.id,
|
|
20
|
+
* packageNames: dynamicSetRemovePackagesManagementPackageNames,
|
|
21
|
+
* managedInstances: dynamicSetRemovePackagesManagementManagedInstances,
|
|
22
|
+
* workRequestDetails: {
|
|
23
|
+
* description: dynamicSetRemovePackagesManagementWorkRequestDetailsDescription,
|
|
24
|
+
* displayName: dynamicSetRemovePackagesManagementWorkRequestDetailsDisplayName,
|
|
25
|
+
* },
|
|
26
|
+
* });
|
|
27
|
+
* ```
|
|
28
|
+
*
|
|
29
|
+
* ## Import
|
|
30
|
+
*
|
|
31
|
+
* DynamicSetRemovePackagesManagement can be imported using the `id`, e.g.
|
|
32
|
+
*
|
|
33
|
+
* ```sh
|
|
34
|
+
* $ pulumi import oci:OsManagementHub/dynamicSetRemovePackagesManagement:DynamicSetRemovePackagesManagement test_dynamic_set_remove_packages_management "id"
|
|
35
|
+
* ```
|
|
36
|
+
*/
|
|
37
|
+
export declare class DynamicSetRemovePackagesManagement extends pulumi.CustomResource {
|
|
38
|
+
/**
|
|
39
|
+
* Get an existing DynamicSetRemovePackagesManagement resource's state with the given name, ID, and optional extra
|
|
40
|
+
* properties used to qualify the lookup.
|
|
41
|
+
*
|
|
42
|
+
* @param name The _unique_ name of the resulting resource.
|
|
43
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
44
|
+
* @param state Any extra arguments used during the lookup.
|
|
45
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
46
|
+
*/
|
|
47
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: DynamicSetRemovePackagesManagementState, opts?: pulumi.CustomResourceOptions): DynamicSetRemovePackagesManagement;
|
|
48
|
+
/**
|
|
49
|
+
* Returns true if the given object is an instance of DynamicSetRemovePackagesManagement. This is designed to work even
|
|
50
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
51
|
+
*/
|
|
52
|
+
static isInstance(obj: any): obj is DynamicSetRemovePackagesManagement;
|
|
53
|
+
/**
|
|
54
|
+
* The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the dynamic set. This filter returns resources associated with this dynamic set.
|
|
55
|
+
*/
|
|
56
|
+
readonly dynamicSetId: pulumi.Output<string>;
|
|
57
|
+
/**
|
|
58
|
+
* The list of managed instance OCIDs to be attached/detached.
|
|
59
|
+
*/
|
|
60
|
+
readonly managedInstances: pulumi.Output<string[] | undefined>;
|
|
61
|
+
/**
|
|
62
|
+
* The list of package names.
|
|
63
|
+
*/
|
|
64
|
+
readonly packageNames: pulumi.Output<string[]>;
|
|
65
|
+
/**
|
|
66
|
+
* Provides the name and description of the job.
|
|
67
|
+
*/
|
|
68
|
+
readonly workRequestDetails: pulumi.Output<outputs.OsManagementHub.DynamicSetRemovePackagesManagementWorkRequestDetails>;
|
|
69
|
+
/**
|
|
70
|
+
* Create a DynamicSetRemovePackagesManagement resource with the given unique name, arguments, and options.
|
|
71
|
+
*
|
|
72
|
+
* @param name The _unique_ name of the resource.
|
|
73
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
74
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
75
|
+
*/
|
|
76
|
+
constructor(name: string, args: DynamicSetRemovePackagesManagementArgs, opts?: pulumi.CustomResourceOptions);
|
|
77
|
+
}
|
|
78
|
+
/**
|
|
79
|
+
* Input properties used for looking up and filtering DynamicSetRemovePackagesManagement resources.
|
|
80
|
+
*/
|
|
81
|
+
export interface DynamicSetRemovePackagesManagementState {
|
|
82
|
+
/**
|
|
83
|
+
* The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the dynamic set. This filter returns resources associated with this dynamic set.
|
|
84
|
+
*/
|
|
85
|
+
dynamicSetId?: pulumi.Input<string>;
|
|
86
|
+
/**
|
|
87
|
+
* The list of managed instance OCIDs to be attached/detached.
|
|
88
|
+
*/
|
|
89
|
+
managedInstances?: pulumi.Input<pulumi.Input<string>[]>;
|
|
90
|
+
/**
|
|
91
|
+
* The list of package names.
|
|
92
|
+
*/
|
|
93
|
+
packageNames?: pulumi.Input<pulumi.Input<string>[]>;
|
|
94
|
+
/**
|
|
95
|
+
* Provides the name and description of the job.
|
|
96
|
+
*/
|
|
97
|
+
workRequestDetails?: pulumi.Input<inputs.OsManagementHub.DynamicSetRemovePackagesManagementWorkRequestDetails>;
|
|
98
|
+
}
|
|
99
|
+
/**
|
|
100
|
+
* The set of arguments for constructing a DynamicSetRemovePackagesManagement resource.
|
|
101
|
+
*/
|
|
102
|
+
export interface DynamicSetRemovePackagesManagementArgs {
|
|
103
|
+
/**
|
|
104
|
+
* The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the dynamic set. This filter returns resources associated with this dynamic set.
|
|
105
|
+
*/
|
|
106
|
+
dynamicSetId: pulumi.Input<string>;
|
|
107
|
+
/**
|
|
108
|
+
* The list of managed instance OCIDs to be attached/detached.
|
|
109
|
+
*/
|
|
110
|
+
managedInstances?: pulumi.Input<pulumi.Input<string>[]>;
|
|
111
|
+
/**
|
|
112
|
+
* The list of package names.
|
|
113
|
+
*/
|
|
114
|
+
packageNames: pulumi.Input<pulumi.Input<string>[]>;
|
|
115
|
+
/**
|
|
116
|
+
* Provides the name and description of the job.
|
|
117
|
+
*/
|
|
118
|
+
workRequestDetails?: pulumi.Input<inputs.OsManagementHub.DynamicSetRemovePackagesManagementWorkRequestDetails>;
|
|
119
|
+
}
|
|
@@ -0,0 +1,94 @@
|
|
|
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.DynamicSetRemovePackagesManagement = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* This resource provides the Dynamic Set Remove Packages Management resource in Oracle Cloud Infrastructure Os Management Hub service.
|
|
10
|
+
* Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/osmh/latest/DynamicSet/RemovePackages
|
|
11
|
+
*
|
|
12
|
+
* Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/os_management_hub
|
|
13
|
+
*
|
|
14
|
+
* Removes specified software packages from all managed instances in the dynamic set.
|
|
15
|
+
*
|
|
16
|
+
* ## Example Usage
|
|
17
|
+
*
|
|
18
|
+
* ```typescript
|
|
19
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
20
|
+
* import * as oci from "@pulumi/oci";
|
|
21
|
+
*
|
|
22
|
+
* const testDynamicSetRemovePackagesManagement = new oci.osmanagementhub.DynamicSetRemovePackagesManagement("test_dynamic_set_remove_packages_management", {
|
|
23
|
+
* dynamicSetId: testDynamicSet.id,
|
|
24
|
+
* packageNames: dynamicSetRemovePackagesManagementPackageNames,
|
|
25
|
+
* managedInstances: dynamicSetRemovePackagesManagementManagedInstances,
|
|
26
|
+
* workRequestDetails: {
|
|
27
|
+
* description: dynamicSetRemovePackagesManagementWorkRequestDetailsDescription,
|
|
28
|
+
* displayName: dynamicSetRemovePackagesManagementWorkRequestDetailsDisplayName,
|
|
29
|
+
* },
|
|
30
|
+
* });
|
|
31
|
+
* ```
|
|
32
|
+
*
|
|
33
|
+
* ## Import
|
|
34
|
+
*
|
|
35
|
+
* DynamicSetRemovePackagesManagement can be imported using the `id`, e.g.
|
|
36
|
+
*
|
|
37
|
+
* ```sh
|
|
38
|
+
* $ pulumi import oci:OsManagementHub/dynamicSetRemovePackagesManagement:DynamicSetRemovePackagesManagement test_dynamic_set_remove_packages_management "id"
|
|
39
|
+
* ```
|
|
40
|
+
*/
|
|
41
|
+
class DynamicSetRemovePackagesManagement extends pulumi.CustomResource {
|
|
42
|
+
/**
|
|
43
|
+
* Get an existing DynamicSetRemovePackagesManagement resource's state with the given name, ID, and optional extra
|
|
44
|
+
* properties used to qualify the lookup.
|
|
45
|
+
*
|
|
46
|
+
* @param name The _unique_ name of the resulting resource.
|
|
47
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
48
|
+
* @param state Any extra arguments used during the lookup.
|
|
49
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
50
|
+
*/
|
|
51
|
+
static get(name, id, state, opts) {
|
|
52
|
+
return new DynamicSetRemovePackagesManagement(name, state, { ...opts, id: id });
|
|
53
|
+
}
|
|
54
|
+
/**
|
|
55
|
+
* Returns true if the given object is an instance of DynamicSetRemovePackagesManagement. This is designed to work even
|
|
56
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
57
|
+
*/
|
|
58
|
+
static isInstance(obj) {
|
|
59
|
+
if (obj === undefined || obj === null) {
|
|
60
|
+
return false;
|
|
61
|
+
}
|
|
62
|
+
return obj['__pulumiType'] === DynamicSetRemovePackagesManagement.__pulumiType;
|
|
63
|
+
}
|
|
64
|
+
constructor(name, argsOrState, opts) {
|
|
65
|
+
let resourceInputs = {};
|
|
66
|
+
opts = opts || {};
|
|
67
|
+
if (opts.id) {
|
|
68
|
+
const state = argsOrState;
|
|
69
|
+
resourceInputs["dynamicSetId"] = state?.dynamicSetId;
|
|
70
|
+
resourceInputs["managedInstances"] = state?.managedInstances;
|
|
71
|
+
resourceInputs["packageNames"] = state?.packageNames;
|
|
72
|
+
resourceInputs["workRequestDetails"] = state?.workRequestDetails;
|
|
73
|
+
}
|
|
74
|
+
else {
|
|
75
|
+
const args = argsOrState;
|
|
76
|
+
if (args?.dynamicSetId === undefined && !opts.urn) {
|
|
77
|
+
throw new Error("Missing required property 'dynamicSetId'");
|
|
78
|
+
}
|
|
79
|
+
if (args?.packageNames === undefined && !opts.urn) {
|
|
80
|
+
throw new Error("Missing required property 'packageNames'");
|
|
81
|
+
}
|
|
82
|
+
resourceInputs["dynamicSetId"] = args?.dynamicSetId;
|
|
83
|
+
resourceInputs["managedInstances"] = args?.managedInstances;
|
|
84
|
+
resourceInputs["packageNames"] = args?.packageNames;
|
|
85
|
+
resourceInputs["workRequestDetails"] = args?.workRequestDetails;
|
|
86
|
+
}
|
|
87
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
88
|
+
super(DynamicSetRemovePackagesManagement.__pulumiType, name, resourceInputs, opts);
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
exports.DynamicSetRemovePackagesManagement = DynamicSetRemovePackagesManagement;
|
|
92
|
+
/** @internal */
|
|
93
|
+
DynamicSetRemovePackagesManagement.__pulumiType = 'oci:OsManagementHub/dynamicSetRemovePackagesManagement:DynamicSetRemovePackagesManagement';
|
|
94
|
+
//# sourceMappingURL=dynamicSetRemovePackagesManagement.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dynamicSetRemovePackagesManagement.js","sourceRoot":"","sources":["../../osmanagementhub/dynamicSetRemovePackagesManagement.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgCG;AACH,MAAa,kCAAmC,SAAQ,MAAM,CAAC,cAAc;IACzE;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA+C,EAAE,IAAmC;QAC7I,OAAO,IAAI,kCAAkC,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACzF,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,kCAAkC,CAAC,YAAY,CAAC;IACnF,CAAC;IA2BD,YAAY,IAAY,EAAE,WAA8F,EAAE,IAAmC;QACzJ,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAkE,CAAC;YACjF,cAAc,CAAC,cAAc,CAAC,GAAG,KAAK,EAAE,YAAY,CAAC;YACrD,cAAc,CAAC,kBAAkB,CAAC,GAAG,KAAK,EAAE,gBAAgB,CAAC;YAC7D,cAAc,CAAC,cAAc,CAAC,GAAG,KAAK,EAAE,YAAY,CAAC;YACrD,cAAc,CAAC,oBAAoB,CAAC,GAAG,KAAK,EAAE,kBAAkB,CAAC;SACpE;aAAM;YACH,MAAM,IAAI,GAAG,WAAiE,CAAC;YAC/E,IAAI,IAAI,EAAE,YAAY,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAC/C,MAAM,IAAI,KAAK,CAAC,0CAA0C,CAAC,CAAC;aAC/D;YACD,IAAI,IAAI,EAAE,YAAY,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAC/C,MAAM,IAAI,KAAK,CAAC,0CAA0C,CAAC,CAAC;aAC/D;YACD,cAAc,CAAC,cAAc,CAAC,GAAG,IAAI,EAAE,YAAY,CAAC;YACpD,cAAc,CAAC,kBAAkB,CAAC,GAAG,IAAI,EAAE,gBAAgB,CAAC;YAC5D,cAAc,CAAC,cAAc,CAAC,GAAG,IAAI,EAAE,YAAY,CAAC;YACpD,cAAc,CAAC,oBAAoB,CAAC,GAAG,IAAI,EAAE,kBAAkB,CAAC;SACnE;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,kCAAkC,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACvF,CAAC;;AA7EL,gFA8EC;AAhEG,gBAAgB;AACO,+CAAY,GAAG,2FAA2F,CAAC"}
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "../types/input";
|
|
3
|
+
import * as outputs from "../types/output";
|
|
4
|
+
/**
|
|
5
|
+
* This resource provides the Dynamic Set Update Packages Management resource in Oracle Cloud Infrastructure Os Management Hub service.
|
|
6
|
+
* Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/osmh/latest/DynamicSet/UpdatePackages
|
|
7
|
+
*
|
|
8
|
+
* Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/os_management_hub
|
|
9
|
+
*
|
|
10
|
+
* Updates all installed software packages on managed instances in the dynamic set.
|
|
11
|
+
*
|
|
12
|
+
* ## Example Usage
|
|
13
|
+
*
|
|
14
|
+
* ```typescript
|
|
15
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
16
|
+
* import * as oci from "@pulumi/oci";
|
|
17
|
+
*
|
|
18
|
+
* const testDynamicSetUpdatePackagesManagement = new oci.osmanagementhub.DynamicSetUpdatePackagesManagement("test_dynamic_set_update_packages_management", {
|
|
19
|
+
* dynamicSetId: testDynamicSet.id,
|
|
20
|
+
* managedInstances: dynamicSetUpdatePackagesManagementManagedInstances,
|
|
21
|
+
* updateTypes: dynamicSetUpdatePackagesManagementUpdateTypes,
|
|
22
|
+
* workRequestDetails: {
|
|
23
|
+
* description: dynamicSetUpdatePackagesManagementWorkRequestDetailsDescription,
|
|
24
|
+
* displayName: dynamicSetUpdatePackagesManagementWorkRequestDetailsDisplayName,
|
|
25
|
+
* },
|
|
26
|
+
* });
|
|
27
|
+
* ```
|
|
28
|
+
*
|
|
29
|
+
* ## Import
|
|
30
|
+
*
|
|
31
|
+
* DynamicSetUpdatePackagesManagement can be imported using the `id`, e.g.
|
|
32
|
+
*
|
|
33
|
+
* ```sh
|
|
34
|
+
* $ pulumi import oci:OsManagementHub/dynamicSetUpdatePackagesManagement:DynamicSetUpdatePackagesManagement test_dynamic_set_update_packages_management "id"
|
|
35
|
+
* ```
|
|
36
|
+
*/
|
|
37
|
+
export declare class DynamicSetUpdatePackagesManagement extends pulumi.CustomResource {
|
|
38
|
+
/**
|
|
39
|
+
* Get an existing DynamicSetUpdatePackagesManagement resource's state with the given name, ID, and optional extra
|
|
40
|
+
* properties used to qualify the lookup.
|
|
41
|
+
*
|
|
42
|
+
* @param name The _unique_ name of the resulting resource.
|
|
43
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
44
|
+
* @param state Any extra arguments used during the lookup.
|
|
45
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
46
|
+
*/
|
|
47
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: DynamicSetUpdatePackagesManagementState, opts?: pulumi.CustomResourceOptions): DynamicSetUpdatePackagesManagement;
|
|
48
|
+
/**
|
|
49
|
+
* Returns true if the given object is an instance of DynamicSetUpdatePackagesManagement. This is designed to work even
|
|
50
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
51
|
+
*/
|
|
52
|
+
static isInstance(obj: any): obj is DynamicSetUpdatePackagesManagement;
|
|
53
|
+
/**
|
|
54
|
+
* The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the dynamic set. This filter returns resources associated with this dynamic set.
|
|
55
|
+
*/
|
|
56
|
+
readonly dynamicSetId: pulumi.Output<string>;
|
|
57
|
+
/**
|
|
58
|
+
* The list of managed instance OCIDs to be attached/detached.
|
|
59
|
+
*/
|
|
60
|
+
readonly managedInstances: pulumi.Output<string[] | undefined>;
|
|
61
|
+
/**
|
|
62
|
+
* The types of updates to be applied.
|
|
63
|
+
*/
|
|
64
|
+
readonly updateTypes: pulumi.Output<string[]>;
|
|
65
|
+
/**
|
|
66
|
+
* Provides the name and description of the job.
|
|
67
|
+
*/
|
|
68
|
+
readonly workRequestDetails: pulumi.Output<outputs.OsManagementHub.DynamicSetUpdatePackagesManagementWorkRequestDetails>;
|
|
69
|
+
/**
|
|
70
|
+
* Create a DynamicSetUpdatePackagesManagement resource with the given unique name, arguments, and options.
|
|
71
|
+
*
|
|
72
|
+
* @param name The _unique_ name of the resource.
|
|
73
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
74
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
75
|
+
*/
|
|
76
|
+
constructor(name: string, args: DynamicSetUpdatePackagesManagementArgs, opts?: pulumi.CustomResourceOptions);
|
|
77
|
+
}
|
|
78
|
+
/**
|
|
79
|
+
* Input properties used for looking up and filtering DynamicSetUpdatePackagesManagement resources.
|
|
80
|
+
*/
|
|
81
|
+
export interface DynamicSetUpdatePackagesManagementState {
|
|
82
|
+
/**
|
|
83
|
+
* The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the dynamic set. This filter returns resources associated with this dynamic set.
|
|
84
|
+
*/
|
|
85
|
+
dynamicSetId?: pulumi.Input<string>;
|
|
86
|
+
/**
|
|
87
|
+
* The list of managed instance OCIDs to be attached/detached.
|
|
88
|
+
*/
|
|
89
|
+
managedInstances?: pulumi.Input<pulumi.Input<string>[]>;
|
|
90
|
+
/**
|
|
91
|
+
* The types of updates to be applied.
|
|
92
|
+
*/
|
|
93
|
+
updateTypes?: pulumi.Input<pulumi.Input<string>[]>;
|
|
94
|
+
/**
|
|
95
|
+
* Provides the name and description of the job.
|
|
96
|
+
*/
|
|
97
|
+
workRequestDetails?: pulumi.Input<inputs.OsManagementHub.DynamicSetUpdatePackagesManagementWorkRequestDetails>;
|
|
98
|
+
}
|
|
99
|
+
/**
|
|
100
|
+
* The set of arguments for constructing a DynamicSetUpdatePackagesManagement resource.
|
|
101
|
+
*/
|
|
102
|
+
export interface DynamicSetUpdatePackagesManagementArgs {
|
|
103
|
+
/**
|
|
104
|
+
* The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the dynamic set. This filter returns resources associated with this dynamic set.
|
|
105
|
+
*/
|
|
106
|
+
dynamicSetId: pulumi.Input<string>;
|
|
107
|
+
/**
|
|
108
|
+
* The list of managed instance OCIDs to be attached/detached.
|
|
109
|
+
*/
|
|
110
|
+
managedInstances?: pulumi.Input<pulumi.Input<string>[]>;
|
|
111
|
+
/**
|
|
112
|
+
* The types of updates to be applied.
|
|
113
|
+
*/
|
|
114
|
+
updateTypes?: pulumi.Input<pulumi.Input<string>[]>;
|
|
115
|
+
/**
|
|
116
|
+
* Provides the name and description of the job.
|
|
117
|
+
*/
|
|
118
|
+
workRequestDetails?: pulumi.Input<inputs.OsManagementHub.DynamicSetUpdatePackagesManagementWorkRequestDetails>;
|
|
119
|
+
}
|
|
@@ -0,0 +1,91 @@
|
|
|
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.DynamicSetUpdatePackagesManagement = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* This resource provides the Dynamic Set Update Packages Management resource in Oracle Cloud Infrastructure Os Management Hub service.
|
|
10
|
+
* Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/osmh/latest/DynamicSet/UpdatePackages
|
|
11
|
+
*
|
|
12
|
+
* Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/os_management_hub
|
|
13
|
+
*
|
|
14
|
+
* Updates all installed software packages on managed instances in the dynamic set.
|
|
15
|
+
*
|
|
16
|
+
* ## Example Usage
|
|
17
|
+
*
|
|
18
|
+
* ```typescript
|
|
19
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
20
|
+
* import * as oci from "@pulumi/oci";
|
|
21
|
+
*
|
|
22
|
+
* const testDynamicSetUpdatePackagesManagement = new oci.osmanagementhub.DynamicSetUpdatePackagesManagement("test_dynamic_set_update_packages_management", {
|
|
23
|
+
* dynamicSetId: testDynamicSet.id,
|
|
24
|
+
* managedInstances: dynamicSetUpdatePackagesManagementManagedInstances,
|
|
25
|
+
* updateTypes: dynamicSetUpdatePackagesManagementUpdateTypes,
|
|
26
|
+
* workRequestDetails: {
|
|
27
|
+
* description: dynamicSetUpdatePackagesManagementWorkRequestDetailsDescription,
|
|
28
|
+
* displayName: dynamicSetUpdatePackagesManagementWorkRequestDetailsDisplayName,
|
|
29
|
+
* },
|
|
30
|
+
* });
|
|
31
|
+
* ```
|
|
32
|
+
*
|
|
33
|
+
* ## Import
|
|
34
|
+
*
|
|
35
|
+
* DynamicSetUpdatePackagesManagement can be imported using the `id`, e.g.
|
|
36
|
+
*
|
|
37
|
+
* ```sh
|
|
38
|
+
* $ pulumi import oci:OsManagementHub/dynamicSetUpdatePackagesManagement:DynamicSetUpdatePackagesManagement test_dynamic_set_update_packages_management "id"
|
|
39
|
+
* ```
|
|
40
|
+
*/
|
|
41
|
+
class DynamicSetUpdatePackagesManagement extends pulumi.CustomResource {
|
|
42
|
+
/**
|
|
43
|
+
* Get an existing DynamicSetUpdatePackagesManagement resource's state with the given name, ID, and optional extra
|
|
44
|
+
* properties used to qualify the lookup.
|
|
45
|
+
*
|
|
46
|
+
* @param name The _unique_ name of the resulting resource.
|
|
47
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
48
|
+
* @param state Any extra arguments used during the lookup.
|
|
49
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
50
|
+
*/
|
|
51
|
+
static get(name, id, state, opts) {
|
|
52
|
+
return new DynamicSetUpdatePackagesManagement(name, state, { ...opts, id: id });
|
|
53
|
+
}
|
|
54
|
+
/**
|
|
55
|
+
* Returns true if the given object is an instance of DynamicSetUpdatePackagesManagement. This is designed to work even
|
|
56
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
57
|
+
*/
|
|
58
|
+
static isInstance(obj) {
|
|
59
|
+
if (obj === undefined || obj === null) {
|
|
60
|
+
return false;
|
|
61
|
+
}
|
|
62
|
+
return obj['__pulumiType'] === DynamicSetUpdatePackagesManagement.__pulumiType;
|
|
63
|
+
}
|
|
64
|
+
constructor(name, argsOrState, opts) {
|
|
65
|
+
let resourceInputs = {};
|
|
66
|
+
opts = opts || {};
|
|
67
|
+
if (opts.id) {
|
|
68
|
+
const state = argsOrState;
|
|
69
|
+
resourceInputs["dynamicSetId"] = state?.dynamicSetId;
|
|
70
|
+
resourceInputs["managedInstances"] = state?.managedInstances;
|
|
71
|
+
resourceInputs["updateTypes"] = state?.updateTypes;
|
|
72
|
+
resourceInputs["workRequestDetails"] = state?.workRequestDetails;
|
|
73
|
+
}
|
|
74
|
+
else {
|
|
75
|
+
const args = argsOrState;
|
|
76
|
+
if (args?.dynamicSetId === undefined && !opts.urn) {
|
|
77
|
+
throw new Error("Missing required property 'dynamicSetId'");
|
|
78
|
+
}
|
|
79
|
+
resourceInputs["dynamicSetId"] = args?.dynamicSetId;
|
|
80
|
+
resourceInputs["managedInstances"] = args?.managedInstances;
|
|
81
|
+
resourceInputs["updateTypes"] = args?.updateTypes;
|
|
82
|
+
resourceInputs["workRequestDetails"] = args?.workRequestDetails;
|
|
83
|
+
}
|
|
84
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
85
|
+
super(DynamicSetUpdatePackagesManagement.__pulumiType, name, resourceInputs, opts);
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
exports.DynamicSetUpdatePackagesManagement = DynamicSetUpdatePackagesManagement;
|
|
89
|
+
/** @internal */
|
|
90
|
+
DynamicSetUpdatePackagesManagement.__pulumiType = 'oci:OsManagementHub/dynamicSetUpdatePackagesManagement:DynamicSetUpdatePackagesManagement';
|
|
91
|
+
//# sourceMappingURL=dynamicSetUpdatePackagesManagement.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dynamicSetUpdatePackagesManagement.js","sourceRoot":"","sources":["../../osmanagementhub/dynamicSetUpdatePackagesManagement.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgCG;AACH,MAAa,kCAAmC,SAAQ,MAAM,CAAC,cAAc;IACzE;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA+C,EAAE,IAAmC;QAC7I,OAAO,IAAI,kCAAkC,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACzF,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,kCAAkC,CAAC,YAAY,CAAC;IACnF,CAAC;IA2BD,YAAY,IAAY,EAAE,WAA8F,EAAE,IAAmC;QACzJ,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAkE,CAAC;YACjF,cAAc,CAAC,cAAc,CAAC,GAAG,KAAK,EAAE,YAAY,CAAC;YACrD,cAAc,CAAC,kBAAkB,CAAC,GAAG,KAAK,EAAE,gBAAgB,CAAC;YAC7D,cAAc,CAAC,aAAa,CAAC,GAAG,KAAK,EAAE,WAAW,CAAC;YACnD,cAAc,CAAC,oBAAoB,CAAC,GAAG,KAAK,EAAE,kBAAkB,CAAC;SACpE;aAAM;YACH,MAAM,IAAI,GAAG,WAAiE,CAAC;YAC/E,IAAI,IAAI,EAAE,YAAY,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAC/C,MAAM,IAAI,KAAK,CAAC,0CAA0C,CAAC,CAAC;aAC/D;YACD,cAAc,CAAC,cAAc,CAAC,GAAG,IAAI,EAAE,YAAY,CAAC;YACpD,cAAc,CAAC,kBAAkB,CAAC,GAAG,IAAI,EAAE,gBAAgB,CAAC;YAC5D,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,EAAE,WAAW,CAAC;YAClD,cAAc,CAAC,oBAAoB,CAAC,GAAG,IAAI,EAAE,kBAAkB,CAAC;SACnE;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,kCAAkC,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACvF,CAAC;;AA1EL,gFA2EC;AA7DG,gBAAgB;AACO,+CAAY,GAAG,2FAA2F,CAAC"}
|