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

oci.FleetAppsManagement.getOnboardings

Explore with Pulumi AI

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

    This data source provides the list of Onboardings in Oracle Cloud Infrastructure Fleet Apps Management service.

    Returns a list of onboarding information for the Tenancy.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testOnboardings = oci.FleetAppsManagement.getOnboardings({
        compartmentId: compartmentId,
        id: onboardingId,
        state: onboardingState,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_onboardings = oci.FleetAppsManagement.get_onboardings(compartment_id=compartment_id,
        id=onboarding_id,
        state=onboarding_state)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/FleetAppsManagement"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := FleetAppsManagement.GetOnboardings(ctx, &fleetappsmanagement.GetOnboardingsArgs{
    			CompartmentId: pulumi.StringRef(compartmentId),
    			Id:            pulumi.StringRef(onboardingId),
    			State:         pulumi.StringRef(onboardingState),
    		}, 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 testOnboardings = Oci.FleetAppsManagement.GetOnboardings.Invoke(new()
        {
            CompartmentId = compartmentId,
            Id = onboardingId,
            State = onboardingState,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.oci.FleetAppsManagement.FleetAppsManagementFunctions;
    import com.pulumi.oci.FleetAppsManagement.inputs.GetOnboardingsArgs;
    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 testOnboardings = FleetAppsManagementFunctions.getOnboardings(GetOnboardingsArgs.builder()
                .compartmentId(compartmentId)
                .id(onboardingId)
                .state(onboardingState)
                .build());
    
        }
    }
    
    variables:
      testOnboardings:
        fn::invoke:
          Function: oci:FleetAppsManagement:getOnboardings
          Arguments:
            compartmentId: ${compartmentId}
            id: ${onboardingId}
            state: ${onboardingState}
    

    Using getOnboardings

    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 getOnboardings(args: GetOnboardingsArgs, opts?: InvokeOptions): Promise<GetOnboardingsResult>
    function getOnboardingsOutput(args: GetOnboardingsOutputArgs, opts?: InvokeOptions): Output<GetOnboardingsResult>
    def get_onboardings(compartment_id: Optional[str] = None,
                        filters: Optional[Sequence[_fleetappsmanagement.GetOnboardingsFilter]] = None,
                        id: Optional[str] = None,
                        state: Optional[str] = None,
                        opts: Optional[InvokeOptions] = None) -> GetOnboardingsResult
    def get_onboardings_output(compartment_id: Optional[pulumi.Input[str]] = None,
                        filters: Optional[pulumi.Input[Sequence[pulumi.Input[_fleetappsmanagement.GetOnboardingsFilterArgs]]]] = None,
                        id: Optional[pulumi.Input[str]] = None,
                        state: Optional[pulumi.Input[str]] = None,
                        opts: Optional[InvokeOptions] = None) -> Output[GetOnboardingsResult]
    func GetOnboardings(ctx *Context, args *GetOnboardingsArgs, opts ...InvokeOption) (*GetOnboardingsResult, error)
    func GetOnboardingsOutput(ctx *Context, args *GetOnboardingsOutputArgs, opts ...InvokeOption) GetOnboardingsResultOutput

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

    public static class GetOnboardings 
    {
        public static Task<GetOnboardingsResult> InvokeAsync(GetOnboardingsArgs args, InvokeOptions? opts = null)
        public static Output<GetOnboardingsResult> Invoke(GetOnboardingsInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetOnboardingsResult> getOnboardings(GetOnboardingsArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: oci:FleetAppsManagement/getOnboardings:getOnboardings
      arguments:
        # arguments dictionary

    The following arguments are supported:

    CompartmentId string
    The ID of the compartment in which to list resources.
    Filters List<GetOnboardingsFilter>
    Id string
    unique onboarding identifier
    State string
    A filter to return only resources their lifecycleState matches the given lifecycleState.
    CompartmentId string
    The ID of the compartment in which to list resources.
    Filters []GetOnboardingsFilter
    Id string
    unique onboarding identifier
    State string
    A filter to return only resources their lifecycleState matches the given lifecycleState.
    compartmentId String
    The ID of the compartment in which to list resources.
    filters List<GetOnboardingsFilter>
    id String
    unique onboarding identifier
    state String
    A filter to return only resources their lifecycleState matches the given lifecycleState.
    compartmentId string
    The ID of the compartment in which to list resources.
    filters GetOnboardingsFilter[]
    id string
    unique onboarding identifier
    state string
    A filter to return only resources their lifecycleState matches the given lifecycleState.
    compartment_id str
    The ID of the compartment in which to list resources.
    filters Sequence[fleetappsmanagement.GetOnboardingsFilter]
    id str
    unique onboarding identifier
    state str
    A filter to return only resources their lifecycleState matches the given lifecycleState.
    compartmentId String
    The ID of the compartment in which to list resources.
    filters List<Property Map>
    id String
    unique onboarding identifier
    state String
    A filter to return only resources their lifecycleState matches the given lifecycleState.

    getOnboardings Result

    The following output properties are available:

    OnboardingCollections List<GetOnboardingsOnboardingCollection>
    The list of onboarding_collection.
    CompartmentId string
    Tenancy OCID
    Filters List<GetOnboardingsFilter>
    Id string
    The unique id of the resource.
    State string
    The current state of the Onboarding.
    OnboardingCollections []GetOnboardingsOnboardingCollection
    The list of onboarding_collection.
    CompartmentId string
    Tenancy OCID
    Filters []GetOnboardingsFilter
    Id string
    The unique id of the resource.
    State string
    The current state of the Onboarding.
    onboardingCollections List<GetOnboardingsOnboardingCollection>
    The list of onboarding_collection.
    compartmentId String
    Tenancy OCID
    filters List<GetOnboardingsFilter>
    id String
    The unique id of the resource.
    state String
    The current state of the Onboarding.
    onboardingCollections GetOnboardingsOnboardingCollection[]
    The list of onboarding_collection.
    compartmentId string
    Tenancy OCID
    filters GetOnboardingsFilter[]
    id string
    The unique id of the resource.
    state string
    The current state of the Onboarding.
    onboarding_collections Sequence[fleetappsmanagement.GetOnboardingsOnboardingCollection]
    The list of onboarding_collection.
    compartment_id str
    Tenancy OCID
    filters Sequence[fleetappsmanagement.GetOnboardingsFilter]
    id str
    The unique id of the resource.
    state str
    The current state of the Onboarding.
    onboardingCollections List<Property Map>
    The list of onboarding_collection.
    compartmentId String
    Tenancy OCID
    filters List<Property Map>
    id String
    The unique id of the resource.
    state String
    The current state of the Onboarding.

    Supporting Types

    GetOnboardingsFilter

    Name string
    Values List<string>
    Regex bool
    Name string
    Values []string
    Regex bool
    name String
    values List<String>
    regex Boolean
    name string
    values string[]
    regex boolean
    name str
    values Sequence[str]
    regex bool
    name String
    values List<String>
    regex Boolean

    GetOnboardingsOnboardingCollection

    Items List<GetOnboardingsOnboardingCollectionItem>
    List of FleetAppManagementService Onboardings.
    Items []GetOnboardingsOnboardingCollectionItem
    List of FleetAppManagementService Onboardings.
    items List<GetOnboardingsOnboardingCollectionItem>
    List of FleetAppManagementService Onboardings.
    items GetOnboardingsOnboardingCollectionItem[]
    List of FleetAppManagementService Onboardings.
    items List<Property Map>
    List of FleetAppManagementService Onboardings.

    GetOnboardingsOnboardingCollectionItem

    CompartmentId string
    The ID of the compartment in which to list resources.
    Id string
    unique onboarding identifier
    IsCostTrackingTagEnabled bool
    A value determining if cost tracking tag is enabled or not
    IsFamsTagEnabled bool
    A value determining FAMS tag is enabled or not
    ResourceRegion string
    Associated region
    State string
    A filter to return only resources their lifecycleState matches the given lifecycleState.
    SystemTags Dictionary<string, string>
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    The time this resource was created. An RFC3339 formatted datetime string.
    TimeUpdated string
    The time this resource was last updated. An RFC3339 formatted datetime string.
    Version string
    Version of FAMS the tenant is onboarded to.
    CompartmentId string
    The ID of the compartment in which to list resources.
    Id string
    unique onboarding identifier
    IsCostTrackingTagEnabled bool
    A value determining if cost tracking tag is enabled or not
    IsFamsTagEnabled bool
    A value determining FAMS tag is enabled or not
    ResourceRegion string
    Associated region
    State string
    A filter to return only resources their lifecycleState matches the given lifecycleState.
    SystemTags map[string]string
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    The time this resource was created. An RFC3339 formatted datetime string.
    TimeUpdated string
    The time this resource was last updated. An RFC3339 formatted datetime string.
    Version string
    Version of FAMS the tenant is onboarded to.
    compartmentId String
    The ID of the compartment in which to list resources.
    id String
    unique onboarding identifier
    isCostTrackingTagEnabled Boolean
    A value determining if cost tracking tag is enabled or not
    isFamsTagEnabled Boolean
    A value determining FAMS tag is enabled or not
    resourceRegion String
    Associated region
    state String
    A filter to return only resources their lifecycleState matches the given lifecycleState.
    systemTags Map<String,String>
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    The time this resource was created. An RFC3339 formatted datetime string.
    timeUpdated String
    The time this resource was last updated. An RFC3339 formatted datetime string.
    version String
    Version of FAMS the tenant is onboarded to.
    compartmentId string
    The ID of the compartment in which to list resources.
    id string
    unique onboarding identifier
    isCostTrackingTagEnabled boolean
    A value determining if cost tracking tag is enabled or not
    isFamsTagEnabled boolean
    A value determining FAMS tag is enabled or not
    resourceRegion string
    Associated region
    state string
    A filter to return only resources their lifecycleState matches the given lifecycleState.
    systemTags {[key: string]: string}
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated string
    The time this resource was created. An RFC3339 formatted datetime string.
    timeUpdated string
    The time this resource was last updated. An RFC3339 formatted datetime string.
    version string
    Version of FAMS the tenant is onboarded to.
    compartment_id str
    The ID of the compartment in which to list resources.
    id str
    unique onboarding identifier
    is_cost_tracking_tag_enabled bool
    A value determining if cost tracking tag is enabled or not
    is_fams_tag_enabled bool
    A value determining FAMS tag is enabled or not
    resource_region str
    Associated region
    state str
    A filter to return only resources their lifecycleState matches the given lifecycleState.
    system_tags Mapping[str, str]
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    time_created str
    The time this resource was created. An RFC3339 formatted datetime string.
    time_updated str
    The time this resource was last updated. An RFC3339 formatted datetime string.
    version str
    Version of FAMS the tenant is onboarded to.
    compartmentId String
    The ID of the compartment in which to list resources.
    id String
    unique onboarding identifier
    isCostTrackingTagEnabled Boolean
    A value determining if cost tracking tag is enabled or not
    isFamsTagEnabled Boolean
    A value determining FAMS tag is enabled or not
    resourceRegion String
    Associated region
    state String
    A filter to return only resources their lifecycleState matches the given lifecycleState.
    systemTags Map<String>
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    The time this resource was created. An RFC3339 formatted datetime string.
    timeUpdated String
    The time this resource was last updated. An RFC3339 formatted datetime string.
    version String
    Version of FAMS the tenant is onboarded to.

    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