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

oci.Jms.getFleetExportStatus

Explore with Pulumi AI

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

    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)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: oci:Jms/getFleetExportStatus:getFleetExportStatus
      arguments:
        # arguments dictionary

    The following arguments are supported:

    FleetId string
    The OCID of the Fleet.
    FleetId string
    The OCID of the Fleet.
    fleetId String
    The OCID of the Fleet.
    fleetId string
    The OCID of the Fleet.
    fleet_id str
    The OCID of the Fleet.
    fleetId String
    The OCID of the Fleet.

    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.
    LatestRunStatus string
    The status of the latest export run.
    TimeLastRun string
    The date and time of the last export run.
    TimeNextRun string
    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.
    LatestRunStatus string
    The status of the latest export run.
    TimeLastRun string
    The date and time of the last export run.
    TimeNextRun string
    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.
    latestRunStatus String
    The status of the latest export run.
    timeLastRun String
    The date and time of the last export run.
    timeNextRun String
    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.
    latestRunStatus string
    The status of the latest export run.
    timeLastRun string
    The date and time of the last export run.
    timeNextRun string
    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_status str
    The status of the latest export run.
    time_last_run str
    The date and time of the last export run.
    time_next_run str
    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.
    latestRunStatus String
    The status of the latest export run.
    timeLastRun String
    The date and time of the last export run.
    timeNextRun String
    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 oci Terraform Provider.
    oci logo
    Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 by Pulumi