Oracle Cloud Infrastructure v3.9.0 published on Wednesday, Sep 24, 2025 by Pulumi
oci.FleetAppsManagement.getProperties
This data source provides the list of Properties in Oracle Cloud Infrastructure Fleet Apps Management service.
Returns a list of all the Properties in the specified compartment.
The query parameter compartmentId is required unless the query parameter id is specified.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testProperties = oci.FleetAppsManagement.getProperties({
compartmentId: compartmentId,
displayName: propertyDisplayName,
id: propertyId,
scope: propertyScope,
state: propertyState,
type: propertyType,
});
import pulumi
import pulumi_oci as oci
test_properties = oci.FleetAppsManagement.get_properties(compartment_id=compartment_id,
display_name=property_display_name,
id=property_id,
scope=property_scope,
state=property_state,
type=property_type)
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.GetProperties(ctx, &fleetappsmanagement.GetPropertiesArgs{
CompartmentId: pulumi.StringRef(compartmentId),
DisplayName: pulumi.StringRef(propertyDisplayName),
Id: pulumi.StringRef(propertyId),
Scope: pulumi.StringRef(propertyScope),
State: pulumi.StringRef(propertyState),
Type: pulumi.StringRef(propertyType),
}, 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 testProperties = Oci.FleetAppsManagement.GetProperties.Invoke(new()
{
CompartmentId = compartmentId,
DisplayName = propertyDisplayName,
Id = propertyId,
Scope = propertyScope,
State = propertyState,
Type = propertyType,
});
});
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.GetPropertiesArgs;
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 testProperties = FleetAppsManagementFunctions.getProperties(GetPropertiesArgs.builder()
.compartmentId(compartmentId)
.displayName(propertyDisplayName)
.id(propertyId)
.scope(propertyScope)
.state(propertyState)
.type(propertyType)
.build());
}
}
variables:
testProperties:
fn::invoke:
function: oci:FleetAppsManagement:getProperties
arguments:
compartmentId: ${compartmentId}
displayName: ${propertyDisplayName}
id: ${propertyId}
scope: ${propertyScope}
state: ${propertyState}
type: ${propertyType}
Using getProperties
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 getProperties(args: GetPropertiesArgs, opts?: InvokeOptions): Promise<GetPropertiesResult>
function getPropertiesOutput(args: GetPropertiesOutputArgs, opts?: InvokeOptions): Output<GetPropertiesResult>def get_properties(compartment_id: Optional[str] = None,
display_name: Optional[str] = None,
filters: Optional[Sequence[GetPropertiesFilter]] = None,
id: Optional[str] = None,
scope: Optional[str] = None,
state: Optional[str] = None,
type: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetPropertiesResult
def get_properties_output(compartment_id: Optional[pulumi.Input[str]] = None,
display_name: Optional[pulumi.Input[str]] = None,
filters: Optional[pulumi.Input[Sequence[pulumi.Input[GetPropertiesFilterArgs]]]] = None,
id: Optional[pulumi.Input[str]] = None,
scope: Optional[pulumi.Input[str]] = None,
state: Optional[pulumi.Input[str]] = None,
type: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetPropertiesResult]func GetProperties(ctx *Context, args *GetPropertiesArgs, opts ...InvokeOption) (*GetPropertiesResult, error)
func GetPropertiesOutput(ctx *Context, args *GetPropertiesOutputArgs, opts ...InvokeOption) GetPropertiesResultOutput> Note: This function is named GetProperties in the Go SDK.
public static class GetProperties
{
public static Task<GetPropertiesResult> InvokeAsync(GetPropertiesArgs args, InvokeOptions? opts = null)
public static Output<GetPropertiesResult> Invoke(GetPropertiesInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetPropertiesResult> getProperties(GetPropertiesArgs args, InvokeOptions options)
public static Output<GetPropertiesResult> getProperties(GetPropertiesArgs args, InvokeOptions options)
fn::invoke:
function: oci:FleetAppsManagement/getProperties:getProperties
arguments:
# arguments dictionaryThe following arguments are supported:
- Compartment
Id string - The ID of the compartment in which to list resources. Empty only if the resource OCID query param is not specified.
- Display
Name string - A filter to return only resources that match the entire display name given.
- Filters
List<Get
Properties Filter> - Id string
- Unique identifier or OCID for listing a single Property by id. Either compartmentId or id must be provided.
- Scope string
- A filter to return only resources their scope matches the given scope.
- State string
- A filter to return only resources whose lifecycleState matches the given lifecycleState.
- Type string
- A filter to return properties whose type matches the given type.
- Compartment
Id string - The ID of the compartment in which to list resources. Empty only if the resource OCID query param is not specified.
- Display
Name string - A filter to return only resources that match the entire display name given.
- Filters
[]Get
Properties Filter - Id string
- Unique identifier or OCID for listing a single Property by id. Either compartmentId or id must be provided.
- Scope string
- A filter to return only resources their scope matches the given scope.
- State string
- A filter to return only resources whose lifecycleState matches the given lifecycleState.
- Type string
- A filter to return properties whose type matches the given type.
- compartment
Id String - The ID of the compartment in which to list resources. Empty only if the resource OCID query param is not specified.
- display
Name String - A filter to return only resources that match the entire display name given.
- filters
List<Get
Properties Filter> - id String
- Unique identifier or OCID for listing a single Property by id. Either compartmentId or id must be provided.
- scope String
- A filter to return only resources their scope matches the given scope.
- state String
- A filter to return only resources whose lifecycleState matches the given lifecycleState.
- type String
- A filter to return properties whose type matches the given type.
- compartment
Id string - The ID of the compartment in which to list resources. Empty only if the resource OCID query param is not specified.
- display
Name string - A filter to return only resources that match the entire display name given.
- filters
Get
Properties Filter[] - id string
- Unique identifier or OCID for listing a single Property by id. Either compartmentId or id must be provided.
- scope string
- A filter to return only resources their scope matches the given scope.
- state string
- A filter to return only resources whose lifecycleState matches the given lifecycleState.
- type string
- A filter to return properties whose type matches the given type.
- compartment_
id str - The ID of the compartment in which to list resources. Empty only if the resource OCID query param is not specified.
- display_
name str - A filter to return only resources that match the entire display name given.
- filters
Sequence[Get
Properties Filter] - id str
- Unique identifier or OCID for listing a single Property by id. Either compartmentId or id must be provided.
- scope str
- A filter to return only resources their scope matches the given scope.
- state str
- A filter to return only resources whose lifecycleState matches the given lifecycleState.
- type str
- A filter to return properties whose type matches the given type.
- compartment
Id String - The ID of the compartment in which to list resources. Empty only if the resource OCID query param is not specified.
- display
Name String - A filter to return only resources that match the entire display name given.
- filters List<Property Map>
- id String
- Unique identifier or OCID for listing a single Property by id. Either compartmentId or id must be provided.
- scope String
- A filter to return only resources their scope matches the given scope.
- state String
- A filter to return only resources whose lifecycleState matches the given lifecycleState.
- type String
- A filter to return properties whose type matches the given type.
getProperties Result
The following output properties are available:
- Property
Collections List<GetProperties Property Collection> - The list of property_collection.
- Compartment
Id string - Compartment OCID
- 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
Properties Filter> - Id string
- The OCID of the resource.
- Scope string
- The scope of the property.
- State string
- The current state of the Property.
- Type string
- The type of the property.
- Property
Collections []GetProperties Property Collection - The list of property_collection.
- Compartment
Id string - Compartment OCID
- 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
Properties Filter - Id string
- The OCID of the resource.
- Scope string
- The scope of the property.
- State string
- The current state of the Property.
- Type string
- The type of the property.
- property
Collections List<GetProperties Property Collection> - The list of property_collection.
- compartment
Id String - Compartment OCID
- 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
Properties Filter> - id String
- The OCID of the resource.
- scope String
- The scope of the property.
- state String
- The current state of the Property.
- type String
- The type of the property.
- property
Collections GetProperties Property Collection[] - The list of property_collection.
- compartment
Id string - Compartment OCID
- 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
Properties Filter[] - id string
- The OCID of the resource.
- scope string
- The scope of the property.
- state string
- The current state of the Property.
- type string
- The type of the property.
- property_
collections Sequence[GetProperties Property Collection] - The list of property_collection.
- compartment_
id str - Compartment 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[Get
Properties Filter] - id str
- The OCID of the resource.
- scope str
- The scope of the property.
- state str
- The current state of the Property.
- type str
- The type of the property.
- property
Collections List<Property Map> - The list of property_collection.
- compartment
Id String - Compartment OCID
- 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 OCID of the resource.
- scope String
- The scope of the property.
- state String
- The current state of the Property.
- type String
- The type of the property.
Supporting Types
GetPropertiesFilter
GetPropertiesPropertyCollection
GetPropertiesPropertyCollectionItem
- Compartment
Id string - The ID of the compartment in which to list resources. Empty only if the resource OCID query param is not specified.
- Dictionary<string, string>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"} - Display
Name string - A filter to return only resources that match the entire display name given.
- Dictionary<string, string>
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"} - Id string
- Unique identifier or OCID for listing a single Property by id. Either compartmentId or id must be provided.
- Lifecycle
Details string - A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- Resource
Region string - Associated region
- Scope string
- A filter to return only resources their scope matches the given scope.
- Selection 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.
- Type string
- A filter to return properties whose type matches the given type.
- Value
Type string - Format of the value.
- Values List<string>
- Values of the property (must be a single value if selection = 'SINGLE_CHOICE').
- Compartment
Id string - The ID of the compartment in which to list resources. Empty only if the resource OCID query param is not specified.
- map[string]string
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"} - Display
Name string - A filter to return only resources that match the entire display name given.
- map[string]string
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"} - Id string
- Unique identifier or OCID for listing a single Property by id. Either compartmentId or id must be provided.
- Lifecycle
Details string - A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- Resource
Region string - Associated region
- Scope string
- A filter to return only resources their scope matches the given scope.
- Selection 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.
- Type string
- A filter to return properties whose type matches the given type.
- Value
Type string - Format of the value.
- Values []string
- Values of the property (must be a single value if selection = 'SINGLE_CHOICE').
- compartment
Id String - The ID of the compartment in which to list resources. Empty only if the resource OCID query param is not specified.
- Map<String,String>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"} - display
Name String - A filter to return only resources that match the entire display name given.
- Map<String,String>
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"} - id String
- Unique identifier or OCID for listing a single Property by id. Either compartmentId or id must be provided.
- lifecycle
Details String - A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- resource
Region String - Associated region
- scope String
- A filter to return only resources their scope matches the given scope.
- selection 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.
- type String
- A filter to return properties whose type matches the given type.
- value
Type String - Format of the value.
- values List<String>
- Values of the property (must be a single value if selection = 'SINGLE_CHOICE').
- compartment
Id string - The ID of the compartment in which to list resources. Empty only if the resource OCID query param is not specified.
- {[key: string]: string}
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"} - display
Name string - A filter to return only resources that match the entire display name given.
- {[key: string]: string}
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"} - id string
- Unique identifier or OCID for listing a single Property by id. Either compartmentId or id must be provided.
- lifecycle
Details string - A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- resource
Region string - Associated region
- scope string
- A filter to return only resources their scope matches the given scope.
- selection 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.
- type string
- A filter to return properties whose type matches the given type.
- value
Type string - Format of the value.
- values string[]
- Values of the property (must be a single value if selection = 'SINGLE_CHOICE').
- compartment_
id str - The ID of the compartment in which to list resources. Empty only if the resource OCID query param is not specified.
- Mapping[str, str]
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"} - display_
name str - A filter to return only resources that match the entire display name given.
- Mapping[str, str]
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"} - id str
- Unique identifier or OCID for listing a single Property by id. Either compartmentId or id must be provided.
- lifecycle_
details str - A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- resource_
region str - Associated region
- scope str
- A filter to return only resources their scope matches the given scope.
- selection 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.
- type str
- A filter to return properties whose type matches the given type.
- value_
type str - Format of the value.
- values Sequence[str]
- Values of the property (must be a single value if selection = 'SINGLE_CHOICE').
- compartment
Id String - The ID of the compartment in which to list resources. Empty only if the resource OCID query param is not specified.
- Map<String>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"} - display
Name String - A filter to return only resources that match the entire display name given.
- Map<String>
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"} - id String
- Unique identifier or OCID for listing a single Property by id. Either compartmentId or id must be provided.
- lifecycle
Details String - A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- resource
Region String - Associated region
- scope String
- A filter to return only resources their scope matches the given scope.
- selection 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.
- type String
- A filter to return properties whose type matches the given type.
- value
Type String - Format of the value.
- values List<String>
- Values of the property (must be a single value if selection = 'SINGLE_CHOICE').
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
ociTerraform Provider.
