oci.DataSafe.getAuditProfileCollectedAuditVolumes
Explore with Pulumi AI
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
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testAuditProfileCollectedAuditVolumes = oci.DataSafe.getAuditProfileCollectedAuditVolumes({
auditProfileId: testAuditProfile.id,
workRequestId: testWorkRequest.id,
monthInConsiderationGreaterThan: auditProfileCollectedAuditVolumeMonthInConsiderationGreaterThan,
monthInConsiderationLessThan: auditProfileCollectedAuditVolumeMonthInConsiderationLessThan,
});
import pulumi
import pulumi_oci as oci
test_audit_profile_collected_audit_volumes = oci.DataSafe.get_audit_profile_collected_audit_volumes(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)
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.GetAuditProfileCollectedAuditVolumes(ctx, &datasafe.GetAuditProfileCollectedAuditVolumesArgs{
AuditProfileId: testAuditProfile.Id,
WorkRequestId: testWorkRequest.Id,
MonthInConsiderationGreaterThan: pulumi.StringRef(auditProfileCollectedAuditVolumeMonthInConsiderationGreaterThan),
MonthInConsiderationLessThan: pulumi.StringRef(auditProfileCollectedAuditVolumeMonthInConsiderationLessThan),
}, 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 testAuditProfileCollectedAuditVolumes = Oci.DataSafe.GetAuditProfileCollectedAuditVolumes.Invoke(new()
{
AuditProfileId = testAuditProfile.Id,
WorkRequestId = testWorkRequest.Id,
MonthInConsiderationGreaterThan = auditProfileCollectedAuditVolumeMonthInConsiderationGreaterThan,
MonthInConsiderationLessThan = auditProfileCollectedAuditVolumeMonthInConsiderationLessThan,
});
});
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.GetAuditProfileCollectedAuditVolumesArgs;
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 testAuditProfileCollectedAuditVolumes = DataSafeFunctions.getAuditProfileCollectedAuditVolumes(GetAuditProfileCollectedAuditVolumesArgs.builder()
.auditProfileId(testAuditProfile.id())
.workRequestId(testWorkRequest.id())
.monthInConsiderationGreaterThan(auditProfileCollectedAuditVolumeMonthInConsiderationGreaterThan)
.monthInConsiderationLessThan(auditProfileCollectedAuditVolumeMonthInConsiderationLessThan)
.build());
}
}
variables:
testAuditProfileCollectedAuditVolumes:
fn::invoke:
Function: oci:DataSafe:getAuditProfileCollectedAuditVolumes
Arguments:
auditProfileId: ${testAuditProfile.id}
workRequestId: ${testWorkRequest.id}
monthInConsiderationGreaterThan: ${auditProfileCollectedAuditVolumeMonthInConsiderationGreaterThan}
monthInConsiderationLessThan: ${auditProfileCollectedAuditVolumeMonthInConsiderationLessThan}
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:
- Audit
Profile stringId - The OCID of the audit.
- Work
Request stringId - The OCID of the work request.
- Filters
List<Get
Audit Profile Collected Audit Volumes Filter> - Month
In stringConsideration Greater Than 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 stringConsideration Less Than 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 stringId - The OCID of the audit.
- Work
Request stringId - The OCID of the work request.
- Filters
[]Get
Audit Profile Collected Audit Volumes Filter - Month
In stringConsideration Greater Than 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 stringConsideration Less Than 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 StringId - The OCID of the audit.
- work
Request StringId - The OCID of the work request.
- filters
List<Get
Audit Profile Collected Audit Volumes Filter> - month
In StringConsideration Greater Than 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 StringConsideration Less Than 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 stringId - The OCID of the audit.
- work
Request stringId - The OCID of the work request.
- filters
Get
Audit Profile Collected Audit Volumes Filter[] - month
In stringConsideration Greater Than 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 stringConsideration Less Than 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_ strid - The OCID of the audit.
- work_
request_ strid - The OCID of the work request.
- filters
Sequence[datasafe.
Get Audit Profile Collected Audit Volumes Filter] - month_
in_ strconsideration_ greater_ than 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_ strconsideration_ less_ than 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 StringId - The OCID of the audit.
- work
Request StringId - The OCID of the work request.
- filters List<Property Map>
- month
In StringConsideration Greater Than 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 StringConsideration Less Than 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
getAuditProfileCollectedAuditVolumes Result
The following output properties are available:
- Audit
Profile stringId - The OCID of the audit profile resource.
- Collected
Audit List<GetVolume Collections Audit Profile Collected Audit Volumes Collected Audit Volume Collection> - The list of collected_audit_volume_collection.
- Id string
- The provider-assigned unique ID for this managed resource.
- Work
Request stringId - Filters
List<Get
Audit Profile Collected Audit Volumes Filter> - Month
In stringConsideration Greater Than - Month
In stringConsideration Less Than
- Audit
Profile stringId - The OCID of the audit profile resource.
- Collected
Audit []GetVolume Collections Audit Profile Collected Audit Volumes Collected Audit Volume Collection - The list of collected_audit_volume_collection.
- Id string
- The provider-assigned unique ID for this managed resource.
- Work
Request stringId - Filters
[]Get
Audit Profile Collected Audit Volumes Filter - Month
In stringConsideration Greater Than - Month
In stringConsideration Less Than
- audit
Profile StringId - The OCID of the audit profile resource.
- collected
Audit List<GetVolume Collections Audit Profile Collected Audit Volumes Collected Audit Volume Collection> - The list of collected_audit_volume_collection.
- id String
- The provider-assigned unique ID for this managed resource.
- work
Request StringId - filters
List<Get
Audit Profile Collected Audit Volumes Filter> - month
In StringConsideration Greater Than - month
In StringConsideration Less Than
- audit
Profile stringId - The OCID of the audit profile resource.
- collected
Audit GetVolume Collections Audit Profile Collected Audit Volumes Collected Audit Volume Collection[] - The list of collected_audit_volume_collection.
- id string
- The provider-assigned unique ID for this managed resource.
- work
Request stringId - filters
Get
Audit Profile Collected Audit Volumes Filter[] - month
In stringConsideration Greater Than - month
In stringConsideration Less Than
- audit_
profile_ strid - The OCID of the audit profile resource.
- collected_
audit_ Sequence[datasafe.volume_ collections Get Audit Profile Collected Audit Volumes Collected Audit Volume Collection] - The list of collected_audit_volume_collection.
- id str
- The provider-assigned unique ID for this managed resource.
- work_
request_ strid - filters
Sequence[datasafe.
Get Audit Profile Collected Audit Volumes Filter] - month_
in_ strconsideration_ greater_ than - month_
in_ strconsideration_ less_ than
- audit
Profile StringId - The OCID of the audit profile resource.
- collected
Audit List<Property Map>Volume Collections - The list of collected_audit_volume_collection.
- id String
- The provider-assigned unique ID for this managed resource.
- work
Request StringId - filters List<Property Map>
- month
In StringConsideration Greater Than - month
In StringConsideration Less Than
Supporting Types
GetAuditProfileCollectedAuditVolumesCollectedAuditVolumeCollection
- Items
List<Get
Audit Profile Collected Audit Volumes Collected Audit Volume Collection Item> - Array of collected audit volume summary.
- Items
[]Get
Audit Profile Collected Audit Volumes Collected Audit Volume Collection Item - Array of collected audit volume summary.
- items
List<Get
Audit Profile Collected Audit Volumes Collected Audit Volume Collection Item> - Array of collected audit volume summary.
- items
Get
Audit Profile Collected Audit Volumes Collected Audit Volume Collection Item[] - Array of collected audit volume summary.
- items
Sequence[datasafe.
Get Audit Profile Collected Audit Volumes Collected Audit Volume Collection Item] - Array of collected audit volume summary.
- items List<Property Map>
- Array of collected audit volume summary.
GetAuditProfileCollectedAuditVolumesCollectedAuditVolumeCollectionItem
- Items
List<Get
Audit Profile Collected Audit Volumes Collected Audit Volume Collection Item Item> - Array of collected audit volume summary.
- Items
[]Get
Audit Profile Collected Audit Volumes Collected Audit Volume Collection Item Item - Array of collected audit volume summary.
- items
List<Get
Audit Profile Collected Audit Volumes Collected Audit Volume Collection Item Item> - Array of collected audit volume summary.
- items
Get
Audit Profile Collected Audit Volumes Collected Audit Volume Collection Item Item[] - Array of collected audit volume summary.
- items
Sequence[datasafe.
Get Audit Profile Collected Audit Volumes Collected Audit Volume Collection Item Item] - Array of collected audit volume summary.
- items List<Property Map>
- Array of collected audit volume summary.
GetAuditProfileCollectedAuditVolumesCollectedAuditVolumeCollectionItemItem
- Archived
Volume string - The audit data volume collected by Data Safe and is available in archive storage.
- Audit
Profile stringId - The OCID of the audit.
- Month
In stringConsideration - 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 string - The audit data volume collected by Data Safe and is available online in repository.
- Archived
Volume string - The audit data volume collected by Data Safe and is available in archive storage.
- Audit
Profile stringId - The OCID of the audit.
- Month
In stringConsideration - 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 string - The audit data volume collected by Data Safe and is available online in repository.
- archived
Volume String - The audit data volume collected by Data Safe and is available in archive storage.
- audit
Profile StringId - The OCID of the audit.
- month
In StringConsideration - 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 String - The audit data volume collected by Data Safe and is available online in repository.
- archived
Volume string - The audit data volume collected by Data Safe and is available in archive storage.
- audit
Profile stringId - The OCID of the audit.
- month
In stringConsideration - 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 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_ strid - The OCID of the audit.
- month_
in_ strconsideration - 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.
- archived
Volume String - The audit data volume collected by Data Safe and is available in archive storage.
- audit
Profile StringId - The OCID of the audit.
- month
In StringConsideration - 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 String - The audit data volume collected by Data Safe and is available online in repository.
GetAuditProfileCollectedAuditVolumesFilter
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
oci
Terraform Provider.