Oracle Cloud Infrastructure v2.33.0 published on Thursday, May 1, 2025 by Pulumi
oci.Jms.getFleetExportStatus
Explore with Pulumi AI
This data source provides details about a specific Fleet Export Status resource in Oracle Cloud Infrastructure Jms service.
Returns last export status for the specified fleet.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testFleetExportStatus = oci.Jms.getFleetExportStatus({
    fleetId: testFleet.id,
});
import pulumi
import pulumi_oci as oci
test_fleet_export_status = oci.Jms.get_fleet_export_status(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.GetFleetExportStatus(ctx, &jms.GetFleetExportStatusArgs{
			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 testFleetExportStatus = Oci.Jms.GetFleetExportStatus.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.GetFleetExportStatusArgs;
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 testFleetExportStatus = JmsFunctions.getFleetExportStatus(GetFleetExportStatusArgs.builder()
            .fleetId(testFleet.id())
            .build());
    }
}
variables:
  testFleetExportStatus:
    fn::invoke:
      function: oci:Jms:getFleetExportStatus
      arguments:
        fleetId: ${testFleet.id}
Using getFleetExportStatus
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 getFleetExportStatus(args: GetFleetExportStatusArgs, opts?: InvokeOptions): Promise<GetFleetExportStatusResult>
function getFleetExportStatusOutput(args: GetFleetExportStatusOutputArgs, opts?: InvokeOptions): Output<GetFleetExportStatusResult>def get_fleet_export_status(fleet_id: Optional[str] = None,
                            opts: Optional[InvokeOptions] = None) -> GetFleetExportStatusResult
def get_fleet_export_status_output(fleet_id: Optional[pulumi.Input[str]] = None,
                            opts: Optional[InvokeOptions] = None) -> Output[GetFleetExportStatusResult]func GetFleetExportStatus(ctx *Context, args *GetFleetExportStatusArgs, opts ...InvokeOption) (*GetFleetExportStatusResult, error)
func GetFleetExportStatusOutput(ctx *Context, args *GetFleetExportStatusOutputArgs, opts ...InvokeOption) GetFleetExportStatusResultOutput> Note: This function is named GetFleetExportStatus in the Go SDK.
public static class GetFleetExportStatus 
{
    public static Task<GetFleetExportStatusResult> InvokeAsync(GetFleetExportStatusArgs args, InvokeOptions? opts = null)
    public static Output<GetFleetExportStatusResult> Invoke(GetFleetExportStatusInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetFleetExportStatusResult> getFleetExportStatus(GetFleetExportStatusArgs args, InvokeOptions options)
public static Output<GetFleetExportStatusResult> getFleetExportStatus(GetFleetExportStatusArgs args, InvokeOptions options)
fn::invoke:
  function: oci:Jms/getFleetExportStatus:getFleetExportStatus
  arguments:
    # arguments dictionaryThe following arguments are supported:
getFleetExportStatus Result
The following output properties are available:
- FleetId string
- The OCID of the fleet.
- Id string
- The provider-assigned unique ID for this managed resource.
- LatestRun stringStatus 
- The status of the latest export run.
- TimeLast stringRun 
- The date and time of the last export run.
- TimeNext stringRun 
- The date and time of the next export run.
- FleetId string
- The OCID of the fleet.
- Id string
- The provider-assigned unique ID for this managed resource.
- LatestRun stringStatus 
- The status of the latest export run.
- TimeLast stringRun 
- The date and time of the last export run.
- TimeNext stringRun 
- The date and time of the next export run.
- fleetId String
- The OCID of the fleet.
- id String
- The provider-assigned unique ID for this managed resource.
- latestRun StringStatus 
- The status of the latest export run.
- timeLast StringRun 
- The date and time of the last export run.
- timeNext StringRun 
- The date and time of the next export run.
- fleetId string
- The OCID of the fleet.
- id string
- The provider-assigned unique ID for this managed resource.
- latestRun stringStatus 
- The status of the latest export run.
- timeLast stringRun 
- The date and time of the last export run.
- timeNext stringRun 
- The date and time of the next export run.
- fleet_id str
- The OCID of the fleet.
- id str
- The provider-assigned unique ID for this managed resource.
- latest_run_ strstatus 
- The status of the latest export run.
- time_last_ strrun 
- The date and time of the last export run.
- time_next_ strrun 
- The date and time of the next export run.
- fleetId String
- The OCID of the fleet.
- id String
- The provider-assigned unique ID for this managed resource.
- latestRun StringStatus 
- The status of the latest export run.
- timeLast StringRun 
- The date and time of the last export run.
- timeNext StringRun 
- The date and time of the next export run.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the ociTerraform Provider.