Oracle Cloud Infrastructure v3.11.0 published on Thursday, Nov 13, 2025 by Pulumi
oci.FleetAppsManagement.getFleetComplianceReport
Oracle Cloud Infrastructure v3.11.0 published on Thursday, Nov 13, 2025 by Pulumi
This data source provides details about a specific Fleet Compliance Report resource in Oracle Cloud Infrastructure Fleet Apps Management service.
Retrieve compliance report for a fleet.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testFleetComplianceReport = oci.FleetAppsManagement.getFleetComplianceReport({
complianceReportId: testReport.id,
fleetId: testFleet.id,
});
import pulumi
import pulumi_oci as oci
test_fleet_compliance_report = oci.FleetAppsManagement.get_fleet_compliance_report(compliance_report_id=test_report["id"],
fleet_id=test_fleet["id"])
package main
import (
"github.com/pulumi/pulumi-oci/sdk/v3/go/oci/fleetappsmanagement"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := fleetappsmanagement.GetFleetComplianceReport(ctx, &fleetappsmanagement.GetFleetComplianceReportArgs{
ComplianceReportId: testReport.Id,
FleetId: testFleet.Id,
}, 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 testFleetComplianceReport = Oci.FleetAppsManagement.GetFleetComplianceReport.Invoke(new()
{
ComplianceReportId = testReport.Id,
FleetId = testFleet.Id,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.FleetAppsManagement.FleetAppsManagementFunctions;
import com.pulumi.oci.FleetAppsManagement.inputs.GetFleetComplianceReportArgs;
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 testFleetComplianceReport = FleetAppsManagementFunctions.getFleetComplianceReport(GetFleetComplianceReportArgs.builder()
.complianceReportId(testReport.id())
.fleetId(testFleet.id())
.build());
}
}
variables:
testFleetComplianceReport:
fn::invoke:
function: oci:FleetAppsManagement:getFleetComplianceReport
arguments:
complianceReportId: ${testReport.id}
fleetId: ${testFleet.id}
Using getFleetComplianceReport
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 getFleetComplianceReport(args: GetFleetComplianceReportArgs, opts?: InvokeOptions): Promise<GetFleetComplianceReportResult>
function getFleetComplianceReportOutput(args: GetFleetComplianceReportOutputArgs, opts?: InvokeOptions): Output<GetFleetComplianceReportResult>def get_fleet_compliance_report(compliance_report_id: Optional[str] = None,
fleet_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetFleetComplianceReportResult
def get_fleet_compliance_report_output(compliance_report_id: Optional[pulumi.Input[str]] = None,
fleet_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetFleetComplianceReportResult]func GetFleetComplianceReport(ctx *Context, args *GetFleetComplianceReportArgs, opts ...InvokeOption) (*GetFleetComplianceReportResult, error)
func GetFleetComplianceReportOutput(ctx *Context, args *GetFleetComplianceReportOutputArgs, opts ...InvokeOption) GetFleetComplianceReportResultOutput> Note: This function is named GetFleetComplianceReport in the Go SDK.
public static class GetFleetComplianceReport
{
public static Task<GetFleetComplianceReportResult> InvokeAsync(GetFleetComplianceReportArgs args, InvokeOptions? opts = null)
public static Output<GetFleetComplianceReportResult> Invoke(GetFleetComplianceReportInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetFleetComplianceReportResult> getFleetComplianceReport(GetFleetComplianceReportArgs args, InvokeOptions options)
public static Output<GetFleetComplianceReportResult> getFleetComplianceReport(GetFleetComplianceReportArgs args, InvokeOptions options)
fn::invoke:
function: oci:FleetAppsManagement/getFleetComplianceReport:getFleetComplianceReport
arguments:
# arguments dictionaryThe following arguments are supported:
- Compliance
Report stringId - compliance report identifier.
- Fleet
Id string - Unique Fleet identifier.
- Compliance
Report stringId - compliance report identifier.
- Fleet
Id string - Unique Fleet identifier.
- compliance
Report StringId - compliance report identifier.
- fleet
Id String - Unique Fleet identifier.
- compliance
Report stringId - compliance report identifier.
- fleet
Id string - Unique Fleet identifier.
- compliance_
report_ strid - compliance report identifier.
- fleet_
id str - Unique Fleet identifier.
- compliance
Report StringId - compliance report identifier.
- fleet
Id String - Unique Fleet identifier.
getFleetComplianceReport Result
The following output properties are available:
- Compliance
Report stringId - Compliance
State string - The last known compliance state of the target.
- Fleet
Id string - The fleet OCID.
- Id string
- The provider-assigned unique ID for this managed resource.
- Percent
Compliant double - The compliance percentage.
- Resources
List<Get
Fleet Compliance Report Resource> - Resources associated with the Fleet.
- Compliance
Report stringId - Compliance
State string - The last known compliance state of the target.
- Fleet
Id string - The fleet OCID.
- Id string
- The provider-assigned unique ID for this managed resource.
- Percent
Compliant float64 - The compliance percentage.
- Resources
[]Get
Fleet Compliance Report Resource - Resources associated with the Fleet.
- compliance
Report StringId - compliance
State String - The last known compliance state of the target.
- fleet
Id String - The fleet OCID.
- id String
- The provider-assigned unique ID for this managed resource.
- percent
Compliant Double - The compliance percentage.
- resources
List<Get
Fleet Compliance Report Resource> - Resources associated with the Fleet.
- compliance
Report stringId - compliance
State string - The last known compliance state of the target.
- fleet
Id string - The fleet OCID.
- id string
- The provider-assigned unique ID for this managed resource.
- percent
Compliant number - The compliance percentage.
- resources
Get
Fleet Compliance Report Resource[] - Resources associated with the Fleet.
- compliance_
report_ strid - compliance_
state str - The last known compliance state of the target.
- fleet_
id str - The fleet OCID.
- id str
- The provider-assigned unique ID for this managed resource.
- percent_
compliant float - The compliance percentage.
- resources
Sequence[Get
Fleet Compliance Report Resource] - Resources associated with the Fleet.
- compliance
Report StringId - compliance
State String - The last known compliance state of the target.
- fleet
Id String - The fleet OCID.
- id String
- The provider-assigned unique ID for this managed resource.
- percent
Compliant Number - The compliance percentage.
- resources List<Property Map>
- Resources associated with the Fleet.
Supporting Types
GetFleetComplianceReportResource
- Compartment string
- Compartment the resource belongs to.
- Compliance
State string - The last known compliance state of the target.
- Products
List<Get
Fleet Compliance Report Resource Product> - Products associated with the Fleet. Only the products belonging to managed targets will be shown.
- Resource
Id string - The OCID to identify the resource.
- Resource
Name string - Display name of the resource.
- Resource
Region string - The region the resource belongs to.
- Resource
Type string - Type of the resource.
- Tenancy
Id string - TenancyId of the resource.
- Tenancy
Name string - Tenancy the resource belongs to.
- Compartment string
- Compartment the resource belongs to.
- Compliance
State string - The last known compliance state of the target.
- Products
[]Get
Fleet Compliance Report Resource Product - Products associated with the Fleet. Only the products belonging to managed targets will be shown.
- Resource
Id string - The OCID to identify the resource.
- Resource
Name string - Display name of the resource.
- Resource
Region string - The region the resource belongs to.
- Resource
Type string - Type of the resource.
- Tenancy
Id string - TenancyId of the resource.
- Tenancy
Name string - Tenancy the resource belongs to.
- compartment String
- Compartment the resource belongs to.
- compliance
State String - The last known compliance state of the target.
- products
List<Get
Fleet Compliance Report Resource Product> - Products associated with the Fleet. Only the products belonging to managed targets will be shown.
- resource
Id String - The OCID to identify the resource.
- resource
Name String - Display name of the resource.
- resource
Region String - The region the resource belongs to.
- resource
Type String - Type of the resource.
- tenancy
Id String - TenancyId of the resource.
- tenancy
Name String - Tenancy the resource belongs to.
- compartment string
- Compartment the resource belongs to.
- compliance
State string - The last known compliance state of the target.
- products
Get
Fleet Compliance Report Resource Product[] - Products associated with the Fleet. Only the products belonging to managed targets will be shown.
- resource
Id string - The OCID to identify the resource.
- resource
Name string - Display name of the resource.
- resource
Region string - The region the resource belongs to.
- resource
Type string - Type of the resource.
- tenancy
Id string - TenancyId of the resource.
- tenancy
Name string - Tenancy the resource belongs to.
- compartment str
- Compartment the resource belongs to.
- compliance_
state str - The last known compliance state of the target.
- products
Sequence[Get
Fleet Compliance Report Resource Product] - Products associated with the Fleet. Only the products belonging to managed targets will be shown.
- resource_
id str - The OCID to identify the resource.
- resource_
name str - Display name of the resource.
- resource_
region str - The region the resource belongs to.
- resource_
type str - Type of the resource.
- tenancy_
id str - TenancyId of the resource.
- tenancy_
name str - Tenancy the resource belongs to.
- compartment String
- Compartment the resource belongs to.
- compliance
State String - The last known compliance state of the target.
- products List<Property Map>
- Products associated with the Fleet. Only the products belonging to managed targets will be shown.
- resource
Id String - The OCID to identify the resource.
- resource
Name String - Display name of the resource.
- resource
Region String - The region the resource belongs to.
- resource
Type String - Type of the resource.
- tenancy
Id String - TenancyId of the resource.
- tenancy
Name String - Tenancy the resource belongs to.
GetFleetComplianceReportResourceProduct
- Product
Name string - Product Name.
- Targets
List<Get
Fleet Compliance Report Resource Product Target> - Managed Targets associated with the Product.
- Product
Name string - Product Name.
- Targets
[]Get
Fleet Compliance Report Resource Product Target - Managed Targets associated with the Product.
- product
Name String - Product Name.
- targets
List<Get
Fleet Compliance Report Resource Product Target> - Managed Targets associated with the Product.
- product
Name string - Product Name.
- targets
Get
Fleet Compliance Report Resource Product Target[] - Managed Targets associated with the Product.
- product_
name str - Product Name.
- targets
Sequence[Get
Fleet Compliance Report Resource Product Target] - Managed Targets associated with the Product.
- product
Name String - Product Name.
- targets List<Property Map>
- Managed Targets associated with the Product.
GetFleetComplianceReportResourceProductTarget
- Compliance
State string - The last known compliance state of the target.
- Installed
Patches List<GetFleet Compliance Report Resource Product Target Installed Patch> - Installed Patches for the Target.
- Recommended
Patches List<GetFleet Compliance Report Resource Product Target Recommended Patch> - Recommended Patches for the Target.
- Target
Id string - Target Identifier.Can be the target name if a separate ID is not available.
- Target
Name string - Target Name.
- Version string
- Current version of the target.
- Compliance
State string - The last known compliance state of the target.
- Installed
Patches []GetFleet Compliance Report Resource Product Target Installed Patch - Installed Patches for the Target.
- Recommended
Patches []GetFleet Compliance Report Resource Product Target Recommended Patch - Recommended Patches for the Target.
- Target
Id string - Target Identifier.Can be the target name if a separate ID is not available.
- Target
Name string - Target Name.
- Version string
- Current version of the target.
- compliance
State String - The last known compliance state of the target.
- installed
Patches List<GetFleet Compliance Report Resource Product Target Installed Patch> - Installed Patches for the Target.
- recommended
Patches List<GetFleet Compliance Report Resource Product Target Recommended Patch> - Recommended Patches for the Target.
- target
Id String - Target Identifier.Can be the target name if a separate ID is not available.
- target
Name String - Target Name.
- version String
- Current version of the target.
- compliance
State string - The last known compliance state of the target.
- installed
Patches GetFleet Compliance Report Resource Product Target Installed Patch[] - Installed Patches for the Target.
- recommended
Patches GetFleet Compliance Report Resource Product Target Recommended Patch[] - Recommended Patches for the Target.
- target
Id string - Target Identifier.Can be the target name if a separate ID is not available.
- target
Name string - Target Name.
- version string
- Current version of the target.
- compliance_
state str - The last known compliance state of the target.
- installed_
patches Sequence[GetFleet Compliance Report Resource Product Target Installed Patch] - Installed Patches for the Target.
- recommended_
patches Sequence[GetFleet Compliance Report Resource Product Target Recommended Patch] - Recommended Patches for the Target.
- target_
id str - Target Identifier.Can be the target name if a separate ID is not available.
- target_
name str - Target Name.
- version str
- Current version of the target.
- compliance
State String - The last known compliance state of the target.
- installed
Patches List<Property Map> - Installed Patches for the Target.
- recommended
Patches List<Property Map> - Recommended Patches for the Target.
- target
Id String - Target Identifier.Can be the target name if a separate ID is not available.
- target
Name String - Target Name.
- version String
- Current version of the target.
GetFleetComplianceReportResourceProductTargetInstalledPatch
- Patch
Description string - Patch description.
- Patch
Name string - Patch name.
- Patch
Type string - Type of patch.
- Time
Applied string - Time the patch was applied.
- Time
Released string - The date on which patch was released.
- Patch
Description string - Patch description.
- Patch
Name string - Patch name.
- Patch
Type string - Type of patch.
- Time
Applied string - Time the patch was applied.
- Time
Released string - The date on which patch was released.
- patch
Description String - Patch description.
- patch
Name String - Patch name.
- patch
Type String - Type of patch.
- time
Applied String - Time the patch was applied.
- time
Released String - The date on which patch was released.
- patch
Description string - Patch description.
- patch
Name string - Patch name.
- patch
Type string - Type of patch.
- time
Applied string - Time the patch was applied.
- time
Released string - The date on which patch was released.
- patch_
description str - Patch description.
- patch_
name str - Patch name.
- patch_
type str - Type of patch.
- time_
applied str - Time the patch was applied.
- time_
released str - The date on which patch was released.
- patch
Description String - Patch description.
- patch
Name String - Patch name.
- patch
Type String - Type of patch.
- time
Applied String - Time the patch was applied.
- time
Released String - The date on which patch was released.
GetFleetComplianceReportResourceProductTargetRecommendedPatch
- Patch
Description string - Patch description.
- Patch
Name string - Patch name.
- Patch
Type string - Type of patch.
- Time
Applied string - Time the patch was applied.
- Time
Released string - The date on which patch was released.
- Patch
Description string - Patch description.
- Patch
Name string - Patch name.
- Patch
Type string - Type of patch.
- Time
Applied string - Time the patch was applied.
- Time
Released string - The date on which patch was released.
- patch
Description String - Patch description.
- patch
Name String - Patch name.
- patch
Type String - Type of patch.
- time
Applied String - Time the patch was applied.
- time
Released String - The date on which patch was released.
- patch
Description string - Patch description.
- patch
Name string - Patch name.
- patch
Type string - Type of patch.
- time
Applied string - Time the patch was applied.
- time
Released string - The date on which patch was released.
- patch_
description str - Patch description.
- patch_
name str - Patch name.
- patch_
type str - Type of patch.
- time_
applied str - Time the patch was applied.
- time_
released str - The date on which patch was released.
- patch
Description String - Patch description.
- patch
Name String - Patch name.
- patch
Type String - Type of patch.
- time
Applied String - Time the patch was applied.
- time
Released String - The date on which patch was released.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
ociTerraform Provider.
Oracle Cloud Infrastructure v3.11.0 published on Thursday, Nov 13, 2025 by Pulumi
