1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. DataSafe
  5. getAttributeSets
Oracle Cloud Infrastructure v3.7.0 published on Saturday, Sep 13, 2025 by Pulumi

oci.DataSafe.getAttributeSets

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v3.7.0 published on Saturday, Sep 13, 2025 by Pulumi

    This data source provides the list of Attribute Sets in Oracle Cloud Infrastructure Data Safe service.

    Retrieves the list of attribute sets.

    The ListAttributeSets operation returns only the attribute sets in the specified compartmentId.

    The parameter accessLevel specifies whether to return only those compartments for which the requester has INSPECT permissions on at least one resource directly or indirectly (ACCESSIBLE) (the resource can be in a subcompartment) or to return Not Authorized if Principal doesn’t have access to even one of the child compartments. This is valid only when compartmentIdInSubtree is set to true.

    The parameter compartmentIdInSubtree applies when you perform ListAttributeSet on the compartmentId passed and when it is set to true, the entire hierarchy of compartments can be returned. To get a full list of all compartments and subcompartments in the tenancy (root compartment), set the parameter compartmentIdInSubtree to true and accessLevel to ACCESSIBLE.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testAttributeSets = oci.DataSafe.getAttributeSets({
        compartmentId: compartmentId,
        accessLevel: attributeSetAccessLevel,
        attributeSetId: testAttributeSet.id,
        attributeSetType: attributeSetAttributeSetType,
        compartmentIdInSubtree: attributeSetCompartmentIdInSubtree,
        displayName: attributeSetDisplayName,
        inUse: attributeSetInUse,
        isUserDefined: attributeSetIsUserDefined,
        state: attributeSetState,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_attribute_sets = oci.DataSafe.get_attribute_sets(compartment_id=compartment_id,
        access_level=attribute_set_access_level,
        attribute_set_id=test_attribute_set["id"],
        attribute_set_type=attribute_set_attribute_set_type,
        compartment_id_in_subtree=attribute_set_compartment_id_in_subtree,
        display_name=attribute_set_display_name,
        in_use=attribute_set_in_use,
        is_user_defined=attribute_set_is_user_defined,
        state=attribute_set_state)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-oci/sdk/v3/go/oci/datasafe"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := datasafe.GetAttributeSets(ctx, &datasafe.GetAttributeSetsArgs{
    			CompartmentId:          compartmentId,
    			AccessLevel:            pulumi.StringRef(attributeSetAccessLevel),
    			AttributeSetId:         pulumi.StringRef(testAttributeSet.Id),
    			AttributeSetType:       pulumi.StringRef(attributeSetAttributeSetType),
    			CompartmentIdInSubtree: pulumi.BoolRef(attributeSetCompartmentIdInSubtree),
    			DisplayName:            pulumi.StringRef(attributeSetDisplayName),
    			InUse:                  pulumi.StringRef(attributeSetInUse),
    			IsUserDefined:          pulumi.BoolRef(attributeSetIsUserDefined),
    			State:                  pulumi.StringRef(attributeSetState),
    		}, 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 testAttributeSets = Oci.DataSafe.GetAttributeSets.Invoke(new()
        {
            CompartmentId = compartmentId,
            AccessLevel = attributeSetAccessLevel,
            AttributeSetId = testAttributeSet.Id,
            AttributeSetType = attributeSetAttributeSetType,
            CompartmentIdInSubtree = attributeSetCompartmentIdInSubtree,
            DisplayName = attributeSetDisplayName,
            InUse = attributeSetInUse,
            IsUserDefined = attributeSetIsUserDefined,
            State = attributeSetState,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.oci.DataSafe.DataSafeFunctions;
    import com.pulumi.oci.DataSafe.inputs.GetAttributeSetsArgs;
    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 testAttributeSets = DataSafeFunctions.getAttributeSets(GetAttributeSetsArgs.builder()
                .compartmentId(compartmentId)
                .accessLevel(attributeSetAccessLevel)
                .attributeSetId(testAttributeSet.id())
                .attributeSetType(attributeSetAttributeSetType)
                .compartmentIdInSubtree(attributeSetCompartmentIdInSubtree)
                .displayName(attributeSetDisplayName)
                .inUse(attributeSetInUse)
                .isUserDefined(attributeSetIsUserDefined)
                .state(attributeSetState)
                .build());
    
        }
    }
    
    variables:
      testAttributeSets:
        fn::invoke:
          function: oci:DataSafe:getAttributeSets
          arguments:
            compartmentId: ${compartmentId}
            accessLevel: ${attributeSetAccessLevel}
            attributeSetId: ${testAttributeSet.id}
            attributeSetType: ${attributeSetAttributeSetType}
            compartmentIdInSubtree: ${attributeSetCompartmentIdInSubtree}
            displayName: ${attributeSetDisplayName}
            inUse: ${attributeSetInUse}
            isUserDefined: ${attributeSetIsUserDefined}
            state: ${attributeSetState}
    

    Using getAttributeSets

    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 getAttributeSets(args: GetAttributeSetsArgs, opts?: InvokeOptions): Promise<GetAttributeSetsResult>
    function getAttributeSetsOutput(args: GetAttributeSetsOutputArgs, opts?: InvokeOptions): Output<GetAttributeSetsResult>
    def get_attribute_sets(access_level: Optional[str] = None,
                           attribute_set_id: Optional[str] = None,
                           attribute_set_type: Optional[str] = None,
                           compartment_id: Optional[str] = None,
                           compartment_id_in_subtree: Optional[bool] = None,
                           display_name: Optional[str] = None,
                           filters: Optional[Sequence[GetAttributeSetsFilter]] = None,
                           in_use: Optional[str] = None,
                           is_user_defined: Optional[bool] = None,
                           state: Optional[str] = None,
                           opts: Optional[InvokeOptions] = None) -> GetAttributeSetsResult
    def get_attribute_sets_output(access_level: Optional[pulumi.Input[str]] = None,
                           attribute_set_id: Optional[pulumi.Input[str]] = None,
                           attribute_set_type: Optional[pulumi.Input[str]] = None,
                           compartment_id: Optional[pulumi.Input[str]] = None,
                           compartment_id_in_subtree: Optional[pulumi.Input[bool]] = None,
                           display_name: Optional[pulumi.Input[str]] = None,
                           filters: Optional[pulumi.Input[Sequence[pulumi.Input[GetAttributeSetsFilterArgs]]]] = None,
                           in_use: Optional[pulumi.Input[str]] = None,
                           is_user_defined: Optional[pulumi.Input[bool]] = None,
                           state: Optional[pulumi.Input[str]] = None,
                           opts: Optional[InvokeOptions] = None) -> Output[GetAttributeSetsResult]
    func GetAttributeSets(ctx *Context, args *GetAttributeSetsArgs, opts ...InvokeOption) (*GetAttributeSetsResult, error)
    func GetAttributeSetsOutput(ctx *Context, args *GetAttributeSetsOutputArgs, opts ...InvokeOption) GetAttributeSetsResultOutput

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

    public static class GetAttributeSets 
    {
        public static Task<GetAttributeSetsResult> InvokeAsync(GetAttributeSetsArgs args, InvokeOptions? opts = null)
        public static Output<GetAttributeSetsResult> Invoke(GetAttributeSetsInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetAttributeSetsResult> getAttributeSets(GetAttributeSetsArgs args, InvokeOptions options)
    public static Output<GetAttributeSetsResult> getAttributeSets(GetAttributeSetsArgs args, InvokeOptions options)
    
    fn::invoke:
      function: oci:DataSafe/getAttributeSets:getAttributeSets
      arguments:
        # arguments dictionary

    The following arguments are supported:

    CompartmentId string
    A filter to return only resources that match the specified compartment OCID.
    AccessLevel string
    Valid values are RESTRICTED and ACCESSIBLE. Default is RESTRICTED. Setting this to ACCESSIBLE returns only those compartments for which the user has INSPECT permissions directly or indirectly (permissions can be on a resource in a subcompartment). When set to RESTRICTED permissions are checked and no partial results are displayed.
    AttributeSetId string
    A filter to return only attribute set resources that matches the specified attribute set OCID query param.
    AttributeSetType string
    A filter to return only attribute set resources that matches the specified attribute set type query param.
    CompartmentIdInSubtree bool
    Default is false. When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned. Depends on the 'accessLevel' setting.
    DisplayName string
    A filter to return only resources that match the specified display name.
    Filters List<GetAttributeSetsFilter>
    InUse string
    A filter to return attribute set resources that are in use by other associated resources.
    IsUserDefined bool
    A filter to return user defined or seeded attribute set resources that matches the specified is user defined query param. A true value indicates user defined attribute set.
    State string
    The current state of an attribute set.
    CompartmentId string
    A filter to return only resources that match the specified compartment OCID.
    AccessLevel string
    Valid values are RESTRICTED and ACCESSIBLE. Default is RESTRICTED. Setting this to ACCESSIBLE returns only those compartments for which the user has INSPECT permissions directly or indirectly (permissions can be on a resource in a subcompartment). When set to RESTRICTED permissions are checked and no partial results are displayed.
    AttributeSetId string
    A filter to return only attribute set resources that matches the specified attribute set OCID query param.
    AttributeSetType string
    A filter to return only attribute set resources that matches the specified attribute set type query param.
    CompartmentIdInSubtree bool
    Default is false. When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned. Depends on the 'accessLevel' setting.
    DisplayName string
    A filter to return only resources that match the specified display name.
    Filters []GetAttributeSetsFilter
    InUse string
    A filter to return attribute set resources that are in use by other associated resources.
    IsUserDefined bool
    A filter to return user defined or seeded attribute set resources that matches the specified is user defined query param. A true value indicates user defined attribute set.
    State string
    The current state of an attribute set.
    compartmentId String
    A filter to return only resources that match the specified compartment OCID.
    accessLevel String
    Valid values are RESTRICTED and ACCESSIBLE. Default is RESTRICTED. Setting this to ACCESSIBLE returns only those compartments for which the user has INSPECT permissions directly or indirectly (permissions can be on a resource in a subcompartment). When set to RESTRICTED permissions are checked and no partial results are displayed.
    attributeSetId String
    A filter to return only attribute set resources that matches the specified attribute set OCID query param.
    attributeSetType String
    A filter to return only attribute set resources that matches the specified attribute set type query param.
    compartmentIdInSubtree Boolean
    Default is false. When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned. Depends on the 'accessLevel' setting.
    displayName String
    A filter to return only resources that match the specified display name.
    filters List<GetAttributeSetsFilter>
    inUse String
    A filter to return attribute set resources that are in use by other associated resources.
    isUserDefined Boolean
    A filter to return user defined or seeded attribute set resources that matches the specified is user defined query param. A true value indicates user defined attribute set.
    state String
    The current state of an attribute set.
    compartmentId string
    A filter to return only resources that match the specified compartment OCID.
    accessLevel string
    Valid values are RESTRICTED and ACCESSIBLE. Default is RESTRICTED. Setting this to ACCESSIBLE returns only those compartments for which the user has INSPECT permissions directly or indirectly (permissions can be on a resource in a subcompartment). When set to RESTRICTED permissions are checked and no partial results are displayed.
    attributeSetId string
    A filter to return only attribute set resources that matches the specified attribute set OCID query param.
    attributeSetType string
    A filter to return only attribute set resources that matches the specified attribute set type query param.
    compartmentIdInSubtree boolean
    Default is false. When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned. Depends on the 'accessLevel' setting.
    displayName string
    A filter to return only resources that match the specified display name.
    filters GetAttributeSetsFilter[]
    inUse string
    A filter to return attribute set resources that are in use by other associated resources.
    isUserDefined boolean
    A filter to return user defined or seeded attribute set resources that matches the specified is user defined query param. A true value indicates user defined attribute set.
    state string
    The current state of an attribute set.
    compartment_id str
    A filter to return only resources that match the specified compartment OCID.
    access_level str
    Valid values are RESTRICTED and ACCESSIBLE. Default is RESTRICTED. Setting this to ACCESSIBLE returns only those compartments for which the user has INSPECT permissions directly or indirectly (permissions can be on a resource in a subcompartment). When set to RESTRICTED permissions are checked and no partial results are displayed.
    attribute_set_id str
    A filter to return only attribute set resources that matches the specified attribute set OCID query param.
    attribute_set_type str
    A filter to return only attribute set resources that matches the specified attribute set type query param.
    compartment_id_in_subtree bool
    Default is false. When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned. Depends on the 'accessLevel' setting.
    display_name str
    A filter to return only resources that match the specified display name.
    filters Sequence[GetAttributeSetsFilter]
    in_use str
    A filter to return attribute set resources that are in use by other associated resources.
    is_user_defined bool
    A filter to return user defined or seeded attribute set resources that matches the specified is user defined query param. A true value indicates user defined attribute set.
    state str
    The current state of an attribute set.
    compartmentId String
    A filter to return only resources that match the specified compartment OCID.
    accessLevel String
    Valid values are RESTRICTED and ACCESSIBLE. Default is RESTRICTED. Setting this to ACCESSIBLE returns only those compartments for which the user has INSPECT permissions directly or indirectly (permissions can be on a resource in a subcompartment). When set to RESTRICTED permissions are checked and no partial results are displayed.
    attributeSetId String
    A filter to return only attribute set resources that matches the specified attribute set OCID query param.
    attributeSetType String
    A filter to return only attribute set resources that matches the specified attribute set type query param.
    compartmentIdInSubtree Boolean
    Default is false. When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned. Depends on the 'accessLevel' setting.
    displayName String
    A filter to return only resources that match the specified display name.
    filters List<Property Map>
    inUse String
    A filter to return attribute set resources that are in use by other associated resources.
    isUserDefined Boolean
    A filter to return user defined or seeded attribute set resources that matches the specified is user defined query param. A true value indicates user defined attribute set.
    state String
    The current state of an attribute set.

    getAttributeSets Result

    The following output properties are available:

    AttributeSetCollections List<GetAttributeSetsAttributeSetCollection>
    The list of attribute_set_collection.
    CompartmentId string
    The OCID of the compartment where the attribute set is stored.
    Id string
    The provider-assigned unique ID for this managed resource.
    AccessLevel string
    AttributeSetId string
    AttributeSetType string
    The type of attribute set.
    CompartmentIdInSubtree bool
    DisplayName string
    The display name of an attribute set. The name does not have to be unique, and is changeable.
    Filters List<GetAttributeSetsFilter>
    InUse string
    Indicates whether the attribute set is in use by other resource.
    IsUserDefined bool
    A boolean flag indicating to list user defined or seeded attribute sets.
    State string
    The current state of an attribute set.
    AttributeSetCollections []GetAttributeSetsAttributeSetCollection
    The list of attribute_set_collection.
    CompartmentId string
    The OCID of the compartment where the attribute set is stored.
    Id string
    The provider-assigned unique ID for this managed resource.
    AccessLevel string
    AttributeSetId string
    AttributeSetType string
    The type of attribute set.
    CompartmentIdInSubtree bool
    DisplayName string
    The display name of an attribute set. The name does not have to be unique, and is changeable.
    Filters []GetAttributeSetsFilter
    InUse string
    Indicates whether the attribute set is in use by other resource.
    IsUserDefined bool
    A boolean flag indicating to list user defined or seeded attribute sets.
    State string
    The current state of an attribute set.
    attributeSetCollections List<GetAttributeSetsAttributeSetCollection>
    The list of attribute_set_collection.
    compartmentId String
    The OCID of the compartment where the attribute set is stored.
    id String
    The provider-assigned unique ID for this managed resource.
    accessLevel String
    attributeSetId String
    attributeSetType String
    The type of attribute set.
    compartmentIdInSubtree Boolean
    displayName String
    The display name of an attribute set. The name does not have to be unique, and is changeable.
    filters List<GetAttributeSetsFilter>
    inUse String
    Indicates whether the attribute set is in use by other resource.
    isUserDefined Boolean
    A boolean flag indicating to list user defined or seeded attribute sets.
    state String
    The current state of an attribute set.
    attributeSetCollections GetAttributeSetsAttributeSetCollection[]
    The list of attribute_set_collection.
    compartmentId string
    The OCID of the compartment where the attribute set is stored.
    id string
    The provider-assigned unique ID for this managed resource.
    accessLevel string
    attributeSetId string
    attributeSetType string
    The type of attribute set.
    compartmentIdInSubtree boolean
    displayName string
    The display name of an attribute set. The name does not have to be unique, and is changeable.
    filters GetAttributeSetsFilter[]
    inUse string
    Indicates whether the attribute set is in use by other resource.
    isUserDefined boolean
    A boolean flag indicating to list user defined or seeded attribute sets.
    state string
    The current state of an attribute set.
    attribute_set_collections Sequence[GetAttributeSetsAttributeSetCollection]
    The list of attribute_set_collection.
    compartment_id str
    The OCID of the compartment where the attribute set is stored.
    id str
    The provider-assigned unique ID for this managed resource.
    access_level str
    attribute_set_id str
    attribute_set_type str
    The type of attribute set.
    compartment_id_in_subtree bool
    display_name str
    The display name of an attribute set. The name does not have to be unique, and is changeable.
    filters Sequence[GetAttributeSetsFilter]
    in_use str
    Indicates whether the attribute set is in use by other resource.
    is_user_defined bool
    A boolean flag indicating to list user defined or seeded attribute sets.
    state str
    The current state of an attribute set.
    attributeSetCollections List<Property Map>
    The list of attribute_set_collection.
    compartmentId String
    The OCID of the compartment where the attribute set is stored.
    id String
    The provider-assigned unique ID for this managed resource.
    accessLevel String
    attributeSetId String
    attributeSetType String
    The type of attribute set.
    compartmentIdInSubtree Boolean
    displayName String
    The display name of an attribute set. The name does not have to be unique, and is changeable.
    filters List<Property Map>
    inUse String
    Indicates whether the attribute set is in use by other resource.
    isUserDefined Boolean
    A boolean flag indicating to list user defined or seeded attribute sets.
    state String
    The current state of an attribute set.

    Supporting Types

    GetAttributeSetsAttributeSetCollection

    GetAttributeSetsAttributeSetCollectionItem

    AttributeSetType string
    A filter to return only attribute set resources that matches the specified attribute set type query param.
    AttributeSetValues List<string>
    The list of values in an attribute set
    CompartmentId string
    A filter to return only resources that match the specified compartment OCID.
    DefinedTags Dictionary<string, string>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags Example: {"Operations.CostCenter": "42"}
    Description string
    Description of an attribute set.
    DisplayName string
    A filter to return only resources that match the specified display name.
    FreeformTags Dictionary<string, string>
    Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags Example: {"Department": "Finance"}
    Id string
    The OCID of an attribute set.
    InUse string
    A filter to return attribute set resources that are in use by other associated resources.
    IsUserDefined bool
    A filter to return user defined or seeded attribute set resources that matches the specified is user defined query param. A true value indicates user defined attribute set.
    State string
    The current state of an attribute set.
    SystemTags Dictionary<string, string>
    System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    The date and time an attribute set was created, in the format defined by RFC3339.
    TimeUpdated string
    The date and time an attribute set was updated, in the format defined by RFC3339.
    AttributeSetType string
    A filter to return only attribute set resources that matches the specified attribute set type query param.
    AttributeSetValues []string
    The list of values in an attribute set
    CompartmentId string
    A filter to return only resources that match the specified compartment OCID.
    DefinedTags map[string]string
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags Example: {"Operations.CostCenter": "42"}
    Description string
    Description of an attribute set.
    DisplayName string
    A filter to return only resources that match the specified display name.
    FreeformTags map[string]string
    Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags Example: {"Department": "Finance"}
    Id string
    The OCID of an attribute set.
    InUse string
    A filter to return attribute set resources that are in use by other associated resources.
    IsUserDefined bool
    A filter to return user defined or seeded attribute set resources that matches the specified is user defined query param. A true value indicates user defined attribute set.
    State string
    The current state of an attribute set.
    SystemTags map[string]string
    System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    The date and time an attribute set was created, in the format defined by RFC3339.
    TimeUpdated string
    The date and time an attribute set was updated, in the format defined by RFC3339.
    attributeSetType String
    A filter to return only attribute set resources that matches the specified attribute set type query param.
    attributeSetValues List<String>
    The list of values in an attribute set
    compartmentId String
    A filter to return only resources that match the specified compartment OCID.
    definedTags Map<String,String>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags Example: {"Operations.CostCenter": "42"}
    description String
    Description of an attribute set.
    displayName String
    A filter to return only resources that match the specified display name.
    freeformTags Map<String,String>
    Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags Example: {"Department": "Finance"}
    id String
    The OCID of an attribute set.
    inUse String
    A filter to return attribute set resources that are in use by other associated resources.
    isUserDefined Boolean
    A filter to return user defined or seeded attribute set resources that matches the specified is user defined query param. A true value indicates user defined attribute set.
    state String
    The current state of an attribute set.
    systemTags Map<String,String>
    System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    The date and time an attribute set was created, in the format defined by RFC3339.
    timeUpdated String
    The date and time an attribute set was updated, in the format defined by RFC3339.
    attributeSetType string
    A filter to return only attribute set resources that matches the specified attribute set type query param.
    attributeSetValues string[]
    The list of values in an attribute set
    compartmentId string
    A filter to return only resources that match the specified compartment OCID.
    definedTags {[key: string]: string}
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags Example: {"Operations.CostCenter": "42"}
    description string
    Description of an attribute set.
    displayName string
    A filter to return only resources that match the specified display name.
    freeformTags {[key: string]: string}
    Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags Example: {"Department": "Finance"}
    id string
    The OCID of an attribute set.
    inUse string
    A filter to return attribute set resources that are in use by other associated resources.
    isUserDefined boolean
    A filter to return user defined or seeded attribute set resources that matches the specified is user defined query param. A true value indicates user defined attribute set.
    state string
    The current state of an attribute set.
    systemTags {[key: string]: string}
    System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated string
    The date and time an attribute set was created, in the format defined by RFC3339.
    timeUpdated string
    The date and time an attribute set was updated, in the format defined by RFC3339.
    attribute_set_type str
    A filter to return only attribute set resources that matches the specified attribute set type query param.
    attribute_set_values Sequence[str]
    The list of values in an attribute set
    compartment_id str
    A filter to return only resources that match the specified compartment OCID.
    defined_tags Mapping[str, str]
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags Example: {"Operations.CostCenter": "42"}
    description str
    Description of an attribute set.
    display_name str
    A filter to return only resources that match the specified display name.
    freeform_tags Mapping[str, str]
    Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags Example: {"Department": "Finance"}
    id str
    The OCID of an attribute set.
    in_use str
    A filter to return attribute set resources that are in use by other associated resources.
    is_user_defined bool
    A filter to return user defined or seeded attribute set resources that matches the specified is user defined query param. A true value indicates user defined attribute set.
    state str
    The current state of an attribute set.
    system_tags Mapping[str, str]
    System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"orcl-cloud.free-tier-retained": "true"}
    time_created str
    The date and time an attribute set was created, in the format defined by RFC3339.
    time_updated str
    The date and time an attribute set was updated, in the format defined by RFC3339.
    attributeSetType String
    A filter to return only attribute set resources that matches the specified attribute set type query param.
    attributeSetValues List<String>
    The list of values in an attribute set
    compartmentId String
    A filter to return only resources that match the specified compartment OCID.
    definedTags Map<String>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags Example: {"Operations.CostCenter": "42"}
    description String
    Description of an attribute set.
    displayName String
    A filter to return only resources that match the specified display name.
    freeformTags Map<String>
    Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags Example: {"Department": "Finance"}
    id String
    The OCID of an attribute set.
    inUse String
    A filter to return attribute set resources that are in use by other associated resources.
    isUserDefined Boolean
    A filter to return user defined or seeded attribute set resources that matches the specified is user defined query param. A true value indicates user defined attribute set.
    state String
    The current state of an attribute set.
    systemTags Map<String>
    System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    The date and time an attribute set was created, in the format defined by RFC3339.
    timeUpdated String
    The date and time an attribute set was updated, in the format defined by RFC3339.

    GetAttributeSetsFilter

    Name string
    Values List<string>
    Regex bool
    Name string
    Values []string
    Regex bool
    name String
    values List<String>
    regex Boolean
    name string
    values string[]
    regex boolean
    name str
    values Sequence[str]
    regex bool
    name String
    values List<String>
    regex Boolean

    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.7.0 published on Saturday, Sep 13, 2025 by Pulumi