Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi
oci.Jms.getFleetDrsFile
Explore with Pulumi AI
Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi
This data source provides details about a specific Fleet Drs File resource in Oracle Cloud Infrastructure Jms service.
Get the detail about the created DRS file in the Fleet.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testFleetDrsFile = oci.Jms.getFleetDrsFile({
drsFileKey: fleetDrsFileDrsFileKey,
fleetId: testFleet.id,
});
import pulumi
import pulumi_oci as oci
test_fleet_drs_file = oci.Jms.get_fleet_drs_file(drs_file_key=fleet_drs_file_drs_file_key,
fleet_id=test_fleet["id"])
package main
import (
"github.com/pulumi/pulumi-oci/sdk/go/oci/Jms"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := Jms.GetFleetDrsFile(ctx, &jms.GetFleetDrsFileArgs{
DrsFileKey: fleetDrsFileDrsFileKey,
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 testFleetDrsFile = Oci.Jms.GetFleetDrsFile.Invoke(new()
{
DrsFileKey = fleetDrsFileDrsFileKey,
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.GetFleetDrsFileArgs;
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 testFleetDrsFile = JmsFunctions.getFleetDrsFile(GetFleetDrsFileArgs.builder()
.drsFileKey(fleetDrsFileDrsFileKey)
.fleetId(testFleet.id())
.build());
}
}
variables:
testFleetDrsFile:
fn::invoke:
Function: oci:Jms:getFleetDrsFile
Arguments:
drsFileKey: ${fleetDrsFileDrsFileKey}
fleetId: ${testFleet.id}
Using getFleetDrsFile
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 getFleetDrsFile(args: GetFleetDrsFileArgs, opts?: InvokeOptions): Promise<GetFleetDrsFileResult>
function getFleetDrsFileOutput(args: GetFleetDrsFileOutputArgs, opts?: InvokeOptions): Output<GetFleetDrsFileResult>
def get_fleet_drs_file(drs_file_key: Optional[str] = None,
fleet_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetFleetDrsFileResult
def get_fleet_drs_file_output(drs_file_key: Optional[pulumi.Input[str]] = None,
fleet_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetFleetDrsFileResult]
func GetFleetDrsFile(ctx *Context, args *GetFleetDrsFileArgs, opts ...InvokeOption) (*GetFleetDrsFileResult, error)
func GetFleetDrsFileOutput(ctx *Context, args *GetFleetDrsFileOutputArgs, opts ...InvokeOption) GetFleetDrsFileResultOutput
> Note: This function is named GetFleetDrsFile
in the Go SDK.
public static class GetFleetDrsFile
{
public static Task<GetFleetDrsFileResult> InvokeAsync(GetFleetDrsFileArgs args, InvokeOptions? opts = null)
public static Output<GetFleetDrsFileResult> Invoke(GetFleetDrsFileInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetFleetDrsFileResult> getFleetDrsFile(GetFleetDrsFileArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: oci:Jms/getFleetDrsFile:getFleetDrsFile
arguments:
# arguments dictionary
The following arguments are supported:
- Drs
File stringKey - The unique identifier of the DRS File in Object Storage.
- Fleet
Id string - The OCID of the Fleet.
- Drs
File stringKey - The unique identifier of the DRS File in Object Storage.
- Fleet
Id string - The OCID of the Fleet.
- drs
File StringKey - The unique identifier of the DRS File in Object Storage.
- fleet
Id String - The OCID of the Fleet.
- drs
File stringKey - The unique identifier of the DRS File in Object Storage.
- fleet
Id string - The OCID of the Fleet.
- drs_
file_ strkey - The unique identifier of the DRS File in Object Storage.
- fleet_
id str - The OCID of the Fleet.
- drs
File StringKey - The unique identifier of the DRS File in Object Storage.
- fleet
Id String - The OCID of the Fleet.
getFleetDrsFile Result
The following output properties are available:
- 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 - Id string
- The provider-assigned unique ID for this managed resource.
- 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 - Id string
- The provider-assigned unique ID for this managed resource.
- 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 - id String
- The provider-assigned unique ID for this managed resource.
- 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 - id string
- The provider-assigned unique ID for this managed resource.
- 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 - id str
- The provider-assigned unique ID for this managed resource.
- 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 - id String
- The provider-assigned unique ID for this managed resource.
- is
Default Boolean - To check if the DRS file is the detfault ones.
- namespace String
- The namespace for Object Storage.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
oci
Terraform Provider.
Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi