Oracle Cloud Infrastructure v2.27.0 published on Thursday, Mar 20, 2025 by Pulumi
oci.FleetAppsManagement.getOnboardingPolicies
Explore with Pulumi AI
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.
- Onboarding
Policy List<GetCollections Onboarding Policies Onboarding Policy Collection> - The list of onboarding_policy_collection.
- Filters
List<Get
Onboarding Policies Filter>
- 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
- 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>
- 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[]
- id str
- The provider-assigned unique ID for this managed resource.
- onboarding_
policy_ Sequence[fleetappsmanagement.collections Get Onboarding Policies Onboarding Policy Collection] - The list of onboarding_policy_collection.
- filters
Sequence[fleetappsmanagement.
Get Onboarding Policies Filter]
- 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[fleetappsmanagement.
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
oci
Terraform Provider.