Oracle Cloud Infrastructure v2.11.0 published on Thursday, Sep 19, 2024 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)
// Output-based functions aren't available in Java yet
fn::invoke:
function: oci:Jms/getFleetExportStatus:getFleetExportStatus
arguments:
# arguments dictionary
The following arguments are supported:
getFleetExportStatus Result
The following output properties are available:
- Fleet
Id string - The OCID of the fleet.
- Id string
- The provider-assigned unique ID for this managed resource.
- Latest
Run stringStatus - The status of the latest export run.
- Time
Last stringRun - The date and time of the last export run.
- Time
Next stringRun - The date and time of the next export run.
- Fleet
Id string - The OCID of the fleet.
- Id string
- The provider-assigned unique ID for this managed resource.
- Latest
Run stringStatus - The status of the latest export run.
- Time
Last stringRun - The date and time of the last export run.
- Time
Next stringRun - The date and time of the next export run.
- fleet
Id String - The OCID of the fleet.
- id String
- The provider-assigned unique ID for this managed resource.
- latest
Run StringStatus - The status of the latest export run.
- time
Last StringRun - The date and time of the last export run.
- time
Next StringRun - The date and time of the next export run.
- fleet
Id string - The OCID of the fleet.
- id string
- The provider-assigned unique ID for this managed resource.
- latest
Run stringStatus - The status of the latest export run.
- time
Last stringRun - The date and time of the last export run.
- time
Next 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.
- fleet
Id String - The OCID of the fleet.
- id String
- The provider-assigned unique ID for this managed resource.
- latest
Run StringStatus - The status of the latest export run.
- time
Last StringRun - The date and time of the last export run.
- time
Next 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
oci
Terraform Provider.