1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. FleetAppsManagement
  5. getOnboardingPolicies
Oracle Cloud Infrastructure v2.28.0 published on Thursday, Mar 27, 2025 by Pulumi

oci.FleetAppsManagement.getOnboardingPolicies

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v2.28.0 published on Thursday, Mar 27, 2025 by Pulumi

    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({});
    
    import pulumi
    import pulumi_oci as oci
    
    test_onboarding_policies = oci.FleetAppsManagement.get_onboarding_policies()
    
    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.GetOnboardingPolicies(ctx, &fleetappsmanagement.GetOnboardingPoliciesArgs{}, 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();
    
    });
    
    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();
    
        }
    }
    
    variables:
      testOnboardingPolicies:
        fn::invoke:
          function: oci:FleetAppsManagement:getOnboardingPolicies
          arguments: {}
    

    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(filters: Optional[Sequence[_fleetappsmanagement.GetOnboardingPoliciesFilter]] = None,
                                opts: Optional[InvokeOptions] = None) -> GetOnboardingPoliciesResult
    def get_onboarding_policies_output(filters: Optional[pulumi.Input[Sequence[pulumi.Input[_fleetappsmanagement.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 dictionary

    The following arguments are supported:

    getOnboardingPolicies Result

    The following output properties are available:

    Id string
    The provider-assigned unique ID for this managed resource.
    OnboardingPolicyCollections List<GetOnboardingPoliciesOnboardingPolicyCollection>
    The list of onboarding_policy_collection.
    Filters List<GetOnboardingPoliciesFilter>
    Id string
    The provider-assigned unique ID for this managed resource.
    OnboardingPolicyCollections []GetOnboardingPoliciesOnboardingPolicyCollection
    The list of onboarding_policy_collection.
    Filters []GetOnboardingPoliciesFilter
    id String
    The provider-assigned unique ID for this managed resource.
    onboardingPolicyCollections List<GetOnboardingPoliciesOnboardingPolicyCollection>
    The list of onboarding_policy_collection.
    filters List<GetOnboardingPoliciesFilter>
    id string
    The provider-assigned unique ID for this managed resource.
    onboardingPolicyCollections GetOnboardingPoliciesOnboardingPolicyCollection[]
    The list of onboarding_policy_collection.
    filters GetOnboardingPoliciesFilter[]
    id String
    The provider-assigned unique ID for this managed resource.
    onboardingPolicyCollections List<Property Map>
    The list of onboarding_policy_collection.
    filters List<Property Map>

    Supporting Types

    GetOnboardingPoliciesFilter

    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

    GetOnboardingPoliciesOnboardingPolicyCollection

    Items List<GetOnboardingPoliciesOnboardingPolicyCollectionItem>
    List of Fleet Application Management Onboard policies.
    Items []GetOnboardingPoliciesOnboardingPolicyCollectionItem
    List of Fleet Application Management Onboard policies.
    items List<GetOnboardingPoliciesOnboardingPolicyCollectionItem>
    List of Fleet Application Management Onboard policies.
    items GetOnboardingPoliciesOnboardingPolicyCollectionItem[]
    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.
    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.
    Id string
    The unique id of the resource.
    Statements []string
    Policy statements.
    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.
    id String
    The unique id of the resource.
    statements List<String>
    Policy statements.
    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.
    id string
    The unique id of the resource.
    statements string[]
    Policy statements.
    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.
    id str
    The unique id of the resource.
    statements Sequence[str]
    Policy statements.
    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.
    id String
    The unique id of the resource.
    statements List<String>
    Policy statements.
    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.

    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.28.0 published on Thursday, Mar 27, 2025 by Pulumi