Oracle Cloud Infrastructure

Pulumi Official
Package maintained by Pulumi
v0.1.1 published on Tuesday, May 3, 2022 by Pulumi

getAuditProfileCollectedAuditVolumes

This data source provides the list of Audit Profile Collected Audit Volumes in Oracle Cloud Infrastructure Data Safe service.

Gets a list of all collected audit volume data points.

Example Usage

using Pulumi;
using Oci = Pulumi.Oci;

class MyStack : Stack
{
    public MyStack()
    {
        var testAuditProfileCollectedAuditVolumes = Output.Create(Oci.DataSafe.GetAuditProfileCollectedAuditVolumes.InvokeAsync(new Oci.DataSafe.GetAuditProfileCollectedAuditVolumesArgs
        {
            AuditProfileId = oci_data_safe_audit_profile.Test_audit_profile.Id,
            WorkRequestId = oci_containerengine_work_request.Test_work_request.Id,
            MonthInConsiderationGreaterThan = @var.Audit_profile_collected_audit_volume_month_in_consideration_greater_than,
            MonthInConsiderationLessThan = @var.Audit_profile_collected_audit_volume_month_in_consideration_less_than,
        }));
    }

}
package main

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

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := DataSafe.GetAuditProfileCollectedAuditVolumes(ctx, &datasafe.GetAuditProfileCollectedAuditVolumesArgs{
			AuditProfileId:                  oci_data_safe_audit_profile.Test_audit_profile.Id,
			WorkRequestId:                   oci_containerengine_work_request.Test_work_request.Id,
			MonthInConsiderationGreaterThan: pulumi.StringRef(_var.Audit_profile_collected_audit_volume_month_in_consideration_greater_than),
			MonthInConsiderationLessThan:    pulumi.StringRef(_var.Audit_profile_collected_audit_volume_month_in_consideration_less_than),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

Coming soon!

import pulumi
import pulumi_oci as oci

test_audit_profile_collected_audit_volumes = oci.DataSafe.get_audit_profile_collected_audit_volumes(audit_profile_id=oci_data_safe_audit_profile["test_audit_profile"]["id"],
    work_request_id=oci_containerengine_work_request["test_work_request"]["id"],
    month_in_consideration_greater_than=var["audit_profile_collected_audit_volume_month_in_consideration_greater_than"],
    month_in_consideration_less_than=var["audit_profile_collected_audit_volume_month_in_consideration_less_than"])
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";

const testAuditProfileCollectedAuditVolumes = oci.DataSafe.getAuditProfileCollectedAuditVolumes({
    auditProfileId: oci_data_safe_audit_profile.test_audit_profile.id,
    workRequestId: oci_containerengine_work_request.test_work_request.id,
    monthInConsiderationGreaterThan: _var.audit_profile_collected_audit_volume_month_in_consideration_greater_than,
    monthInConsiderationLessThan: _var.audit_profile_collected_audit_volume_month_in_consideration_less_than,
});

Coming soon!

Using getAuditProfileCollectedAuditVolumes

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 getAuditProfileCollectedAuditVolumes(args: GetAuditProfileCollectedAuditVolumesArgs, opts?: InvokeOptions): Promise<GetAuditProfileCollectedAuditVolumesResult>
function getAuditProfileCollectedAuditVolumesOutput(args: GetAuditProfileCollectedAuditVolumesOutputArgs, opts?: InvokeOptions): Output<GetAuditProfileCollectedAuditVolumesResult>
def get_audit_profile_collected_audit_volumes(audit_profile_id: Optional[str] = None,
                                              filters: Optional[Sequence[_datasafe.GetAuditProfileCollectedAuditVolumesFilter]] = 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) -> GetAuditProfileCollectedAuditVolumesResult
def get_audit_profile_collected_audit_volumes_output(audit_profile_id: Optional[pulumi.Input[str]] = None,
                                              filters: Optional[pulumi.Input[Sequence[pulumi.Input[_datasafe.GetAuditProfileCollectedAuditVolumesFilterArgs]]]] = 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[GetAuditProfileCollectedAuditVolumesResult]
func GetAuditProfileCollectedAuditVolumes(ctx *Context, args *GetAuditProfileCollectedAuditVolumesArgs, opts ...InvokeOption) (*GetAuditProfileCollectedAuditVolumesResult, error)
func GetAuditProfileCollectedAuditVolumesOutput(ctx *Context, args *GetAuditProfileCollectedAuditVolumesOutputArgs, opts ...InvokeOption) GetAuditProfileCollectedAuditVolumesResultOutput

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

public static class GetAuditProfileCollectedAuditVolumes 
{
    public static Task<GetAuditProfileCollectedAuditVolumesResult> InvokeAsync(GetAuditProfileCollectedAuditVolumesArgs args, InvokeOptions? opts = null)
    public static Output<GetAuditProfileCollectedAuditVolumesResult> Invoke(GetAuditProfileCollectedAuditVolumesInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetAuditProfileCollectedAuditVolumesResult> getAuditProfileCollectedAuditVolumes(GetAuditProfileCollectedAuditVolumesArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
Fn::Invoke:
  Function: oci:DataSafe/getAuditProfileCollectedAuditVolumes:getAuditProfileCollectedAuditVolumes
  Arguments:
    # Arguments dictionary

The following arguments are supported:

AuditProfileId string

The OCID of the audit.

WorkRequestId string

The OCID of the work request.

Filters List<GetAuditProfileCollectedAuditVolumesFilter>
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.

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.

AuditProfileId string

The OCID of the audit.

WorkRequestId string

The OCID of the work request.

Filters []GetAuditProfileCollectedAuditVolumesFilter
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.

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.

auditProfileId String

The OCID of the audit.

workRequestId String

The OCID of the work request.

filters List<GetAuditProfileCollectedAuditVolumesFilter>
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.

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.

auditProfileId string

The OCID of the audit.

workRequestId string

The OCID of the work request.

filters GetAuditProfileCollectedAuditVolumesFilter[]
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.

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.

audit_profile_id str

The OCID of the audit.

work_request_id str

The OCID of the work request.

filters GetAuditProfileCollectedAuditVolumesFilter]
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.

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.

auditProfileId String

The OCID of the audit.

workRequestId String

The OCID of the work request.

filters List<Property Map>
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.

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.

getAuditProfileCollectedAuditVolumes Result

The following output properties are available:

AuditProfileId string

The OCID of the audit profile resource.

CollectedAuditVolumeCollections List<GetAuditProfileCollectedAuditVolumesCollectedAuditVolumeCollection>

The list of collected_audit_volume_collection.

Id string

The provider-assigned unique ID for this managed resource.

WorkRequestId string
Filters List<GetAuditProfileCollectedAuditVolumesFilter>
MonthInConsiderationGreaterThan string
MonthInConsiderationLessThan string
AuditProfileId string

The OCID of the audit profile resource.

CollectedAuditVolumeCollections []GetAuditProfileCollectedAuditVolumesCollectedAuditVolumeCollection

The list of collected_audit_volume_collection.

Id string

The provider-assigned unique ID for this managed resource.

WorkRequestId string
Filters []GetAuditProfileCollectedAuditVolumesFilter
MonthInConsiderationGreaterThan string
MonthInConsiderationLessThan string
auditProfileId String

The OCID of the audit profile resource.

collectedAuditVolumeCollections List<GetAuditProfileCollectedAuditVolumesCollectedAuditVolumeCollection>

The list of collected_audit_volume_collection.

id String

The provider-assigned unique ID for this managed resource.

workRequestId String
filters List<GetAuditProfileCollectedAuditVolumesFilter>
monthInConsiderationGreaterThan String
monthInConsiderationLessThan String
auditProfileId string

The OCID of the audit profile resource.

collectedAuditVolumeCollections GetAuditProfileCollectedAuditVolumesCollectedAuditVolumeCollection[]

The list of collected_audit_volume_collection.

id string

The provider-assigned unique ID for this managed resource.

workRequestId string
filters GetAuditProfileCollectedAuditVolumesFilter[]
monthInConsiderationGreaterThan string
monthInConsiderationLessThan string
auditProfileId String

The OCID of the audit profile resource.

collectedAuditVolumeCollections List<Property Map>

The list of collected_audit_volume_collection.

id String

The provider-assigned unique ID for this managed resource.

workRequestId String
filters List<Property Map>
monthInConsiderationGreaterThan String
monthInConsiderationLessThan String

Supporting Types

GetAuditProfileCollectedAuditVolumesCollectedAuditVolumeCollection

items List<Property Map>

Array of collected audit volume summary.

GetAuditProfileCollectedAuditVolumesCollectedAuditVolumeCollectionItem

items List<Property Map>

Array of collected audit volume summary.

GetAuditProfileCollectedAuditVolumesCollectedAuditVolumeCollectionItemItem

ArchivedVolume string

The audit data volume collected by Data Safe and is available in archive storage.

AuditProfileId string

The OCID of the audit.

MonthInConsideration 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 string

The audit data volume collected by Data Safe and is available online in repository.

ArchivedVolume string

The audit data volume collected by Data Safe and is available in archive storage.

AuditProfileId string

The OCID of the audit.

MonthInConsideration 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 string

The audit data volume collected by Data Safe and is available online in repository.

archivedVolume String

The audit data volume collected by Data Safe and is available in archive storage.

auditProfileId String

The OCID of the audit.

monthInConsideration 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 String

The audit data volume collected by Data Safe and is available online in repository.

archivedVolume string

The audit data volume collected by Data Safe and is available in archive storage.

auditProfileId string

The OCID of the audit.

monthInConsideration 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 string

The audit data volume collected by Data Safe and is available online in repository.

archived_volume str

The audit data volume collected by Data Safe and is available in archive storage.

audit_profile_id str

The OCID of the audit.

month_in_consideration 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 str

The audit data volume collected by Data Safe and is available online in repository.

archivedVolume String

The audit data volume collected by Data Safe and is available in archive storage.

auditProfileId String

The OCID of the audit.

monthInConsideration 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 String

The audit data volume collected by Data Safe and is available online in repository.

GetAuditProfileCollectedAuditVolumesFilter

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
https://github.com/pulumi/pulumi-oci
License
Apache-2.0
Notes

This Pulumi package is based on the oci Terraform Provider.