1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. FleetAppsManagement
  5. getProperties
Oracle Cloud Infrastructure v3.3.0 published on Thursday, Jul 17, 2025 by Pulumi

oci.FleetAppsManagement.getProperties

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v3.3.0 published on Thursday, Jul 17, 2025 by Pulumi

    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 dictionary

    The following arguments are supported:

    CompartmentId string
    The ID of the compartment in which to list resources. Empty only if the resource OCID query param is not specified.
    DisplayName string
    A filter to return only resources that match the entire display name given.
    Filters List<GetPropertiesFilter>
    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.
    CompartmentId string
    The ID of the compartment in which to list resources. Empty only if the resource OCID query param is not specified.
    DisplayName string
    A filter to return only resources that match the entire display name given.
    Filters []GetPropertiesFilter
    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.
    compartmentId String
    The ID of the compartment in which to list resources. Empty only if the resource OCID query param is not specified.
    displayName String
    A filter to return only resources that match the entire display name given.
    filters List<GetPropertiesFilter>
    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.
    compartmentId string
    The ID of the compartment in which to list resources. Empty only if the resource OCID query param is not specified.
    displayName string
    A filter to return only resources that match the entire display name given.
    filters GetPropertiesFilter[]
    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[GetPropertiesFilter]
    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.
    compartmentId String
    The ID of the compartment in which to list resources. Empty only if the resource OCID query param is not specified.
    displayName 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:

    PropertyCollections List<GetPropertiesPropertyCollection>
    The list of property_collection.
    CompartmentId string
    Compartment 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<GetPropertiesFilter>
    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.
    PropertyCollections []GetPropertiesPropertyCollection
    The list of property_collection.
    CompartmentId string
    Compartment 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 []GetPropertiesFilter
    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.
    propertyCollections List<GetPropertiesPropertyCollection>
    The list of property_collection.
    compartmentId String
    Compartment 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<GetPropertiesFilter>
    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.
    propertyCollections GetPropertiesPropertyCollection[]
    The list of property_collection.
    compartmentId string
    Compartment 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 GetPropertiesFilter[]
    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[GetPropertiesPropertyCollection]
    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[GetPropertiesFilter]
    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.
    propertyCollections List<Property Map>
    The list of property_collection.
    compartmentId String
    Compartment 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 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

    Name string
    Values List<string>
    Values of the property (must be a single value if selection = 'SINGLE_CHOICE').
    Regex bool
    Name string
    Values []string
    Values of the property (must be a single value if selection = 'SINGLE_CHOICE').
    Regex bool
    name String
    values List<String>
    Values of the property (must be a single value if selection = 'SINGLE_CHOICE').
    regex Boolean
    name string
    values string[]
    Values of the property (must be a single value if selection = 'SINGLE_CHOICE').
    regex boolean
    name str
    values Sequence[str]
    Values of the property (must be a single value if selection = 'SINGLE_CHOICE').
    regex bool
    name String
    values List<String>
    Values of the property (must be a single value if selection = 'SINGLE_CHOICE').
    regex Boolean

    GetPropertiesPropertyCollection

    GetPropertiesPropertyCollectionItem

    CompartmentId string
    The ID of the compartment in which to list resources. Empty only if the resource OCID query param is not specified.
    DefinedTags Dictionary<string, string>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    DisplayName string
    A filter to return only resources that match the entire display name given.
    FreeformTags 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.
    LifecycleDetails 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.
    ResourceRegion 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.
    SystemTags 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 string
    The time this resource was created. An RFC3339 formatted datetime string.
    TimeUpdated 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.
    ValueType string
    Format of the value.
    Values List<string>
    Values of the property (must be a single value if selection = 'SINGLE_CHOICE').
    CompartmentId string
    The ID of the compartment in which to list resources. Empty only if the resource OCID query param is not specified.
    DefinedTags map[string]string
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    DisplayName string
    A filter to return only resources that match the entire display name given.
    FreeformTags 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.
    LifecycleDetails 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.
    ResourceRegion 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.
    SystemTags 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 string
    The time this resource was created. An RFC3339 formatted datetime string.
    TimeUpdated 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.
    ValueType string
    Format of the value.
    Values []string
    Values of the property (must be a single value if selection = 'SINGLE_CHOICE').
    compartmentId String
    The ID of the compartment in which to list resources. Empty only if the resource OCID query param is not specified.
    definedTags Map<String,String>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    displayName String
    A filter to return only resources that match the entire display name given.
    freeformTags 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.
    lifecycleDetails 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.
    resourceRegion 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.
    systemTags 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 String
    The time this resource was created. An RFC3339 formatted datetime string.
    timeUpdated 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.
    valueType String
    Format of the value.
    values List<String>
    Values of the property (must be a single value if selection = 'SINGLE_CHOICE').
    compartmentId string
    The ID of the compartment in which to list resources. Empty only if the resource OCID query param is not specified.
    definedTags {[key: string]: string}
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    displayName string
    A filter to return only resources that match the entire display name given.
    freeformTags {[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.
    lifecycleDetails 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.
    resourceRegion 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.
    systemTags {[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 string
    The time this resource was created. An RFC3339 formatted datetime string.
    timeUpdated 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.
    valueType 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.
    defined_tags 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.
    freeform_tags 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.
    system_tags 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').
    compartmentId String
    The ID of the compartment in which to list resources. Empty only if the resource OCID query param is not specified.
    definedTags Map<String>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    displayName String
    A filter to return only resources that match the entire display name given.
    freeformTags 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.
    lifecycleDetails 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.
    resourceRegion 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.
    systemTags Map<String>
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    The time this resource was created. An RFC3339 formatted datetime string.
    timeUpdated 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.
    valueType 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 oci Terraform Provider.
    oci logo
    Oracle Cloud Infrastructure v3.3.0 published on Thursday, Jul 17, 2025 by Pulumi