1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. Jms
  5. getFleetCryptoAnalysisResults
Oracle Cloud Infrastructure v1.23.0 published on Thursday, Feb 15, 2024 by Pulumi

oci.Jms.getFleetCryptoAnalysisResults

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v1.23.0 published on Thursday, Feb 15, 2024 by Pulumi

    This data source provides the list of Fleet Crypto Analysis Results in Oracle Cloud Infrastructure Jms service.

    Lists the results of a Crypto event analysis.

    Example Usage

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Oci = Pulumi.Oci;
    
    return await Deployment.RunAsync(() => 
    {
        var testFleetCryptoAnalysisResults = Oci.Jms.GetFleetCryptoAnalysisResults.Invoke(new()
        {
            FleetId = oci_jms_fleet.Test_fleet.Id,
            AggregationMode = @var.Fleet_crypto_analysis_result_aggregation_mode,
            ManagedInstanceId = oci_osmanagement_managed_instance.Test_managed_instance.Id,
            TimeEnd = @var.Fleet_crypto_analysis_result_time_end,
            TimeStart = @var.Fleet_crypto_analysis_result_time_start,
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-oci/sdk/go/oci/Jms"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := Jms.GetFleetCryptoAnalysisResults(ctx, &jms.GetFleetCryptoAnalysisResultsArgs{
    			FleetId:           oci_jms_fleet.Test_fleet.Id,
    			AggregationMode:   pulumi.StringRef(_var.Fleet_crypto_analysis_result_aggregation_mode),
    			ManagedInstanceId: pulumi.StringRef(oci_osmanagement_managed_instance.Test_managed_instance.Id),
    			TimeEnd:           pulumi.StringRef(_var.Fleet_crypto_analysis_result_time_end),
    			TimeStart:         pulumi.StringRef(_var.Fleet_crypto_analysis_result_time_start),
    		}, 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.Jms.JmsFunctions;
    import com.pulumi.oci.Jms.inputs.GetFleetCryptoAnalysisResultsArgs;
    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 testFleetCryptoAnalysisResults = JmsFunctions.getFleetCryptoAnalysisResults(GetFleetCryptoAnalysisResultsArgs.builder()
                .fleetId(oci_jms_fleet.test_fleet().id())
                .aggregationMode(var_.fleet_crypto_analysis_result_aggregation_mode())
                .managedInstanceId(oci_osmanagement_managed_instance.test_managed_instance().id())
                .timeEnd(var_.fleet_crypto_analysis_result_time_end())
                .timeStart(var_.fleet_crypto_analysis_result_time_start())
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_oci as oci
    
    test_fleet_crypto_analysis_results = oci.Jms.get_fleet_crypto_analysis_results(fleet_id=oci_jms_fleet["test_fleet"]["id"],
        aggregation_mode=var["fleet_crypto_analysis_result_aggregation_mode"],
        managed_instance_id=oci_osmanagement_managed_instance["test_managed_instance"]["id"],
        time_end=var["fleet_crypto_analysis_result_time_end"],
        time_start=var["fleet_crypto_analysis_result_time_start"])
    
    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testFleetCryptoAnalysisResults = oci.Jms.getFleetCryptoAnalysisResults({
        fleetId: oci_jms_fleet.test_fleet.id,
        aggregationMode: _var.fleet_crypto_analysis_result_aggregation_mode,
        managedInstanceId: oci_osmanagement_managed_instance.test_managed_instance.id,
        timeEnd: _var.fleet_crypto_analysis_result_time_end,
        timeStart: _var.fleet_crypto_analysis_result_time_start,
    });
    
    variables:
      testFleetCryptoAnalysisResults:
        fn::invoke:
          Function: oci:Jms:getFleetCryptoAnalysisResults
          Arguments:
            fleetId: ${oci_jms_fleet.test_fleet.id}
            aggregationMode: ${var.fleet_crypto_analysis_result_aggregation_mode}
            managedInstanceId: ${oci_osmanagement_managed_instance.test_managed_instance.id}
            timeEnd: ${var.fleet_crypto_analysis_result_time_end}
            timeStart: ${var.fleet_crypto_analysis_result_time_start}
    

    Using getFleetCryptoAnalysisResults

    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 getFleetCryptoAnalysisResults(args: GetFleetCryptoAnalysisResultsArgs, opts?: InvokeOptions): Promise<GetFleetCryptoAnalysisResultsResult>
    function getFleetCryptoAnalysisResultsOutput(args: GetFleetCryptoAnalysisResultsOutputArgs, opts?: InvokeOptions): Output<GetFleetCryptoAnalysisResultsResult>
    def get_fleet_crypto_analysis_results(aggregation_mode: Optional[str] = None,
                                          filters: Optional[Sequence[_jms.GetFleetCryptoAnalysisResultsFilter]] = None,
                                          fleet_id: Optional[str] = None,
                                          managed_instance_id: Optional[str] = None,
                                          time_end: Optional[str] = None,
                                          time_start: Optional[str] = None,
                                          opts: Optional[InvokeOptions] = None) -> GetFleetCryptoAnalysisResultsResult
    def get_fleet_crypto_analysis_results_output(aggregation_mode: Optional[pulumi.Input[str]] = None,
                                          filters: Optional[pulumi.Input[Sequence[pulumi.Input[_jms.GetFleetCryptoAnalysisResultsFilterArgs]]]] = None,
                                          fleet_id: Optional[pulumi.Input[str]] = None,
                                          managed_instance_id: Optional[pulumi.Input[str]] = None,
                                          time_end: Optional[pulumi.Input[str]] = None,
                                          time_start: Optional[pulumi.Input[str]] = None,
                                          opts: Optional[InvokeOptions] = None) -> Output[GetFleetCryptoAnalysisResultsResult]
    func GetFleetCryptoAnalysisResults(ctx *Context, args *GetFleetCryptoAnalysisResultsArgs, opts ...InvokeOption) (*GetFleetCryptoAnalysisResultsResult, error)
    func GetFleetCryptoAnalysisResultsOutput(ctx *Context, args *GetFleetCryptoAnalysisResultsOutputArgs, opts ...InvokeOption) GetFleetCryptoAnalysisResultsResultOutput

    > Note: This function is named GetFleetCryptoAnalysisResults in the Go SDK.

    public static class GetFleetCryptoAnalysisResults 
    {
        public static Task<GetFleetCryptoAnalysisResultsResult> InvokeAsync(GetFleetCryptoAnalysisResultsArgs args, InvokeOptions? opts = null)
        public static Output<GetFleetCryptoAnalysisResultsResult> Invoke(GetFleetCryptoAnalysisResultsInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetFleetCryptoAnalysisResultsResult> getFleetCryptoAnalysisResults(GetFleetCryptoAnalysisResultsArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: oci:Jms/getFleetCryptoAnalysisResults:getFleetCryptoAnalysisResults
      arguments:
        # arguments dictionary

    The following arguments are supported:

    FleetId string
    The OCID of the Fleet.
    AggregationMode string
    The aggregation mode of the crypto event analysis result.
    Filters List<GetFleetCryptoAnalysisResultsFilter>
    ManagedInstanceId string
    The Fleet-unique identifier of the related managed instance.
    TimeEnd string
    The end of the time period during which resources are searched (formatted according to RFC3339).
    TimeStart string
    The start of the time period during which resources are searched (formatted according to RFC3339).
    FleetId string
    The OCID of the Fleet.
    AggregationMode string
    The aggregation mode of the crypto event analysis result.
    Filters []GetFleetCryptoAnalysisResultsFilter
    ManagedInstanceId string
    The Fleet-unique identifier of the related managed instance.
    TimeEnd string
    The end of the time period during which resources are searched (formatted according to RFC3339).
    TimeStart string
    The start of the time period during which resources are searched (formatted according to RFC3339).
    fleetId String
    The OCID of the Fleet.
    aggregationMode String
    The aggregation mode of the crypto event analysis result.
    filters List<GetFleetCryptoAnalysisResultsFilter>
    managedInstanceId String
    The Fleet-unique identifier of the related managed instance.
    timeEnd String
    The end of the time period during which resources are searched (formatted according to RFC3339).
    timeStart String
    The start of the time period during which resources are searched (formatted according to RFC3339).
    fleetId string
    The OCID of the Fleet.
    aggregationMode string
    The aggregation mode of the crypto event analysis result.
    filters GetFleetCryptoAnalysisResultsFilter[]
    managedInstanceId string
    The Fleet-unique identifier of the related managed instance.
    timeEnd string
    The end of the time period during which resources are searched (formatted according to RFC3339).
    timeStart string
    The start of the time period during which resources are searched (formatted according to RFC3339).
    fleet_id str
    The OCID of the Fleet.
    aggregation_mode str
    The aggregation mode of the crypto event analysis result.
    filters GetFleetCryptoAnalysisResultsFilter]
    managed_instance_id str
    The Fleet-unique identifier of the related managed instance.
    time_end str
    The end of the time period during which resources are searched (formatted according to RFC3339).
    time_start str
    The start of the time period during which resources are searched (formatted according to RFC3339).
    fleetId String
    The OCID of the Fleet.
    aggregationMode String
    The aggregation mode of the crypto event analysis result.
    filters List<Property Map>
    managedInstanceId String
    The Fleet-unique identifier of the related managed instance.
    timeEnd String
    The end of the time period during which resources are searched (formatted according to RFC3339).
    timeStart String
    The start of the time period during which resources are searched (formatted according to RFC3339).

    getFleetCryptoAnalysisResults Result

    The following output properties are available:

    CryptoAnalysisResultCollections List<GetFleetCryptoAnalysisResultsCryptoAnalysisResultCollection>
    The list of crypto_analysis_result_collection.
    FleetId string
    The fleet OCID.
    Id string
    The provider-assigned unique ID for this managed resource.
    AggregationMode string
    The result aggregation mode
    Filters List<GetFleetCryptoAnalysisResultsFilter>
    ManagedInstanceId string
    The managed instance OCID.
    TimeEnd string
    TimeStart string
    CryptoAnalysisResultCollections []GetFleetCryptoAnalysisResultsCryptoAnalysisResultCollection
    The list of crypto_analysis_result_collection.
    FleetId string
    The fleet OCID.
    Id string
    The provider-assigned unique ID for this managed resource.
    AggregationMode string
    The result aggregation mode
    Filters []GetFleetCryptoAnalysisResultsFilter
    ManagedInstanceId string
    The managed instance OCID.
    TimeEnd string
    TimeStart string
    cryptoAnalysisResultCollections List<GetFleetCryptoAnalysisResultsCryptoAnalysisResultCollection>
    The list of crypto_analysis_result_collection.
    fleetId String
    The fleet OCID.
    id String
    The provider-assigned unique ID for this managed resource.
    aggregationMode String
    The result aggregation mode
    filters List<GetFleetCryptoAnalysisResultsFilter>
    managedInstanceId String
    The managed instance OCID.
    timeEnd String
    timeStart String
    cryptoAnalysisResultCollections GetFleetCryptoAnalysisResultsCryptoAnalysisResultCollection[]
    The list of crypto_analysis_result_collection.
    fleetId string
    The fleet OCID.
    id string
    The provider-assigned unique ID for this managed resource.
    aggregationMode string
    The result aggregation mode
    filters GetFleetCryptoAnalysisResultsFilter[]
    managedInstanceId string
    The managed instance OCID.
    timeEnd string
    timeStart string
    crypto_analysis_result_collections GetFleetCryptoAnalysisResultsCryptoAnalysisResultCollection]
    The list of crypto_analysis_result_collection.
    fleet_id str
    The fleet OCID.
    id str
    The provider-assigned unique ID for this managed resource.
    aggregation_mode str
    The result aggregation mode
    filters GetFleetCryptoAnalysisResultsFilter]
    managed_instance_id str
    The managed instance OCID.
    time_end str
    time_start str
    cryptoAnalysisResultCollections List<Property Map>
    The list of crypto_analysis_result_collection.
    fleetId String
    The fleet OCID.
    id String
    The provider-assigned unique ID for this managed resource.
    aggregationMode String
    The result aggregation mode
    filters List<Property Map>
    managedInstanceId String
    The managed instance OCID.
    timeEnd String
    timeStart String

    Supporting Types

    GetFleetCryptoAnalysisResultsCryptoAnalysisResultCollection

    GetFleetCryptoAnalysisResultsCryptoAnalysisResultCollectionItem

    AggregationMode string
    The aggregation mode of the crypto event analysis result.
    Bucket string
    The Object Storage bucket name of this analysis result.
    CryptoRoadmapVersion string
    The Crypto Roadmap version used to perform the analysis.
    FindingCount int
    Total number of findings with the analysis.
    FleetId string
    The OCID of the Fleet.
    HostName string
    The hostname of the managed instance.
    Id string
    The OCID to identify this analysis results.
    ManagedInstanceId string
    The Fleet-unique identifier of the related managed instance.
    Namespace string
    The Object Storage namespace of this analysis result.
    NonCompliantFindingCount int
    Total number of non-compliant findings with the analysis. A non-compliant finding means the application won't work properly with the changes introduced by the Crypto Roadmap version used by the analysis.
    Object string
    The Object Storage object name of this analysis result.
    SummarizedEventCount int
    Total number of summarized events. Summarized events are deduplicated events of interest.
    TimeCreated string
    The time the result is compiled.
    TimeFirstEvent string
    Time of the first event in the analysis.
    TimeLastEvent string
    Time of the last event in the analysis.
    TotalEventCount int
    Total number of events in the analysis.
    WorkRequestId string
    The OCID of the work request to start the analysis.
    AggregationMode string
    The aggregation mode of the crypto event analysis result.
    Bucket string
    The Object Storage bucket name of this analysis result.
    CryptoRoadmapVersion string
    The Crypto Roadmap version used to perform the analysis.
    FindingCount int
    Total number of findings with the analysis.
    FleetId string
    The OCID of the Fleet.
    HostName string
    The hostname of the managed instance.
    Id string
    The OCID to identify this analysis results.
    ManagedInstanceId string
    The Fleet-unique identifier of the related managed instance.
    Namespace string
    The Object Storage namespace of this analysis result.
    NonCompliantFindingCount int
    Total number of non-compliant findings with the analysis. A non-compliant finding means the application won't work properly with the changes introduced by the Crypto Roadmap version used by the analysis.
    Object string
    The Object Storage object name of this analysis result.
    SummarizedEventCount int
    Total number of summarized events. Summarized events are deduplicated events of interest.
    TimeCreated string
    The time the result is compiled.
    TimeFirstEvent string
    Time of the first event in the analysis.
    TimeLastEvent string
    Time of the last event in the analysis.
    TotalEventCount int
    Total number of events in the analysis.
    WorkRequestId string
    The OCID of the work request to start the analysis.
    aggregationMode String
    The aggregation mode of the crypto event analysis result.
    bucket String
    The Object Storage bucket name of this analysis result.
    cryptoRoadmapVersion String
    The Crypto Roadmap version used to perform the analysis.
    findingCount Integer
    Total number of findings with the analysis.
    fleetId String
    The OCID of the Fleet.
    hostName String
    The hostname of the managed instance.
    id String
    The OCID to identify this analysis results.
    managedInstanceId String
    The Fleet-unique identifier of the related managed instance.
    namespace String
    The Object Storage namespace of this analysis result.
    nonCompliantFindingCount Integer
    Total number of non-compliant findings with the analysis. A non-compliant finding means the application won't work properly with the changes introduced by the Crypto Roadmap version used by the analysis.
    object String
    The Object Storage object name of this analysis result.
    summarizedEventCount Integer
    Total number of summarized events. Summarized events are deduplicated events of interest.
    timeCreated String
    The time the result is compiled.
    timeFirstEvent String
    Time of the first event in the analysis.
    timeLastEvent String
    Time of the last event in the analysis.
    totalEventCount Integer
    Total number of events in the analysis.
    workRequestId String
    The OCID of the work request to start the analysis.
    aggregationMode string
    The aggregation mode of the crypto event analysis result.
    bucket string
    The Object Storage bucket name of this analysis result.
    cryptoRoadmapVersion string
    The Crypto Roadmap version used to perform the analysis.
    findingCount number
    Total number of findings with the analysis.
    fleetId string
    The OCID of the Fleet.
    hostName string
    The hostname of the managed instance.
    id string
    The OCID to identify this analysis results.
    managedInstanceId string
    The Fleet-unique identifier of the related managed instance.
    namespace string
    The Object Storage namespace of this analysis result.
    nonCompliantFindingCount number
    Total number of non-compliant findings with the analysis. A non-compliant finding means the application won't work properly with the changes introduced by the Crypto Roadmap version used by the analysis.
    object string
    The Object Storage object name of this analysis result.
    summarizedEventCount number
    Total number of summarized events. Summarized events are deduplicated events of interest.
    timeCreated string
    The time the result is compiled.
    timeFirstEvent string
    Time of the first event in the analysis.
    timeLastEvent string
    Time of the last event in the analysis.
    totalEventCount number
    Total number of events in the analysis.
    workRequestId string
    The OCID of the work request to start the analysis.
    aggregation_mode str
    The aggregation mode of the crypto event analysis result.
    bucket str
    The Object Storage bucket name of this analysis result.
    crypto_roadmap_version str
    The Crypto Roadmap version used to perform the analysis.
    finding_count int
    Total number of findings with the analysis.
    fleet_id str
    The OCID of the Fleet.
    host_name str
    The hostname of the managed instance.
    id str
    The OCID to identify this analysis results.
    managed_instance_id str
    The Fleet-unique identifier of the related managed instance.
    namespace str
    The Object Storage namespace of this analysis result.
    non_compliant_finding_count int
    Total number of non-compliant findings with the analysis. A non-compliant finding means the application won't work properly with the changes introduced by the Crypto Roadmap version used by the analysis.
    object str
    The Object Storage object name of this analysis result.
    summarized_event_count int
    Total number of summarized events. Summarized events are deduplicated events of interest.
    time_created str
    The time the result is compiled.
    time_first_event str
    Time of the first event in the analysis.
    time_last_event str
    Time of the last event in the analysis.
    total_event_count int
    Total number of events in the analysis.
    work_request_id str
    The OCID of the work request to start the analysis.
    aggregationMode String
    The aggregation mode of the crypto event analysis result.
    bucket String
    The Object Storage bucket name of this analysis result.
    cryptoRoadmapVersion String
    The Crypto Roadmap version used to perform the analysis.
    findingCount Number
    Total number of findings with the analysis.
    fleetId String
    The OCID of the Fleet.
    hostName String
    The hostname of the managed instance.
    id String
    The OCID to identify this analysis results.
    managedInstanceId String
    The Fleet-unique identifier of the related managed instance.
    namespace String
    The Object Storage namespace of this analysis result.
    nonCompliantFindingCount Number
    Total number of non-compliant findings with the analysis. A non-compliant finding means the application won't work properly with the changes introduced by the Crypto Roadmap version used by the analysis.
    object String
    The Object Storage object name of this analysis result.
    summarizedEventCount Number
    Total number of summarized events. Summarized events are deduplicated events of interest.
    timeCreated String
    The time the result is compiled.
    timeFirstEvent String
    Time of the first event in the analysis.
    timeLastEvent String
    Time of the last event in the analysis.
    totalEventCount Number
    Total number of events in the analysis.
    workRequestId String
    The OCID of the work request to start the analysis.

    GetFleetCryptoAnalysisResultsFilter

    Name string
    Values List<string>
    Regex bool
    Name string
    Values []string
    Regex bool
    name String
    values List<String>
    regex Boolean
    name string
    values string[]
    regex boolean
    name str
    values Sequence[str]
    regex bool
    name String
    values List<String>
    regex Boolean

    Package Details

    Repository
    oci pulumi/pulumi-oci
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the oci Terraform Provider.
    oci logo
    Oracle Cloud Infrastructure v1.23.0 published on Thursday, Feb 15, 2024 by Pulumi