Oracle Cloud Infrastructure v3.10.0 published on Wednesday, Nov 5, 2025 by Pulumi
oci.FleetAppsManagement.getFleetProperties
Start a Neo task
Explain and create an oci.FleetAppsManagement.getFleetProperties resource
This data source provides the list of Fleet Properties in Oracle Cloud Infrastructure Fleet Apps Management service.
List properties associated with a fleet.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testFleetProperties = oci.FleetAppsManagement.getFleetProperties({
fleetId: testFleet.id,
displayName: fleetPropertyDisplayName,
id: fleetPropertyId,
state: fleetPropertyState,
});
import pulumi
import pulumi_oci as oci
test_fleet_properties = oci.FleetAppsManagement.get_fleet_properties(fleet_id=test_fleet["id"],
display_name=fleet_property_display_name,
id=fleet_property_id,
state=fleet_property_state)
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.GetFleetProperties(ctx, &fleetappsmanagement.GetFleetPropertiesArgs{
FleetId: testFleet.Id,
DisplayName: pulumi.StringRef(fleetPropertyDisplayName),
Id: pulumi.StringRef(fleetPropertyId),
State: pulumi.StringRef(fleetPropertyState),
}, 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 testFleetProperties = Oci.FleetAppsManagement.GetFleetProperties.Invoke(new()
{
FleetId = testFleet.Id,
DisplayName = fleetPropertyDisplayName,
Id = fleetPropertyId,
State = fleetPropertyState,
});
});
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())
.displayName(fleetPropertyDisplayName)
.id(fleetPropertyId)
.state(fleetPropertyState)
.build());
}
}
variables:
testFleetProperties:
fn::invoke:
function: oci:FleetAppsManagement:getFleetProperties
arguments:
fleetId: ${testFleet.id}
displayName: ${fleetPropertyDisplayName}
id: ${fleetPropertyId}
state: ${fleetPropertyState}
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>def get_fleet_properties(display_name: Optional[str] = None,
filters: Optional[Sequence[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(display_name: Optional[pulumi.Input[str]] = None,
filters: Optional[pulumi.Input[Sequence[pulumi.Input[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]func GetFleetProperties(ctx *Context, args *GetFleetPropertiesArgs, opts ...InvokeOption) (*GetFleetPropertiesResult, error)
func GetFleetPropertiesOutput(ctx *Context, args *GetFleetPropertiesOutputArgs, opts ...InvokeOption) GetFleetPropertiesResultOutput> 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)
}public static CompletableFuture<GetFleetPropertiesResult> getFleetProperties(GetFleetPropertiesArgs args, InvokeOptions options)
public static Output<GetFleetPropertiesResult> getFleetProperties(GetFleetPropertiesArgs args, InvokeOptions options)
fn::invoke:
function: oci:FleetAppsManagement/getFleetProperties:getFleetProperties
arguments:
# arguments dictionaryThe following arguments are supported:
- Fleet
Id string - Unique Fleet identifier.
- Display
Name string - A filter to return only resources that match the entire display name given.
- Filters
List<Get
Fleet Properties Filter> - 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 string - Unique Fleet identifier.
- Display
Name string - A filter to return only resources that match the entire display name given.
- Filters
[]Get
Fleet Properties Filter - 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 String - Unique Fleet identifier.
- display
Name String - A filter to return only resources that match the entire display name given.
- filters
List<Get
Fleet Properties Filter> - 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 string - Unique Fleet identifier.
- display
Name string - A filter to return only resources that match the entire display name given.
- filters
Get
Fleet Properties Filter[] - 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 str - Unique Fleet identifier.
- display_
name str - A filter to return only resources that match the entire display name given.
- filters
Sequence[Get
Fleet Properties Filter] - 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.
- fleet
Id String - Unique Fleet identifier.
- display
Name String - A filter to return only resources that match the entire display name given.
- filters 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:
- Fleet
Id string - Fleet
Property List<GetCollections Fleet Properties Fleet Property Collection> - The list of fleet_property_collection.
- Display
Name 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<Get
Fleet Properties Filter> - Id string
- The unique id of the resource.
- State string
- The current state of the FleetProperty.
- Fleet
Id string - Fleet
Property []GetCollections Fleet Properties Fleet Property Collection - The list of fleet_property_collection.
- Display
Name string - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example:
My new resource - Filters
[]Get
Fleet Properties Filter - Id string
- The unique id of the resource.
- State string
- The current state of the FleetProperty.
- fleet
Id String - fleet
Property List<GetCollections Fleet Properties Fleet Property Collection> - The list of fleet_property_collection.
- display
Name 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<Get
Fleet Properties Filter> - id String
- The unique id of the resource.
- state String
- The current state of the FleetProperty.
- fleet
Id string - fleet
Property GetCollections Fleet Properties Fleet Property Collection[] - The list of fleet_property_collection.
- display
Name string - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example:
My new resource - filters
Get
Fleet Properties Filter[] - id string
- The unique id of the resource.
- state string
- The current state of the FleetProperty.
- fleet_
id str - fleet_
property_ Sequence[Getcollections Fleet Properties Fleet Property Collection] - The list of fleet_property_collection.
- 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[Get
Fleet Properties Filter] - id str
- The unique id of the resource.
- state str
- The current state of the FleetProperty.
- fleet
Id String - fleet
Property List<Property Map>Collections - The list of fleet_property_collection.
- display
Name 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
GetFleetPropertiesFleetPropertyCollection
GetFleetPropertiesFleetPropertyCollectionItem
- Allowed
Values List<string> - Values of the property (must be a single value if selectionType = 'SINGLE_CHOICE').
- Compartment
Id string - Compartment OCID
- Display
Name string - A filter to return only resources that match the entire display name given.
- Fleet
Id string - Unique Fleet identifier.
- Id string
- A filter to return only resources whose fleetProperty identifier matches the given identifier.
- Property
Id string - OCID referring to global level metadata property.
- Selection
Type string - Text selection of the property.
- State string
- A filter to return only resources whose 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.
- Value string
- Value of the Property.
- Value
Type string - Format of the value.
- Allowed
Values []string - Values of the property (must be a single value if selectionType = 'SINGLE_CHOICE').
- Compartment
Id string - Compartment OCID
- Display
Name string - A filter to return only resources that match the entire display name given.
- Fleet
Id string - Unique Fleet identifier.
- Id string
- A filter to return only resources whose fleetProperty identifier matches the given identifier.
- Property
Id string - OCID referring to global level metadata property.
- Selection
Type string - Text selection of the property.
- State string
- A filter to return only resources whose 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.
- Value string
- Value of the Property.
- Value
Type string - Format of the value.
- allowed
Values List<String> - Values of the property (must be a single value if selectionType = 'SINGLE_CHOICE').
- compartment
Id String - Compartment OCID
- display
Name String - A filter to return only resources that match the entire display name given.
- fleet
Id String - Unique Fleet identifier.
- id String
- A filter to return only resources whose fleetProperty identifier matches the given identifier.
- property
Id String - OCID referring to global level metadata property.
- selection
Type String - Text selection of the property.
- state String
- A filter to return only resources whose 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.
- value String
- Value of the Property.
- value
Type String - Format of the value.
- allowed
Values string[] - Values of the property (must be a single value if selectionType = 'SINGLE_CHOICE').
- compartment
Id string - Compartment OCID
- display
Name string - A filter to return only resources that match the entire display name given.
- fleet
Id string - Unique Fleet identifier.
- id string
- A filter to return only resources whose fleetProperty identifier matches the given identifier.
- property
Id string - OCID referring to global level metadata property.
- selection
Type string - Text selection of the property.
- state string
- A filter to return only resources whose 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.
- value string
- Value of the Property.
- value
Type string - Format of the value.
- allowed_
values Sequence[str] - Values of the property (must be a single value if selectionType = 'SINGLE_CHOICE').
- compartment_
id str - Compartment OCID
- display_
name str - A filter to return only resources that match the entire display name given.
- fleet_
id str - Unique Fleet identifier.
- id str
- A filter to return only resources whose fleetProperty identifier matches the given identifier.
- property_
id str - OCID referring to global level metadata property.
- selection_
type str - Text selection of the property.
- state str
- A filter to return only resources whose 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.
- value str
- Value of the Property.
- value_
type str - Format of the value.
- allowed
Values List<String> - Values of the property (must be a single value if selectionType = 'SINGLE_CHOICE').
- compartment
Id String - Compartment OCID
- display
Name String - A filter to return only resources that match the entire display name given.
- fleet
Id String - Unique Fleet identifier.
- id String
- A filter to return only resources whose fleetProperty identifier matches the given identifier.
- property
Id String - OCID referring to global level metadata property.
- selection
Type String - Text selection of the property.
- state String
- A filter to return only resources whose 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.
- value String
- Value of the Property.
- value
Type String - Format of the value.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
ociTerraform Provider.
