Oracle Cloud Infrastructure v0.20.0, May 31 23
Oracle Cloud Infrastructure v0.20.0, May 31 23
oci.CloudGuard.getProblemEntities
Explore with Pulumi AI
This data source provides the list of Problem Entities in Oracle Cloud Infrastructure Cloud Guard service.
Returns a list of entities for a CloudGuard Problem
Example Usage
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Oci = Pulumi.Oci;
return await Deployment.RunAsync(() =>
{
var testProblemEntities = Oci.CloudGuard.GetProblemEntities.Invoke(new()
{
ProblemId = oci_cloud_guard_problem.Test_problem.Id,
});
});
package main
import (
"github.com/pulumi/pulumi-oci/sdk/go/oci/CloudGuard"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := CloudGuard.GetProblemEntities(ctx, &cloudguard.GetProblemEntitiesArgs{
ProblemId: oci_cloud_guard_problem.Test_problem.Id,
}, nil)
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.CloudGuard.CloudGuardFunctions;
import com.pulumi.oci.CloudGuard.inputs.GetProblemEntitiesArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var testProblemEntities = CloudGuardFunctions.getProblemEntities(GetProblemEntitiesArgs.builder()
.problemId(oci_cloud_guard_problem.test_problem().id())
.build());
}
}
import pulumi
import pulumi_oci as oci
test_problem_entities = oci.CloudGuard.get_problem_entities(problem_id=%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testProblemEntities = oci.CloudGuard.getProblemEntities({
problemId: oci_cloud_guard_problem.test_problem.id,
});
variables:
testProblemEntities:
fn::invoke:
Function: oci:CloudGuard:getProblemEntities
Arguments:
problemId: ${oci_cloud_guard_problem.test_problem.id}
Using getProblemEntities
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getProblemEntities(args: GetProblemEntitiesArgs, opts?: InvokeOptions): Promise<GetProblemEntitiesResult>
function getProblemEntitiesOutput(args: GetProblemEntitiesOutputArgs, opts?: InvokeOptions): Output<GetProblemEntitiesResult>
def get_problem_entities(filters: Optional[Sequence[_cloudguard.GetProblemEntitiesFilter]] = None,
problem_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetProblemEntitiesResult
def get_problem_entities_output(filters: Optional[pulumi.Input[Sequence[pulumi.Input[_cloudguard.GetProblemEntitiesFilterArgs]]]] = None,
problem_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetProblemEntitiesResult]
func GetProblemEntities(ctx *Context, args *GetProblemEntitiesArgs, opts ...InvokeOption) (*GetProblemEntitiesResult, error)
func GetProblemEntitiesOutput(ctx *Context, args *GetProblemEntitiesOutputArgs, opts ...InvokeOption) GetProblemEntitiesResultOutput
> Note: This function is named GetProblemEntities
in the Go SDK.
public static class GetProblemEntities
{
public static Task<GetProblemEntitiesResult> InvokeAsync(GetProblemEntitiesArgs args, InvokeOptions? opts = null)
public static Output<GetProblemEntitiesResult> Invoke(GetProblemEntitiesInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetProblemEntitiesResult> getProblemEntities(GetProblemEntitiesArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: oci:CloudGuard/getProblemEntities:getProblemEntities
arguments:
# arguments dictionary
The following arguments are supported:
- Problem
Id string OCId of the problem.
- Filters
List<Get
Problem Entities Filter>
- Problem
Id string OCId of the problem.
- Filters
[]Get
Problem Entities Filter
- problem
Id String OCId of the problem.
- filters
List<Get
Problem Entities Filter>
- problem
Id string OCId of the problem.
- filters
Get
Problem Entities Filter[]
- problem_
id str OCId of the problem.
- filters
Get
Problem Entities Filter]
- problem
Id String OCId of the problem.
- filters List<Property Map>
getProblemEntities Result
The following output properties are available:
- Id string
The provider-assigned unique ID for this managed resource.
- Problem
Entity List<GetCollections Problem Entities Problem Entity Collection> The list of problem_entity_collection.
- Problem
Id string Attached problem id
- Filters
List<Get
Problem Entities Filter>
- Id string
The provider-assigned unique ID for this managed resource.
- Problem
Entity []GetCollections Problem Entities Problem Entity Collection The list of problem_entity_collection.
- Problem
Id string Attached problem id
- Filters
[]Get
Problem Entities Filter
- id String
The provider-assigned unique ID for this managed resource.
- problem
Entity List<GetCollections Problem Entities Problem Entity Collection> The list of problem_entity_collection.
- problem
Id String Attached problem id
- filters
List<Get
Problem Entities Filter>
- id string
The provider-assigned unique ID for this managed resource.
- problem
Entity GetCollections Problem Entities Problem Entity Collection[] The list of problem_entity_collection.
- problem
Id string Attached problem id
- filters
Get
Problem Entities Filter[]
- id str
The provider-assigned unique ID for this managed resource.
- problem_
entity_ Getcollections Problem Entities Problem Entity Collection] The list of problem_entity_collection.
- problem_
id str Attached problem id
- filters
Get
Problem Entities Filter]
- id String
The provider-assigned unique ID for this managed resource.
- problem
Entity List<Property Map>Collections The list of problem_entity_collection.
- problem
Id String Attached problem id
- filters List<Property Map>
Supporting Types
GetProblemEntitiesFilter
GetProblemEntitiesProblemEntityCollection
- Items
List<Get
Problem Entities Problem Entity Collection Item> List of problem entities summaries related to a data source.
- Items
[]Get
Problem Entities Problem Entity Collection Item List of problem entities summaries related to a data source.
- items
List<Get
Problem Entities Problem Entity Collection Item> List of problem entities summaries related to a data source.
- items
Get
Problem Entities Problem Entity Collection Item[] List of problem entities summaries related to a data source.
- items
Get
Problem Entities Problem Entity Collection Item] List of problem entities summaries related to a data source.
- items List<Property Map>
List of problem entities summaries related to a data source.
GetProblemEntitiesProblemEntityCollectionItem
- Entity
Details List<GetProblem Entities Problem Entity Collection Item Entity Detail> List of event related to a DataSource
- Problem
Id string OCId of the problem.
- Regions List<string>
Data source problem entities region
- Result
Url string Log result query url for a data source query
- Time
First stringDetected Data source problem entities first detected time
- Time
Last stringDetected Data source problem entities last detected time
- Entity
Details []GetProblem Entities Problem Entity Collection Item Entity Detail List of event related to a DataSource
- Problem
Id string OCId of the problem.
- Regions []string
Data source problem entities region
- Result
Url string Log result query url for a data source query
- Time
First stringDetected Data source problem entities first detected time
- Time
Last stringDetected Data source problem entities last detected time
- entity
Details List<GetProblem Entities Problem Entity Collection Item Entity Detail> List of event related to a DataSource
- problem
Id String OCId of the problem.
- regions List<String>
Data source problem entities region
- result
Url String Log result query url for a data source query
- time
First StringDetected Data source problem entities first detected time
- time
Last StringDetected Data source problem entities last detected time
- entity
Details GetProblem Entities Problem Entity Collection Item Entity Detail[] List of event related to a DataSource
- problem
Id string OCId of the problem.
- regions string[]
Data source problem entities region
- result
Url string Log result query url for a data source query
- time
First stringDetected Data source problem entities first detected time
- time
Last stringDetected Data source problem entities last detected time
- entity_
details GetProblem Entities Problem Entity Collection Item Entity Detail] List of event related to a DataSource
- problem_
id str OCId of the problem.
- regions Sequence[str]
Data source problem entities region
- result_
url str Log result query url for a data source query
- time_
first_ strdetected Data source problem entities first detected time
- time_
last_ strdetected Data source problem entities last detected time
- entity
Details List<Property Map> List of event related to a DataSource
- problem
Id String OCId of the problem.
- regions List<String>
Data source problem entities region
- result
Url String Log result query url for a data source query
- time
First StringDetected Data source problem entities first detected time
- time
Last StringDetected Data source problem entities last detected time
GetProblemEntitiesProblemEntityCollectionItemEntityDetail
- Display
Name string The display name of entity
- Type string
Type of entity
- Value string
The entity value
- Display
Name string The display name of entity
- Type string
Type of entity
- Value string
The entity value
- display
Name String The display name of entity
- type String
Type of entity
- value String
The entity value
- display
Name string The display name of entity
- type string
Type of entity
- value string
The entity value
- display_
name str The display name of entity
- type str
Type of entity
- value str
The entity value
- display
Name String The display name of entity
- type String
Type of entity
- value String
The entity value
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
oci
Terraform Provider.