1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. DataSafe
  5. getAuditProfileCollectedAuditVolume
Oracle Cloud Infrastructure v2.31.0 published on Thursday, Apr 17, 2025 by Pulumi

oci.DataSafe.getAuditProfileCollectedAuditVolume

Explore with Pulumi AI

This data source provides details about a specific Audit Profile Collected Audit Volume resource in Oracle Cloud Infrastructure Data Safe service.

Gets a list of all collected audit volume data points.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";

const testAuditProfileCollectedAuditVolume = oci.DataSafe.getAuditProfileCollectedAuditVolume({
    auditProfileId: testAuditProfile.id,
    workRequestId: testWorkRequest.id,
    monthInConsiderationGreaterThan: auditProfileCollectedAuditVolumeMonthInConsiderationGreaterThan,
    monthInConsiderationLessThan: auditProfileCollectedAuditVolumeMonthInConsiderationLessThan,
});
Copy
import pulumi
import pulumi_oci as oci

test_audit_profile_collected_audit_volume = oci.DataSafe.get_audit_profile_collected_audit_volume(audit_profile_id=test_audit_profile["id"],
    work_request_id=test_work_request["id"],
    month_in_consideration_greater_than=audit_profile_collected_audit_volume_month_in_consideration_greater_than,
    month_in_consideration_less_than=audit_profile_collected_audit_volume_month_in_consideration_less_than)
Copy
package main

import (
	"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/datasafe"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := datasafe.GetAuditProfileCollectedAuditVolume(ctx, &datasafe.GetAuditProfileCollectedAuditVolumeArgs{
			AuditProfileId:                  testAuditProfile.Id,
			WorkRequestId:                   testWorkRequest.Id,
			MonthInConsiderationGreaterThan: pulumi.StringRef(auditProfileCollectedAuditVolumeMonthInConsiderationGreaterThan),
			MonthInConsiderationLessThan:    pulumi.StringRef(auditProfileCollectedAuditVolumeMonthInConsiderationLessThan),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Oci = Pulumi.Oci;

return await Deployment.RunAsync(() => 
{
    var testAuditProfileCollectedAuditVolume = Oci.DataSafe.GetAuditProfileCollectedAuditVolume.Invoke(new()
    {
        AuditProfileId = testAuditProfile.Id,
        WorkRequestId = testWorkRequest.Id,
        MonthInConsiderationGreaterThan = auditProfileCollectedAuditVolumeMonthInConsiderationGreaterThan,
        MonthInConsiderationLessThan = auditProfileCollectedAuditVolumeMonthInConsiderationLessThan,
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.DataSafe.DataSafeFunctions;
import com.pulumi.oci.DataSafe.inputs.GetAuditProfileCollectedAuditVolumeArgs;
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 testAuditProfileCollectedAuditVolume = DataSafeFunctions.getAuditProfileCollectedAuditVolume(GetAuditProfileCollectedAuditVolumeArgs.builder()
            .auditProfileId(testAuditProfile.id())
            .workRequestId(testWorkRequest.id())
            .monthInConsiderationGreaterThan(auditProfileCollectedAuditVolumeMonthInConsiderationGreaterThan)
            .monthInConsiderationLessThan(auditProfileCollectedAuditVolumeMonthInConsiderationLessThan)
            .build());

    }
}
Copy
variables:
  testAuditProfileCollectedAuditVolume:
    fn::invoke:
      function: oci:DataSafe:getAuditProfileCollectedAuditVolume
      arguments:
        auditProfileId: ${testAuditProfile.id}
        workRequestId: ${testWorkRequest.id}
        monthInConsiderationGreaterThan: ${auditProfileCollectedAuditVolumeMonthInConsiderationGreaterThan}
        monthInConsiderationLessThan: ${auditProfileCollectedAuditVolumeMonthInConsiderationLessThan}
Copy

Using getAuditProfileCollectedAuditVolume

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 getAuditProfileCollectedAuditVolume(args: GetAuditProfileCollectedAuditVolumeArgs, opts?: InvokeOptions): Promise<GetAuditProfileCollectedAuditVolumeResult>
function getAuditProfileCollectedAuditVolumeOutput(args: GetAuditProfileCollectedAuditVolumeOutputArgs, opts?: InvokeOptions): Output<GetAuditProfileCollectedAuditVolumeResult>
Copy
def get_audit_profile_collected_audit_volume(audit_profile_id: Optional[str] = None,
                                             month_in_consideration_greater_than: Optional[str] = None,
                                             month_in_consideration_less_than: Optional[str] = None,
                                             work_request_id: Optional[str] = None,
                                             opts: Optional[InvokeOptions] = None) -> GetAuditProfileCollectedAuditVolumeResult
def get_audit_profile_collected_audit_volume_output(audit_profile_id: Optional[pulumi.Input[str]] = None,
                                             month_in_consideration_greater_than: Optional[pulumi.Input[str]] = None,
                                             month_in_consideration_less_than: Optional[pulumi.Input[str]] = None,
                                             work_request_id: Optional[pulumi.Input[str]] = None,
                                             opts: Optional[InvokeOptions] = None) -> Output[GetAuditProfileCollectedAuditVolumeResult]
Copy
func GetAuditProfileCollectedAuditVolume(ctx *Context, args *GetAuditProfileCollectedAuditVolumeArgs, opts ...InvokeOption) (*GetAuditProfileCollectedAuditVolumeResult, error)
func GetAuditProfileCollectedAuditVolumeOutput(ctx *Context, args *GetAuditProfileCollectedAuditVolumeOutputArgs, opts ...InvokeOption) GetAuditProfileCollectedAuditVolumeResultOutput
Copy

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

public static class GetAuditProfileCollectedAuditVolume 
{
    public static Task<GetAuditProfileCollectedAuditVolumeResult> InvokeAsync(GetAuditProfileCollectedAuditVolumeArgs args, InvokeOptions? opts = null)
    public static Output<GetAuditProfileCollectedAuditVolumeResult> Invoke(GetAuditProfileCollectedAuditVolumeInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetAuditProfileCollectedAuditVolumeResult> getAuditProfileCollectedAuditVolume(GetAuditProfileCollectedAuditVolumeArgs args, InvokeOptions options)
public static Output<GetAuditProfileCollectedAuditVolumeResult> getAuditProfileCollectedAuditVolume(GetAuditProfileCollectedAuditVolumeArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: oci:DataSafe/getAuditProfileCollectedAuditVolume:getAuditProfileCollectedAuditVolume
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

AuditProfileId This property is required. string
The OCID of the audit.
WorkRequestId This property is required. string
The OCID of the work request.
MonthInConsiderationGreaterThan string

Specifying monthInConsiderationGreaterThan parameter will retrieve all items for which the event month is greater than the date and time specified, in the format defined by RFC3339.

Example: 2016-12-19T00:00:00.000Z

MonthInConsiderationLessThan string

Specifying monthInConsiderationLessThan parameter will retrieve all items for which the event month is less than the date and time specified, in the format defined by RFC3339.

Example: 2016-12-19T00:00:00.000Z

AuditProfileId This property is required. string
The OCID of the audit.
WorkRequestId This property is required. string
The OCID of the work request.
MonthInConsiderationGreaterThan string

Specifying monthInConsiderationGreaterThan parameter will retrieve all items for which the event month is greater than the date and time specified, in the format defined by RFC3339.

Example: 2016-12-19T00:00:00.000Z

MonthInConsiderationLessThan string

Specifying monthInConsiderationLessThan parameter will retrieve all items for which the event month is less than the date and time specified, in the format defined by RFC3339.

Example: 2016-12-19T00:00:00.000Z

auditProfileId This property is required. String
The OCID of the audit.
workRequestId This property is required. String
The OCID of the work request.
monthInConsiderationGreaterThan String

Specifying monthInConsiderationGreaterThan parameter will retrieve all items for which the event month is greater than the date and time specified, in the format defined by RFC3339.

Example: 2016-12-19T00:00:00.000Z

monthInConsiderationLessThan String

Specifying monthInConsiderationLessThan parameter will retrieve all items for which the event month is less than the date and time specified, in the format defined by RFC3339.

Example: 2016-12-19T00:00:00.000Z

auditProfileId This property is required. string
The OCID of the audit.
workRequestId This property is required. string
The OCID of the work request.
monthInConsiderationGreaterThan string

Specifying monthInConsiderationGreaterThan parameter will retrieve all items for which the event month is greater than the date and time specified, in the format defined by RFC3339.

Example: 2016-12-19T00:00:00.000Z

monthInConsiderationLessThan string

Specifying monthInConsiderationLessThan parameter will retrieve all items for which the event month is less than the date and time specified, in the format defined by RFC3339.

Example: 2016-12-19T00:00:00.000Z

audit_profile_id This property is required. str
The OCID of the audit.
work_request_id This property is required. str
The OCID of the work request.
month_in_consideration_greater_than str

Specifying monthInConsiderationGreaterThan parameter will retrieve all items for which the event month is greater than the date and time specified, in the format defined by RFC3339.

Example: 2016-12-19T00:00:00.000Z

month_in_consideration_less_than str

Specifying monthInConsiderationLessThan parameter will retrieve all items for which the event month is less than the date and time specified, in the format defined by RFC3339.

Example: 2016-12-19T00:00:00.000Z

auditProfileId This property is required. String
The OCID of the audit.
workRequestId This property is required. String
The OCID of the work request.
monthInConsiderationGreaterThan String

Specifying monthInConsiderationGreaterThan parameter will retrieve all items for which the event month is greater than the date and time specified, in the format defined by RFC3339.

Example: 2016-12-19T00:00:00.000Z

monthInConsiderationLessThan String

Specifying monthInConsiderationLessThan parameter will retrieve all items for which the event month is less than the date and time specified, in the format defined by RFC3339.

Example: 2016-12-19T00:00:00.000Z

getAuditProfileCollectedAuditVolume Result

The following output properties are available:

AuditProfileId string
The OCID of the audit profile resource.
Id string
The provider-assigned unique ID for this managed resource.
Items List<GetAuditProfileCollectedAuditVolumeItem>
Array of collected audit volume summary.
WorkRequestId string
MonthInConsiderationGreaterThan string
MonthInConsiderationLessThan string
AuditProfileId string
The OCID of the audit profile resource.
Id string
The provider-assigned unique ID for this managed resource.
Items []GetAuditProfileCollectedAuditVolumeItem
Array of collected audit volume summary.
WorkRequestId string
MonthInConsiderationGreaterThan string
MonthInConsiderationLessThan string
auditProfileId String
The OCID of the audit profile resource.
id String
The provider-assigned unique ID for this managed resource.
items List<GetAuditProfileCollectedAuditVolumeItem>
Array of collected audit volume summary.
workRequestId String
monthInConsiderationGreaterThan String
monthInConsiderationLessThan String
auditProfileId string
The OCID of the audit profile resource.
id string
The provider-assigned unique ID for this managed resource.
items GetAuditProfileCollectedAuditVolumeItem[]
Array of collected audit volume summary.
workRequestId string
monthInConsiderationGreaterThan string
monthInConsiderationLessThan string
audit_profile_id str
The OCID of the audit profile resource.
id str
The provider-assigned unique ID for this managed resource.
items Sequence[datasafe.GetAuditProfileCollectedAuditVolumeItem]
Array of collected audit volume summary.
work_request_id str
month_in_consideration_greater_than str
month_in_consideration_less_than str
auditProfileId String
The OCID of the audit profile resource.
id String
The provider-assigned unique ID for this managed resource.
items List<Property Map>
Array of collected audit volume summary.
workRequestId String
monthInConsiderationGreaterThan String
monthInConsiderationLessThan String

Supporting Types

GetAuditProfileCollectedAuditVolumeItem

ArchivedVolume This property is required. string
The audit data volume collected by Data Safe and is available in archive storage.
AuditProfileId This property is required. string
The OCID of the audit.
MonthInConsideration This property is required. string
Represents the month under consideration in which the aggregated audit data volume collected by Data Safe is displayed. This field will be the UTC start of the day of the first day of the month for which the aggregate count corresponds to, in the format defined by RFC3339.. For instance, the value of 01-01-2021T00:00:00Z represents Jan 2021.
OnlineVolume This property is required. string
The audit data volume collected by Data Safe and is available online in repository.
ArchivedVolume This property is required. string
The audit data volume collected by Data Safe and is available in archive storage.
AuditProfileId This property is required. string
The OCID of the audit.
MonthInConsideration This property is required. string
Represents the month under consideration in which the aggregated audit data volume collected by Data Safe is displayed. This field will be the UTC start of the day of the first day of the month for which the aggregate count corresponds to, in the format defined by RFC3339.. For instance, the value of 01-01-2021T00:00:00Z represents Jan 2021.
OnlineVolume This property is required. string
The audit data volume collected by Data Safe and is available online in repository.
archivedVolume This property is required. String
The audit data volume collected by Data Safe and is available in archive storage.
auditProfileId This property is required. String
The OCID of the audit.
monthInConsideration This property is required. String
Represents the month under consideration in which the aggregated audit data volume collected by Data Safe is displayed. This field will be the UTC start of the day of the first day of the month for which the aggregate count corresponds to, in the format defined by RFC3339.. For instance, the value of 01-01-2021T00:00:00Z represents Jan 2021.
onlineVolume This property is required. String
The audit data volume collected by Data Safe and is available online in repository.
archivedVolume This property is required. string
The audit data volume collected by Data Safe and is available in archive storage.
auditProfileId This property is required. string
The OCID of the audit.
monthInConsideration This property is required. string
Represents the month under consideration in which the aggregated audit data volume collected by Data Safe is displayed. This field will be the UTC start of the day of the first day of the month for which the aggregate count corresponds to, in the format defined by RFC3339.. For instance, the value of 01-01-2021T00:00:00Z represents Jan 2021.
onlineVolume This property is required. string
The audit data volume collected by Data Safe and is available online in repository.
archived_volume This property is required. str
The audit data volume collected by Data Safe and is available in archive storage.
audit_profile_id This property is required. str
The OCID of the audit.
month_in_consideration This property is required. str
Represents the month under consideration in which the aggregated audit data volume collected by Data Safe is displayed. This field will be the UTC start of the day of the first day of the month for which the aggregate count corresponds to, in the format defined by RFC3339.. For instance, the value of 01-01-2021T00:00:00Z represents Jan 2021.
online_volume This property is required. str
The audit data volume collected by Data Safe and is available online in repository.
archivedVolume This property is required. String
The audit data volume collected by Data Safe and is available in archive storage.
auditProfileId This property is required. String
The OCID of the audit.
monthInConsideration This property is required. String
Represents the month under consideration in which the aggregated audit data volume collected by Data Safe is displayed. This field will be the UTC start of the day of the first day of the month for which the aggregate count corresponds to, in the format defined by RFC3339.. For instance, the value of 01-01-2021T00:00:00Z represents Jan 2021.
onlineVolume This property is required. String
The audit data volume collected by Data Safe and is available online in repository.

Package Details

Repository
oci pulumi/pulumi-oci
License
Apache-2.0
Notes
This Pulumi package is based on the oci Terraform Provider.