1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. FleetAppsManagement
  5. getFleetProperties
Oracle Cloud Infrastructure v2.29.0 published on Wednesday, Apr 9, 2025 by Pulumi

oci.FleetAppsManagement.getFleetProperties

Explore with Pulumi AI

Oracle Cloud Infrastructure v2.29.0 published on Wednesday, Apr 9, 2025 by Pulumi

This data source provides the list of Fleet Properties in Oracle Cloud Infrastructure Fleet Apps Management service.

List fleet properties in Fleet Application Management.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";

const testFleetProperties = oci.FleetAppsManagement.getFleetProperties({
    fleetId: testFleet.id,
    compartmentId: compartmentId,
    displayName: fleetPropertyDisplayName,
    id: fleetPropertyId,
    state: fleetPropertyState,
});
Copy
import pulumi
import pulumi_oci as oci

test_fleet_properties = oci.FleetAppsManagement.get_fleet_properties(fleet_id=test_fleet["id"],
    compartment_id=compartment_id,
    display_name=fleet_property_display_name,
    id=fleet_property_id,
    state=fleet_property_state)
Copy
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.GetFleetProperties(ctx, &fleetappsmanagement.GetFleetPropertiesArgs{
			FleetId:       testFleet.Id,
			CompartmentId: pulumi.StringRef(compartmentId),
			DisplayName:   pulumi.StringRef(fleetPropertyDisplayName),
			Id:            pulumi.StringRef(fleetPropertyId),
			State:         pulumi.StringRef(fleetPropertyState),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Oci = Pulumi.Oci;

return await Deployment.RunAsync(() => 
{
    var testFleetProperties = Oci.FleetAppsManagement.GetFleetProperties.Invoke(new()
    {
        FleetId = testFleet.Id,
        CompartmentId = compartmentId,
        DisplayName = fleetPropertyDisplayName,
        Id = fleetPropertyId,
        State = fleetPropertyState,
    });

});
Copy
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.GetFleetPropertiesArgs;
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 testFleetProperties = FleetAppsManagementFunctions.getFleetProperties(GetFleetPropertiesArgs.builder()
            .fleetId(testFleet.id())
            .compartmentId(compartmentId)
            .displayName(fleetPropertyDisplayName)
            .id(fleetPropertyId)
            .state(fleetPropertyState)
            .build());

    }
}
Copy
variables:
  testFleetProperties:
    fn::invoke:
      function: oci:FleetAppsManagement:getFleetProperties
      arguments:
        fleetId: ${testFleet.id}
        compartmentId: ${compartmentId}
        displayName: ${fleetPropertyDisplayName}
        id: ${fleetPropertyId}
        state: ${fleetPropertyState}
Copy

Using getFleetProperties

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 getFleetProperties(args: GetFleetPropertiesArgs, opts?: InvokeOptions): Promise<GetFleetPropertiesResult>
function getFleetPropertiesOutput(args: GetFleetPropertiesOutputArgs, opts?: InvokeOptions): Output<GetFleetPropertiesResult>
Copy
def get_fleet_properties(compartment_id: Optional[str] = None,
                         display_name: Optional[str] = None,
                         filters: Optional[Sequence[_fleetappsmanagement.GetFleetPropertiesFilter]] = None,
                         fleet_id: Optional[str] = None,
                         id: Optional[str] = None,
                         state: Optional[str] = None,
                         opts: Optional[InvokeOptions] = None) -> GetFleetPropertiesResult
def get_fleet_properties_output(compartment_id: Optional[pulumi.Input[str]] = None,
                         display_name: Optional[pulumi.Input[str]] = None,
                         filters: Optional[pulumi.Input[Sequence[pulumi.Input[_fleetappsmanagement.GetFleetPropertiesFilterArgs]]]] = None,
                         fleet_id: Optional[pulumi.Input[str]] = None,
                         id: Optional[pulumi.Input[str]] = None,
                         state: Optional[pulumi.Input[str]] = None,
                         opts: Optional[InvokeOptions] = None) -> Output[GetFleetPropertiesResult]
Copy
func GetFleetProperties(ctx *Context, args *GetFleetPropertiesArgs, opts ...InvokeOption) (*GetFleetPropertiesResult, error)
func GetFleetPropertiesOutput(ctx *Context, args *GetFleetPropertiesOutputArgs, opts ...InvokeOption) GetFleetPropertiesResultOutput
Copy

> Note: This function is named GetFleetProperties in the Go SDK.

public static class GetFleetProperties 
{
    public static Task<GetFleetPropertiesResult> InvokeAsync(GetFleetPropertiesArgs args, InvokeOptions? opts = null)
    public static Output<GetFleetPropertiesResult> Invoke(GetFleetPropertiesInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetFleetPropertiesResult> getFleetProperties(GetFleetPropertiesArgs args, InvokeOptions options)
public static Output<GetFleetPropertiesResult> getFleetProperties(GetFleetPropertiesArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: oci:FleetAppsManagement/getFleetProperties:getFleetProperties
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

FleetId This property is required. string
Unique Fleet identifier.
CompartmentId string
The ID of the compartment in which to list resources.
DisplayName string
A filter to return only resources that match the entire display name given.
Filters Changes to this property will trigger replacement. List<GetFleetPropertiesFilter>
Id string
A filter to return only resources whose fleetProperty identifier matches the given identifier.
State string
A filter to return only resources whose lifecycleState matches the given lifecycleState.
FleetId This property is required. string
Unique Fleet identifier.
CompartmentId string
The ID of the compartment in which to list resources.
DisplayName string
A filter to return only resources that match the entire display name given.
Filters Changes to this property will trigger replacement. []GetFleetPropertiesFilter
Id string
A filter to return only resources whose fleetProperty identifier matches the given identifier.
State string
A filter to return only resources whose lifecycleState matches the given lifecycleState.
fleetId This property is required. String
Unique Fleet identifier.
compartmentId String
The ID of the compartment in which to list resources.
displayName String
A filter to return only resources that match the entire display name given.
filters Changes to this property will trigger replacement. List<GetFleetPropertiesFilter>
id String
A filter to return only resources whose fleetProperty identifier matches the given identifier.
state String
A filter to return only resources whose lifecycleState matches the given lifecycleState.
fleetId This property is required. string
Unique Fleet identifier.
compartmentId string
The ID of the compartment in which to list resources.
displayName string
A filter to return only resources that match the entire display name given.
filters Changes to this property will trigger replacement. GetFleetPropertiesFilter[]
id string
A filter to return only resources whose fleetProperty identifier matches the given identifier.
state string
A filter to return only resources whose lifecycleState matches the given lifecycleState.
fleet_id This property is required. str
Unique Fleet identifier.
compartment_id str
The ID of the compartment in which to list resources.
display_name str
A filter to return only resources that match the entire display name given.
filters Changes to this property will trigger replacement. Sequence[fleetappsmanagement.GetFleetPropertiesFilter]
id str
A filter to return only resources whose fleetProperty identifier matches the given identifier.
state str
A filter to return only resources whose lifecycleState matches the given lifecycleState.
fleetId This property is required. String
Unique Fleet identifier.
compartmentId String
The ID of the compartment in which to list resources.
displayName String
A filter to return only resources that match the entire display name given.
filters Changes to this property will trigger replacement. List<Property Map>
id String
A filter to return only resources whose fleetProperty identifier matches the given identifier.
state String
A filter to return only resources whose lifecycleState matches the given lifecycleState.

getFleetProperties Result

The following output properties are available:

FleetId string
FleetPropertyCollections List<GetFleetPropertiesFleetPropertyCollection>
The list of fleet_property_collection.
CompartmentId string
Tenancy OCID
DisplayName string
A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example: My new resource
Filters List<GetFleetPropertiesFilter>
Id string
The unique id of the resource.
State string
The current state of the FleetProperty.
FleetId string
FleetPropertyCollections []GetFleetPropertiesFleetPropertyCollection
The list of fleet_property_collection.
CompartmentId string
Tenancy OCID
DisplayName string
A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example: My new resource
Filters []GetFleetPropertiesFilter
Id string
The unique id of the resource.
State string
The current state of the FleetProperty.
fleetId String
fleetPropertyCollections List<GetFleetPropertiesFleetPropertyCollection>
The list of fleet_property_collection.
compartmentId String
Tenancy OCID
displayName String
A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example: My new resource
filters List<GetFleetPropertiesFilter>
id String
The unique id of the resource.
state String
The current state of the FleetProperty.
fleetId string
fleetPropertyCollections GetFleetPropertiesFleetPropertyCollection[]
The list of fleet_property_collection.
compartmentId string
Tenancy OCID
displayName string
A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example: My new resource
filters GetFleetPropertiesFilter[]
id string
The unique id of the resource.
state string
The current state of the FleetProperty.
fleet_id str
fleet_property_collections Sequence[fleetappsmanagement.GetFleetPropertiesFleetPropertyCollection]
The list of fleet_property_collection.
compartment_id str
Tenancy OCID
display_name str
A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example: My new resource
filters Sequence[fleetappsmanagement.GetFleetPropertiesFilter]
id str
The unique id of the resource.
state str
The current state of the FleetProperty.
fleetId String
fleetPropertyCollections List<Property Map>
The list of fleet_property_collection.
compartmentId String
Tenancy OCID
displayName String
A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example: My new resource
filters List<Property Map>
id String
The unique id of the resource.
state String
The current state of the FleetProperty.

Supporting Types

GetFleetPropertiesFilter

Name This property is required. string
Values This property is required. List<string>
Regex bool
Name This property is required. string
Values This property is required. []string
Regex bool
name This property is required. String
values This property is required. List<String>
regex Boolean
name This property is required. string
values This property is required. string[]
regex boolean
name This property is required. str
values This property is required. Sequence[str]
regex bool
name This property is required. String
values This property is required. List<String>
regex Boolean

GetFleetPropertiesFleetPropertyCollection

items This property is required. List<Property Map>

GetFleetPropertiesFleetPropertyCollectionItem

AllowedValues This property is required. List<string>
Values of the property (must be a single value if selectionType = 'SINGLE_CHOICE').
CompartmentId This property is required. string
The ID of the compartment in which to list resources.
DisplayName This property is required. string
A filter to return only resources that match the entire display name given.
FleetId This property is required. string
Unique Fleet identifier.
Id This property is required. string
A filter to return only resources whose fleetProperty identifier matches the given identifier.
PropertyId This property is required. string
OCID referring to global level metadata property.
SelectionType This property is required. string
Text selection of the property.
State This property is required. string
A filter to return only resources whose lifecycleState matches the given lifecycleState.
SystemTags This property is required. 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 This property is required. string
The time this resource was created. An RFC3339 formatted datetime string.
TimeUpdated This property is required. string
The time this resource was last updated. An RFC3339 formatted datetime string.
Value This property is required. string
Value of the Property.
ValueType This property is required. string
Format of the value.
AllowedValues This property is required. []string
Values of the property (must be a single value if selectionType = 'SINGLE_CHOICE').
CompartmentId This property is required. string
The ID of the compartment in which to list resources.
DisplayName This property is required. string
A filter to return only resources that match the entire display name given.
FleetId This property is required. string
Unique Fleet identifier.
Id This property is required. string
A filter to return only resources whose fleetProperty identifier matches the given identifier.
PropertyId This property is required. string
OCID referring to global level metadata property.
SelectionType This property is required. string
Text selection of the property.
State This property is required. string
A filter to return only resources whose lifecycleState matches the given lifecycleState.
SystemTags This property is required. 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 This property is required. string
The time this resource was created. An RFC3339 formatted datetime string.
TimeUpdated This property is required. string
The time this resource was last updated. An RFC3339 formatted datetime string.
Value This property is required. string
Value of the Property.
ValueType This property is required. string
Format of the value.
allowedValues This property is required. List<String>
Values of the property (must be a single value if selectionType = 'SINGLE_CHOICE').
compartmentId This property is required. String
The ID of the compartment in which to list resources.
displayName This property is required. String
A filter to return only resources that match the entire display name given.
fleetId This property is required. String
Unique Fleet identifier.
id This property is required. String
A filter to return only resources whose fleetProperty identifier matches the given identifier.
propertyId This property is required. String
OCID referring to global level metadata property.
selectionType This property is required. String
Text selection of the property.
state This property is required. String
A filter to return only resources whose lifecycleState matches the given lifecycleState.
systemTags This property is required. 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 This property is required. String
The time this resource was created. An RFC3339 formatted datetime string.
timeUpdated This property is required. String
The time this resource was last updated. An RFC3339 formatted datetime string.
value This property is required. String
Value of the Property.
valueType This property is required. String
Format of the value.
allowedValues This property is required. string[]
Values of the property (must be a single value if selectionType = 'SINGLE_CHOICE').
compartmentId This property is required. string
The ID of the compartment in which to list resources.
displayName This property is required. string
A filter to return only resources that match the entire display name given.
fleetId This property is required. string
Unique Fleet identifier.
id This property is required. string
A filter to return only resources whose fleetProperty identifier matches the given identifier.
propertyId This property is required. string
OCID referring to global level metadata property.
selectionType This property is required. string
Text selection of the property.
state This property is required. string
A filter to return only resources whose lifecycleState matches the given lifecycleState.
systemTags This property is required. {[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 This property is required. string
The time this resource was created. An RFC3339 formatted datetime string.
timeUpdated This property is required. string
The time this resource was last updated. An RFC3339 formatted datetime string.
value This property is required. string
Value of the Property.
valueType This property is required. string
Format of the value.
allowed_values This property is required. Sequence[str]
Values of the property (must be a single value if selectionType = 'SINGLE_CHOICE').
compartment_id This property is required. str
The ID of the compartment in which to list resources.
display_name This property is required. str
A filter to return only resources that match the entire display name given.
fleet_id This property is required. str
Unique Fleet identifier.
id This property is required. str
A filter to return only resources whose fleetProperty identifier matches the given identifier.
property_id This property is required. str
OCID referring to global level metadata property.
selection_type This property is required. str
Text selection of the property.
state This property is required. str
A filter to return only resources whose lifecycleState matches the given lifecycleState.
system_tags This property is required. 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 This property is required. str
The time this resource was created. An RFC3339 formatted datetime string.
time_updated This property is required. str
The time this resource was last updated. An RFC3339 formatted datetime string.
value This property is required. str
Value of the Property.
value_type This property is required. str
Format of the value.
allowedValues This property is required. List<String>
Values of the property (must be a single value if selectionType = 'SINGLE_CHOICE').
compartmentId This property is required. String
The ID of the compartment in which to list resources.
displayName This property is required. String
A filter to return only resources that match the entire display name given.
fleetId This property is required. String
Unique Fleet identifier.
id This property is required. String
A filter to return only resources whose fleetProperty identifier matches the given identifier.
propertyId This property is required. String
OCID referring to global level metadata property.
selectionType This property is required. String
Text selection of the property.
state This property is required. String
A filter to return only resources whose lifecycleState matches the given lifecycleState.
systemTags This property is required. Map<String>
System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
timeCreated This property is required. String
The time this resource was created. An RFC3339 formatted datetime string.
timeUpdated This property is required. String
The time this resource was last updated. An RFC3339 formatted datetime string.
value This property is required. String
Value of the Property.
valueType This property is required. String
Format of the value.

Package Details

Repository
oci pulumi/pulumi-oci
License
Apache-2.0
Notes
This Pulumi package is based on the oci Terraform Provider.
Oracle Cloud Infrastructure v2.29.0 published on Wednesday, Apr 9, 2025 by Pulumi