Viewing docs for Oracle Cloud Infrastructure v4.17.0
published on Thursday, Jun 25, 2026 by Pulumi
published on Thursday, Jun 25, 2026 by Pulumi
Viewing docs for Oracle Cloud Infrastructure v4.17.0
published on Thursday, Jun 25, 2026 by Pulumi
published on Thursday, Jun 25, 2026 by Pulumi
This data source provides the list of Data Files in Oracle Cloud Infrastructure Apm Config service.
Fetches a list of Data files using some parameters.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testDataFiles = oci.apmconfig.getDataFiles({
apmDomainId: testApmDomain.id,
apmType: dataFileApmType,
metadata: dataFileMetadata,
name: dataFileName,
timeLastModifiedAfter: dataFileTimeLastModifiedAfter,
timeLastModifiedBefore: dataFileTimeLastModifiedBefore,
});
import pulumi
import pulumi_oci as oci
test_data_files = oci.apmconfig.get_data_files(apm_domain_id=test_apm_domain["id"],
apm_type=data_file_apm_type,
metadata=data_file_metadata,
name=data_file_name,
time_last_modified_after=data_file_time_last_modified_after,
time_last_modified_before=data_file_time_last_modified_before)
package main
import (
"github.com/pulumi/pulumi-oci/sdk/v4/go/oci/apmconfig"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := apmconfig.GetDataFiles(ctx, &apmconfig.GetDataFilesArgs{
ApmDomainId: testApmDomain.Id,
ApmType: pulumi.StringRef(dataFileApmType),
Metadata: pulumi.ToMap(dataFileMetadata),
Name: pulumi.StringRef(dataFileName),
TimeLastModifiedAfter: pulumi.StringRef(dataFileTimeLastModifiedAfter),
TimeLastModifiedBefore: pulumi.StringRef(dataFileTimeLastModifiedBefore),
}, 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 testDataFiles = Oci.ApmConfig.GetDataFiles.Invoke(new()
{
ApmDomainId = testApmDomain.Id,
ApmType = dataFileApmType,
Metadata = dataFileMetadata,
Name = dataFileName,
TimeLastModifiedAfter = dataFileTimeLastModifiedAfter,
TimeLastModifiedBefore = dataFileTimeLastModifiedBefore,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.ApmConfig.ApmConfigFunctions;
import com.pulumi.oci.ApmConfig.inputs.GetDataFilesArgs;
import java.util.ArrayList;
import java.util.Arrays;
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 testDataFiles = ApmConfigFunctions.getDataFiles(GetDataFilesArgs.builder()
.apmDomainId(testApmDomain.id())
.apmType(dataFileApmType)
.metadata(dataFileMetadata)
.name(dataFileName)
.timeLastModifiedAfter(dataFileTimeLastModifiedAfter)
.timeLastModifiedBefore(dataFileTimeLastModifiedBefore)
.build());
}
}
variables:
testDataFiles:
fn::invoke:
function: oci:ApmConfig:getDataFiles
arguments:
apmDomainId: ${testApmDomain.id}
apmType: ${dataFileApmType}
metadata: ${dataFileMetadata}
name: ${dataFileName}
timeLastModifiedAfter: ${dataFileTimeLastModifiedAfter}
timeLastModifiedBefore: ${dataFileTimeLastModifiedBefore}
pulumi {
required_providers {
oci = {
source = "pulumi/oci"
}
}
}
data "oci_apmconfig_getdatafiles" "testDataFiles" {
apm_domain_id = testApmDomain.id
apm_type = dataFileApmType
metadata = dataFileMetadata
name = dataFileName
time_last_modified_after = dataFileTimeLastModifiedAfter
time_last_modified_before = dataFileTimeLastModifiedBefore
}
Using getDataFiles
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 getDataFiles(args: GetDataFilesArgs, opts?: InvokeOptions): Promise<GetDataFilesResult>
function getDataFilesOutput(args: GetDataFilesOutputArgs, opts?: InvokeOptions): Output<GetDataFilesResult>def get_data_files(apm_domain_id: Optional[str] = None,
apm_type: Optional[str] = None,
filters: Optional[Sequence[GetDataFilesFilter]] = None,
metadata: Optional[Mapping[str, str]] = None,
name: Optional[str] = None,
time_last_modified_after: Optional[str] = None,
time_last_modified_before: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetDataFilesResult
def get_data_files_output(apm_domain_id: pulumi.Input[Optional[str]] = None,
apm_type: pulumi.Input[Optional[str]] = None,
filters: pulumi.Input[Optional[Sequence[pulumi.Input[GetDataFilesFilterArgs]]]] = None,
metadata: pulumi.Input[Optional[Mapping[str, pulumi.Input[str]]]] = None,
name: pulumi.Input[Optional[str]] = None,
time_last_modified_after: pulumi.Input[Optional[str]] = None,
time_last_modified_before: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetDataFilesResult]func GetDataFiles(ctx *Context, args *GetDataFilesArgs, opts ...InvokeOption) (*GetDataFilesResult, error)
func GetDataFilesOutput(ctx *Context, args *GetDataFilesOutputArgs, opts ...InvokeOption) GetDataFilesResultOutput> Note: This function is named GetDataFiles in the Go SDK.
public static class GetDataFiles
{
public static Task<GetDataFilesResult> InvokeAsync(GetDataFilesArgs args, InvokeOptions? opts = null)
public static Output<GetDataFilesResult> Invoke(GetDataFilesInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetDataFilesResult> getDataFiles(GetDataFilesArgs args, InvokeOptions options)
public static Output<GetDataFilesResult> getDataFiles(GetDataFilesArgs args, InvokeOptions options)
fn::invoke:
function: oci:ApmConfig/getDataFiles:getDataFiles
arguments:
# arguments dictionarydata "oci_apmconfig_getdatafiles" "name" {
# arguments
}The following arguments are supported:
- Apm
Domain stringId - The APM Domain ID the request is intended for.
- Apm
Type string - The type of the data file.
- Filters
List<Get
Data Files Filter> - Metadata Dictionary<string, string>
- Optional user-defined metadata key and value to search by.
- Name string
- A filter to return resources that match the specified name. Supports regular expressions to filter data files.
- Time
Last stringModified After - Return data files with the 'timeLastModified' after the specified time, expressed in RFC 3339 timestamp format. Example:
2020-02-19T22:47:12.613Z - Time
Last stringModified Before - Return data files with time 'timeLastModified' before the specified time, expressed in RFC 3339 timestamp format. Example:
2020-02-19T22:47:12.613Z
- Apm
Domain stringId - The APM Domain ID the request is intended for.
- Apm
Type string - The type of the data file.
- Filters
[]Get
Data Files Filter - Metadata map[string]string
- Optional user-defined metadata key and value to search by.
- Name string
- A filter to return resources that match the specified name. Supports regular expressions to filter data files.
- Time
Last stringModified After - Return data files with the 'timeLastModified' after the specified time, expressed in RFC 3339 timestamp format. Example:
2020-02-19T22:47:12.613Z - Time
Last stringModified Before - Return data files with time 'timeLastModified' before the specified time, expressed in RFC 3339 timestamp format. Example:
2020-02-19T22:47:12.613Z
- apm_
domain_ stringid - The APM Domain ID the request is intended for.
- apm_
type string - The type of the data file.
- filters list(object)
- metadata map(string)
- Optional user-defined metadata key and value to search by.
- name string
- A filter to return resources that match the specified name. Supports regular expressions to filter data files.
- time_
last_ stringmodified_ after - Return data files with the 'timeLastModified' after the specified time, expressed in RFC 3339 timestamp format. Example:
2020-02-19T22:47:12.613Z - time_
last_ stringmodified_ before - Return data files with time 'timeLastModified' before the specified time, expressed in RFC 3339 timestamp format. Example:
2020-02-19T22:47:12.613Z
- apm
Domain StringId - The APM Domain ID the request is intended for.
- apm
Type String - The type of the data file.
- filters
List<Get
Data Files Filter> - metadata Map<String,String>
- Optional user-defined metadata key and value to search by.
- name String
- A filter to return resources that match the specified name. Supports regular expressions to filter data files.
- time
Last StringModified After - Return data files with the 'timeLastModified' after the specified time, expressed in RFC 3339 timestamp format. Example:
2020-02-19T22:47:12.613Z - time
Last StringModified Before - Return data files with time 'timeLastModified' before the specified time, expressed in RFC 3339 timestamp format. Example:
2020-02-19T22:47:12.613Z
- apm
Domain stringId - The APM Domain ID the request is intended for.
- apm
Type string - The type of the data file.
- filters
Get
Data Files Filter[] - metadata {[key: string]: string}
- Optional user-defined metadata key and value to search by.
- name string
- A filter to return resources that match the specified name. Supports regular expressions to filter data files.
- time
Last stringModified After - Return data files with the 'timeLastModified' after the specified time, expressed in RFC 3339 timestamp format. Example:
2020-02-19T22:47:12.613Z - time
Last stringModified Before - Return data files with time 'timeLastModified' before the specified time, expressed in RFC 3339 timestamp format. Example:
2020-02-19T22:47:12.613Z
- apm_
domain_ strid - The APM Domain ID the request is intended for.
- apm_
type str - The type of the data file.
- filters
Sequence[Get
Data Files Filter] - metadata Mapping[str, str]
- Optional user-defined metadata key and value to search by.
- name str
- A filter to return resources that match the specified name. Supports regular expressions to filter data files.
- time_
last_ strmodified_ after - Return data files with the 'timeLastModified' after the specified time, expressed in RFC 3339 timestamp format. Example:
2020-02-19T22:47:12.613Z - time_
last_ strmodified_ before - Return data files with time 'timeLastModified' before the specified time, expressed in RFC 3339 timestamp format. Example:
2020-02-19T22:47:12.613Z
- apm
Domain StringId - The APM Domain ID the request is intended for.
- apm
Type String - The type of the data file.
- filters List<Property Map>
- metadata Map<String>
- Optional user-defined metadata key and value to search by.
- name String
- A filter to return resources that match the specified name. Supports regular expressions to filter data files.
- time
Last StringModified After - Return data files with the 'timeLastModified' after the specified time, expressed in RFC 3339 timestamp format. Example:
2020-02-19T22:47:12.613Z - time
Last StringModified Before - Return data files with time 'timeLastModified' before the specified time, expressed in RFC 3339 timestamp format. Example:
2020-02-19T22:47:12.613Z
getDataFiles Result
The following output properties are available:
- Apm
Domain stringId - Id string
- The provider-assigned unique ID for this managed resource.
- Items
List<Get
Data Files Item> - Apm
Type string - Filters
List<Get
Data Files Filter> - Metadata Dictionary<string, string>
- Name string
- Time
Last stringModified After - Time
Last stringModified Before
- Apm
Domain stringId - Id string
- The provider-assigned unique ID for this managed resource.
- Items
[]Get
Data Files Item - Apm
Type string - Filters
[]Get
Data Files Filter - Metadata map[string]string
- Name string
- Time
Last stringModified After - Time
Last stringModified Before
- apm_
domain_ stringid - id string
- The provider-assigned unique ID for this managed resource.
- items list(object)
- apm_
type string - filters list(object)
- metadata map(string)
- name string
- time_
last_ stringmodified_ after - time_
last_ stringmodified_ before
- apm
Domain StringId - id String
- The provider-assigned unique ID for this managed resource.
- items
List<Get
Data Files Item> - apm
Type String - filters
List<Get
Data Files Filter> - metadata Map<String,String>
- name String
- time
Last StringModified After - time
Last StringModified Before
- apm
Domain stringId - id string
- The provider-assigned unique ID for this managed resource.
- items
Get
Data Files Item[] - apm
Type string - filters
Get
Data Files Filter[] - metadata {[key: string]: string}
- name string
- time
Last stringModified After - time
Last stringModified Before
- apm_
domain_ strid - id str
- The provider-assigned unique ID for this managed resource.
- items
Sequence[Get
Data Files Item] - apm_
type str - filters
Sequence[Get
Data Files Filter] - metadata Mapping[str, str]
- name str
- time_
last_ strmodified_ after - time_
last_ strmodified_ before
- apm
Domain StringId - id String
- The provider-assigned unique ID for this managed resource.
- items List<Property Map>
- apm
Type String - filters List<Property Map>
- metadata Map<String>
- name String
- time
Last StringModified After - time
Last StringModified Before
Supporting Types
GetDataFilesFilter
GetDataFilesItem
- Apm
Type string - The type of the data file.
- Md5 string
- Metadata Dictionary<string, string>
- Optional user-defined metadata key and value to search by.
- Name string
- A filter to return resources that match the specified name. Supports regular expressions to filter data files.
- Size
In stringBytes - Time
Last stringModified
- Apm
Type string - The type of the data file.
- Md5 string
- Metadata map[string]string
- Optional user-defined metadata key and value to search by.
- Name string
- A filter to return resources that match the specified name. Supports regular expressions to filter data files.
- Size
In stringBytes - Time
Last stringModified
- apm_
type string - The type of the data file.
- md5 string
- metadata map(string)
- Optional user-defined metadata key and value to search by.
- name string
- A filter to return resources that match the specified name. Supports regular expressions to filter data files.
- size_
in_ stringbytes - time_
last_ stringmodified
- apm
Type String - The type of the data file.
- md5 String
- metadata Map<String,String>
- Optional user-defined metadata key and value to search by.
- name String
- A filter to return resources that match the specified name. Supports regular expressions to filter data files.
- size
In StringBytes - time
Last StringModified
- apm
Type string - The type of the data file.
- md5 string
- metadata {[key: string]: string}
- Optional user-defined metadata key and value to search by.
- name string
- A filter to return resources that match the specified name. Supports regular expressions to filter data files.
- size
In stringBytes - time
Last stringModified
- apm_
type str - The type of the data file.
- md5 str
- metadata Mapping[str, str]
- Optional user-defined metadata key and value to search by.
- name str
- A filter to return resources that match the specified name. Supports regular expressions to filter data files.
- size_
in_ strbytes - time_
last_ strmodified
- apm
Type String - The type of the data file.
- md5 String
- metadata Map<String>
- Optional user-defined metadata key and value to search by.
- name String
- A filter to return resources that match the specified name. Supports regular expressions to filter data files.
- size
In StringBytes - time
Last StringModified
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
ociTerraform Provider.
Viewing docs for Oracle Cloud Infrastructure v4.17.0
published on Thursday, Jun 25, 2026 by Pulumi
published on Thursday, Jun 25, 2026 by Pulumi