1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. Adm
  5. getRemediationRunApplicationDependencyRecommendations
Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi

oci.Adm.getRemediationRunApplicationDependencyRecommendations

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi

    This data source provides the list of Remediation Run Application Dependency Recommendations in Oracle Cloud Infrastructure Adm service.

    Returns a list of application dependency with their associated recommendations.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testRemediationRunApplicationDependencyRecommendations = oci.Adm.getRemediationRunApplicationDependencyRecommendations({
        remediationRunId: testRemediationRun.id,
        gav: remediationRunApplicationDependencyRecommendationGav,
        purl: remediationRunApplicationDependencyRecommendationPurl,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_remediation_run_application_dependency_recommendations = oci.Adm.get_remediation_run_application_dependency_recommendations(remediation_run_id=test_remediation_run["id"],
        gav=remediation_run_application_dependency_recommendation_gav,
        purl=remediation_run_application_dependency_recommendation_purl)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-oci/sdk/go/oci/Adm"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := Adm.GetRemediationRunApplicationDependencyRecommendations(ctx, &adm.GetRemediationRunApplicationDependencyRecommendationsArgs{
    			RemediationRunId: testRemediationRun.Id,
    			Gav:              pulumi.StringRef(remediationRunApplicationDependencyRecommendationGav),
    			Purl:             pulumi.StringRef(remediationRunApplicationDependencyRecommendationPurl),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Oci = Pulumi.Oci;
    
    return await Deployment.RunAsync(() => 
    {
        var testRemediationRunApplicationDependencyRecommendations = Oci.Adm.GetRemediationRunApplicationDependencyRecommendations.Invoke(new()
        {
            RemediationRunId = testRemediationRun.Id,
            Gav = remediationRunApplicationDependencyRecommendationGav,
            Purl = remediationRunApplicationDependencyRecommendationPurl,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.oci.Adm.AdmFunctions;
    import com.pulumi.oci.Adm.inputs.GetRemediationRunApplicationDependencyRecommendationsArgs;
    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 testRemediationRunApplicationDependencyRecommendations = AdmFunctions.getRemediationRunApplicationDependencyRecommendations(GetRemediationRunApplicationDependencyRecommendationsArgs.builder()
                .remediationRunId(testRemediationRun.id())
                .gav(remediationRunApplicationDependencyRecommendationGav)
                .purl(remediationRunApplicationDependencyRecommendationPurl)
                .build());
    
        }
    }
    
    variables:
      testRemediationRunApplicationDependencyRecommendations:
        fn::invoke:
          Function: oci:Adm:getRemediationRunApplicationDependencyRecommendations
          Arguments:
            remediationRunId: ${testRemediationRun.id}
            gav: ${remediationRunApplicationDependencyRecommendationGav}
            purl: ${remediationRunApplicationDependencyRecommendationPurl}
    

    Using getRemediationRunApplicationDependencyRecommendations

    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 getRemediationRunApplicationDependencyRecommendations(args: GetRemediationRunApplicationDependencyRecommendationsArgs, opts?: InvokeOptions): Promise<GetRemediationRunApplicationDependencyRecommendationsResult>
    function getRemediationRunApplicationDependencyRecommendationsOutput(args: GetRemediationRunApplicationDependencyRecommendationsOutputArgs, opts?: InvokeOptions): Output<GetRemediationRunApplicationDependencyRecommendationsResult>
    def get_remediation_run_application_dependency_recommendations(filters: Optional[Sequence[_adm.GetRemediationRunApplicationDependencyRecommendationsFilter]] = None,
                                                                   gav: Optional[str] = None,
                                                                   purl: Optional[str] = None,
                                                                   remediation_run_id: Optional[str] = None,
                                                                   opts: Optional[InvokeOptions] = None) -> GetRemediationRunApplicationDependencyRecommendationsResult
    def get_remediation_run_application_dependency_recommendations_output(filters: Optional[pulumi.Input[Sequence[pulumi.Input[_adm.GetRemediationRunApplicationDependencyRecommendationsFilterArgs]]]] = None,
                                                                   gav: Optional[pulumi.Input[str]] = None,
                                                                   purl: Optional[pulumi.Input[str]] = None,
                                                                   remediation_run_id: Optional[pulumi.Input[str]] = None,
                                                                   opts: Optional[InvokeOptions] = None) -> Output[GetRemediationRunApplicationDependencyRecommendationsResult]
    func GetRemediationRunApplicationDependencyRecommendations(ctx *Context, args *GetRemediationRunApplicationDependencyRecommendationsArgs, opts ...InvokeOption) (*GetRemediationRunApplicationDependencyRecommendationsResult, error)
    func GetRemediationRunApplicationDependencyRecommendationsOutput(ctx *Context, args *GetRemediationRunApplicationDependencyRecommendationsOutputArgs, opts ...InvokeOption) GetRemediationRunApplicationDependencyRecommendationsResultOutput

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

    public static class GetRemediationRunApplicationDependencyRecommendations 
    {
        public static Task<GetRemediationRunApplicationDependencyRecommendationsResult> InvokeAsync(GetRemediationRunApplicationDependencyRecommendationsArgs args, InvokeOptions? opts = null)
        public static Output<GetRemediationRunApplicationDependencyRecommendationsResult> Invoke(GetRemediationRunApplicationDependencyRecommendationsInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetRemediationRunApplicationDependencyRecommendationsResult> getRemediationRunApplicationDependencyRecommendations(GetRemediationRunApplicationDependencyRecommendationsArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: oci:Adm/getRemediationRunApplicationDependencyRecommendations:getRemediationRunApplicationDependencyRecommendations
      arguments:
        # arguments dictionary

    The following arguments are supported:

    RemediationRunId string
    Unique Remediation Run identifier path parameter.
    Filters List<GetRemediationRunApplicationDependencyRecommendationsFilter>
    Gav string
    A filter to return only resources that match the entire GAV (Group Artifact Version) identifier given.
    Purl string
    A filter to return only resources that match the entire PURL given (https://github.com/package-url/purl-spec/).
    RemediationRunId string
    Unique Remediation Run identifier path parameter.
    Filters []GetRemediationRunApplicationDependencyRecommendationsFilter
    Gav string
    A filter to return only resources that match the entire GAV (Group Artifact Version) identifier given.
    Purl string
    A filter to return only resources that match the entire PURL given (https://github.com/package-url/purl-spec/).
    remediationRunId String
    Unique Remediation Run identifier path parameter.
    filters List<GetRemediationRunApplicationDependencyRecommendationsFilter>
    gav String
    A filter to return only resources that match the entire GAV (Group Artifact Version) identifier given.
    purl String
    A filter to return only resources that match the entire PURL given (https://github.com/package-url/purl-spec/).
    remediationRunId string
    Unique Remediation Run identifier path parameter.
    filters GetRemediationRunApplicationDependencyRecommendationsFilter[]
    gav string
    A filter to return only resources that match the entire GAV (Group Artifact Version) identifier given.
    purl string
    A filter to return only resources that match the entire PURL given (https://github.com/package-url/purl-spec/).
    remediation_run_id str
    Unique Remediation Run identifier path parameter.
    filters Sequence[adm.GetRemediationRunApplicationDependencyRecommendationsFilter]
    gav str
    A filter to return only resources that match the entire GAV (Group Artifact Version) identifier given.
    purl str
    A filter to return only resources that match the entire PURL given (https://github.com/package-url/purl-spec/).
    remediationRunId String
    Unique Remediation Run identifier path parameter.
    filters List<Property Map>
    gav String
    A filter to return only resources that match the entire GAV (Group Artifact Version) identifier given.
    purl String
    A filter to return only resources that match the entire PURL given (https://github.com/package-url/purl-spec/).

    getRemediationRunApplicationDependencyRecommendations Result

    The following output properties are available:

    ApplicationDependencyRecommendationCollections List<GetRemediationRunApplicationDependencyRecommendationsApplicationDependencyRecommendationCollection>
    The list of application_dependency_recommendation_collection.
    Id string
    The provider-assigned unique ID for this managed resource.
    RemediationRunId string
    Filters List<GetRemediationRunApplicationDependencyRecommendationsFilter>
    Gav string
    Unique Group Artifact Version (GAV) identifier in the format Group:Artifact:Version, e.g. org.graalvm.nativeimage:svm:21.1.0.
    Purl string
    Package URL defined in https://github.com/package-url/purl-spec, e.g. pkg:maven/org.graalvm.nativeimage/svm@21.1.0
    ApplicationDependencyRecommendationCollections []GetRemediationRunApplicationDependencyRecommendationsApplicationDependencyRecommendationCollection
    The list of application_dependency_recommendation_collection.
    Id string
    The provider-assigned unique ID for this managed resource.
    RemediationRunId string
    Filters []GetRemediationRunApplicationDependencyRecommendationsFilter
    Gav string
    Unique Group Artifact Version (GAV) identifier in the format Group:Artifact:Version, e.g. org.graalvm.nativeimage:svm:21.1.0.
    Purl string
    Package URL defined in https://github.com/package-url/purl-spec, e.g. pkg:maven/org.graalvm.nativeimage/svm@21.1.0
    applicationDependencyRecommendationCollections List<GetRemediationRunApplicationDependencyRecommendationsApplicationDependencyRecommendationCollection>
    The list of application_dependency_recommendation_collection.
    id String
    The provider-assigned unique ID for this managed resource.
    remediationRunId String
    filters List<GetRemediationRunApplicationDependencyRecommendationsFilter>
    gav String
    Unique Group Artifact Version (GAV) identifier in the format Group:Artifact:Version, e.g. org.graalvm.nativeimage:svm:21.1.0.
    purl String
    Package URL defined in https://github.com/package-url/purl-spec, e.g. pkg:maven/org.graalvm.nativeimage/svm@21.1.0
    applicationDependencyRecommendationCollections GetRemediationRunApplicationDependencyRecommendationsApplicationDependencyRecommendationCollection[]
    The list of application_dependency_recommendation_collection.
    id string
    The provider-assigned unique ID for this managed resource.
    remediationRunId string
    filters GetRemediationRunApplicationDependencyRecommendationsFilter[]
    gav string
    Unique Group Artifact Version (GAV) identifier in the format Group:Artifact:Version, e.g. org.graalvm.nativeimage:svm:21.1.0.
    purl string
    Package URL defined in https://github.com/package-url/purl-spec, e.g. pkg:maven/org.graalvm.nativeimage/svm@21.1.0
    application_dependency_recommendation_collections Sequence[adm.GetRemediationRunApplicationDependencyRecommendationsApplicationDependencyRecommendationCollection]
    The list of application_dependency_recommendation_collection.
    id str
    The provider-assigned unique ID for this managed resource.
    remediation_run_id str
    filters Sequence[adm.GetRemediationRunApplicationDependencyRecommendationsFilter]
    gav str
    Unique Group Artifact Version (GAV) identifier in the format Group:Artifact:Version, e.g. org.graalvm.nativeimage:svm:21.1.0.
    purl str
    Package URL defined in https://github.com/package-url/purl-spec, e.g. pkg:maven/org.graalvm.nativeimage/svm@21.1.0
    applicationDependencyRecommendationCollections List<Property Map>
    The list of application_dependency_recommendation_collection.
    id String
    The provider-assigned unique ID for this managed resource.
    remediationRunId String
    filters List<Property Map>
    gav String
    Unique Group Artifact Version (GAV) identifier in the format Group:Artifact:Version, e.g. org.graalvm.nativeimage:svm:21.1.0.
    purl String
    Package URL defined in https://github.com/package-url/purl-spec, e.g. pkg:maven/org.graalvm.nativeimage/svm@21.1.0

    Supporting Types

    GetRemediationRunApplicationDependencyRecommendationsApplicationDependencyRecommendationCollection

    items List<Property Map>
    List of application recommendation summaries.

    GetRemediationRunApplicationDependencyRecommendationsApplicationDependencyRecommendationCollectionItem

    ApplicationDependencyNodeIds List<string>
    List of (application dependencies) node identifiers from which this node depends.
    Gav string
    A filter to return only resources that match the entire GAV (Group Artifact Version) identifier given.
    NodeId string
    Unique node identifier of an application dependency with an associated Recommendation, e.g. nodeId1.
    Purl string
    A filter to return only resources that match the entire PURL given (https://github.com/package-url/purl-spec/).
    RecommendedGav string
    Recommended application dependency in "group:artifact:version" (GAV) format, e.g. org.graalvm.nativeimage:svm:21.2.0.
    RecommendedPurl string
    Recommended application dependency in PURL format, e.g. pkg:maven/org.graalvm.nativeimage/svm@21.2.0
    ApplicationDependencyNodeIds []string
    List of (application dependencies) node identifiers from which this node depends.
    Gav string
    A filter to return only resources that match the entire GAV (Group Artifact Version) identifier given.
    NodeId string
    Unique node identifier of an application dependency with an associated Recommendation, e.g. nodeId1.
    Purl string
    A filter to return only resources that match the entire PURL given (https://github.com/package-url/purl-spec/).
    RecommendedGav string
    Recommended application dependency in "group:artifact:version" (GAV) format, e.g. org.graalvm.nativeimage:svm:21.2.0.
    RecommendedPurl string
    Recommended application dependency in PURL format, e.g. pkg:maven/org.graalvm.nativeimage/svm@21.2.0
    applicationDependencyNodeIds List<String>
    List of (application dependencies) node identifiers from which this node depends.
    gav String
    A filter to return only resources that match the entire GAV (Group Artifact Version) identifier given.
    nodeId String
    Unique node identifier of an application dependency with an associated Recommendation, e.g. nodeId1.
    purl String
    A filter to return only resources that match the entire PURL given (https://github.com/package-url/purl-spec/).
    recommendedGav String
    Recommended application dependency in "group:artifact:version" (GAV) format, e.g. org.graalvm.nativeimage:svm:21.2.0.
    recommendedPurl String
    Recommended application dependency in PURL format, e.g. pkg:maven/org.graalvm.nativeimage/svm@21.2.0
    applicationDependencyNodeIds string[]
    List of (application dependencies) node identifiers from which this node depends.
    gav string
    A filter to return only resources that match the entire GAV (Group Artifact Version) identifier given.
    nodeId string
    Unique node identifier of an application dependency with an associated Recommendation, e.g. nodeId1.
    purl string
    A filter to return only resources that match the entire PURL given (https://github.com/package-url/purl-spec/).
    recommendedGav string
    Recommended application dependency in "group:artifact:version" (GAV) format, e.g. org.graalvm.nativeimage:svm:21.2.0.
    recommendedPurl string
    Recommended application dependency in PURL format, e.g. pkg:maven/org.graalvm.nativeimage/svm@21.2.0
    application_dependency_node_ids Sequence[str]
    List of (application dependencies) node identifiers from which this node depends.
    gav str
    A filter to return only resources that match the entire GAV (Group Artifact Version) identifier given.
    node_id str
    Unique node identifier of an application dependency with an associated Recommendation, e.g. nodeId1.
    purl str
    A filter to return only resources that match the entire PURL given (https://github.com/package-url/purl-spec/).
    recommended_gav str
    Recommended application dependency in "group:artifact:version" (GAV) format, e.g. org.graalvm.nativeimage:svm:21.2.0.
    recommended_purl str
    Recommended application dependency in PURL format, e.g. pkg:maven/org.graalvm.nativeimage/svm@21.2.0
    applicationDependencyNodeIds List<String>
    List of (application dependencies) node identifiers from which this node depends.
    gav String
    A filter to return only resources that match the entire GAV (Group Artifact Version) identifier given.
    nodeId String
    Unique node identifier of an application dependency with an associated Recommendation, e.g. nodeId1.
    purl String
    A filter to return only resources that match the entire PURL given (https://github.com/package-url/purl-spec/).
    recommendedGav String
    Recommended application dependency in "group:artifact:version" (GAV) format, e.g. org.graalvm.nativeimage:svm:21.2.0.
    recommendedPurl String
    Recommended application dependency in PURL format, e.g. pkg:maven/org.graalvm.nativeimage/svm@21.2.0

    GetRemediationRunApplicationDependencyRecommendationsFilter

    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.41.0 published on Wednesday, Jun 19, 2024 by Pulumi