1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. Jms
  5. getFleetExportSetting
Oracle Cloud Infrastructure v1.34.0 published on Friday, May 3, 2024 by Pulumi

oci.Jms.getFleetExportSetting

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v1.34.0 published on Friday, May 3, 2024 by Pulumi

    This data source provides details about a specific Fleet Export Setting resource in Oracle Cloud Infrastructure Jms service.

    Returns export setting for the specified Fleet.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testFleetExportSetting = oci.Jms.getFleetExportSetting({
        fleetId: testFleet.id,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_fleet_export_setting = oci.Jms.get_fleet_export_setting(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.GetFleetExportSetting(ctx, &jms.GetFleetExportSettingArgs{
    			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 testFleetExportSetting = Oci.Jms.GetFleetExportSetting.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.GetFleetExportSettingArgs;
    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 testFleetExportSetting = JmsFunctions.getFleetExportSetting(GetFleetExportSettingArgs.builder()
                .fleetId(testFleet.id())
                .build());
    
        }
    }
    
    variables:
      testFleetExportSetting:
        fn::invoke:
          Function: oci:Jms:getFleetExportSetting
          Arguments:
            fleetId: ${testFleet.id}
    

    Using getFleetExportSetting

    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 getFleetExportSetting(args: GetFleetExportSettingArgs, opts?: InvokeOptions): Promise<GetFleetExportSettingResult>
    function getFleetExportSettingOutput(args: GetFleetExportSettingOutputArgs, opts?: InvokeOptions): Output<GetFleetExportSettingResult>
    def get_fleet_export_setting(fleet_id: Optional[str] = None,
                                 opts: Optional[InvokeOptions] = None) -> GetFleetExportSettingResult
    def get_fleet_export_setting_output(fleet_id: Optional[pulumi.Input[str]] = None,
                                 opts: Optional[InvokeOptions] = None) -> Output[GetFleetExportSettingResult]
    func GetFleetExportSetting(ctx *Context, args *GetFleetExportSettingArgs, opts ...InvokeOption) (*GetFleetExportSettingResult, error)
    func GetFleetExportSettingOutput(ctx *Context, args *GetFleetExportSettingOutputArgs, opts ...InvokeOption) GetFleetExportSettingResultOutput

    > Note: This function is named GetFleetExportSetting in the Go SDK.

    public static class GetFleetExportSetting 
    {
        public static Task<GetFleetExportSettingResult> InvokeAsync(GetFleetExportSettingArgs args, InvokeOptions? opts = null)
        public static Output<GetFleetExportSettingResult> Invoke(GetFleetExportSettingInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetFleetExportSettingResult> getFleetExportSetting(GetFleetExportSettingArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: oci:Jms/getFleetExportSetting:getFleetExportSetting
      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.

    getFleetExportSetting Result

    The following output properties are available:

    ExportDuration string
    The duration of data to be exported for fleets.
    ExportFrequency string
    Schedule at which data will be exported.
    ExportResources string
    Resource to export data associated from the fleets.
    ExportSettingKey string
    The internal identifier of the export setting.
    FleetId string
    The OCID of the fleet.
    Id string
    The provider-assigned unique ID for this managed resource.
    IsCrossRegionAcknowledged bool
    Acknowledgement for cross region target bucket configuration.
    IsEnabled bool
    ExportSetting flag to store enabled or disabled status.
    TargetBucketName string
    The name of the bucket where data will be exported.
    TargetBucketNamespace string
    The namespace of the bucket where data will be exported.
    TargetBucketRegion string
    The namespace of the bucket where data will be exported.
    TimeCreated string
    The creation date and time of the export setting (formatted according to RFC3339).
    TimeLastModified string
    The update date and time of the export setting (formatted according to RFC3339).
    ExportDuration string
    The duration of data to be exported for fleets.
    ExportFrequency string
    Schedule at which data will be exported.
    ExportResources string
    Resource to export data associated from the fleets.
    ExportSettingKey string
    The internal identifier of the export setting.
    FleetId string
    The OCID of the fleet.
    Id string
    The provider-assigned unique ID for this managed resource.
    IsCrossRegionAcknowledged bool
    Acknowledgement for cross region target bucket configuration.
    IsEnabled bool
    ExportSetting flag to store enabled or disabled status.
    TargetBucketName string
    The name of the bucket where data will be exported.
    TargetBucketNamespace string
    The namespace of the bucket where data will be exported.
    TargetBucketRegion string
    The namespace of the bucket where data will be exported.
    TimeCreated string
    The creation date and time of the export setting (formatted according to RFC3339).
    TimeLastModified string
    The update date and time of the export setting (formatted according to RFC3339).
    exportDuration String
    The duration of data to be exported for fleets.
    exportFrequency String
    Schedule at which data will be exported.
    exportResources String
    Resource to export data associated from the fleets.
    exportSettingKey String
    The internal identifier of the export setting.
    fleetId String
    The OCID of the fleet.
    id String
    The provider-assigned unique ID for this managed resource.
    isCrossRegionAcknowledged Boolean
    Acknowledgement for cross region target bucket configuration.
    isEnabled Boolean
    ExportSetting flag to store enabled or disabled status.
    targetBucketName String
    The name of the bucket where data will be exported.
    targetBucketNamespace String
    The namespace of the bucket where data will be exported.
    targetBucketRegion String
    The namespace of the bucket where data will be exported.
    timeCreated String
    The creation date and time of the export setting (formatted according to RFC3339).
    timeLastModified String
    The update date and time of the export setting (formatted according to RFC3339).
    exportDuration string
    The duration of data to be exported for fleets.
    exportFrequency string
    Schedule at which data will be exported.
    exportResources string
    Resource to export data associated from the fleets.
    exportSettingKey string
    The internal identifier of the export setting.
    fleetId string
    The OCID of the fleet.
    id string
    The provider-assigned unique ID for this managed resource.
    isCrossRegionAcknowledged boolean
    Acknowledgement for cross region target bucket configuration.
    isEnabled boolean
    ExportSetting flag to store enabled or disabled status.
    targetBucketName string
    The name of the bucket where data will be exported.
    targetBucketNamespace string
    The namespace of the bucket where data will be exported.
    targetBucketRegion string
    The namespace of the bucket where data will be exported.
    timeCreated string
    The creation date and time of the export setting (formatted according to RFC3339).
    timeLastModified string
    The update date and time of the export setting (formatted according to RFC3339).
    export_duration str
    The duration of data to be exported for fleets.
    export_frequency str
    Schedule at which data will be exported.
    export_resources str
    Resource to export data associated from the fleets.
    export_setting_key str
    The internal identifier of the export setting.
    fleet_id str
    The OCID of the fleet.
    id str
    The provider-assigned unique ID for this managed resource.
    is_cross_region_acknowledged bool
    Acknowledgement for cross region target bucket configuration.
    is_enabled bool
    ExportSetting flag to store enabled or disabled status.
    target_bucket_name str
    The name of the bucket where data will be exported.
    target_bucket_namespace str
    The namespace of the bucket where data will be exported.
    target_bucket_region str
    The namespace of the bucket where data will be exported.
    time_created str
    The creation date and time of the export setting (formatted according to RFC3339).
    time_last_modified str
    The update date and time of the export setting (formatted according to RFC3339).
    exportDuration String
    The duration of data to be exported for fleets.
    exportFrequency String
    Schedule at which data will be exported.
    exportResources String
    Resource to export data associated from the fleets.
    exportSettingKey String
    The internal identifier of the export setting.
    fleetId String
    The OCID of the fleet.
    id String
    The provider-assigned unique ID for this managed resource.
    isCrossRegionAcknowledged Boolean
    Acknowledgement for cross region target bucket configuration.
    isEnabled Boolean
    ExportSetting flag to store enabled or disabled status.
    targetBucketName String
    The name of the bucket where data will be exported.
    targetBucketNamespace String
    The namespace of the bucket where data will be exported.
    targetBucketRegion String
    The namespace of the bucket where data will be exported.
    timeCreated String
    The creation date and time of the export setting (formatted according to RFC3339).
    timeLastModified String
    The update date and time of the export setting (formatted according to RFC3339).

    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 v1.34.0 published on Friday, May 3, 2024 by Pulumi