1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. Jms
  5. getFleetDrsFiles
Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 by Pulumi

oci.Jms.getFleetDrsFiles

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 by Pulumi

    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:

    fleetId String
    The OCID of the Fleet.
    filters List<Property Map>

    getFleetDrsFiles Result

    The following output properties are available:

    DrsFileCollections List<GetFleetDrsFilesDrsFileCollection>
    The list of drs_file_collection.
    FleetId string
    Id string
    The provider-assigned unique ID for this managed resource.
    Filters List<GetFleetDrsFilesFilter>
    DrsFileCollections []GetFleetDrsFilesDrsFileCollection
    The list of drs_file_collection.
    FleetId string
    Id string
    The provider-assigned unique ID for this managed resource.
    Filters []GetFleetDrsFilesFilter
    drsFileCollections List<GetFleetDrsFilesDrsFileCollection>
    The list of drs_file_collection.
    fleetId String
    id String
    The provider-assigned unique ID for this managed resource.
    filters List<GetFleetDrsFilesFilter>
    drsFileCollections GetFleetDrsFilesDrsFileCollection[]
    The list of drs_file_collection.
    fleetId string
    id string
    The provider-assigned unique ID for this managed resource.
    filters GetFleetDrsFilesFilter[]
    drs_file_collections Sequence[jms.GetFleetDrsFilesDrsFileCollection]
    The list of drs_file_collection.
    fleet_id str
    id str
    The provider-assigned unique ID for this managed resource.
    filters Sequence[jms.GetFleetDrsFilesFilter]
    drsFileCollections List<Property Map>
    The list of drs_file_collection.
    fleetId 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.
    ChecksumType string
    The checksum type for the DRS file in Object Storage.
    ChecksumValue string
    The checksum value for the DRS file in Object Storage.
    DrsFileKey string
    The unique identifier of the DRS file in Object Storage.
    DrsFileName string
    The name of the DRS file in Object Store.
    FleetId string
    The OCID of the Fleet.
    IsDefault 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.
    ChecksumType string
    The checksum type for the DRS file in Object Storage.
    ChecksumValue string
    The checksum value for the DRS file in Object Storage.
    DrsFileKey string
    The unique identifier of the DRS file in Object Storage.
    DrsFileName string
    The name of the DRS file in Object Store.
    FleetId string
    The OCID of the Fleet.
    IsDefault 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.
    checksumType String
    The checksum type for the DRS file in Object Storage.
    checksumValue String
    The checksum value for the DRS file in Object Storage.
    drsFileKey String
    The unique identifier of the DRS file in Object Storage.
    drsFileName String
    The name of the DRS file in Object Store.
    fleetId String
    The OCID of the Fleet.
    isDefault 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.
    checksumType string
    The checksum type for the DRS file in Object Storage.
    checksumValue string
    The checksum value for the DRS file in Object Storage.
    drsFileKey string
    The unique identifier of the DRS file in Object Storage.
    drsFileName string
    The name of the DRS file in Object Store.
    fleetId string
    The OCID of the Fleet.
    isDefault 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_key str
    The unique identifier of the DRS file in Object Storage.
    drs_file_name str
    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.
    checksumType String
    The checksum type for the DRS file in Object Storage.
    checksumValue String
    The checksum value for the DRS file in Object Storage.
    drsFileKey String
    The unique identifier of the DRS file in Object Storage.
    drsFileName String
    The name of the DRS file in Object Store.
    fleetId String
    The OCID of the Fleet.
    isDefault Boolean
    To check if the DRS file is the detfault ones.
    namespace String
    The namespace for Object Storage.

    GetFleetDrsFilesFilter

    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
    oci pulumi/pulumi-oci
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the oci Terraform Provider.
    oci logo
    Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 by Pulumi