Oracle Cloud Infrastructure v3.10.0 published on Wednesday, Nov 5, 2025 by Pulumi
oci.FleetAppsManagement.getOnboardingPolicies
Start a Neo task
Explain and create an oci.FleetAppsManagement.getOnboardingPolicies resource
This data source provides the list of Onboarding Policies in Oracle Cloud Infrastructure Fleet Apps Management service.
Returns a list of onboarding policy information for Fleet Application Management.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testOnboardingPolicies = oci.FleetAppsManagement.getOnboardingPolicies({
compartmentId: compartmentId,
});
import pulumi
import pulumi_oci as oci
test_onboarding_policies = oci.FleetAppsManagement.get_onboarding_policies(compartment_id=compartment_id)
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.GetOnboardingPolicies(ctx, &fleetappsmanagement.GetOnboardingPoliciesArgs{
CompartmentId: compartmentId,
}, 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 testOnboardingPolicies = Oci.FleetAppsManagement.GetOnboardingPolicies.Invoke(new()
{
CompartmentId = compartmentId,
});
});
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.GetOnboardingPoliciesArgs;
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 testOnboardingPolicies = FleetAppsManagementFunctions.getOnboardingPolicies(GetOnboardingPoliciesArgs.builder()
.compartmentId(compartmentId)
.build());
}
}
variables:
testOnboardingPolicies:
fn::invoke:
function: oci:FleetAppsManagement:getOnboardingPolicies
arguments:
compartmentId: ${compartmentId}
Using getOnboardingPolicies
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 getOnboardingPolicies(args: GetOnboardingPoliciesArgs, opts?: InvokeOptions): Promise<GetOnboardingPoliciesResult>
function getOnboardingPoliciesOutput(args: GetOnboardingPoliciesOutputArgs, opts?: InvokeOptions): Output<GetOnboardingPoliciesResult>def get_onboarding_policies(compartment_id: Optional[str] = None,
filters: Optional[Sequence[GetOnboardingPoliciesFilter]] = None,
opts: Optional[InvokeOptions] = None) -> GetOnboardingPoliciesResult
def get_onboarding_policies_output(compartment_id: Optional[pulumi.Input[str]] = None,
filters: Optional[pulumi.Input[Sequence[pulumi.Input[GetOnboardingPoliciesFilterArgs]]]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetOnboardingPoliciesResult]func GetOnboardingPolicies(ctx *Context, args *GetOnboardingPoliciesArgs, opts ...InvokeOption) (*GetOnboardingPoliciesResult, error)
func GetOnboardingPoliciesOutput(ctx *Context, args *GetOnboardingPoliciesOutputArgs, opts ...InvokeOption) GetOnboardingPoliciesResultOutput> Note: This function is named GetOnboardingPolicies in the Go SDK.
public static class GetOnboardingPolicies
{
public static Task<GetOnboardingPoliciesResult> InvokeAsync(GetOnboardingPoliciesArgs args, InvokeOptions? opts = null)
public static Output<GetOnboardingPoliciesResult> Invoke(GetOnboardingPoliciesInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetOnboardingPoliciesResult> getOnboardingPolicies(GetOnboardingPoliciesArgs args, InvokeOptions options)
public static Output<GetOnboardingPoliciesResult> getOnboardingPolicies(GetOnboardingPoliciesArgs args, InvokeOptions options)
fn::invoke:
function: oci:FleetAppsManagement/getOnboardingPolicies:getOnboardingPolicies
arguments:
# arguments dictionaryThe following arguments are supported:
- Compartment
Id string - The ID of the compartment in which to list resources.
- Filters
List<Get
Onboarding Policies Filter>
- Compartment
Id string - The ID of the compartment in which to list resources.
- Filters
[]Get
Onboarding Policies Filter
- compartment
Id String - The ID of the compartment in which to list resources.
- filters
List<Get
Onboarding Policies Filter>
- compartment
Id string - The ID of the compartment in which to list resources.
- filters
Get
Onboarding Policies Filter[]
- compartment_
id str - The ID of the compartment in which to list resources.
- filters
Sequence[Get
Onboarding Policies Filter]
- compartment
Id String - The ID of the compartment in which to list resources.
- filters List<Property Map>
getOnboardingPolicies Result
The following output properties are available:
- Compartment
Id string - Id string
- The provider-assigned unique ID for this managed resource.
- Onboarding
Policy List<GetCollections Onboarding Policies Onboarding Policy Collection> - The list of onboarding_policy_collection.
- Filters
List<Get
Onboarding Policies Filter>
- Compartment
Id string - Id string
- The provider-assigned unique ID for this managed resource.
- Onboarding
Policy []GetCollections Onboarding Policies Onboarding Policy Collection - The list of onboarding_policy_collection.
- Filters
[]Get
Onboarding Policies Filter
- compartment
Id String - id String
- The provider-assigned unique ID for this managed resource.
- onboarding
Policy List<GetCollections Onboarding Policies Onboarding Policy Collection> - The list of onboarding_policy_collection.
- filters
List<Get
Onboarding Policies Filter>
- compartment
Id string - id string
- The provider-assigned unique ID for this managed resource.
- onboarding
Policy GetCollections Onboarding Policies Onboarding Policy Collection[] - The list of onboarding_policy_collection.
- filters
Get
Onboarding Policies Filter[]
- compartment_
id str - id str
- The provider-assigned unique ID for this managed resource.
- onboarding_
policy_ Sequence[Getcollections Onboarding Policies Onboarding Policy Collection] - The list of onboarding_policy_collection.
- filters
Sequence[Get
Onboarding Policies Filter]
- compartment
Id String - id String
- The provider-assigned unique ID for this managed resource.
- onboarding
Policy List<Property Map>Collections - The list of onboarding_policy_collection.
- filters List<Property Map>
Supporting Types
GetOnboardingPoliciesFilter
GetOnboardingPoliciesOnboardingPolicyCollection
- Items
List<Get
Onboarding Policies Onboarding Policy Collection Item> - List of Fleet Application Management Onboard policies.
- Items
[]Get
Onboarding Policies Onboarding Policy Collection Item - List of Fleet Application Management Onboard policies.
- items
List<Get
Onboarding Policies Onboarding Policy Collection Item> - List of Fleet Application Management Onboard policies.
- items
Get
Onboarding Policies Onboarding Policy Collection Item[] - List of Fleet Application Management Onboard policies.
- items
Sequence[Get
Onboarding Policies Onboarding Policy Collection Item] - List of Fleet Application Management Onboard policies.
- items List<Property Map>
- List of Fleet Application Management Onboard policies.
GetOnboardingPoliciesOnboardingPolicyCollectionItem
- Id string
- The unique id of the resource.
- 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
- The unique id of the resource.
- 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
- The unique id of the resource.
- 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
- The unique id of the resource.
- 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
- The unique id of the resource.
- 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
- The unique id of the resource.
- 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
ociTerraform Provider.
