@pulumi/oci 2.8.0 → 2.9.0-alpha.1724836493
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/announcementsservice/announcementSubscription.d.ts +6 -6
- package/announcementsservice/getAnnouncementSubscription.d.ts +2 -2
- package/announcementsservice/getServices.d.ts +100 -0
- package/announcementsservice/getServices.js +58 -0
- package/announcementsservice/getServices.js.map +1 -0
- package/announcementsservice/index.d.ts +3 -0
- package/announcementsservice/index.js +4 -1
- package/announcementsservice/index.js.map +1 -1
- package/bigdataservice/bdsInstance.d.ts +0 -27
- package/bigdataservice/bdsInstance.js +0 -6
- package/bigdataservice/bdsInstance.js.map +1 -1
- package/bigdataservice/getBdsInstance.d.ts +0 -3
- package/bigdataservice/getBdsInstance.js.map +1 -1
- package/database/autonomousDatabase.d.ts +8 -0
- package/database/autonomousDatabase.js +2 -0
- package/database/autonomousDatabase.js.map +1 -1
- package/database/dataGuardAssociation.d.ts +13 -0
- package/database/dataGuardAssociation.js +3 -0
- package/database/dataGuardAssociation.js.map +1 -1
- package/database/getAutonomousDatabase.d.ts +4 -0
- package/database/getAutonomousDatabase.js.map +1 -1
- package/database/getAutonomousDatabases.d.ts +32 -103
- package/database/getAutonomousDatabases.js +4 -74
- package/database/getAutonomousDatabases.js.map +1 -1
- package/database/getDataGuardAssociation.d.ts +1 -0
- package/database/getDataGuardAssociation.js.map +1 -1
- package/databasemanagement/autonomousDatabaseAutonomousDatabaseDbmFeaturesManagement.d.ts +91 -0
- package/databasemanagement/autonomousDatabaseAutonomousDatabaseDbmFeaturesManagement.js +64 -0
- package/databasemanagement/autonomousDatabaseAutonomousDatabaseDbmFeaturesManagement.js.map +1 -0
- package/databasemanagement/databaseDbmFeaturesManagement.d.ts +3 -0
- package/databasemanagement/databaseDbmFeaturesManagement.js +2 -0
- package/databasemanagement/databaseDbmFeaturesManagement.js.map +1 -1
- package/databasemanagement/dbManagementPrivateEndpoint.d.ts +13 -0
- package/databasemanagement/dbManagementPrivateEndpoint.js +3 -0
- package/databasemanagement/dbManagementPrivateEndpoint.js.map +1 -1
- package/databasemanagement/getDbManagementPrivateEndpoint.d.ts +4 -0
- package/databasemanagement/getDbManagementPrivateEndpoint.js.map +1 -1
- package/databasemanagement/getDbManagementPrivateEndpoints.d.ts +14 -0
- package/databasemanagement/getDbManagementPrivateEndpoints.js +3 -0
- package/databasemanagement/getDbManagementPrivateEndpoints.js.map +1 -1
- package/databasemanagement/getManagedDatabase.d.ts +22 -0
- package/databasemanagement/getManagedDatabase.js +1 -0
- package/databasemanagement/getManagedDatabase.js.map +1 -1
- package/databasemanagement/index.d.ts +3 -0
- package/databasemanagement/index.js +10 -5
- package/databasemanagement/index.js.map +1 -1
- package/databasemanagement/managedDatabase.d.ts +16 -0
- package/databasemanagement/managedDatabase.js +4 -0
- package/databasemanagement/managedDatabase.js.map +1 -1
- package/databasemanagement/pluggabledatabasePluggableDatabaseDbmFeaturesManagement.d.ts +3 -0
- package/databasemanagement/pluggabledatabasePluggableDatabaseDbmFeaturesManagement.js +2 -0
- package/databasemanagement/pluggabledatabasePluggableDatabaseDbmFeaturesManagement.js.map +1 -1
- package/datasafe/databaseSecurityConfigManagement.d.ts +154 -0
- package/datasafe/databaseSecurityConfigManagement.js +34 -0
- package/datasafe/databaseSecurityConfigManagement.js.map +1 -1
- package/datasafe/index.d.ts +18 -0
- package/datasafe/index.js +31 -1
- package/datasafe/index.js.map +1 -1
- package/datasafe/maskingPolicyHealthReportManagement.d.ts +145 -0
- package/datasafe/maskingPolicyHealthReportManagement.js +88 -0
- package/datasafe/maskingPolicyHealthReportManagement.js.map +1 -0
- package/datasafe/maskingReportManagement.d.ts +213 -0
- package/datasafe/maskingReportManagement.js +104 -0
- package/datasafe/maskingReportManagement.js.map +1 -0
- package/datasafe/securityPolicyDeploymentManagement.d.ts +119 -0
- package/datasafe/securityPolicyDeploymentManagement.js +29 -0
- package/datasafe/securityPolicyDeploymentManagement.js.map +1 -1
- package/datasafe/securityPolicyManagement.d.ts +113 -0
- package/datasafe/securityPolicyManagement.js +29 -0
- package/datasafe/securityPolicyManagement.js.map +1 -1
- package/datasafe/setSecurityAssessmentBaselineManagement.d.ts +101 -0
- package/datasafe/setSecurityAssessmentBaselineManagement.js +86 -0
- package/datasafe/setSecurityAssessmentBaselineManagement.js.map +1 -0
- package/datasafe/setUserAssessmentBaselineManagement.d.ts +101 -0
- package/datasafe/setUserAssessmentBaselineManagement.js +86 -0
- package/datasafe/setUserAssessmentBaselineManagement.js.map +1 -0
- package/datasafe/sqlFirewallPolicyManagement.d.ts +229 -0
- package/datasafe/sqlFirewallPolicyManagement.js +37 -0
- package/datasafe/sqlFirewallPolicyManagement.js.map +1 -1
- package/datasafe/unsetSecurityAssessmentBaselineManagement.d.ts +97 -0
- package/datasafe/unsetSecurityAssessmentBaselineManagement.js +82 -0
- package/datasafe/unsetSecurityAssessmentBaselineManagement.js.map +1 -0
- package/datasafe/unsetUserAssessmentBaselineManagement.d.ts +97 -0
- package/datasafe/unsetUserAssessmentBaselineManagement.js +82 -0
- package/datasafe/unsetUserAssessmentBaselineManagement.js.map +1 -0
- package/delegateaccesscontrol/delegationControl.d.ts +334 -0
- package/delegateaccesscontrol/delegationControl.js +152 -0
- package/delegateaccesscontrol/delegationControl.js.map +1 -0
- package/delegateaccesscontrol/delegationSubscription.d.ts +217 -0
- package/{globallydistributeddatabase/privateEndpoint.js → delegateaccesscontrol/delegationSubscription.js} +29 -36
- package/delegateaccesscontrol/delegationSubscription.js.map +1 -0
- package/delegateaccesscontrol/getDelegatedResourceAccessRequest.d.ts +202 -0
- package/delegateaccesscontrol/getDelegatedResourceAccessRequest.js +51 -0
- package/delegateaccesscontrol/getDelegatedResourceAccessRequest.js.map +1 -0
- package/delegateaccesscontrol/getDelegatedResourceAccessRequestAuditLogReport.d.ts +90 -0
- package/delegateaccesscontrol/getDelegatedResourceAccessRequestAuditLogReport.js +54 -0
- package/delegateaccesscontrol/getDelegatedResourceAccessRequestAuditLogReport.js.map +1 -0
- package/delegateaccesscontrol/getDelegatedResourceAccessRequestHistories.d.ts +72 -0
- package/delegateaccesscontrol/getDelegatedResourceAccessRequestHistories.js +52 -0
- package/delegateaccesscontrol/getDelegatedResourceAccessRequestHistories.js.map +1 -0
- package/delegateaccesscontrol/getDelegatedResourceAccessRequests.d.ts +153 -0
- package/delegateaccesscontrol/getDelegatedResourceAccessRequests.js +70 -0
- package/delegateaccesscontrol/getDelegatedResourceAccessRequests.js.map +1 -0
- package/delegateaccesscontrol/getDelegationControl.d.ts +153 -0
- package/delegateaccesscontrol/getDelegationControl.js +51 -0
- package/delegateaccesscontrol/getDelegationControl.js.map +1 -0
- package/delegateaccesscontrol/getDelegationControlResources.d.ts +72 -0
- package/delegateaccesscontrol/getDelegationControlResources.js +52 -0
- package/delegateaccesscontrol/getDelegationControlResources.js.map +1 -0
- package/delegateaccesscontrol/getDelegationControls.d.ts +128 -0
- package/delegateaccesscontrol/getDelegationControls.js +64 -0
- package/delegateaccesscontrol/getDelegationControls.js.map +1 -0
- package/delegateaccesscontrol/getDelegationSubscription.d.ts +117 -0
- package/delegateaccesscontrol/getDelegationSubscription.js +51 -0
- package/delegateaccesscontrol/getDelegationSubscription.js.map +1 -0
- package/delegateaccesscontrol/getDelegationSubscriptions.d.ts +103 -0
- package/delegateaccesscontrol/getDelegationSubscriptions.js +58 -0
- package/delegateaccesscontrol/getDelegationSubscriptions.js.map +1 -0
- package/delegateaccesscontrol/getServiceProvider.d.ts +121 -0
- package/delegateaccesscontrol/getServiceProvider.js +51 -0
- package/delegateaccesscontrol/getServiceProvider.js.map +1 -0
- package/delegateaccesscontrol/getServiceProviderAction.d.ts +96 -0
- package/delegateaccesscontrol/getServiceProviderAction.js +51 -0
- package/delegateaccesscontrol/getServiceProviderAction.js.map +1 -0
- package/delegateaccesscontrol/getServiceProviderActions.d.ts +125 -0
- package/delegateaccesscontrol/getServiceProviderActions.js +64 -0
- package/delegateaccesscontrol/getServiceProviderActions.js.map +1 -0
- package/delegateaccesscontrol/getServiceProviders.d.ts +128 -0
- package/delegateaccesscontrol/getServiceProviders.js +64 -0
- package/delegateaccesscontrol/getServiceProviders.js.map +1 -0
- package/delegateaccesscontrol/index.d.ts +45 -0
- package/delegateaccesscontrol/index.js +66 -0
- package/delegateaccesscontrol/index.js.map +1 -0
- package/desktops/desktopPool.d.ts +409 -0
- package/desktops/desktopPool.js +211 -0
- package/desktops/desktopPool.js.map +1 -0
- package/desktops/getDesktop.d.ts +104 -0
- package/desktops/getDesktop.js +51 -0
- package/desktops/getDesktop.js.map +1 -0
- package/desktops/getDesktopPool.d.ts +164 -0
- package/desktops/getDesktopPool.js +51 -0
- package/desktops/getDesktopPool.js.map +1 -0
- package/desktops/getDesktopPoolDesktops.d.ts +126 -0
- package/desktops/getDesktopPoolDesktops.js +67 -0
- package/desktops/getDesktopPoolDesktops.js.map +1 -0
- package/desktops/getDesktopPoolVolumes.d.ts +132 -0
- package/desktops/getDesktopPoolVolumes.js +67 -0
- package/desktops/getDesktopPoolVolumes.js.map +1 -0
- package/desktops/getDesktopPools.d.ts +127 -0
- package/desktops/getDesktopPools.js +64 -0
- package/desktops/getDesktopPools.js.map +1 -0
- package/desktops/getDesktops.d.ts +132 -0
- package/desktops/getDesktops.js +67 -0
- package/desktops/getDesktops.js.map +1 -0
- package/desktops/index.d.ts +21 -0
- package/desktops/index.js +40 -0
- package/desktops/index.js.map +1 -0
- package/filestorage/mountTarget.d.ts +40 -15
- package/filestorage/mountTarget.js +9 -0
- package/filestorage/mountTarget.js.map +1 -1
- package/identity/domainsGroup.d.ts +3 -0
- package/identity/domainsGroup.js +2 -0
- package/identity/domainsGroup.js.map +1 -1
- package/identity/domainsUser.d.ts +3 -0
- package/identity/domainsUser.js +2 -0
- package/identity/domainsUser.js.map +1 -1
- package/identity/getDomainsGroup.d.ts +1 -0
- package/identity/getDomainsGroup.js.map +1 -1
- package/identity/getDomainsUser.d.ts +1 -0
- package/identity/getDomainsUser.js.map +1 -1
- package/index.d.ts +3 -3
- package/index.js +6 -6
- package/index.js.map +1 -1
- package/kms/getVault.d.ts +4 -0
- package/kms/getVault.js.map +1 -1
- package/kms/vault.d.ts +8 -0
- package/kms/vault.js +2 -0
- package/kms/vault.js.map +1 -1
- package/loadbalancer/loadBalancer.d.ts +80 -0
- package/loadbalancer/loadBalancer.js +6 -0
- package/loadbalancer/loadBalancer.js.map +1 -1
- package/mysql/getMysqlDbSystem.d.ts +5 -1
- package/mysql/getMysqlDbSystem.js.map +1 -1
- package/mysql/mysqlDbSystem.d.ts +15 -0
- package/mysql/mysqlDbSystem.js +5 -0
- package/mysql/mysqlDbSystem.js.map +1 -1
- package/ocvp/getCluster.d.ts +2 -2
- package/ocvp/getExsiHosts.d.ts +2 -2
- package/ocvp/getSupportedVmwareSoftwareVersions.d.ts +11 -0
- package/ocvp/getSupportedVmwareSoftwareVersions.js +3 -0
- package/ocvp/getSupportedVmwareSoftwareVersions.js.map +1 -1
- package/package.json +2 -2
- package/recoverymod/getProtectedDatabase.d.ts +4 -0
- package/recoverymod/getProtectedDatabase.js.map +1 -1
- package/recoverymod/getProtectionPolicy.d.ts +4 -0
- package/recoverymod/getProtectionPolicy.js.map +1 -1
- package/recoverymod/protectedDatabase.d.ts +25 -0
- package/recoverymod/protectedDatabase.js +3 -0
- package/recoverymod/protectedDatabase.js.map +1 -1
- package/recoverymod/protectionPolicy.d.ts +13 -0
- package/recoverymod/protectionPolicy.js +3 -0
- package/recoverymod/protectionPolicy.js.map +1 -1
- package/types/input.d.ts +482 -367
- package/types/output.d.ts +2230 -1280
- package/fleetsoftwareupdate/fsuCollection.d.ts +0 -92
- package/fleetsoftwareupdate/fsuCollection.js +0 -89
- package/fleetsoftwareupdate/fsuCollection.js.map +0 -1
- package/fleetsoftwareupdate/fsuCycle.d.ts +0 -119
- package/fleetsoftwareupdate/fsuCycle.js +0 -109
- package/fleetsoftwareupdate/fsuCycle.js.map +0 -1
- package/fleetsoftwareupdate/getFsuCollection.d.ts +0 -44
- package/fleetsoftwareupdate/getFsuCollection.js +0 -19
- package/fleetsoftwareupdate/getFsuCollection.js.map +0 -1
- package/fleetsoftwareupdate/getFsuCollections.d.ts +0 -40
- package/fleetsoftwareupdate/getFsuCollections.js +0 -23
- package/fleetsoftwareupdate/getFsuCollections.js.map +0 -1
- package/fleetsoftwareupdate/getFsuCycle.d.ts +0 -54
- package/fleetsoftwareupdate/getFsuCycle.js +0 -19
- package/fleetsoftwareupdate/getFsuCycle.js.map +0 -1
- package/fleetsoftwareupdate/getFsuCycles.d.ts +0 -46
- package/fleetsoftwareupdate/getFsuCycles.js +0 -25
- package/fleetsoftwareupdate/getFsuCycles.js.map +0 -1
- package/fleetsoftwareupdate/index.d.ts +0 -18
- package/fleetsoftwareupdate/index.js +0 -39
- package/fleetsoftwareupdate/index.js.map +0 -1
- package/globallydistributeddatabase/getPrivateEndpoint.d.ts +0 -129
- package/globallydistributeddatabase/getPrivateEndpoint.js +0 -51
- package/globallydistributeddatabase/getPrivateEndpoint.js.map +0 -1
- package/globallydistributeddatabase/getPrivateEndpoints.d.ts +0 -103
- package/globallydistributeddatabase/getPrivateEndpoints.js +0 -58
- package/globallydistributeddatabase/getPrivateEndpoints.js.map +0 -1
- package/globallydistributeddatabase/getShardedDatabase.d.ts +0 -208
- package/globallydistributeddatabase/getShardedDatabase.js +0 -54
- package/globallydistributeddatabase/getShardedDatabase.js.map +0 -1
- package/globallydistributeddatabase/getShardedDatabases.d.ts +0 -103
- package/globallydistributeddatabase/getShardedDatabases.js +0 -58
- package/globallydistributeddatabase/getShardedDatabases.js.map +0 -1
- package/globallydistributeddatabase/index.d.ts +0 -18
- package/globallydistributeddatabase/index.js +0 -39
- package/globallydistributeddatabase/index.js.map +0 -1
- package/globallydistributeddatabase/privateEndpoint.d.ts +0 -246
- package/globallydistributeddatabase/privateEndpoint.js.map +0 -1
- package/globallydistributeddatabase/shardedDatabase.d.ts +0 -507
- package/globallydistributeddatabase/shardedDatabase.js +0 -191
- package/globallydistributeddatabase/shardedDatabase.js.map +0 -1
|
@@ -1,4 +1,33 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* This resource provides the Security Policy Management resource in Oracle Cloud Infrastructure Data Safe service.
|
|
4
|
+
*
|
|
5
|
+
* Updates the security policy.
|
|
6
|
+
*
|
|
7
|
+
* ## Example Usage
|
|
8
|
+
*
|
|
9
|
+
* ```typescript
|
|
10
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
11
|
+
* import * as oci from "@pulumi/oci";
|
|
12
|
+
*
|
|
13
|
+
* const testSecurityPolicyManagement = new oci.datasafe.SecurityPolicyManagement("test_security_policy_management", {
|
|
14
|
+
* compartmentId: compartmentId,
|
|
15
|
+
* targetId: testTargetDatabase.id,
|
|
16
|
+
* definedTags: {
|
|
17
|
+
* "Operations.CostCenter": "42",
|
|
18
|
+
* },
|
|
19
|
+
* description: securityPolicyManagementDescription,
|
|
20
|
+
* displayName: securityPolicyManagementDisplayName,
|
|
21
|
+
* freeformTags: {
|
|
22
|
+
* Department: "Finance",
|
|
23
|
+
* },
|
|
24
|
+
* });
|
|
25
|
+
* ```
|
|
26
|
+
*
|
|
27
|
+
* ## Import
|
|
28
|
+
*
|
|
29
|
+
* Import is not supported for this resource.
|
|
30
|
+
*/
|
|
2
31
|
export declare class SecurityPolicyManagement extends pulumi.CustomResource {
|
|
3
32
|
/**
|
|
4
33
|
* Get an existing SecurityPolicyManagement resource's state with the given name, ID, and optional extra
|
|
@@ -15,22 +44,55 @@ export declare class SecurityPolicyManagement extends pulumi.CustomResource {
|
|
|
15
44
|
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
16
45
|
*/
|
|
17
46
|
static isInstance(obj: any): obj is SecurityPolicyManagement;
|
|
47
|
+
/**
|
|
48
|
+
* (Updatable) The OCID of the compartment containing the security policy.
|
|
49
|
+
*/
|
|
18
50
|
readonly compartmentId: pulumi.Output<string>;
|
|
51
|
+
/**
|
|
52
|
+
* (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm) Example: `{"Operations.CostCenter": "42"}`
|
|
53
|
+
*/
|
|
19
54
|
readonly definedTags: pulumi.Output<{
|
|
20
55
|
[key: string]: string;
|
|
21
56
|
}>;
|
|
57
|
+
/**
|
|
58
|
+
* (Updatable) The description of the security policy.
|
|
59
|
+
*/
|
|
22
60
|
readonly description: pulumi.Output<string>;
|
|
61
|
+
/**
|
|
62
|
+
* (Updatable) The display name of the security policy. The name does not have to be unique, and it is changeable.
|
|
63
|
+
*/
|
|
23
64
|
readonly displayName: pulumi.Output<string>;
|
|
65
|
+
/**
|
|
66
|
+
* (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm) Example: `{"Department": "Finance"}`
|
|
67
|
+
*/
|
|
24
68
|
readonly freeformTags: pulumi.Output<{
|
|
25
69
|
[key: string]: string;
|
|
26
70
|
}>;
|
|
71
|
+
/**
|
|
72
|
+
* Details about the current state of the security policy in Data Safe.
|
|
73
|
+
*/
|
|
27
74
|
readonly lifecycleDetails: pulumi.Output<string>;
|
|
75
|
+
/**
|
|
76
|
+
* The current state of the security policy.
|
|
77
|
+
*/
|
|
28
78
|
readonly state: pulumi.Output<string>;
|
|
79
|
+
/**
|
|
80
|
+
* System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: `{"orcl-cloud.free-tier-retained": "true"}`
|
|
81
|
+
*/
|
|
29
82
|
readonly systemTags: pulumi.Output<{
|
|
30
83
|
[key: string]: string;
|
|
31
84
|
}>;
|
|
85
|
+
/**
|
|
86
|
+
* Unique target identifier.
|
|
87
|
+
*/
|
|
32
88
|
readonly targetId: pulumi.Output<string>;
|
|
89
|
+
/**
|
|
90
|
+
* The time that the security policy was created, in the format defined by RFC3339.
|
|
91
|
+
*/
|
|
33
92
|
readonly timeCreated: pulumi.Output<string>;
|
|
93
|
+
/**
|
|
94
|
+
* The last date and time the security policy was updated, in the format defined by RFC3339.
|
|
95
|
+
*/
|
|
34
96
|
readonly timeUpdated: pulumi.Output<string>;
|
|
35
97
|
/**
|
|
36
98
|
* Create a SecurityPolicyManagement resource with the given unique name, arguments, and options.
|
|
@@ -45,36 +107,87 @@ export declare class SecurityPolicyManagement extends pulumi.CustomResource {
|
|
|
45
107
|
* Input properties used for looking up and filtering SecurityPolicyManagement resources.
|
|
46
108
|
*/
|
|
47
109
|
export interface SecurityPolicyManagementState {
|
|
110
|
+
/**
|
|
111
|
+
* (Updatable) The OCID of the compartment containing the security policy.
|
|
112
|
+
*/
|
|
48
113
|
compartmentId?: pulumi.Input<string>;
|
|
114
|
+
/**
|
|
115
|
+
* (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm) Example: `{"Operations.CostCenter": "42"}`
|
|
116
|
+
*/
|
|
49
117
|
definedTags?: pulumi.Input<{
|
|
50
118
|
[key: string]: pulumi.Input<string>;
|
|
51
119
|
}>;
|
|
120
|
+
/**
|
|
121
|
+
* (Updatable) The description of the security policy.
|
|
122
|
+
*/
|
|
52
123
|
description?: pulumi.Input<string>;
|
|
124
|
+
/**
|
|
125
|
+
* (Updatable) The display name of the security policy. The name does not have to be unique, and it is changeable.
|
|
126
|
+
*/
|
|
53
127
|
displayName?: pulumi.Input<string>;
|
|
128
|
+
/**
|
|
129
|
+
* (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm) Example: `{"Department": "Finance"}`
|
|
130
|
+
*/
|
|
54
131
|
freeformTags?: pulumi.Input<{
|
|
55
132
|
[key: string]: pulumi.Input<string>;
|
|
56
133
|
}>;
|
|
134
|
+
/**
|
|
135
|
+
* Details about the current state of the security policy in Data Safe.
|
|
136
|
+
*/
|
|
57
137
|
lifecycleDetails?: pulumi.Input<string>;
|
|
138
|
+
/**
|
|
139
|
+
* The current state of the security policy.
|
|
140
|
+
*/
|
|
58
141
|
state?: pulumi.Input<string>;
|
|
142
|
+
/**
|
|
143
|
+
* System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: `{"orcl-cloud.free-tier-retained": "true"}`
|
|
144
|
+
*/
|
|
59
145
|
systemTags?: pulumi.Input<{
|
|
60
146
|
[key: string]: pulumi.Input<string>;
|
|
61
147
|
}>;
|
|
148
|
+
/**
|
|
149
|
+
* Unique target identifier.
|
|
150
|
+
*/
|
|
62
151
|
targetId?: pulumi.Input<string>;
|
|
152
|
+
/**
|
|
153
|
+
* The time that the security policy was created, in the format defined by RFC3339.
|
|
154
|
+
*/
|
|
63
155
|
timeCreated?: pulumi.Input<string>;
|
|
156
|
+
/**
|
|
157
|
+
* The last date and time the security policy was updated, in the format defined by RFC3339.
|
|
158
|
+
*/
|
|
64
159
|
timeUpdated?: pulumi.Input<string>;
|
|
65
160
|
}
|
|
66
161
|
/**
|
|
67
162
|
* The set of arguments for constructing a SecurityPolicyManagement resource.
|
|
68
163
|
*/
|
|
69
164
|
export interface SecurityPolicyManagementArgs {
|
|
165
|
+
/**
|
|
166
|
+
* (Updatable) The OCID of the compartment containing the security policy.
|
|
167
|
+
*/
|
|
70
168
|
compartmentId?: pulumi.Input<string>;
|
|
169
|
+
/**
|
|
170
|
+
* (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm) Example: `{"Operations.CostCenter": "42"}`
|
|
171
|
+
*/
|
|
71
172
|
definedTags?: pulumi.Input<{
|
|
72
173
|
[key: string]: pulumi.Input<string>;
|
|
73
174
|
}>;
|
|
175
|
+
/**
|
|
176
|
+
* (Updatable) The description of the security policy.
|
|
177
|
+
*/
|
|
74
178
|
description?: pulumi.Input<string>;
|
|
179
|
+
/**
|
|
180
|
+
* (Updatable) The display name of the security policy. The name does not have to be unique, and it is changeable.
|
|
181
|
+
*/
|
|
75
182
|
displayName?: pulumi.Input<string>;
|
|
183
|
+
/**
|
|
184
|
+
* (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm) Example: `{"Department": "Finance"}`
|
|
185
|
+
*/
|
|
76
186
|
freeformTags?: pulumi.Input<{
|
|
77
187
|
[key: string]: pulumi.Input<string>;
|
|
78
188
|
}>;
|
|
189
|
+
/**
|
|
190
|
+
* Unique target identifier.
|
|
191
|
+
*/
|
|
79
192
|
targetId?: pulumi.Input<string>;
|
|
80
193
|
}
|
|
@@ -5,6 +5,35 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
5
5
|
exports.SecurityPolicyManagement = void 0;
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* This resource provides the Security Policy Management resource in Oracle Cloud Infrastructure Data Safe service.
|
|
10
|
+
*
|
|
11
|
+
* Updates the security policy.
|
|
12
|
+
*
|
|
13
|
+
* ## Example Usage
|
|
14
|
+
*
|
|
15
|
+
* ```typescript
|
|
16
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
17
|
+
* import * as oci from "@pulumi/oci";
|
|
18
|
+
*
|
|
19
|
+
* const testSecurityPolicyManagement = new oci.datasafe.SecurityPolicyManagement("test_security_policy_management", {
|
|
20
|
+
* compartmentId: compartmentId,
|
|
21
|
+
* targetId: testTargetDatabase.id,
|
|
22
|
+
* definedTags: {
|
|
23
|
+
* "Operations.CostCenter": "42",
|
|
24
|
+
* },
|
|
25
|
+
* description: securityPolicyManagementDescription,
|
|
26
|
+
* displayName: securityPolicyManagementDisplayName,
|
|
27
|
+
* freeformTags: {
|
|
28
|
+
* Department: "Finance",
|
|
29
|
+
* },
|
|
30
|
+
* });
|
|
31
|
+
* ```
|
|
32
|
+
*
|
|
33
|
+
* ## Import
|
|
34
|
+
*
|
|
35
|
+
* Import is not supported for this resource.
|
|
36
|
+
*/
|
|
8
37
|
class SecurityPolicyManagement extends pulumi.CustomResource {
|
|
9
38
|
/**
|
|
10
39
|
* Get an existing SecurityPolicyManagement resource's state with the given name, ID, and optional extra
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"securityPolicyManagement.js","sourceRoot":"","sources":["../../datasafe/securityPolicyManagement.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C,MAAa,wBAAyB,SAAQ,MAAM,CAAC,cAAc;IAC/D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAqC,EAAE,IAAmC;QACnI,OAAO,IAAI,wBAAwB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC/E,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,wBAAwB,CAAC,YAAY,CAAC;IACzE,CAAC;
|
|
1
|
+
{"version":3,"file":"securityPolicyManagement.js","sourceRoot":"","sources":["../../datasafe/securityPolicyManagement.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,MAAa,wBAAyB,SAAQ,MAAM,CAAC,cAAc;IAC/D;;;;;;;;OAQG;IACI,MAAM,CAAC,GA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AC,CAAC,SAAS,CAAC;YAC9D,cAAc,CAAC,kBAAkB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACvD,cAAc,CAAC,OAAO,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC5C,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACjD,cAAc,CAAC,aAAa,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAClD,cAAc,CAAC,aAAa,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACrD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,wBAAwB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC7E,CAAC;;AAjHL,4DAkHC;AApGG,gBAAgB;AACO,qCAAY,GAAG,gEAAgE,CAAC"}
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* This resource provides the Set Security Assessment Baseline management resource in Oracle Cloud Infrastructure Data Safe service.
|
|
4
|
+
*
|
|
5
|
+
* Sets the saved security assessment as the baseline in the compartment where the the specified assessment resides. The security assessment needs to be of type 'SAVED'.
|
|
6
|
+
*
|
|
7
|
+
* ## Example Usage
|
|
8
|
+
*
|
|
9
|
+
* ```typescript
|
|
10
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
11
|
+
* import * as oci from "@pulumi/oci";
|
|
12
|
+
*
|
|
13
|
+
* const testSetSecurityAssessmentBaselineManagement = new oci.datasafe.SetSecurityAssessmentBaselineManagement("test_set_security_assessment_baseline_management", {
|
|
14
|
+
* targetId: testTargetDatabase.id,
|
|
15
|
+
* compartmentId: comaprtmentId,
|
|
16
|
+
* });
|
|
17
|
+
* ```
|
|
18
|
+
*
|
|
19
|
+
* ## Import
|
|
20
|
+
*
|
|
21
|
+
* SetSecurityAssessmentBaselineManagement can be imported using the `id`, e.g.
|
|
22
|
+
*
|
|
23
|
+
* ```sh
|
|
24
|
+
* $ pulumi import oci:DataSafe/setSecurityAssessmentBaselineManagement:SetSecurityAssessmentBaselineManagement test_set_security_assessment_baseline_management "id"
|
|
25
|
+
* ```
|
|
26
|
+
*/
|
|
27
|
+
export declare class SetSecurityAssessmentBaselineManagement extends pulumi.CustomResource {
|
|
28
|
+
/**
|
|
29
|
+
* Get an existing SetSecurityAssessmentBaselineManagement resource's state with the given name, ID, and optional extra
|
|
30
|
+
* properties used to qualify the lookup.
|
|
31
|
+
*
|
|
32
|
+
* @param name The _unique_ name of the resulting resource.
|
|
33
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
34
|
+
* @param state Any extra arguments used during the lookup.
|
|
35
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
36
|
+
*/
|
|
37
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: SetSecurityAssessmentBaselineManagementState, opts?: pulumi.CustomResourceOptions): SetSecurityAssessmentBaselineManagement;
|
|
38
|
+
/**
|
|
39
|
+
* Returns true if the given object is an instance of SetSecurityAssessmentBaselineManagement. This is designed to work even
|
|
40
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
41
|
+
*/
|
|
42
|
+
static isInstance(obj: any): obj is SetSecurityAssessmentBaselineManagement;
|
|
43
|
+
readonly assessmentIds: pulumi.Output<string[]>;
|
|
44
|
+
/**
|
|
45
|
+
* The compartment OCID of the target.
|
|
46
|
+
*
|
|
47
|
+
*
|
|
48
|
+
* ** IMPORTANT **
|
|
49
|
+
* Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
|
50
|
+
*/
|
|
51
|
+
readonly compartmentId: pulumi.Output<string>;
|
|
52
|
+
readonly securityAssessmentId: pulumi.Output<string>;
|
|
53
|
+
/**
|
|
54
|
+
* The target OCID for which SA needs to be set as baseline.
|
|
55
|
+
*/
|
|
56
|
+
readonly targetId: pulumi.Output<string>;
|
|
57
|
+
/**
|
|
58
|
+
* Create a SetSecurityAssessmentBaselineManagement resource with the given unique name, arguments, and options.
|
|
59
|
+
*
|
|
60
|
+
* @param name The _unique_ name of the resource.
|
|
61
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
62
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
63
|
+
*/
|
|
64
|
+
constructor(name: string, args: SetSecurityAssessmentBaselineManagementArgs, opts?: pulumi.CustomResourceOptions);
|
|
65
|
+
}
|
|
66
|
+
/**
|
|
67
|
+
* Input properties used for looking up and filtering SetSecurityAssessmentBaselineManagement resources.
|
|
68
|
+
*/
|
|
69
|
+
export interface SetSecurityAssessmentBaselineManagementState {
|
|
70
|
+
assessmentIds?: pulumi.Input<pulumi.Input<string>[]>;
|
|
71
|
+
/**
|
|
72
|
+
* The compartment OCID of the target.
|
|
73
|
+
*
|
|
74
|
+
*
|
|
75
|
+
* ** IMPORTANT **
|
|
76
|
+
* Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
|
77
|
+
*/
|
|
78
|
+
compartmentId?: pulumi.Input<string>;
|
|
79
|
+
securityAssessmentId?: pulumi.Input<string>;
|
|
80
|
+
/**
|
|
81
|
+
* The target OCID for which SA needs to be set as baseline.
|
|
82
|
+
*/
|
|
83
|
+
targetId?: pulumi.Input<string>;
|
|
84
|
+
}
|
|
85
|
+
/**
|
|
86
|
+
* The set of arguments for constructing a SetSecurityAssessmentBaselineManagement resource.
|
|
87
|
+
*/
|
|
88
|
+
export interface SetSecurityAssessmentBaselineManagementArgs {
|
|
89
|
+
/**
|
|
90
|
+
* The compartment OCID of the target.
|
|
91
|
+
*
|
|
92
|
+
*
|
|
93
|
+
* ** IMPORTANT **
|
|
94
|
+
* Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
|
95
|
+
*/
|
|
96
|
+
compartmentId: pulumi.Input<string>;
|
|
97
|
+
/**
|
|
98
|
+
* The target OCID for which SA needs to be set as baseline.
|
|
99
|
+
*/
|
|
100
|
+
targetId: pulumi.Input<string>;
|
|
101
|
+
}
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
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.SetSecurityAssessmentBaselineManagement = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* This resource provides the Set Security Assessment Baseline management resource in Oracle Cloud Infrastructure Data Safe service.
|
|
10
|
+
*
|
|
11
|
+
* Sets the saved security assessment as the baseline in the compartment where the the specified assessment resides. The security assessment needs to be of type 'SAVED'.
|
|
12
|
+
*
|
|
13
|
+
* ## Example Usage
|
|
14
|
+
*
|
|
15
|
+
* ```typescript
|
|
16
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
17
|
+
* import * as oci from "@pulumi/oci";
|
|
18
|
+
*
|
|
19
|
+
* const testSetSecurityAssessmentBaselineManagement = new oci.datasafe.SetSecurityAssessmentBaselineManagement("test_set_security_assessment_baseline_management", {
|
|
20
|
+
* targetId: testTargetDatabase.id,
|
|
21
|
+
* compartmentId: comaprtmentId,
|
|
22
|
+
* });
|
|
23
|
+
* ```
|
|
24
|
+
*
|
|
25
|
+
* ## Import
|
|
26
|
+
*
|
|
27
|
+
* SetSecurityAssessmentBaselineManagement can be imported using the `id`, e.g.
|
|
28
|
+
*
|
|
29
|
+
* ```sh
|
|
30
|
+
* $ pulumi import oci:DataSafe/setSecurityAssessmentBaselineManagement:SetSecurityAssessmentBaselineManagement test_set_security_assessment_baseline_management "id"
|
|
31
|
+
* ```
|
|
32
|
+
*/
|
|
33
|
+
class SetSecurityAssessmentBaselineManagement extends pulumi.CustomResource {
|
|
34
|
+
/**
|
|
35
|
+
* Get an existing SetSecurityAssessmentBaselineManagement resource's state with the given name, ID, and optional extra
|
|
36
|
+
* properties used to qualify the lookup.
|
|
37
|
+
*
|
|
38
|
+
* @param name The _unique_ name of the resulting resource.
|
|
39
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
40
|
+
* @param state Any extra arguments used during the lookup.
|
|
41
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
42
|
+
*/
|
|
43
|
+
static get(name, id, state, opts) {
|
|
44
|
+
return new SetSecurityAssessmentBaselineManagement(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* Returns true if the given object is an instance of SetSecurityAssessmentBaselineManagement. This is designed to work even
|
|
48
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
49
|
+
*/
|
|
50
|
+
static isInstance(obj) {
|
|
51
|
+
if (obj === undefined || obj === null) {
|
|
52
|
+
return false;
|
|
53
|
+
}
|
|
54
|
+
return obj['__pulumiType'] === SetSecurityAssessmentBaselineManagement.__pulumiType;
|
|
55
|
+
}
|
|
56
|
+
constructor(name, argsOrState, opts) {
|
|
57
|
+
let resourceInputs = {};
|
|
58
|
+
opts = opts || {};
|
|
59
|
+
if (opts.id) {
|
|
60
|
+
const state = argsOrState;
|
|
61
|
+
resourceInputs["assessmentIds"] = state ? state.assessmentIds : undefined;
|
|
62
|
+
resourceInputs["compartmentId"] = state ? state.compartmentId : undefined;
|
|
63
|
+
resourceInputs["securityAssessmentId"] = state ? state.securityAssessmentId : undefined;
|
|
64
|
+
resourceInputs["targetId"] = state ? state.targetId : undefined;
|
|
65
|
+
}
|
|
66
|
+
else {
|
|
67
|
+
const args = argsOrState;
|
|
68
|
+
if ((!args || args.compartmentId === undefined) && !opts.urn) {
|
|
69
|
+
throw new Error("Missing required property 'compartmentId'");
|
|
70
|
+
}
|
|
71
|
+
if ((!args || args.targetId === undefined) && !opts.urn) {
|
|
72
|
+
throw new Error("Missing required property 'targetId'");
|
|
73
|
+
}
|
|
74
|
+
resourceInputs["compartmentId"] = args ? args.compartmentId : undefined;
|
|
75
|
+
resourceInputs["targetId"] = args ? args.targetId : undefined;
|
|
76
|
+
resourceInputs["assessmentIds"] = undefined /*out*/;
|
|
77
|
+
resourceInputs["securityAssessmentId"] = undefined /*out*/;
|
|
78
|
+
}
|
|
79
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
80
|
+
super(SetSecurityAssessmentBaselineManagement.__pulumiType, name, resourceInputs, opts);
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
exports.SetSecurityAssessmentBaselineManagement = SetSecurityAssessmentBaselineManagement;
|
|
84
|
+
/** @internal */
|
|
85
|
+
SetSecurityAssessmentBaselineManagement.__pulumiType = 'oci:DataSafe/setSecurityAssessmentBaselineManagement:SetSecurityAssessmentBaselineManagement';
|
|
86
|
+
//# sourceMappingURL=setSecurityAssessmentBaselineManagement.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"setSecurityAssessmentBaselineManagement.js","sourceRoot":"","sources":["../../datasafe/setSecurityAssessmentBaselineManagement.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,MAAa,uCAAwC,SAAQ,MAAM,CAAC,cAAc;IAC9E;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAoD,EAAE,IAAmC;QAClJ,OAAO,IAAI,uCAAuC,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC9F,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QAC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AC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,cAAc,CAAC,eAAe,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACpD,cAAc,CAAC,sBAAsB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC9D;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,uCAAuC,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC5F,CAAC;;AA3EL,0FA4EC;AA9DG,gBAAgB;AACO,oDAAY,GAAG,8FAA8F,CAAC"}
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* This resource provides the Set User Assessment Baseline management resource in Oracle Cloud Infrastructure Data Safe service.
|
|
4
|
+
*
|
|
5
|
+
* Sets the saved user assessment as the baseline in the compartment where the the specified assessment resides. The user assessment needs to be of type 'SAVED'.
|
|
6
|
+
*
|
|
7
|
+
* ## Example Usage
|
|
8
|
+
*
|
|
9
|
+
* ```typescript
|
|
10
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
11
|
+
* import * as oci from "@pulumi/oci";
|
|
12
|
+
*
|
|
13
|
+
* const testSetUserAssessmentBaselineManagement = new oci.datasafe.SetUserAssessmentBaselineManagement("test_set_user_assessment_baseline_management", {
|
|
14
|
+
* targetId: testTargetDatabase.id,
|
|
15
|
+
* compartmentId: comaprtmentId,
|
|
16
|
+
* });
|
|
17
|
+
* ```
|
|
18
|
+
*
|
|
19
|
+
* ## Import
|
|
20
|
+
*
|
|
21
|
+
* SetUserAssessmentBaselineManagement can be imported using the `id`, e.g.
|
|
22
|
+
*
|
|
23
|
+
* ```sh
|
|
24
|
+
* $ pulumi import oci:DataSafe/setUserAssessmentBaselineManagement:SetUserAssessmentBaselineManagement test_set_user_assessment_baseline_management "id"
|
|
25
|
+
* ```
|
|
26
|
+
*/
|
|
27
|
+
export declare class SetUserAssessmentBaselineManagement extends pulumi.CustomResource {
|
|
28
|
+
/**
|
|
29
|
+
* Get an existing SetUserAssessmentBaselineManagement resource's state with the given name, ID, and optional extra
|
|
30
|
+
* properties used to qualify the lookup.
|
|
31
|
+
*
|
|
32
|
+
* @param name The _unique_ name of the resulting resource.
|
|
33
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
34
|
+
* @param state Any extra arguments used during the lookup.
|
|
35
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
36
|
+
*/
|
|
37
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: SetUserAssessmentBaselineManagementState, opts?: pulumi.CustomResourceOptions): SetUserAssessmentBaselineManagement;
|
|
38
|
+
/**
|
|
39
|
+
* Returns true if the given object is an instance of SetUserAssessmentBaselineManagement. This is designed to work even
|
|
40
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
41
|
+
*/
|
|
42
|
+
static isInstance(obj: any): obj is SetUserAssessmentBaselineManagement;
|
|
43
|
+
readonly assessmentIds: pulumi.Output<string[]>;
|
|
44
|
+
/**
|
|
45
|
+
* The compartment OCID of the target.
|
|
46
|
+
*
|
|
47
|
+
*
|
|
48
|
+
* ** IMPORTANT **
|
|
49
|
+
* Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
|
50
|
+
*/
|
|
51
|
+
readonly compartmentId: pulumi.Output<string>;
|
|
52
|
+
/**
|
|
53
|
+
* The target OCID for which UA needs to be set as baseline.
|
|
54
|
+
*/
|
|
55
|
+
readonly targetId: pulumi.Output<string>;
|
|
56
|
+
readonly userAssessmentId: pulumi.Output<string>;
|
|
57
|
+
/**
|
|
58
|
+
* Create a SetUserAssessmentBaselineManagement resource with the given unique name, arguments, and options.
|
|
59
|
+
*
|
|
60
|
+
* @param name The _unique_ name of the resource.
|
|
61
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
62
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
63
|
+
*/
|
|
64
|
+
constructor(name: string, args: SetUserAssessmentBaselineManagementArgs, opts?: pulumi.CustomResourceOptions);
|
|
65
|
+
}
|
|
66
|
+
/**
|
|
67
|
+
* Input properties used for looking up and filtering SetUserAssessmentBaselineManagement resources.
|
|
68
|
+
*/
|
|
69
|
+
export interface SetUserAssessmentBaselineManagementState {
|
|
70
|
+
assessmentIds?: pulumi.Input<pulumi.Input<string>[]>;
|
|
71
|
+
/**
|
|
72
|
+
* The compartment OCID of the target.
|
|
73
|
+
*
|
|
74
|
+
*
|
|
75
|
+
* ** IMPORTANT **
|
|
76
|
+
* Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
|
77
|
+
*/
|
|
78
|
+
compartmentId?: pulumi.Input<string>;
|
|
79
|
+
/**
|
|
80
|
+
* The target OCID for which UA needs to be set as baseline.
|
|
81
|
+
*/
|
|
82
|
+
targetId?: pulumi.Input<string>;
|
|
83
|
+
userAssessmentId?: pulumi.Input<string>;
|
|
84
|
+
}
|
|
85
|
+
/**
|
|
86
|
+
* The set of arguments for constructing a SetUserAssessmentBaselineManagement resource.
|
|
87
|
+
*/
|
|
88
|
+
export interface SetUserAssessmentBaselineManagementArgs {
|
|
89
|
+
/**
|
|
90
|
+
* The compartment OCID of the target.
|
|
91
|
+
*
|
|
92
|
+
*
|
|
93
|
+
* ** IMPORTANT **
|
|
94
|
+
* Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
|
95
|
+
*/
|
|
96
|
+
compartmentId: pulumi.Input<string>;
|
|
97
|
+
/**
|
|
98
|
+
* The target OCID for which UA needs to be set as baseline.
|
|
99
|
+
*/
|
|
100
|
+
targetId: pulumi.Input<string>;
|
|
101
|
+
}
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
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.SetUserAssessmentBaselineManagement = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* This resource provides the Set User Assessment Baseline management resource in Oracle Cloud Infrastructure Data Safe service.
|
|
10
|
+
*
|
|
11
|
+
* Sets the saved user assessment as the baseline in the compartment where the the specified assessment resides. The user assessment needs to be of type 'SAVED'.
|
|
12
|
+
*
|
|
13
|
+
* ## Example Usage
|
|
14
|
+
*
|
|
15
|
+
* ```typescript
|
|
16
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
17
|
+
* import * as oci from "@pulumi/oci";
|
|
18
|
+
*
|
|
19
|
+
* const testSetUserAssessmentBaselineManagement = new oci.datasafe.SetUserAssessmentBaselineManagement("test_set_user_assessment_baseline_management", {
|
|
20
|
+
* targetId: testTargetDatabase.id,
|
|
21
|
+
* compartmentId: comaprtmentId,
|
|
22
|
+
* });
|
|
23
|
+
* ```
|
|
24
|
+
*
|
|
25
|
+
* ## Import
|
|
26
|
+
*
|
|
27
|
+
* SetUserAssessmentBaselineManagement can be imported using the `id`, e.g.
|
|
28
|
+
*
|
|
29
|
+
* ```sh
|
|
30
|
+
* $ pulumi import oci:DataSafe/setUserAssessmentBaselineManagement:SetUserAssessmentBaselineManagement test_set_user_assessment_baseline_management "id"
|
|
31
|
+
* ```
|
|
32
|
+
*/
|
|
33
|
+
class SetUserAssessmentBaselineManagement extends pulumi.CustomResource {
|
|
34
|
+
/**
|
|
35
|
+
* Get an existing SetUserAssessmentBaselineManagement resource's state with the given name, ID, and optional extra
|
|
36
|
+
* properties used to qualify the lookup.
|
|
37
|
+
*
|
|
38
|
+
* @param name The _unique_ name of the resulting resource.
|
|
39
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
40
|
+
* @param state Any extra arguments used during the lookup.
|
|
41
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
42
|
+
*/
|
|
43
|
+
static get(name, id, state, opts) {
|
|
44
|
+
return new SetUserAssessmentBaselineManagement(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* Returns true if the given object is an instance of SetUserAssessmentBaselineManagement. This is designed to work even
|
|
48
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
49
|
+
*/
|
|
50
|
+
static isInstance(obj) {
|
|
51
|
+
if (obj === undefined || obj === null) {
|
|
52
|
+
return false;
|
|
53
|
+
}
|
|
54
|
+
return obj['__pulumiType'] === SetUserAssessmentBaselineManagement.__pulumiType;
|
|
55
|
+
}
|
|
56
|
+
constructor(name, argsOrState, opts) {
|
|
57
|
+
let resourceInputs = {};
|
|
58
|
+
opts = opts || {};
|
|
59
|
+
if (opts.id) {
|
|
60
|
+
const state = argsOrState;
|
|
61
|
+
resourceInputs["assessmentIds"] = state ? state.assessmentIds : undefined;
|
|
62
|
+
resourceInputs["compartmentId"] = state ? state.compartmentId : undefined;
|
|
63
|
+
resourceInputs["targetId"] = state ? state.targetId : undefined;
|
|
64
|
+
resourceInputs["userAssessmentId"] = state ? state.userAssessmentId : undefined;
|
|
65
|
+
}
|
|
66
|
+
else {
|
|
67
|
+
const args = argsOrState;
|
|
68
|
+
if ((!args || args.compartmentId === undefined) && !opts.urn) {
|
|
69
|
+
throw new Error("Missing required property 'compartmentId'");
|
|
70
|
+
}
|
|
71
|
+
if ((!args || args.targetId === undefined) && !opts.urn) {
|
|
72
|
+
throw new Error("Missing required property 'targetId'");
|
|
73
|
+
}
|
|
74
|
+
resourceInputs["compartmentId"] = args ? args.compartmentId : undefined;
|
|
75
|
+
resourceInputs["targetId"] = args ? args.targetId : undefined;
|
|
76
|
+
resourceInputs["assessmentIds"] = undefined /*out*/;
|
|
77
|
+
resourceInputs["userAssessmentId"] = undefined /*out*/;
|
|
78
|
+
}
|
|
79
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
80
|
+
super(SetUserAssessmentBaselineManagement.__pulumiType, name, resourceInputs, opts);
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
exports.SetUserAssessmentBaselineManagement = SetUserAssessmentBaselineManagement;
|
|
84
|
+
/** @internal */
|
|
85
|
+
SetUserAssessmentBaselineManagement.__pulumiType = 'oci:DataSafe/setUserAssessmentBaselineManagement:SetUserAssessmentBaselineManagement';
|
|
86
|
+
//# sourceMappingURL=setUserAssessmentBaselineManagement.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"setUserAssessmentBaselineManagement.js","sourceRoot":"","sources":["../../datasafe/setUserAssessmentBaselineManagement.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,MAAa,mCAAoC,SAAQ,MAAM,CAAC,cAAc;IAC1E;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAgD,EAAE,IAAmC;QAC9I,OAAO,IAAI,mCAAmC,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC1F,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,mCAAmC,CAAC,YAAY,CAAC;IACpF,CAAC;IAyBD,YAAY,IAAY,EAAE,WAAgG,EAAE,IAAmC;QAC3J,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,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