Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 by Pulumi
oci.Adm.getRemediationRunApplicationDependencyRecommendations
Explore with Pulumi AI
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/v2/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:
- Remediation
Run stringId - Unique Remediation Run identifier path parameter.
- Filters
List<Get
Remediation Run Application Dependency Recommendations Filter> - 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 stringId - Unique Remediation Run identifier path parameter.
- Filters
[]Get
Remediation Run Application Dependency Recommendations Filter - 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 StringId - Unique Remediation Run identifier path parameter.
- filters
List<Get
Remediation Run Application Dependency Recommendations Filter> - 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 stringId - Unique Remediation Run identifier path parameter.
- filters
Get
Remediation Run Application Dependency Recommendations Filter[] - 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_ strid - Unique Remediation Run identifier path parameter.
- filters
Sequence[adm.
Get Remediation Run Application Dependency Recommendations Filter] - 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/).
- remediation
Run StringId - 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:
- Application
Dependency List<GetRecommendation Collections Remediation Run Application Dependency Recommendations Application Dependency Recommendation Collection> - The list of application_dependency_recommendation_collection.
- Id string
- The provider-assigned unique ID for this managed resource.
- Remediation
Run stringId - Filters
List<Get
Remediation Run Application Dependency Recommendations Filter> - 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 []GetRecommendation Collections Remediation Run Application Dependency Recommendations Application Dependency Recommendation Collection - The list of application_dependency_recommendation_collection.
- Id string
- The provider-assigned unique ID for this managed resource.
- Remediation
Run stringId - Filters
[]Get
Remediation Run Application Dependency Recommendations Filter - 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 List<GetRecommendation Collections Remediation Run Application Dependency Recommendations Application Dependency Recommendation Collection> - The list of application_dependency_recommendation_collection.
- id String
- The provider-assigned unique ID for this managed resource.
- remediation
Run StringId - filters
List<Get
Remediation Run Application Dependency Recommendations Filter> - 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 GetRecommendation Collections Remediation Run Application Dependency Recommendations Application Dependency Recommendation Collection[] - The list of application_dependency_recommendation_collection.
- id string
- The provider-assigned unique ID for this managed resource.
- remediation
Run stringId - filters
Get
Remediation Run Application Dependency Recommendations Filter[] - 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_ Sequence[adm.recommendation_ collections Get Remediation Run Application Dependency Recommendations Application Dependency Recommendation Collection] - The list of application_dependency_recommendation_collection.
- id str
- The provider-assigned unique ID for this managed resource.
- remediation_
run_ strid - filters
Sequence[adm.
Get Remediation Run Application Dependency Recommendations Filter] - 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
- application
Dependency List<Property Map>Recommendation Collections - The list of application_dependency_recommendation_collection.
- id String
- The provider-assigned unique ID for this managed resource.
- remediation
Run StringId - 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<Get
Remediation Run Application Dependency Recommendations Application Dependency Recommendation Collection Item> - List of application recommendation summaries.
- Items
[]Get
Remediation Run Application Dependency Recommendations Application Dependency Recommendation Collection Item - List of application recommendation summaries.
- items
List<Get
Remediation Run Application Dependency Recommendations Application Dependency Recommendation Collection Item> - List of application recommendation summaries.
- items
Get
Remediation Run Application Dependency Recommendations Application Dependency Recommendation Collection Item[] - List of application recommendation summaries.
- items
Sequence[adm.
Get Remediation Run Application Dependency Recommendations Application Dependency Recommendation Collection Item] - List of application recommendation summaries.
- items List<Property Map>
- List of application recommendation summaries.
GetRemediationRunApplicationDependencyRecommendationsApplicationDependencyRecommendationCollectionItem
- Application
Dependency List<string>Node Ids - 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.
- Node
Id 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/).
- Recommended
Gav string - Recommended application dependency in "group:artifact:version" (GAV) format, e.g. org.graalvm.nativeimage:svm:21.2.0.
- Recommended
Purl string - Recommended application dependency in PURL format, e.g. pkg:maven/org.graalvm.nativeimage/svm@21.2.0
- Application
Dependency []stringNode Ids - 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.
- Node
Id 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/).
- Recommended
Gav string - Recommended application dependency in "group:artifact:version" (GAV) format, e.g. org.graalvm.nativeimage:svm:21.2.0.
- Recommended
Purl string - Recommended application dependency in PURL format, e.g. pkg:maven/org.graalvm.nativeimage/svm@21.2.0
- application
Dependency List<String>Node Ids - 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.
- node
Id 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/).
- recommended
Gav String - Recommended application dependency in "group:artifact:version" (GAV) format, e.g. org.graalvm.nativeimage:svm:21.2.0.
- recommended
Purl String - Recommended application dependency in PURL format, e.g. pkg:maven/org.graalvm.nativeimage/svm@21.2.0
- application
Dependency string[]Node Ids - 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.
- node
Id 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/).
- recommended
Gav string - Recommended application dependency in "group:artifact:version" (GAV) format, e.g. org.graalvm.nativeimage:svm:21.2.0.
- recommended
Purl string - Recommended application dependency in PURL format, e.g. pkg:maven/org.graalvm.nativeimage/svm@21.2.0
- application_
dependency_ Sequence[str]node_ ids - 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
- application
Dependency List<String>Node Ids - 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.
- node
Id 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/).
- recommended
Gav String - Recommended application dependency in "group:artifact:version" (GAV) format, e.g. org.graalvm.nativeimage:svm:21.2.0.
- recommended
Purl String - Recommended application dependency in PURL format, e.g. pkg:maven/org.graalvm.nativeimage/svm@21.2.0
GetRemediationRunApplicationDependencyRecommendationsFilter
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
oci
Terraform Provider.