Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 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 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:
- Compartment
Id string - The ID of the compartment in which to list resources.
- Filters
List<Get
Onboardings Filter> - Id string
- unique onboarding identifier
- State string
- A filter to return only resources their lifecycleState matches the given lifecycleState.
- Compartment
Id string - The ID of the compartment in which to list resources.
- Filters
[]Get
Onboardings Filter - Id string
- unique onboarding identifier
- State string
- A filter to return only resources their lifecycleState matches the given lifecycleState.
- compartment
Id String - The ID of the compartment in which to list resources.
- filters
List<Get
Onboardings Filter> - id String
- unique onboarding identifier
- state String
- A filter to return only resources their lifecycleState matches the given lifecycleState.
- compartment
Id string - The ID of the compartment in which to list resources.
- filters
Get
Onboardings Filter[] - 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.
Get Onboardings Filter] - id str
- unique onboarding identifier
- state str
- A filter to return only resources their lifecycleState matches the given lifecycleState.
- compartment
Id 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:
- 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[fleetappsmanagement.Get Onboardings Onboarding Collection] - The list of onboarding_collection.
- compartment_
id str - Tenancy OCID
- filters
Sequence[fleetappsmanagement.
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 FleetAppManagementService Onboardings.
- Items
[]Get
Onboardings Onboarding Collection Item - List of FleetAppManagementService Onboardings.
- items
List<Get
Onboardings Onboarding Collection Item> - List of FleetAppManagementService Onboardings.
- items
Get
Onboardings Onboarding Collection Item[] - List of FleetAppManagementService Onboardings.
- items
Sequence[fleetappsmanagement.
Get Onboardings Onboarding Collection Item] - List of FleetAppManagementService Onboardings.
- items List<Property Map>
- List of FleetAppManagementService Onboardings.
GetOnboardingsOnboardingCollectionItem
- Compartment
Id string - The ID of the compartment in which to list resources.
- Id string
- unique onboarding identifier
- Is
Cost boolTracking Tag Enabled - A value determining if cost tracking tag is enabled or not
- Is
Fams boolTag Enabled - A value determining FAMS tag is enabled or not
- Resource
Region string - Associated region
- State string
- A filter to return only resources their 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
- Version of FAMS the tenant is onboarded to.
- Compartment
Id string - The ID of the compartment in which to list resources.
- Id string
- unique onboarding identifier
- Is
Cost boolTracking Tag Enabled - A value determining if cost tracking tag is enabled or not
- Is
Fams boolTag Enabled - A value determining FAMS tag is enabled or not
- Resource
Region string - Associated region
- State string
- A filter to return only resources their 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
- Version of FAMS the tenant is onboarded to.
- compartment
Id String - The ID of the compartment in which to list resources.
- id String
- unique onboarding identifier
- is
Cost BooleanTracking Tag Enabled - A value determining if cost tracking tag is enabled or not
- is
Fams BooleanTag Enabled - A value determining FAMS tag is enabled or not
- resource
Region String - Associated region
- state String
- A filter to return only resources their 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
- Version of FAMS the tenant is onboarded to.
- compartment
Id string - The ID of the compartment in which to list resources.
- id string
- unique onboarding identifier
- is
Cost booleanTracking Tag Enabled - A value determining if cost tracking tag is enabled or not
- is
Fams booleanTag Enabled - A value determining FAMS tag is enabled or not
- resource
Region string - Associated region
- state string
- A filter to return only resources their 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
- 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_ booltracking_ tag_ enabled - A value determining if cost tracking tag is enabled or not
- is_
fams_ booltag_ enabled - 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.
- 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.
- compartment
Id String - The ID of the compartment in which to list resources.
- id String
- unique onboarding identifier
- is
Cost BooleanTracking Tag Enabled - A value determining if cost tracking tag is enabled or not
- is
Fams BooleanTag Enabled - A value determining FAMS tag is enabled or not
- resource
Region String - Associated region
- state String
- A filter to return only resources their 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
- 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.