Viewing docs for Oracle Cloud Infrastructure v4.2.0
published on Friday, Mar 6, 2026 by Pulumi
published on Friday, Mar 6, 2026 by Pulumi
Viewing docs for Oracle Cloud Infrastructure v4.2.0
published on Friday, Mar 6, 2026 by Pulumi
published on Friday, Mar 6, 2026 by Pulumi
This data source provides details about a specific Attribute Set resource in Oracle Cloud Infrastructure Data Safe service.
Gets the details of the specified attribute set.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testAttributeSet = oci.DataSafe.getAttributeSet({
attributeSetId: testAttributeSetOciDataSafeAttributeSet.id,
});
import pulumi
import pulumi_oci as oci
test_attribute_set = oci.DataSafe.get_attribute_set(attribute_set_id=test_attribute_set_oci_data_safe_attribute_set["id"])
package main
import (
"github.com/pulumi/pulumi-oci/sdk/v4/go/oci/datasafe"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := datasafe.GetAttributeSet(ctx, &datasafe.GetAttributeSetArgs{
AttributeSetId: testAttributeSetOciDataSafeAttributeSet.Id,
}, 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 testAttributeSet = Oci.DataSafe.GetAttributeSet.Invoke(new()
{
AttributeSetId = testAttributeSetOciDataSafeAttributeSet.Id,
});
});
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.GetAttributeSetArgs;
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 testAttributeSet = DataSafeFunctions.getAttributeSet(GetAttributeSetArgs.builder()
.attributeSetId(testAttributeSetOciDataSafeAttributeSet.id())
.build());
}
}
variables:
testAttributeSet:
fn::invoke:
function: oci:DataSafe:getAttributeSet
arguments:
attributeSetId: ${testAttributeSetOciDataSafeAttributeSet.id}
Using getAttributeSet
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 getAttributeSet(args: GetAttributeSetArgs, opts?: InvokeOptions): Promise<GetAttributeSetResult>
function getAttributeSetOutput(args: GetAttributeSetOutputArgs, opts?: InvokeOptions): Output<GetAttributeSetResult>def get_attribute_set(attribute_set_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetAttributeSetResult
def get_attribute_set_output(attribute_set_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetAttributeSetResult]func LookupAttributeSet(ctx *Context, args *LookupAttributeSetArgs, opts ...InvokeOption) (*LookupAttributeSetResult, error)
func LookupAttributeSetOutput(ctx *Context, args *LookupAttributeSetOutputArgs, opts ...InvokeOption) LookupAttributeSetResultOutput> Note: This function is named LookupAttributeSet in the Go SDK.
public static class GetAttributeSet
{
public static Task<GetAttributeSetResult> InvokeAsync(GetAttributeSetArgs args, InvokeOptions? opts = null)
public static Output<GetAttributeSetResult> Invoke(GetAttributeSetInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetAttributeSetResult> getAttributeSet(GetAttributeSetArgs args, InvokeOptions options)
public static Output<GetAttributeSetResult> getAttributeSet(GetAttributeSetArgs args, InvokeOptions options)
fn::invoke:
function: oci:DataSafe/getAttributeSet:getAttributeSet
arguments:
# arguments dictionaryThe following arguments are supported:
- Attribute
Set stringId - OCID of an attribute set.
- Attribute
Set stringId - OCID of an attribute set.
- attribute
Set StringId - OCID of an attribute set.
- attribute
Set stringId - OCID of an attribute set.
- attribute_
set_ strid - OCID of an attribute set.
- attribute
Set StringId - OCID of an attribute set.
getAttributeSet Result
The following output properties are available:
- Attribute
Set stringId - Attribute
Set stringType - The type of attribute set.
- Attribute
Set List<string>Values - The list of values in an attribute set
- Compartment
Id string - The OCID of the compartment where the attribute set is stored.
- 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.
- Display
Name string - The display name of an attribute set. The name does not have to be unique, and is changeable.
- 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.
- In
Use string - Indicates whether the attribute set is in use by other resource.
- Is
User boolDefined - A boolean flag indicating to list user defined or seeded attribute sets.
- State string
- The current state of an attribute set.
- 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"} - Time
Created string - The date and time an attribute set was created, in the format defined by RFC3339.
- Time
Updated string - The date and time an attribute set was updated, in the format defined by RFC3339.
- Attribute
Set stringId - Attribute
Set stringType - The type of attribute set.
- Attribute
Set []stringValues - The list of values in an attribute set
- Compartment
Id string - The OCID of the compartment where the attribute set is stored.
- 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.
- Display
Name string - The display name of an attribute set. The name does not have to be unique, and is changeable.
- 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.
- In
Use string - Indicates whether the attribute set is in use by other resource.
- Is
User boolDefined - A boolean flag indicating to list user defined or seeded attribute sets.
- State string
- The current state of an attribute set.
- 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"} - Time
Created string - The date and time an attribute set was created, in the format defined by RFC3339.
- Time
Updated string - The date and time an attribute set was updated, in the format defined by RFC3339.
- attribute
Set StringId - attribute
Set StringType - The type of attribute set.
- attribute
Set List<String>Values - The list of values in an attribute set
- compartment
Id String - The OCID of the compartment where the attribute set is stored.
- 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.
- display
Name String - The display name of an attribute set. The name does not have to be unique, and is changeable.
- 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.
- in
Use String - Indicates whether the attribute set is in use by other resource.
- is
User BooleanDefined - A boolean flag indicating to list user defined or seeded attribute sets.
- state String
- The current state of an attribute set.
- 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"} - time
Created String - The date and time an attribute set was created, in the format defined by RFC3339.
- time
Updated String - The date and time an attribute set was updated, in the format defined by RFC3339.
- attribute
Set stringId - attribute
Set stringType - The type of attribute set.
- attribute
Set string[]Values - The list of values in an attribute set
- compartment
Id string - The OCID of the compartment where the attribute set is stored.
- {[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.
- display
Name string - The display name of an attribute set. The name does not have to be unique, and is changeable.
- {[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.
- in
Use string - Indicates whether the attribute set is in use by other resource.
- is
User booleanDefined - A boolean flag indicating to list user defined or seeded attribute sets.
- state string
- The current state of an attribute set.
- {[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"} - time
Created string - The date and time an attribute set was created, in the format defined by RFC3339.
- time
Updated string - The date and time an attribute set was updated, in the format defined by RFC3339.
- attribute_
set_ strid - attribute_
set_ strtype - The type of attribute set.
- attribute_
set_ Sequence[str]values - The list of values in an attribute set
- compartment_
id str - The OCID of the compartment where the attribute set is stored.
- 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 - The display name of an attribute set. The name does not have to be unique, and is changeable.
- 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 - Indicates whether the attribute set is in use by other resource.
- is_
user_ booldefined - A boolean flag indicating to list user defined or seeded attribute sets.
- state str
- The current state of an attribute set.
- 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.
- attribute
Set StringId - attribute
Set StringType - The type of attribute set.
- attribute
Set List<String>Values - The list of values in an attribute set
- compartment
Id String - The OCID of the compartment where the attribute set is stored.
- 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.
- display
Name String - The display name of an attribute set. The name does not have to be unique, and is changeable.
- 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.
- in
Use String - Indicates whether the attribute set is in use by other resource.
- is
User BooleanDefined - A boolean flag indicating to list user defined or seeded attribute sets.
- state String
- The current state of an attribute set.
- 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"} - time
Created String - The date and time an attribute set was created, in the format defined by RFC3339.
- time
Updated String - The date and time an attribute set was updated, in the format defined by RFC3339.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
ociTerraform Provider.
Viewing docs for Oracle Cloud Infrastructure v4.2.0
published on Friday, Mar 6, 2026 by Pulumi
published on Friday, Mar 6, 2026 by Pulumi
