@pulumi/oci 0.4.0 → 0.5.1-alpha.1663282297
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/analytics/analyticsInstance.d.ts +2 -0
- package/analytics/analyticsInstance.js +2 -0
- package/analytics/analyticsInstance.js.map +1 -1
- package/analytics/analyticsInstancePrivateAccessChannel.d.ts +30 -0
- package/analytics/analyticsInstancePrivateAccessChannel.js +10 -0
- package/analytics/analyticsInstancePrivateAccessChannel.js.map +1 -1
- package/analytics/getAnalyticsInstancePrivateAccessChannel.d.ts +8 -0
- package/analytics/getAnalyticsInstancePrivateAccessChannel.js.map +1 -1
- package/cloudguard/cloudGuardDataSource.d.ts +231 -0
- package/cloudguard/cloudGuardDataSource.js +132 -0
- package/cloudguard/cloudGuardDataSource.js.map +1 -0
- package/cloudguard/detectorRecipe.d.ts +16 -4
- package/cloudguard/detectorRecipe.js +3 -4
- package/cloudguard/detectorRecipe.js.map +1 -1
- package/cloudguard/getDataSource.d.ts +106 -0
- package/cloudguard/getDataSource.js +38 -0
- package/cloudguard/getDataSource.js.map +1 -0
- package/cloudguard/getDataSourceEvent.d.ts +68 -0
- package/cloudguard/getDataSourceEvent.js +40 -0
- package/cloudguard/getDataSourceEvent.js.map +1 -0
- package/cloudguard/getDataSourceEvents.d.ts +71 -0
- package/cloudguard/getDataSourceEvents.js +41 -0
- package/cloudguard/getDataSourceEvents.js.map +1 -0
- package/cloudguard/getDataSources.d.ts +144 -0
- package/cloudguard/getDataSources.js +65 -0
- package/cloudguard/getDataSources.js.map +1 -0
- package/cloudguard/getDetectorRecipe.d.ts +5 -1
- package/cloudguard/getDetectorRecipe.js.map +1 -1
- package/cloudguard/getDetectorRecipes.d.ts +1 -1
- package/cloudguard/getProblemEntities.d.ts +58 -0
- package/cloudguard/getProblemEntities.js +39 -0
- package/cloudguard/getProblemEntities.js.map +1 -0
- package/cloudguard/getProblemEntity.d.ts +55 -0
- package/cloudguard/getProblemEntity.js +38 -0
- package/cloudguard/getProblemEntity.js.map +1 -0
- package/cloudguard/index.d.ts +7 -0
- package/cloudguard/index.js +11 -0
- package/cloudguard/index.js.map +1 -1
- package/cloudguard/target.d.ts +3 -3
- package/core/bootVolume.d.ts +21 -5
- package/core/bootVolume.js +6 -0
- package/core/bootVolume.js.map +1 -1
- package/core/getBootVolume.d.ts +6 -2
- package/core/getBootVolume.js.map +1 -1
- package/core/getVolume.d.ts +6 -1
- package/core/getVolume.js.map +1 -1
- package/core/instanceConfiguration.d.ts +4 -0
- package/core/instanceConfiguration.js +4 -0
- package/core/instanceConfiguration.js.map +1 -1
- package/core/volume.d.ts +21 -5
- package/core/volume.js +6 -0
- package/core/volume.js.map +1 -1
- package/database/autonomousContainerDatabase.d.ts +1 -0
- package/database/autonomousContainerDatabase.js +1 -0
- package/database/autonomousContainerDatabase.js.map +1 -1
- package/database/autonomousExadataInfrastructure.d.ts +1 -0
- package/database/autonomousExadataInfrastructure.js +1 -0
- package/database/autonomousExadataInfrastructure.js.map +1 -1
- package/database/cloudExadataInfrastructure.d.ts +1 -0
- package/database/cloudExadataInfrastructure.js +1 -0
- package/database/cloudExadataInfrastructure.js.map +1 -1
- package/database/cloudVmCluster.d.ts +2 -0
- package/database/cloudVmCluster.js +2 -0
- package/database/cloudVmCluster.js.map +1 -1
- package/database/dataGuardAssociation.d.ts +18 -0
- package/database/dataGuardAssociation.js +7 -0
- package/database/dataGuardAssociation.js.map +1 -1
- package/database/dbSystem.d.ts +12 -0
- package/database/dbSystem.js +2 -0
- package/database/dbSystem.js.map +1 -1
- package/database/exadataInfrastructure.d.ts +1 -0
- package/database/exadataInfrastructure.js +1 -0
- package/database/exadataInfrastructure.js.map +1 -1
- package/database/getDataGuardAssociation.d.ts +2 -0
- package/database/getDataGuardAssociation.js.map +1 -1
- package/database/getInfrastructureTargetVersion.d.ts +82 -0
- package/database/getInfrastructureTargetVersion.js +43 -0
- package/database/getInfrastructureTargetVersion.js.map +1 -0
- package/database/getManagedPreferredCredential.d.ts +84 -0
- package/database/getManagedPreferredCredential.js +40 -0
- package/database/getManagedPreferredCredential.js.map +1 -0
- package/database/getManagedPreferredCredentials.d.ts +55 -0
- package/database/getManagedPreferredCredentials.js +39 -0
- package/database/getManagedPreferredCredentials.js.map +1 -0
- package/database/getVmCluster.d.ts +4 -1
- package/database/getVmCluster.js.map +1 -1
- package/database/index.d.ts +3 -0
- package/database/index.js +3 -0
- package/database/index.js.map +1 -1
- package/database/maintenanceRun.d.ts +12 -4
- package/database/maintenanceRun.js +2 -2
- package/database/maintenanceRun.js.map +1 -1
- package/database/vmCluster.d.ts +14 -3
- package/database/vmCluster.js +2 -0
- package/database/vmCluster.js.map +1 -1
- package/database/vmClusterAddVirtualNetwork.d.ts +8 -2
- package/database/vmClusterAddVirtualNetwork.js.map +1 -1
- package/database/vmClusterRemoveVirtualMachine.d.ts +2 -2
- package/dataconnectivity/getRegistries.d.ts +4 -4
- package/dataconnectivity/getRegistries.js +1 -1
- package/dataconnectivity/getRegistry.d.ts +10 -10
- package/dataconnectivity/getRegistry.js +1 -1
- package/dataconnectivity/getRegistryConnection.d.ts +9 -9
- package/dataconnectivity/getRegistryConnections.d.ts +3 -3
- package/dataconnectivity/getRegistryDataAsset.d.ts +8 -8
- package/dataconnectivity/getRegistryDataAssets.d.ts +11 -11
- package/dataconnectivity/getRegistryFolder.d.ts +8 -8
- package/dataconnectivity/getRegistryFolders.d.ts +4 -4
- package/dataconnectivity/getRegistryFolders.js +1 -1
- package/dataconnectivity/getRegistryType.d.ts +7 -7
- package/dataconnectivity/getRegistryType.js +1 -1
- package/dataconnectivity/getRegistryTypes.d.ts +4 -4
- package/dataconnectivity/getRegistryTypes.js +1 -1
- package/dataconnectivity/registry.d.ts +15 -15
- package/dataconnectivity/registry.js +1 -1
- package/dataconnectivity/registryConnection.d.ts +24 -24
- package/dataconnectivity/registryDataAsset.d.ts +21 -21
- package/dataconnectivity/registryFolder.d.ts +22 -22
- package/dataconnectivity/registryFolder.js +1 -1
- package/devops/getTrigger.d.ts +1 -0
- package/devops/getTrigger.js.map +1 -1
- package/devops/trigger.d.ts +3 -0
- package/devops/trigger.js +2 -0
- package/devops/trigger.js.map +1 -1
- package/dns/getResolver.d.ts +3 -3
- package/dns/getResolverEndpoint.d.ts +3 -3
- package/dns/getView.d.ts +8 -8
- package/dns/getView.js +1 -0
- package/dns/getView.js.map +1 -1
- package/dns/getViews.d.ts +3 -3
- package/dns/resolver.d.ts +7 -13
- package/dns/resolver.js +2 -11
- package/dns/resolver.js.map +1 -1
- package/dns/resolverEndpoint.d.ts +2 -2
- package/dns/resolverEndpoint.js +0 -3
- package/dns/resolverEndpoint.js.map +1 -1
- package/dns/rrset.d.ts +2 -3
- package/dns/rrset.js +2 -3
- package/dns/rrset.js.map +1 -1
- package/dns/view.d.ts +7 -13
- package/dns/view.js +2 -11
- package/dns/view.js.map +1 -1
- package/dns/zone.d.ts +3 -11
- package/dns/zone.js +2 -10
- package/dns/zone.js.map +1 -1
- package/emwarehouse/getResourceUsage.d.ts +4 -0
- package/emwarehouse/getResourceUsage.js.map +1 -1
- package/functions/getFusionEnvironment.d.ts +153 -0
- package/functions/getFusionEnvironment.js +38 -0
- package/functions/getFusionEnvironment.js.map +1 -0
- package/functions/getFusionEnvironmentAdminUser.d.ts +66 -0
- package/functions/getFusionEnvironmentAdminUser.js +38 -0
- package/functions/getFusionEnvironmentAdminUser.js.map +1 -0
- package/functions/getFusionEnvironmentAdminUsers.d.ts +55 -0
- package/functions/getFusionEnvironmentAdminUsers.js +39 -0
- package/functions/getFusionEnvironmentAdminUsers.js.map +1 -0
- package/functions/getFusionEnvironmentDataMaskingActivities.d.ts +71 -0
- package/functions/getFusionEnvironmentDataMaskingActivities.js +41 -0
- package/functions/getFusionEnvironmentDataMaskingActivities.js.map +1 -0
- package/functions/getFusionEnvironmentDataMaskingActivity.d.ts +73 -0
- package/functions/getFusionEnvironmentDataMaskingActivity.js +40 -0
- package/functions/getFusionEnvironmentDataMaskingActivity.js.map +1 -0
- package/functions/getFusionEnvironmentFamilies.d.ts +94 -0
- package/functions/getFusionEnvironmentFamilies.js +45 -0
- package/functions/getFusionEnvironmentFamilies.js.map +1 -0
- package/functions/getFusionEnvironmentFamily.d.ts +97 -0
- package/functions/getFusionEnvironmentFamily.js +38 -0
- package/functions/getFusionEnvironmentFamily.js.map +1 -0
- package/functions/getFusionEnvironmentFamilyLimitsAndUsage.d.ts +60 -0
- package/functions/getFusionEnvironmentFamilyLimitsAndUsage.js +38 -0
- package/functions/getFusionEnvironmentFamilyLimitsAndUsage.js.map +1 -0
- package/functions/getFusionEnvironmentFamilySubscriptionDetail.d.ts +52 -0
- package/functions/getFusionEnvironmentFamilySubscriptionDetail.js +38 -0
- package/functions/getFusionEnvironmentFamilySubscriptionDetail.js.map +1 -0
- package/functions/getFusionEnvironmentRefreshActivities.d.ts +101 -0
- package/functions/getFusionEnvironmentRefreshActivities.js +47 -0
- package/functions/getFusionEnvironmentRefreshActivities.js.map +1 -0
- package/functions/getFusionEnvironmentRefreshActivity.d.ts +101 -0
- package/functions/getFusionEnvironmentRefreshActivity.js +40 -0
- package/functions/getFusionEnvironmentRefreshActivity.js.map +1 -0
- package/functions/getFusionEnvironmentScheduledActivities.d.ts +117 -0
- package/functions/getFusionEnvironmentScheduledActivities.js +49 -0
- package/functions/getFusionEnvironmentScheduledActivities.js.map +1 -0
- package/functions/getFusionEnvironmentScheduledActivity.d.ts +109 -0
- package/functions/getFusionEnvironmentScheduledActivity.js +40 -0
- package/functions/getFusionEnvironmentScheduledActivity.js.map +1 -0
- package/functions/getFusionEnvironmentServiceAttachment.d.ts +109 -0
- package/functions/getFusionEnvironmentServiceAttachment.js +40 -0
- package/functions/getFusionEnvironmentServiceAttachment.js.map +1 -0
- package/functions/getFusionEnvironmentServiceAttachments.d.ts +94 -0
- package/functions/getFusionEnvironmentServiceAttachments.js +45 -0
- package/functions/getFusionEnvironmentServiceAttachments.js.map +1 -0
- package/functions/getFusionEnvironmentStatus.d.ts +51 -0
- package/functions/getFusionEnvironmentStatus.js +38 -0
- package/functions/getFusionEnvironmentStatus.js.map +1 -0
- package/functions/getFusionEnvironmentTimeAvailableForRefresh.d.ts +52 -0
- package/functions/getFusionEnvironmentTimeAvailableForRefresh.js +38 -0
- package/functions/getFusionEnvironmentTimeAvailableForRefresh.js.map +1 -0
- package/functions/getFusionEnvironmentTimeAvailableForRefreshs.d.ts +55 -0
- package/functions/getFusionEnvironmentTimeAvailableForRefreshs.js +39 -0
- package/functions/getFusionEnvironmentTimeAvailableForRefreshs.js.map +1 -0
- package/functions/getFusionEnvironments.d.ts +97 -0
- package/functions/getFusionEnvironments.js +45 -0
- package/functions/getFusionEnvironments.js.map +1 -0
- package/functions/index.d.ts +19 -0
- package/functions/index.js +19 -0
- package/functions/index.js.map +1 -1
- package/fusionapps/fusionEnvironment.d.ts +360 -0
- package/fusionapps/fusionEnvironment.js +169 -0
- package/fusionapps/fusionEnvironment.js.map +1 -0
- package/fusionapps/fusionEnvironmentAdminUser.d.ts +146 -0
- package/fusionapps/fusionEnvironmentAdminUser.js +108 -0
- package/fusionapps/fusionEnvironmentAdminUser.js.map +1 -0
- package/fusionapps/fusionEnvironmentDataMaskingActivity.d.ts +109 -0
- package/fusionapps/fusionEnvironmentDataMaskingActivity.js +85 -0
- package/fusionapps/fusionEnvironmentDataMaskingActivity.js.map +1 -0
- package/fusionapps/fusionEnvironmentFamily.d.ts +201 -0
- package/fusionapps/fusionEnvironmentFamily.js +117 -0
- package/fusionapps/fusionEnvironmentFamily.js.map +1 -0
- package/fusionapps/fusionEnvironmentRefreshActivity.d.ts +165 -0
- package/fusionapps/fusionEnvironmentRefreshActivity.js +102 -0
- package/fusionapps/fusionEnvironmentRefreshActivity.js.map +1 -0
- package/fusionapps/index.d.ts +5 -0
- package/fusionapps/index.js +57 -0
- package/fusionapps/index.js.map +1 -0
- package/index.d.ts +2 -1
- package/index.js +4 -2
- package/index.js.map +1 -1
- package/monitoring/alarm.d.ts +13 -0
- package/monitoring/alarm.js +3 -0
- package/monitoring/alarm.js.map +1 -1
- package/monitoring/getAlarm.d.ts +4 -0
- package/monitoring/getAlarm.js.map +1 -1
- package/mysql/getMysqlConfiguration.d.ts +6 -2
- package/mysql/getMysqlConfiguration.js.map +1 -1
- package/mysql/index.d.ts +1 -0
- package/mysql/index.js +5 -0
- package/mysql/index.js.map +1 -1
- package/mysql/mysqlConfiguration.d.ts +307 -0
- package/mysql/mysqlConfiguration.js +197 -0
- package/mysql/mysqlConfiguration.js.map +1 -0
- package/ocvp/esxiHost.d.ts +31 -3
- package/ocvp/esxiHost.js +6 -0
- package/ocvp/esxiHost.js.map +1 -1
- package/ocvp/getExsiHost.d.ts +12 -0
- package/ocvp/getExsiHost.js.map +1 -1
- package/ocvp/getSddc.d.ts +12 -0
- package/ocvp/getSddc.js.map +1 -1
- package/ocvp/sddc.d.ts +24 -0
- package/ocvp/sddc.js +6 -0
- package/ocvp/sddc.js.map +1 -1
- package/optimizer/getCategories.d.ts +20 -0
- package/optimizer/getCategories.js +4 -0
- package/optimizer/getCategories.js.map +1 -1
- package/optimizer/getCategory.d.ts +4 -0
- package/optimizer/getCategory.js.map +1 -1
- package/optimizer/getRecommendations.d.ts +35 -5
- package/optimizer/getRecommendations.js +8 -2
- package/optimizer/getRecommendations.js.map +1 -1
- package/optimizer/getResourceActions.d.ts +35 -5
- package/optimizer/getResourceActions.js +8 -2
- package/optimizer/getResourceActions.js.map +1 -1
- package/package.json +2 -2
- package/package.json.dev +2 -2
- package/types/input.d.ts +1403 -413
- package/types/output.d.ts +4251 -1192
- package/usageproxy/getSubscriptionRedeemableUser.d.ts +2 -2
- package/usageproxy/getSubscriptionRedeemableUser.js +1 -1
- package/usageproxy/getSubscriptionRedeemableUsers.d.ts +1 -1
- package/usageproxy/getSubscriptionRedeemableUsers.js +1 -1
- package/usageproxy/getSubscriptionRedemption.d.ts +82 -0
- package/usageproxy/getSubscriptionRedemption.js +44 -0
- package/usageproxy/getSubscriptionRedemption.js.map +1 -0
- package/usageproxy/getSubscriptionRedemptions.d.ts +85 -0
- package/usageproxy/getSubscriptionRedemptions.js +45 -0
- package/usageproxy/getSubscriptionRedemptions.js.map +1 -0
- package/usageproxy/index.d.ts +2 -0
- package/usageproxy/index.js +2 -0
- package/usageproxy/index.js.map +1 -1
- package/usageproxy/subscriptionRedeemableUser.d.ts +6 -4
- package/usageproxy/subscriptionRedeemableUser.js +3 -1
- package/usageproxy/subscriptionRedeemableUser.js.map +1 -1
|
@@ -36,6 +36,7 @@ class DetectorRecipe extends pulumi.CustomResource {
|
|
|
36
36
|
resourceInputs["sourceDetectorRecipeId"] = state ? state.sourceDetectorRecipeId : undefined;
|
|
37
37
|
resourceInputs["state"] = state ? state.state : undefined;
|
|
38
38
|
resourceInputs["systemTags"] = state ? state.systemTags : undefined;
|
|
39
|
+
resourceInputs["targetIds"] = state ? state.targetIds : undefined;
|
|
39
40
|
resourceInputs["timeCreated"] = state ? state.timeCreated : undefined;
|
|
40
41
|
resourceInputs["timeUpdated"] = state ? state.timeUpdated : undefined;
|
|
41
42
|
}
|
|
@@ -47,21 +48,19 @@ class DetectorRecipe extends pulumi.CustomResource {
|
|
|
47
48
|
if ((!args || args.displayName === undefined) && !opts.urn) {
|
|
48
49
|
throw new Error("Missing required property 'displayName'");
|
|
49
50
|
}
|
|
50
|
-
if ((!args || args.sourceDetectorRecipeId === undefined) && !opts.urn) {
|
|
51
|
-
throw new Error("Missing required property 'sourceDetectorRecipeId'");
|
|
52
|
-
}
|
|
53
51
|
resourceInputs["compartmentId"] = args ? args.compartmentId : undefined;
|
|
54
52
|
resourceInputs["definedTags"] = args ? args.definedTags : undefined;
|
|
55
53
|
resourceInputs["description"] = args ? args.description : undefined;
|
|
54
|
+
resourceInputs["detector"] = args ? args.detector : undefined;
|
|
56
55
|
resourceInputs["detectorRules"] = args ? args.detectorRules : undefined;
|
|
57
56
|
resourceInputs["displayName"] = args ? args.displayName : undefined;
|
|
58
57
|
resourceInputs["freeformTags"] = args ? args.freeformTags : undefined;
|
|
59
58
|
resourceInputs["sourceDetectorRecipeId"] = args ? args.sourceDetectorRecipeId : undefined;
|
|
60
|
-
resourceInputs["detector"] = undefined /*out*/;
|
|
61
59
|
resourceInputs["effectiveDetectorRules"] = undefined /*out*/;
|
|
62
60
|
resourceInputs["owner"] = undefined /*out*/;
|
|
63
61
|
resourceInputs["state"] = undefined /*out*/;
|
|
64
62
|
resourceInputs["systemTags"] = undefined /*out*/;
|
|
63
|
+
resourceInputs["targetIds"] = undefined /*out*/;
|
|
65
64
|
resourceInputs["timeCreated"] = undefined /*out*/;
|
|
66
65
|
resourceInputs["timeUpdated"] = undefined /*out*/;
|
|
67
66
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"detectorRecipe.js","sourceRoot":"","sources":["../../cloudguard/detectorRecipe.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C;;;;;;;;;;;;GAYG;AACH,MAAa,cAAe,SAAQ,MAAM,CAAC,cAAc;
|
|
1
|
+
{"version":3,"file":"detectorRecipe.js","sourceRoot":"","sources":["../../cloudguard/detectorRecipe.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C;;;;;;;;;;;;GAYG;AACH,MAAa,cAAe,SAAQ,MAAM,CAAC,cAAc;IAiGrD,YAAY,IAAY,EAAE,WAAsD,EAAE,IAAmC;QACjH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA8C,CAAC;YAC7D,cAAc,CAAC,eAAe,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1E,cAAc,CAAC,aAAa,CA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AAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,cAAc,CAAC,YAAY,CAAC;IAC/D,CAAC;;AA1BL,wCAgJC;AAlIG,gBAAgB;AACO,2BAAY,GAAG,8CAA8C,CAAC"}
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import { output as outputs } from "../types";
|
|
3
|
+
/**
|
|
4
|
+
* This data source provides details about a specific Data Source resource in Oracle Cloud Infrastructure Cloud Guard service.
|
|
5
|
+
*
|
|
6
|
+
* Returns a DataSource identified by dataSourceId
|
|
7
|
+
*
|
|
8
|
+
* ## Example Usage
|
|
9
|
+
*
|
|
10
|
+
* ```typescript
|
|
11
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
12
|
+
* import * as oci from "@pulumi/oci";
|
|
13
|
+
*
|
|
14
|
+
* const testDataSource = oci.CloudGuard.getDataSource({
|
|
15
|
+
* dataSourceId: oci_cloud_guard_data_source.test_data_source.id,
|
|
16
|
+
* });
|
|
17
|
+
* ```
|
|
18
|
+
*/
|
|
19
|
+
export declare function getDataSource(args: GetDataSourceArgs, opts?: pulumi.InvokeOptions): Promise<GetDataSourceResult>;
|
|
20
|
+
/**
|
|
21
|
+
* A collection of arguments for invoking getDataSource.
|
|
22
|
+
*/
|
|
23
|
+
export interface GetDataSourceArgs {
|
|
24
|
+
/**
|
|
25
|
+
* DataSource OCID
|
|
26
|
+
*/
|
|
27
|
+
dataSourceId: string;
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* A collection of values returned by getDataSource.
|
|
31
|
+
*/
|
|
32
|
+
export interface GetDataSourceResult {
|
|
33
|
+
/**
|
|
34
|
+
* CompartmentId of Data source.
|
|
35
|
+
*/
|
|
36
|
+
readonly compartmentId: string;
|
|
37
|
+
/**
|
|
38
|
+
* Details specific to the data source type.
|
|
39
|
+
*/
|
|
40
|
+
readonly dataSourceDetails: outputs.CloudGuard.GetDataSourceDataSourceDetail[];
|
|
41
|
+
/**
|
|
42
|
+
* Information about the detector recipe and rule attached
|
|
43
|
+
*/
|
|
44
|
+
readonly dataSourceDetectorMappingInfos: outputs.CloudGuard.GetDataSourceDataSourceDetectorMappingInfo[];
|
|
45
|
+
/**
|
|
46
|
+
* Possible type of dataSourceFeed Provider(LoggingQuery)
|
|
47
|
+
*/
|
|
48
|
+
readonly dataSourceFeedProvider: string;
|
|
49
|
+
readonly dataSourceId: string;
|
|
50
|
+
/**
|
|
51
|
+
* Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`
|
|
52
|
+
*/
|
|
53
|
+
readonly definedTags: {
|
|
54
|
+
[key: string]: any;
|
|
55
|
+
};
|
|
56
|
+
/**
|
|
57
|
+
* DisplayName of Data source.
|
|
58
|
+
*/
|
|
59
|
+
readonly displayName: string;
|
|
60
|
+
/**
|
|
61
|
+
* Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`
|
|
62
|
+
*/
|
|
63
|
+
readonly freeformTags: {
|
|
64
|
+
[key: string]: any;
|
|
65
|
+
};
|
|
66
|
+
/**
|
|
67
|
+
* Ocid for Data source
|
|
68
|
+
*/
|
|
69
|
+
readonly id: string;
|
|
70
|
+
/**
|
|
71
|
+
* Information about the region and status of query replication
|
|
72
|
+
*/
|
|
73
|
+
readonly regionStatusDetails: outputs.CloudGuard.GetDataSourceRegionStatusDetail[];
|
|
74
|
+
/**
|
|
75
|
+
* The current state of the resource.
|
|
76
|
+
*/
|
|
77
|
+
readonly state: string;
|
|
78
|
+
/**
|
|
79
|
+
* Status of data Source
|
|
80
|
+
*/
|
|
81
|
+
readonly status: string;
|
|
82
|
+
/**
|
|
83
|
+
* System 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). System tags can be viewed by users, but can only be created by the system. Example: `{"orcl-cloud.free-tier-retained": "true"}`
|
|
84
|
+
*/
|
|
85
|
+
readonly systemTags: {
|
|
86
|
+
[key: string]: any;
|
|
87
|
+
};
|
|
88
|
+
/**
|
|
89
|
+
* The date and time the Data source was created. Format defined by RFC3339.
|
|
90
|
+
*/
|
|
91
|
+
readonly timeCreated: string;
|
|
92
|
+
/**
|
|
93
|
+
* The date and time the Data source was updated. Format defined by RFC3339.
|
|
94
|
+
*/
|
|
95
|
+
readonly timeUpdated: string;
|
|
96
|
+
}
|
|
97
|
+
export declare function getDataSourceOutput(args: GetDataSourceOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetDataSourceResult>;
|
|
98
|
+
/**
|
|
99
|
+
* A collection of arguments for invoking getDataSource.
|
|
100
|
+
*/
|
|
101
|
+
export interface GetDataSourceOutputArgs {
|
|
102
|
+
/**
|
|
103
|
+
* DataSource OCID
|
|
104
|
+
*/
|
|
105
|
+
dataSourceId: pulumi.Input<string>;
|
|
106
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
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.getDataSourceOutput = exports.getDataSource = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* This data source provides details about a specific Data Source resource in Oracle Cloud Infrastructure Cloud Guard service.
|
|
10
|
+
*
|
|
11
|
+
* Returns a DataSource identified by dataSourceId
|
|
12
|
+
*
|
|
13
|
+
* ## Example Usage
|
|
14
|
+
*
|
|
15
|
+
* ```typescript
|
|
16
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
17
|
+
* import * as oci from "@pulumi/oci";
|
|
18
|
+
*
|
|
19
|
+
* const testDataSource = oci.CloudGuard.getDataSource({
|
|
20
|
+
* dataSourceId: oci_cloud_guard_data_source.test_data_source.id,
|
|
21
|
+
* });
|
|
22
|
+
* ```
|
|
23
|
+
*/
|
|
24
|
+
function getDataSource(args, opts) {
|
|
25
|
+
if (!opts) {
|
|
26
|
+
opts = {};
|
|
27
|
+
}
|
|
28
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
29
|
+
return pulumi.runtime.invoke("oci:CloudGuard/getDataSource:getDataSource", {
|
|
30
|
+
"dataSourceId": args.dataSourceId,
|
|
31
|
+
}, opts);
|
|
32
|
+
}
|
|
33
|
+
exports.getDataSource = getDataSource;
|
|
34
|
+
function getDataSourceOutput(args, opts) {
|
|
35
|
+
return pulumi.output(args).apply(a => getDataSource(a, opts));
|
|
36
|
+
}
|
|
37
|
+
exports.getDataSourceOutput = getDataSourceOutput;
|
|
38
|
+
//# sourceMappingURL=getDataSource.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getDataSource.js","sourceRoot":"","sources":["../../cloudguard/getDataSource.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,aAAa,CAAC,IAAuB,EAAE,IAA2B;IAC9E,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;IACnE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,4CAA4C,EAAE;QACvE,cAAc,EAAE,IAAI,CAAC,YAAY;KACpC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AATD,sCASC;AA2ED,SAAgB,mBAAmB,CAAC,IAA6B,EAAE,IAA2B;IAC1F,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,aAAa,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACjE,CAAC;AAFD,kDAEC"}
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import { output as outputs } from "../types";
|
|
3
|
+
/**
|
|
4
|
+
* This data source provides details about a specific Data Source Event resource in Oracle Cloud Infrastructure Cloud Guard service.
|
|
5
|
+
*
|
|
6
|
+
* Returns a list of events from CloudGuard DataSource
|
|
7
|
+
*
|
|
8
|
+
* ## Example Usage
|
|
9
|
+
*
|
|
10
|
+
* ```typescript
|
|
11
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
12
|
+
* import * as oci from "@pulumi/oci";
|
|
13
|
+
*
|
|
14
|
+
* const testDataSourceEvent = oci.CloudGuard.getDataSourceEvent({
|
|
15
|
+
* dataSourceId: oci_cloud_guard_data_source.test_data_source.id,
|
|
16
|
+
* region: _var.data_source_event_region,
|
|
17
|
+
* });
|
|
18
|
+
* ```
|
|
19
|
+
*/
|
|
20
|
+
export declare function getDataSourceEvent(args: GetDataSourceEventArgs, opts?: pulumi.InvokeOptions): Promise<GetDataSourceEventResult>;
|
|
21
|
+
/**
|
|
22
|
+
* A collection of arguments for invoking getDataSourceEvent.
|
|
23
|
+
*/
|
|
24
|
+
export interface GetDataSourceEventArgs {
|
|
25
|
+
/**
|
|
26
|
+
* DataSource OCID
|
|
27
|
+
*/
|
|
28
|
+
dataSourceId: string;
|
|
29
|
+
/**
|
|
30
|
+
* A filter to return only resource their region matches the given region.
|
|
31
|
+
*/
|
|
32
|
+
region?: string;
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* A collection of values returned by getDataSourceEvent.
|
|
36
|
+
*/
|
|
37
|
+
export interface GetDataSourceEventResult {
|
|
38
|
+
/**
|
|
39
|
+
* Attached data Source
|
|
40
|
+
*/
|
|
41
|
+
readonly dataSourceId: string;
|
|
42
|
+
/**
|
|
43
|
+
* The provider-assigned unique ID for this managed resource.
|
|
44
|
+
*/
|
|
45
|
+
readonly id: string;
|
|
46
|
+
/**
|
|
47
|
+
* List of event related to a DataSource
|
|
48
|
+
*/
|
|
49
|
+
readonly items: outputs.CloudGuard.GetDataSourceEventItem[];
|
|
50
|
+
/**
|
|
51
|
+
* Data source event region
|
|
52
|
+
*/
|
|
53
|
+
readonly region?: string;
|
|
54
|
+
}
|
|
55
|
+
export declare function getDataSourceEventOutput(args: GetDataSourceEventOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetDataSourceEventResult>;
|
|
56
|
+
/**
|
|
57
|
+
* A collection of arguments for invoking getDataSourceEvent.
|
|
58
|
+
*/
|
|
59
|
+
export interface GetDataSourceEventOutputArgs {
|
|
60
|
+
/**
|
|
61
|
+
* DataSource OCID
|
|
62
|
+
*/
|
|
63
|
+
dataSourceId: pulumi.Input<string>;
|
|
64
|
+
/**
|
|
65
|
+
* A filter to return only resource their region matches the given region.
|
|
66
|
+
*/
|
|
67
|
+
region?: pulumi.Input<string>;
|
|
68
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
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.getDataSourceEventOutput = exports.getDataSourceEvent = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* This data source provides details about a specific Data Source Event resource in Oracle Cloud Infrastructure Cloud Guard service.
|
|
10
|
+
*
|
|
11
|
+
* Returns a list of events from CloudGuard DataSource
|
|
12
|
+
*
|
|
13
|
+
* ## Example Usage
|
|
14
|
+
*
|
|
15
|
+
* ```typescript
|
|
16
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
17
|
+
* import * as oci from "@pulumi/oci";
|
|
18
|
+
*
|
|
19
|
+
* const testDataSourceEvent = oci.CloudGuard.getDataSourceEvent({
|
|
20
|
+
* dataSourceId: oci_cloud_guard_data_source.test_data_source.id,
|
|
21
|
+
* region: _var.data_source_event_region,
|
|
22
|
+
* });
|
|
23
|
+
* ```
|
|
24
|
+
*/
|
|
25
|
+
function getDataSourceEvent(args, opts) {
|
|
26
|
+
if (!opts) {
|
|
27
|
+
opts = {};
|
|
28
|
+
}
|
|
29
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
30
|
+
return pulumi.runtime.invoke("oci:CloudGuard/getDataSourceEvent:getDataSourceEvent", {
|
|
31
|
+
"dataSourceId": args.dataSourceId,
|
|
32
|
+
"region": args.region,
|
|
33
|
+
}, opts);
|
|
34
|
+
}
|
|
35
|
+
exports.getDataSourceEvent = getDataSourceEvent;
|
|
36
|
+
function getDataSourceEventOutput(args, opts) {
|
|
37
|
+
return pulumi.output(args).apply(a => getDataSourceEvent(a, opts));
|
|
38
|
+
}
|
|
39
|
+
exports.getDataSourceEventOutput = getDataSourceEventOutput;
|
|
40
|
+
//# sourceMappingURL=getDataSourceEvent.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getDataSourceEvent.js","sourceRoot":"","sources":["../../cloudguard/getDataSourceEvent.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;GAgBG;AACH,SAAgB,kBAAkB,CAAC,IAA4B,EAAE,IAA2B;IACxF,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;IACnE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,sDAAsD,EAAE;QACjF,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAVD,gDAUC;AAsCD,SAAgB,wBAAwB,CAAC,IAAkC,EAAE,IAA2B;IACpG,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,kBAAkB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACtE,CAAC;AAFD,4DAEC"}
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import { input as inputs, output as outputs } from "../types";
|
|
3
|
+
/**
|
|
4
|
+
* This data source provides the list of Data Source Events in Oracle Cloud Infrastructure Cloud Guard service.
|
|
5
|
+
*
|
|
6
|
+
* Returns a list of events from CloudGuard DataSource
|
|
7
|
+
*
|
|
8
|
+
* ## Example Usage
|
|
9
|
+
*
|
|
10
|
+
* ```typescript
|
|
11
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
12
|
+
* import * as oci from "@pulumi/oci";
|
|
13
|
+
*
|
|
14
|
+
* const testDataSourceEvents = oci.CloudGuard.getDataSourceEvents({
|
|
15
|
+
* dataSourceId: oci_cloud_guard_data_source.test_data_source.id,
|
|
16
|
+
* region: _var.data_source_event_region,
|
|
17
|
+
* });
|
|
18
|
+
* ```
|
|
19
|
+
*/
|
|
20
|
+
export declare function getDataSourceEvents(args: GetDataSourceEventsArgs, opts?: pulumi.InvokeOptions): Promise<GetDataSourceEventsResult>;
|
|
21
|
+
/**
|
|
22
|
+
* A collection of arguments for invoking getDataSourceEvents.
|
|
23
|
+
*/
|
|
24
|
+
export interface GetDataSourceEventsArgs {
|
|
25
|
+
/**
|
|
26
|
+
* DataSource OCID
|
|
27
|
+
*/
|
|
28
|
+
dataSourceId: string;
|
|
29
|
+
filters?: inputs.CloudGuard.GetDataSourceEventsFilter[];
|
|
30
|
+
/**
|
|
31
|
+
* A filter to return only resource their region matches the given region.
|
|
32
|
+
*/
|
|
33
|
+
region?: string;
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* A collection of values returned by getDataSourceEvents.
|
|
37
|
+
*/
|
|
38
|
+
export interface GetDataSourceEventsResult {
|
|
39
|
+
/**
|
|
40
|
+
* The list of data_source_event_collection.
|
|
41
|
+
*/
|
|
42
|
+
readonly dataSourceEventCollections: outputs.CloudGuard.GetDataSourceEventsDataSourceEventCollection[];
|
|
43
|
+
/**
|
|
44
|
+
* Attached data Source
|
|
45
|
+
*/
|
|
46
|
+
readonly dataSourceId: string;
|
|
47
|
+
readonly filters?: outputs.CloudGuard.GetDataSourceEventsFilter[];
|
|
48
|
+
/**
|
|
49
|
+
* The provider-assigned unique ID for this managed resource.
|
|
50
|
+
*/
|
|
51
|
+
readonly id: string;
|
|
52
|
+
/**
|
|
53
|
+
* Data source event region
|
|
54
|
+
*/
|
|
55
|
+
readonly region?: string;
|
|
56
|
+
}
|
|
57
|
+
export declare function getDataSourceEventsOutput(args: GetDataSourceEventsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetDataSourceEventsResult>;
|
|
58
|
+
/**
|
|
59
|
+
* A collection of arguments for invoking getDataSourceEvents.
|
|
60
|
+
*/
|
|
61
|
+
export interface GetDataSourceEventsOutputArgs {
|
|
62
|
+
/**
|
|
63
|
+
* DataSource OCID
|
|
64
|
+
*/
|
|
65
|
+
dataSourceId: pulumi.Input<string>;
|
|
66
|
+
filters?: pulumi.Input<pulumi.Input<inputs.CloudGuard.GetDataSourceEventsFilterArgs>[]>;
|
|
67
|
+
/**
|
|
68
|
+
* A filter to return only resource their region matches the given region.
|
|
69
|
+
*/
|
|
70
|
+
region?: pulumi.Input<string>;
|
|
71
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
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.getDataSourceEventsOutput = exports.getDataSourceEvents = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* This data source provides the list of Data Source Events in Oracle Cloud Infrastructure Cloud Guard service.
|
|
10
|
+
*
|
|
11
|
+
* Returns a list of events from CloudGuard DataSource
|
|
12
|
+
*
|
|
13
|
+
* ## Example Usage
|
|
14
|
+
*
|
|
15
|
+
* ```typescript
|
|
16
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
17
|
+
* import * as oci from "@pulumi/oci";
|
|
18
|
+
*
|
|
19
|
+
* const testDataSourceEvents = oci.CloudGuard.getDataSourceEvents({
|
|
20
|
+
* dataSourceId: oci_cloud_guard_data_source.test_data_source.id,
|
|
21
|
+
* region: _var.data_source_event_region,
|
|
22
|
+
* });
|
|
23
|
+
* ```
|
|
24
|
+
*/
|
|
25
|
+
function getDataSourceEvents(args, opts) {
|
|
26
|
+
if (!opts) {
|
|
27
|
+
opts = {};
|
|
28
|
+
}
|
|
29
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
30
|
+
return pulumi.runtime.invoke("oci:CloudGuard/getDataSourceEvents:getDataSourceEvents", {
|
|
31
|
+
"dataSourceId": args.dataSourceId,
|
|
32
|
+
"filters": args.filters,
|
|
33
|
+
"region": args.region,
|
|
34
|
+
}, opts);
|
|
35
|
+
}
|
|
36
|
+
exports.getDataSourceEvents = getDataSourceEvents;
|
|
37
|
+
function getDataSourceEventsOutput(args, opts) {
|
|
38
|
+
return pulumi.output(args).apply(a => getDataSourceEvents(a, opts));
|
|
39
|
+
}
|
|
40
|
+
exports.getDataSourceEventsOutput = getDataSourceEventsOutput;
|
|
41
|
+
//# sourceMappingURL=getDataSourceEvents.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getDataSourceEvents.js","sourceRoot":"","sources":["../../cloudguard/getDataSourceEvents.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;GAgBG;AACH,SAAgB,mBAAmB,CAAC,IAA6B,EAAE,IAA2B;IAC1F,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;IACnE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,wDAAwD,EAAE;QACnF,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAXD,kDAWC;AAwCD,SAAgB,yBAAyB,CAAC,IAAmC,EAAE,IAA2B;IACtG,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,mBAAmB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACvE,CAAC;AAFD,8DAEC"}
|
|
@@ -0,0 +1,144 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import { input as inputs, output as outputs } from "../types";
|
|
3
|
+
/**
|
|
4
|
+
* This data source provides the list of Data Sources in Oracle Cloud Infrastructure Cloud Guard service.
|
|
5
|
+
*
|
|
6
|
+
* Returns a list of all Data Sources in a compartment
|
|
7
|
+
*
|
|
8
|
+
* The ListDataSources operation returns only the data Sources in `compartmentId` passed.
|
|
9
|
+
* The list does not include any subcompartments of the compartmentId passed.
|
|
10
|
+
*
|
|
11
|
+
* The parameter `accessLevel` specifies whether to return only those compartments for which the
|
|
12
|
+
* requestor has INSPECT permissions on at least one resource directly
|
|
13
|
+
* or indirectly (ACCESSIBLE) (the resource can be in a subcompartment) or to return Not Authorized if
|
|
14
|
+
* Principal doesn't have access to even one of the child compartments. This is valid only when
|
|
15
|
+
* `compartmentIdInSubtree` is set to `true`.
|
|
16
|
+
*
|
|
17
|
+
* The parameter `compartmentIdInSubtree` applies when you perform ListdataSources on the
|
|
18
|
+
* `compartmentId` passed and when it is set to true, the entire hierarchy of compartments can be returned.
|
|
19
|
+
* To get a full list of all compartments and subcompartments in the tenancy (root compartment),
|
|
20
|
+
* set the parameter `compartmentIdInSubtree` to true and `accessLevel` to ACCESSIBLE.
|
|
21
|
+
*
|
|
22
|
+
* ## Example Usage
|
|
23
|
+
*
|
|
24
|
+
* ```typescript
|
|
25
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
26
|
+
* import * as oci from "@pulumi/oci";
|
|
27
|
+
*
|
|
28
|
+
* const testDataSources = oci.CloudGuard.getDataSources({
|
|
29
|
+
* compartmentId: _var.compartment_id,
|
|
30
|
+
* accessLevel: _var.data_source_access_level,
|
|
31
|
+
* compartmentIdInSubtree: _var.data_source_compartment_id_in_subtree,
|
|
32
|
+
* dataSourceFeedProvider: _var.data_source_data_source_feed_provider,
|
|
33
|
+
* displayName: _var.data_source_display_name,
|
|
34
|
+
* loggingQueryType: _var.data_source_logging_query_type,
|
|
35
|
+
* state: _var.data_source_state,
|
|
36
|
+
* });
|
|
37
|
+
* ```
|
|
38
|
+
*/
|
|
39
|
+
export declare function getDataSources(args: GetDataSourcesArgs, opts?: pulumi.InvokeOptions): Promise<GetDataSourcesResult>;
|
|
40
|
+
/**
|
|
41
|
+
* A collection of arguments for invoking getDataSources.
|
|
42
|
+
*/
|
|
43
|
+
export interface GetDataSourcesArgs {
|
|
44
|
+
/**
|
|
45
|
+
* Valid values are `RESTRICTED` and `ACCESSIBLE`. Default is `RESTRICTED`. Setting this to `ACCESSIBLE` returns only those compartments for which the user has INSPECT permissions directly or indirectly (permissions can be on a resource in a subcompartment). When set to `RESTRICTED` permissions are checked and no partial results are displayed.
|
|
46
|
+
*/
|
|
47
|
+
accessLevel?: string;
|
|
48
|
+
/**
|
|
49
|
+
* The ID of the compartment in which to list resources.
|
|
50
|
+
*/
|
|
51
|
+
compartmentId: string;
|
|
52
|
+
/**
|
|
53
|
+
* Default is false. When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned depending on the the setting of `accessLevel`.
|
|
54
|
+
*/
|
|
55
|
+
compartmentIdInSubtree?: boolean;
|
|
56
|
+
/**
|
|
57
|
+
* A filter to return only resources their feedProvider matches the given DataSourceFeedProvider.
|
|
58
|
+
*/
|
|
59
|
+
dataSourceFeedProvider?: string;
|
|
60
|
+
/**
|
|
61
|
+
* A filter to return only resources that match the entire display name given.
|
|
62
|
+
*/
|
|
63
|
+
displayName?: string;
|
|
64
|
+
filters?: inputs.CloudGuard.GetDataSourcesFilter[];
|
|
65
|
+
/**
|
|
66
|
+
* A filter to return only resources their query type matches the given LoggingQueryType.
|
|
67
|
+
*/
|
|
68
|
+
loggingQueryType?: string;
|
|
69
|
+
/**
|
|
70
|
+
* The field life cycle state. Only one state can be provided. Default value for state is active. If no value is specified state is active.
|
|
71
|
+
*/
|
|
72
|
+
state?: string;
|
|
73
|
+
}
|
|
74
|
+
/**
|
|
75
|
+
* A collection of values returned by getDataSources.
|
|
76
|
+
*/
|
|
77
|
+
export interface GetDataSourcesResult {
|
|
78
|
+
readonly accessLevel?: string;
|
|
79
|
+
/**
|
|
80
|
+
* CompartmentId of Data source.
|
|
81
|
+
*/
|
|
82
|
+
readonly compartmentId: string;
|
|
83
|
+
readonly compartmentIdInSubtree?: boolean;
|
|
84
|
+
/**
|
|
85
|
+
* The list of data_source_collection.
|
|
86
|
+
*/
|
|
87
|
+
readonly dataSourceCollections: outputs.CloudGuard.GetDataSourcesDataSourceCollection[];
|
|
88
|
+
/**
|
|
89
|
+
* Possible type of dataSourceFeed Provider(LoggingQuery)
|
|
90
|
+
*/
|
|
91
|
+
readonly dataSourceFeedProvider?: string;
|
|
92
|
+
/**
|
|
93
|
+
* DisplayName of Data source.
|
|
94
|
+
*/
|
|
95
|
+
readonly displayName?: string;
|
|
96
|
+
readonly filters?: outputs.CloudGuard.GetDataSourcesFilter[];
|
|
97
|
+
/**
|
|
98
|
+
* The provider-assigned unique ID for this managed resource.
|
|
99
|
+
*/
|
|
100
|
+
readonly id: string;
|
|
101
|
+
/**
|
|
102
|
+
* Logging query type for data source (Sighting/Insight)
|
|
103
|
+
*/
|
|
104
|
+
readonly loggingQueryType?: string;
|
|
105
|
+
/**
|
|
106
|
+
* The current state of the resource.
|
|
107
|
+
*/
|
|
108
|
+
readonly state?: string;
|
|
109
|
+
}
|
|
110
|
+
export declare function getDataSourcesOutput(args: GetDataSourcesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetDataSourcesResult>;
|
|
111
|
+
/**
|
|
112
|
+
* A collection of arguments for invoking getDataSources.
|
|
113
|
+
*/
|
|
114
|
+
export interface GetDataSourcesOutputArgs {
|
|
115
|
+
/**
|
|
116
|
+
* Valid values are `RESTRICTED` and `ACCESSIBLE`. Default is `RESTRICTED`. Setting this to `ACCESSIBLE` returns only those compartments for which the user has INSPECT permissions directly or indirectly (permissions can be on a resource in a subcompartment). When set to `RESTRICTED` permissions are checked and no partial results are displayed.
|
|
117
|
+
*/
|
|
118
|
+
accessLevel?: pulumi.Input<string>;
|
|
119
|
+
/**
|
|
120
|
+
* The ID of the compartment in which to list resources.
|
|
121
|
+
*/
|
|
122
|
+
compartmentId: pulumi.Input<string>;
|
|
123
|
+
/**
|
|
124
|
+
* Default is false. When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned depending on the the setting of `accessLevel`.
|
|
125
|
+
*/
|
|
126
|
+
compartmentIdInSubtree?: pulumi.Input<boolean>;
|
|
127
|
+
/**
|
|
128
|
+
* A filter to return only resources their feedProvider matches the given DataSourceFeedProvider.
|
|
129
|
+
*/
|
|
130
|
+
dataSourceFeedProvider?: pulumi.Input<string>;
|
|
131
|
+
/**
|
|
132
|
+
* A filter to return only resources that match the entire display name given.
|
|
133
|
+
*/
|
|
134
|
+
displayName?: pulumi.Input<string>;
|
|
135
|
+
filters?: pulumi.Input<pulumi.Input<inputs.CloudGuard.GetDataSourcesFilterArgs>[]>;
|
|
136
|
+
/**
|
|
137
|
+
* A filter to return only resources their query type matches the given LoggingQueryType.
|
|
138
|
+
*/
|
|
139
|
+
loggingQueryType?: pulumi.Input<string>;
|
|
140
|
+
/**
|
|
141
|
+
* The field life cycle state. Only one state can be provided. Default value for state is active. If no value is specified state is active.
|
|
142
|
+
*/
|
|
143
|
+
state?: pulumi.Input<string>;
|
|
144
|
+
}
|
|
@@ -0,0 +1,65 @@
|
|
|
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.getDataSourcesOutput = exports.getDataSources = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* This data source provides the list of Data Sources in Oracle Cloud Infrastructure Cloud Guard service.
|
|
10
|
+
*
|
|
11
|
+
* Returns a list of all Data Sources in a compartment
|
|
12
|
+
*
|
|
13
|
+
* The ListDataSources operation returns only the data Sources in `compartmentId` passed.
|
|
14
|
+
* The list does not include any subcompartments of the compartmentId passed.
|
|
15
|
+
*
|
|
16
|
+
* The parameter `accessLevel` specifies whether to return only those compartments for which the
|
|
17
|
+
* requestor has INSPECT permissions on at least one resource directly
|
|
18
|
+
* or indirectly (ACCESSIBLE) (the resource can be in a subcompartment) or to return Not Authorized if
|
|
19
|
+
* Principal doesn't have access to even one of the child compartments. This is valid only when
|
|
20
|
+
* `compartmentIdInSubtree` is set to `true`.
|
|
21
|
+
*
|
|
22
|
+
* The parameter `compartmentIdInSubtree` applies when you perform ListdataSources on the
|
|
23
|
+
* `compartmentId` passed and when it is set to true, the entire hierarchy of compartments can be returned.
|
|
24
|
+
* To get a full list of all compartments and subcompartments in the tenancy (root compartment),
|
|
25
|
+
* set the parameter `compartmentIdInSubtree` to true and `accessLevel` to ACCESSIBLE.
|
|
26
|
+
*
|
|
27
|
+
* ## Example Usage
|
|
28
|
+
*
|
|
29
|
+
* ```typescript
|
|
30
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
31
|
+
* import * as oci from "@pulumi/oci";
|
|
32
|
+
*
|
|
33
|
+
* const testDataSources = oci.CloudGuard.getDataSources({
|
|
34
|
+
* compartmentId: _var.compartment_id,
|
|
35
|
+
* accessLevel: _var.data_source_access_level,
|
|
36
|
+
* compartmentIdInSubtree: _var.data_source_compartment_id_in_subtree,
|
|
37
|
+
* dataSourceFeedProvider: _var.data_source_data_source_feed_provider,
|
|
38
|
+
* displayName: _var.data_source_display_name,
|
|
39
|
+
* loggingQueryType: _var.data_source_logging_query_type,
|
|
40
|
+
* state: _var.data_source_state,
|
|
41
|
+
* });
|
|
42
|
+
* ```
|
|
43
|
+
*/
|
|
44
|
+
function getDataSources(args, opts) {
|
|
45
|
+
if (!opts) {
|
|
46
|
+
opts = {};
|
|
47
|
+
}
|
|
48
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
49
|
+
return pulumi.runtime.invoke("oci:CloudGuard/getDataSources:getDataSources", {
|
|
50
|
+
"accessLevel": args.accessLevel,
|
|
51
|
+
"compartmentId": args.compartmentId,
|
|
52
|
+
"compartmentIdInSubtree": args.compartmentIdInSubtree,
|
|
53
|
+
"dataSourceFeedProvider": args.dataSourceFeedProvider,
|
|
54
|
+
"displayName": args.displayName,
|
|
55
|
+
"filters": args.filters,
|
|
56
|
+
"loggingQueryType": args.loggingQueryType,
|
|
57
|
+
"state": args.state,
|
|
58
|
+
}, opts);
|
|
59
|
+
}
|
|
60
|
+
exports.getDataSources = getDataSources;
|
|
61
|
+
function getDataSourcesOutput(args, opts) {
|
|
62
|
+
return pulumi.output(args).apply(a => getDataSources(a, opts));
|
|
63
|
+
}
|
|
64
|
+
exports.getDataSourcesOutput = getDataSourcesOutput;
|
|
65
|
+
//# sourceMappingURL=getDataSources.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getDataSources.js","sourceRoot":"","sources":["../../cloudguard/getDataSources.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmCG;AACH,SAAgB,cAAc,CAAC,IAAwB,EAAE,IAA2B;IAChF,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;IACnE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,8CAA8C,EAAE;QACzE,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,eAAe,EAAE,IAAI,CAAC,aAAa;QACnC,wBAAwB,EAAE,IAAI,CAAC,sBAAsB;QACrD,wBAAwB,EAAE,IAAI,CAAC,sBAAsB;QACrD,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,kBAAkB,EAAE,IAAI,CAAC,gBAAgB;QACzC,OAAO,EAAE,IAAI,CAAC,KAAK;KACtB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAhBD,wCAgBC;AA0ED,SAAgB,oBAAoB,CAAC,IAA8B,EAAE,IAA2B;IAC5F,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,cAAc,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAClE,CAAC;AAFD,oDAEC"}
|
|
@@ -54,7 +54,7 @@ export interface GetDetectorRecipeResult {
|
|
|
54
54
|
*/
|
|
55
55
|
readonly detectorRules: outputs.CloudGuard.GetDetectorRecipeDetectorRule[];
|
|
56
56
|
/**
|
|
57
|
-
*
|
|
57
|
+
* The display name of entity
|
|
58
58
|
*/
|
|
59
59
|
readonly displayName: string;
|
|
60
60
|
/**
|
|
@@ -89,6 +89,10 @@ export interface GetDetectorRecipeResult {
|
|
|
89
89
|
readonly systemTags: {
|
|
90
90
|
[key: string]: any;
|
|
91
91
|
};
|
|
92
|
+
/**
|
|
93
|
+
* The recipe attached to targets
|
|
94
|
+
*/
|
|
95
|
+
readonly targetIds: string[];
|
|
92
96
|
/**
|
|
93
97
|
* The date and time the detector recipe was created. Format defined by RFC3339.
|
|
94
98
|
*/
|