Oracle Cloud Infrastructure v3.3.0 published on Thursday, Jul 17, 2025 by Pulumi
oci.FleetAppsManagement.getOnboardings
Explore with Pulumi AI
This data source provides the list of Onboardings in Oracle Cloud Infrastructure Fleet Apps Management service.
Returns a list of all the onboardings in the specified root compartment (tenancy).
The query parameter compartmentId
is required unless the query parameter id
is specified.
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/v3/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[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[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)
public static Output<GetOnboardingsResult> getOnboardings(GetOnboardingsArgs args, InvokeOptions options)
fn::invoke:
function: oci:FleetAppsManagement/getOnboardings:getOnboardings
arguments:
# arguments dictionary
The following arguments are supported:
- Compartment
Id string - The ID of the compartment in which to list resources. Empty only if the resource OCID query param is not specified.
- Filters
List<Get
Onboardings Filter> - Id string
- Unique identifier or OCID for listing a single onboarding by id. Either compartmentId or id must be provided.
- State string
- A filter to return only resources whose lifecycleState matches the given lifecycleState.
- Compartment
Id string - The ID of the compartment in which to list resources. Empty only if the resource OCID query param is not specified.
- Filters
[]Get
Onboardings Filter - Id string
- Unique identifier or OCID for listing a single onboarding by id. Either compartmentId or id must be provided.
- State string
- A filter to return only resources whose lifecycleState matches the given lifecycleState.
- compartment
Id String - The ID of the compartment in which to list resources. Empty only if the resource OCID query param is not specified.
- filters
List<Get
Onboardings Filter> - id String
- Unique identifier or OCID for listing a single onboarding by id. Either compartmentId or id must be provided.
- state String
- A filter to return only resources whose lifecycleState matches the given lifecycleState.
- compartment
Id string - The ID of the compartment in which to list resources. Empty only if the resource OCID query param is not specified.
- filters
Get
Onboardings Filter[] - id string
- Unique identifier or OCID for listing a single onboarding by id. Either compartmentId or id must be provided.
- state string
- A filter to return only resources whose lifecycleState matches the given lifecycleState.
- compartment_
id str - The ID of the compartment in which to list resources. Empty only if the resource OCID query param is not specified.
- filters
Sequence[Get
Onboardings Filter] - id str
- Unique identifier or OCID for listing a single onboarding by id. Either compartmentId or id must be provided.
- state str
- A filter to return only resources whose lifecycleState matches the given lifecycleState.
- compartment
Id String - The ID of the compartment in which to list resources. Empty only if the resource OCID query param is not specified.
- filters List<Property Map>
- id String
- Unique identifier or OCID for listing a single onboarding by id. Either compartmentId or id must be provided.
- state String
- A filter to return only resources whose lifecycleState matches the given lifecycleState.
getOnboardings Result
The following output properties are available:
- Onboarding
Collections List<GetOnboardings Onboarding Collection> - The list of onboarding_collection.
- Compartment
Id string - Tenancy OCID
- Filters
List<Get
Onboardings Filter> - Id string
- The unique id of the resource.
- State string
- The current state of the Onboarding.
- Onboarding
Collections []GetOnboardings Onboarding Collection - The list of onboarding_collection.
- Compartment
Id string - Tenancy OCID
- Filters
[]Get
Onboardings Filter - Id string
- The unique id of the resource.
- State string
- The current state of the Onboarding.
- onboarding
Collections List<GetOnboardings Onboarding Collection> - The list of onboarding_collection.
- compartment
Id String - Tenancy OCID
- filters
List<Get
Onboardings Filter> - id String
- The unique id of the resource.
- state String
- The current state of the Onboarding.
- onboarding
Collections GetOnboardings Onboarding Collection[] - The list of onboarding_collection.
- compartment
Id string - Tenancy OCID
- filters
Get
Onboardings Filter[] - id string
- The unique id of the resource.
- state string
- The current state of the Onboarding.
- onboarding_
collections Sequence[GetOnboardings Onboarding Collection] - The list of onboarding_collection.
- compartment_
id str - Tenancy OCID
- filters
Sequence[Get
Onboardings Filter] - id str
- The unique id of the resource.
- state str
- The current state of the Onboarding.
- onboarding
Collections List<Property Map> - The list of onboarding_collection.
- compartment
Id 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
GetOnboardingsOnboardingCollection
- Items
List<Get
Onboardings Onboarding Collection Item> - List of Fleet Application Management Onboardings.
- Items
[]Get
Onboardings Onboarding Collection Item - List of Fleet Application Management Onboardings.
- items
List<Get
Onboardings Onboarding Collection Item> - List of Fleet Application Management Onboardings.
- items
Get
Onboardings Onboarding Collection Item[] - List of Fleet Application Management Onboardings.
- items
Sequence[Get
Onboardings Onboarding Collection Item] - List of Fleet Application Management Onboardings.
- items List<Property Map>
- List of Fleet Application Management Onboardings.
GetOnboardingsOnboardingCollectionItem
- Applied
Policies List<GetOnboardings Onboarding Collection Item Applied Policy> - Summary of the Fleet Application Management Onboard Policy.
- Compartment
Id string - The ID of the compartment in which to list resources. Empty only if the resource OCID query param is not specified.
- Dictionary<string, string>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- Discovery
Frequency string - Provide discovery frequency.
- Dictionary<string, string>
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- Id string
- Unique identifier or OCID for listing a single onboarding by id. Either compartmentId or id must be provided.
- Is
Cost boolTracking Tag Enabled - A value determining if the cost tracking tag is enabled or not. Allow Fleet Application Management to tag resources with cost tracking tag using "Oracle$FAMS-Tags.FAMSManaged" tag.
- Is
Fams boolTag Enabled - A value determining if the Fleet Application Management tagging is enabled or not. Allow Fleet Application Management to tag resources with fleet name using "Oracle$FAMS-Tags.FleetName" tag.
- Resource
Region string - Associated region
- State string
- A filter to return only resources whose lifecycleState matches the given lifecycleState.
- Dictionary<string, string>
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"}
- Time
Created string - The time this resource was created. An RFC3339 formatted datetime string.
- Time
Updated string - The time this resource was last updated. An RFC3339 formatted datetime string.
- Version string
- The version of Fleet Application Management that the tenant is onboarded to.
- Applied
Policies []GetOnboardings Onboarding Collection Item Applied Policy - Summary of the Fleet Application Management Onboard Policy.
- Compartment
Id string - The ID of the compartment in which to list resources. Empty only if the resource OCID query param is not specified.
- map[string]string
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- Discovery
Frequency string - Provide discovery frequency.
- map[string]string
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- Id string
- Unique identifier or OCID for listing a single onboarding by id. Either compartmentId or id must be provided.
- Is
Cost boolTracking Tag Enabled - A value determining if the cost tracking tag is enabled or not. Allow Fleet Application Management to tag resources with cost tracking tag using "Oracle$FAMS-Tags.FAMSManaged" tag.
- Is
Fams boolTag Enabled - A value determining if the Fleet Application Management tagging is enabled or not. Allow Fleet Application Management to tag resources with fleet name using "Oracle$FAMS-Tags.FleetName" tag.
- Resource
Region string - Associated region
- State string
- A filter to return only resources whose lifecycleState matches the given lifecycleState.
- map[string]string
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"}
- Time
Created string - The time this resource was created. An RFC3339 formatted datetime string.
- Time
Updated string - The time this resource was last updated. An RFC3339 formatted datetime string.
- Version string
- The version of Fleet Application Management that the tenant is onboarded to.
- applied
Policies List<GetOnboardings Onboarding Collection Item Applied Policy> - Summary of the Fleet Application Management Onboard Policy.
- compartment
Id String - The ID of the compartment in which to list resources. Empty only if the resource OCID query param is not specified.
- Map<String,String>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- discovery
Frequency String - Provide discovery frequency.
- Map<String,String>
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- id String
- Unique identifier or OCID for listing a single onboarding by id. Either compartmentId or id must be provided.
- is
Cost BooleanTracking Tag Enabled - A value determining if the cost tracking tag is enabled or not. Allow Fleet Application Management to tag resources with cost tracking tag using "Oracle$FAMS-Tags.FAMSManaged" tag.
- is
Fams BooleanTag Enabled - A value determining if the Fleet Application Management tagging is enabled or not. Allow Fleet Application Management to tag resources with fleet name using "Oracle$FAMS-Tags.FleetName" tag.
- resource
Region String - Associated region
- state String
- A filter to return only resources whose lifecycleState matches the given lifecycleState.
- Map<String,String>
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created String - The time this resource was created. An RFC3339 formatted datetime string.
- time
Updated String - The time this resource was last updated. An RFC3339 formatted datetime string.
- version String
- The version of Fleet Application Management that the tenant is onboarded to.
- applied
Policies GetOnboardings Onboarding Collection Item Applied Policy[] - Summary of the Fleet Application Management Onboard Policy.
- compartment
Id string - The ID of the compartment in which to list resources. Empty only if the resource OCID query param is not specified.
- {[key: string]: string}
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- discovery
Frequency string - Provide discovery frequency.
- {[key: string]: string}
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- id string
- Unique identifier or OCID for listing a single onboarding by id. Either compartmentId or id must be provided.
- is
Cost booleanTracking Tag Enabled - A value determining if the cost tracking tag is enabled or not. Allow Fleet Application Management to tag resources with cost tracking tag using "Oracle$FAMS-Tags.FAMSManaged" tag.
- is
Fams booleanTag Enabled - A value determining if the Fleet Application Management tagging is enabled or not. Allow Fleet Application Management to tag resources with fleet name using "Oracle$FAMS-Tags.FleetName" tag.
- resource
Region string - Associated region
- state string
- A filter to return only resources whose lifecycleState matches the given lifecycleState.
- {[key: string]: string}
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created string - The time this resource was created. An RFC3339 formatted datetime string.
- time
Updated string - The time this resource was last updated. An RFC3339 formatted datetime string.
- version string
- The version of Fleet Application Management that the tenant is onboarded to.
- applied_
policies Sequence[GetOnboardings Onboarding Collection Item Applied Policy] - Summary of the Fleet Application Management Onboard Policy.
- compartment_
id str - The ID of the compartment in which to list resources. Empty only if the resource OCID query param is not specified.
- Mapping[str, str]
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- discovery_
frequency str - Provide discovery frequency.
- Mapping[str, str]
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- id str
- Unique identifier or OCID for listing a single onboarding by id. Either compartmentId or id must be provided.
- is_
cost_ booltracking_ tag_ enabled - A value determining if the cost tracking tag is enabled or not. Allow Fleet Application Management to tag resources with cost tracking tag using "Oracle$FAMS-Tags.FAMSManaged" tag.
- is_
fams_ booltag_ enabled - A value determining if the Fleet Application Management tagging is enabled or not. Allow Fleet Application Management to tag resources with fleet name using "Oracle$FAMS-Tags.FleetName" tag.
- resource_
region str - Associated region
- state str
- A filter to return only resources whose lifecycleState matches the given lifecycleState.
- 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
- The version of Fleet Application Management that the tenant is onboarded to.
- applied
Policies List<Property Map> - Summary of the Fleet Application Management Onboard Policy.
- compartment
Id String - The ID of the compartment in which to list resources. Empty only if the resource OCID query param is not specified.
- Map<String>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- discovery
Frequency String - Provide discovery frequency.
- Map<String>
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- id String
- Unique identifier or OCID for listing a single onboarding by id. Either compartmentId or id must be provided.
- is
Cost BooleanTracking Tag Enabled - A value determining if the cost tracking tag is enabled or not. Allow Fleet Application Management to tag resources with cost tracking tag using "Oracle$FAMS-Tags.FAMSManaged" tag.
- is
Fams BooleanTag Enabled - A value determining if the Fleet Application Management tagging is enabled or not. Allow Fleet Application Management to tag resources with fleet name using "Oracle$FAMS-Tags.FleetName" tag.
- resource
Region String - Associated region
- state String
- A filter to return only resources whose lifecycleState matches the given lifecycleState.
- Map<String>
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created String - The time this resource was created. An RFC3339 formatted datetime string.
- time
Updated String - The time this resource was last updated. An RFC3339 formatted datetime string.
- version String
- The version of Fleet Application Management that the tenant is onboarded to.
GetOnboardingsOnboardingCollectionItemAppliedPolicy
- Id string
- Unique identifier or OCID for listing a single onboarding by id. Either compartmentId or id must be provided.
- Statements List<string>
- Policy statements.
- Dictionary<string, string>
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"}
- Time
Created string - The time this resource was created. An RFC3339 formatted datetime string.
- Time
Updated string - The time this resource was last updated. An RFC3339 formatted datetime string.
- Id string
- Unique identifier or OCID for listing a single onboarding by id. Either compartmentId or id must be provided.
- Statements []string
- Policy statements.
- map[string]string
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"}
- Time
Created string - The time this resource was created. An RFC3339 formatted datetime string.
- Time
Updated string - The time this resource was last updated. An RFC3339 formatted datetime string.
- id String
- Unique identifier or OCID for listing a single onboarding by id. Either compartmentId or id must be provided.
- statements List<String>
- Policy statements.
- Map<String,String>
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created String - The time this resource was created. An RFC3339 formatted datetime string.
- time
Updated String - The time this resource was last updated. An RFC3339 formatted datetime string.
- id string
- Unique identifier or OCID for listing a single onboarding by id. Either compartmentId or id must be provided.
- statements string[]
- Policy statements.
- {[key: string]: string}
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created string - The time this resource was created. An RFC3339 formatted datetime string.
- time
Updated string - The time this resource was last updated. An RFC3339 formatted datetime string.
- id str
- Unique identifier or OCID for listing a single onboarding by id. Either compartmentId or id must be provided.
- statements Sequence[str]
- Policy statements.
- 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.
- id String
- Unique identifier or OCID for listing a single onboarding by id. Either compartmentId or id must be provided.
- statements List<String>
- Policy statements.
- Map<String>
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created String - The time this resource was created. An RFC3339 formatted datetime string.
- time
Updated String - The time this resource was last updated. An RFC3339 formatted datetime string.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
oci
Terraform Provider.