Oracle Cloud Infrastructure v2.11.0 published on Thursday, Sep 19, 2024 by Pulumi
oci.Jms.getFleetDrsFiles
Explore with Pulumi AI
This data source provides the list of Fleet Drs Files in Oracle Cloud Infrastructure Jms service.
List the details about the created DRS files in the Fleet.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testFleetDrsFiles = oci.Jms.getFleetDrsFiles({
fleetId: testFleet.id,
});
import pulumi
import pulumi_oci as oci
test_fleet_drs_files = oci.Jms.get_fleet_drs_files(fleet_id=test_fleet["id"])
package main
import (
"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/Jms"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := Jms.GetFleetDrsFiles(ctx, &jms.GetFleetDrsFilesArgs{
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 testFleetDrsFiles = Oci.Jms.GetFleetDrsFiles.Invoke(new()
{
FleetId = testFleet.Id,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.Jms.JmsFunctions;
import com.pulumi.oci.Jms.inputs.GetFleetDrsFilesArgs;
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 testFleetDrsFiles = JmsFunctions.getFleetDrsFiles(GetFleetDrsFilesArgs.builder()
.fleetId(testFleet.id())
.build());
}
}
variables:
testFleetDrsFiles:
fn::invoke:
Function: oci:Jms:getFleetDrsFiles
Arguments:
fleetId: ${testFleet.id}
Using getFleetDrsFiles
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 getFleetDrsFiles(args: GetFleetDrsFilesArgs, opts?: InvokeOptions): Promise<GetFleetDrsFilesResult>
function getFleetDrsFilesOutput(args: GetFleetDrsFilesOutputArgs, opts?: InvokeOptions): Output<GetFleetDrsFilesResult>
def get_fleet_drs_files(filters: Optional[Sequence[_jms.GetFleetDrsFilesFilter]] = None,
fleet_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetFleetDrsFilesResult
def get_fleet_drs_files_output(filters: Optional[pulumi.Input[Sequence[pulumi.Input[_jms.GetFleetDrsFilesFilterArgs]]]] = None,
fleet_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetFleetDrsFilesResult]
func GetFleetDrsFiles(ctx *Context, args *GetFleetDrsFilesArgs, opts ...InvokeOption) (*GetFleetDrsFilesResult, error)
func GetFleetDrsFilesOutput(ctx *Context, args *GetFleetDrsFilesOutputArgs, opts ...InvokeOption) GetFleetDrsFilesResultOutput
> Note: This function is named GetFleetDrsFiles
in the Go SDK.
public static class GetFleetDrsFiles
{
public static Task<GetFleetDrsFilesResult> InvokeAsync(GetFleetDrsFilesArgs args, InvokeOptions? opts = null)
public static Output<GetFleetDrsFilesResult> Invoke(GetFleetDrsFilesInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetFleetDrsFilesResult> getFleetDrsFiles(GetFleetDrsFilesArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: oci:Jms/getFleetDrsFiles:getFleetDrsFiles
arguments:
# arguments dictionary
The following arguments are supported:
- Fleet
Id string - The OCID of the Fleet.
- Filters
List<Get
Fleet Drs Files Filter>
- Fleet
Id string - The OCID of the Fleet.
- Filters
[]Get
Fleet Drs Files Filter
- fleet
Id String - The OCID of the Fleet.
- filters
List<Get
Fleet Drs Files Filter>
- fleet
Id string - The OCID of the Fleet.
- filters
Get
Fleet Drs Files Filter[]
- fleet_
id str - The OCID of the Fleet.
- filters
Sequence[jms.
Get Fleet Drs Files Filter]
- fleet
Id String - The OCID of the Fleet.
- filters List<Property Map>
getFleetDrsFiles Result
The following output properties are available:
- Drs
File List<GetCollections Fleet Drs Files Drs File Collection> - The list of drs_file_collection.
- Fleet
Id string - Id string
- The provider-assigned unique ID for this managed resource.
- Filters
List<Get
Fleet Drs Files Filter>
- Drs
File []GetCollections Fleet Drs Files Drs File Collection - The list of drs_file_collection.
- Fleet
Id string - Id string
- The provider-assigned unique ID for this managed resource.
- Filters
[]Get
Fleet Drs Files Filter
- drs
File List<GetCollections Fleet Drs Files Drs File Collection> - The list of drs_file_collection.
- fleet
Id String - id String
- The provider-assigned unique ID for this managed resource.
- filters
List<Get
Fleet Drs Files Filter>
- drs
File GetCollections Fleet Drs Files Drs File Collection[] - The list of drs_file_collection.
- fleet
Id string - id string
- The provider-assigned unique ID for this managed resource.
- filters
Get
Fleet Drs Files Filter[]
- drs_
file_ Sequence[jms.collections Get Fleet Drs Files Drs File Collection] - The list of drs_file_collection.
- fleet_
id str - id str
- The provider-assigned unique ID for this managed resource.
- filters
Sequence[jms.
Get Fleet Drs Files Filter]
- drs
File List<Property Map>Collections - The list of drs_file_collection.
- fleet
Id String - id String
- The provider-assigned unique ID for this managed resource.
- filters List<Property Map>
Supporting Types
GetFleetDrsFilesDrsFileCollection
GetFleetDrsFilesDrsFileCollectionItem
- Bucket string
- The Object Storage bucket name where the DRS file is located.
- Checksum
Type string - The checksum type for the DRS file in Object Storage.
- Checksum
Value string - The checksum value for the DRS file in Object Storage.
- Drs
File stringKey - The unique identifier of the DRS file in Object Storage.
- Drs
File stringName - The name of the DRS file in Object Store.
- Fleet
Id string - The OCID of the Fleet.
- Is
Default bool - To check if the DRS file is the detfault ones.
- Namespace string
- The namespace for Object Storage.
- Bucket string
- The Object Storage bucket name where the DRS file is located.
- Checksum
Type string - The checksum type for the DRS file in Object Storage.
- Checksum
Value string - The checksum value for the DRS file in Object Storage.
- Drs
File stringKey - The unique identifier of the DRS file in Object Storage.
- Drs
File stringName - The name of the DRS file in Object Store.
- Fleet
Id string - The OCID of the Fleet.
- Is
Default bool - To check if the DRS file is the detfault ones.
- Namespace string
- The namespace for Object Storage.
- bucket String
- The Object Storage bucket name where the DRS file is located.
- checksum
Type String - The checksum type for the DRS file in Object Storage.
- checksum
Value String - The checksum value for the DRS file in Object Storage.
- drs
File StringKey - The unique identifier of the DRS file in Object Storage.
- drs
File StringName - The name of the DRS file in Object Store.
- fleet
Id String - The OCID of the Fleet.
- is
Default Boolean - To check if the DRS file is the detfault ones.
- namespace String
- The namespace for Object Storage.
- bucket string
- The Object Storage bucket name where the DRS file is located.
- checksum
Type string - The checksum type for the DRS file in Object Storage.
- checksum
Value string - The checksum value for the DRS file in Object Storage.
- drs
File stringKey - The unique identifier of the DRS file in Object Storage.
- drs
File stringName - The name of the DRS file in Object Store.
- fleet
Id string - The OCID of the Fleet.
- is
Default boolean - To check if the DRS file is the detfault ones.
- namespace string
- The namespace for Object Storage.
- bucket str
- The Object Storage bucket name where the DRS file is located.
- checksum_
type str - The checksum type for the DRS file in Object Storage.
- checksum_
value str - The checksum value for the DRS file in Object Storage.
- drs_
file_ strkey - The unique identifier of the DRS file in Object Storage.
- drs_
file_ strname - The name of the DRS file in Object Store.
- fleet_
id str - The OCID of the Fleet.
- is_
default bool - To check if the DRS file is the detfault ones.
- namespace str
- The namespace for Object Storage.
- bucket String
- The Object Storage bucket name where the DRS file is located.
- checksum
Type String - The checksum type for the DRS file in Object Storage.
- checksum
Value String - The checksum value for the DRS file in Object Storage.
- drs
File StringKey - The unique identifier of the DRS file in Object Storage.
- drs
File StringName - The name of the DRS file in Object Store.
- fleet
Id String - The OCID of the Fleet.
- is
Default Boolean - To check if the DRS file is the detfault ones.
- namespace String
- The namespace for Object Storage.
GetFleetDrsFilesFilter
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
oci
Terraform Provider.