securityattribute

package
v2.25.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 21, 2025 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GetSecurityAttributeNamespacesArgs

type GetSecurityAttributeNamespacesArgs struct {
	// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources.
	CompartmentId *string `pulumi:"compartmentId"`
	// An optional boolean parameter indicating whether to retrieve all security attribute namespaces in subcompartments. If this parameter is not specified, only the namespaces defined in the specified compartment are retrieved.
	CompartmentIdInSubtree *bool                                  `pulumi:"compartmentIdInSubtree"`
	Filters                []GetSecurityAttributeNamespacesFilter `pulumi:"filters"`
	// A filter to return only resources that match the entire display name given.
	Name *string `pulumi:"name"`
	// A filter to only return resources that match the given lifecycle state.  The state value is case-insensitive.
	State *string `pulumi:"state"`
}

A collection of arguments for invoking getSecurityAttributeNamespaces.

type GetSecurityAttributeNamespacesFilter

type GetSecurityAttributeNamespacesFilter struct {
	// A filter to return only resources that match the entire display name given.
	Name   string   `pulumi:"name"`
	Regex  *bool    `pulumi:"regex"`
	Values []string `pulumi:"values"`
}

type GetSecurityAttributeNamespacesFilterArgs

type GetSecurityAttributeNamespacesFilterArgs struct {
	// A filter to return only resources that match the entire display name given.
	Name   pulumi.StringInput      `pulumi:"name"`
	Regex  pulumi.BoolPtrInput     `pulumi:"regex"`
	Values pulumi.StringArrayInput `pulumi:"values"`
}

func (GetSecurityAttributeNamespacesFilterArgs) ElementType

func (GetSecurityAttributeNamespacesFilterArgs) ToGetSecurityAttributeNamespacesFilterOutput

func (i GetSecurityAttributeNamespacesFilterArgs) ToGetSecurityAttributeNamespacesFilterOutput() GetSecurityAttributeNamespacesFilterOutput

func (GetSecurityAttributeNamespacesFilterArgs) ToGetSecurityAttributeNamespacesFilterOutputWithContext

func (i GetSecurityAttributeNamespacesFilterArgs) ToGetSecurityAttributeNamespacesFilterOutputWithContext(ctx context.Context) GetSecurityAttributeNamespacesFilterOutput

type GetSecurityAttributeNamespacesFilterArray

type GetSecurityAttributeNamespacesFilterArray []GetSecurityAttributeNamespacesFilterInput

func (GetSecurityAttributeNamespacesFilterArray) ElementType

func (GetSecurityAttributeNamespacesFilterArray) ToGetSecurityAttributeNamespacesFilterArrayOutput

func (i GetSecurityAttributeNamespacesFilterArray) ToGetSecurityAttributeNamespacesFilterArrayOutput() GetSecurityAttributeNamespacesFilterArrayOutput

func (GetSecurityAttributeNamespacesFilterArray) ToGetSecurityAttributeNamespacesFilterArrayOutputWithContext

func (i GetSecurityAttributeNamespacesFilterArray) ToGetSecurityAttributeNamespacesFilterArrayOutputWithContext(ctx context.Context) GetSecurityAttributeNamespacesFilterArrayOutput

type GetSecurityAttributeNamespacesFilterArrayInput

type GetSecurityAttributeNamespacesFilterArrayInput interface {
	pulumi.Input

	ToGetSecurityAttributeNamespacesFilterArrayOutput() GetSecurityAttributeNamespacesFilterArrayOutput
	ToGetSecurityAttributeNamespacesFilterArrayOutputWithContext(context.Context) GetSecurityAttributeNamespacesFilterArrayOutput
}

GetSecurityAttributeNamespacesFilterArrayInput is an input type that accepts GetSecurityAttributeNamespacesFilterArray and GetSecurityAttributeNamespacesFilterArrayOutput values. You can construct a concrete instance of `GetSecurityAttributeNamespacesFilterArrayInput` via:

GetSecurityAttributeNamespacesFilterArray{ GetSecurityAttributeNamespacesFilterArgs{...} }

type GetSecurityAttributeNamespacesFilterArrayOutput

type GetSecurityAttributeNamespacesFilterArrayOutput struct{ *pulumi.OutputState }

func (GetSecurityAttributeNamespacesFilterArrayOutput) ElementType

func (GetSecurityAttributeNamespacesFilterArrayOutput) Index

func (GetSecurityAttributeNamespacesFilterArrayOutput) ToGetSecurityAttributeNamespacesFilterArrayOutput

func (o GetSecurityAttributeNamespacesFilterArrayOutput) ToGetSecurityAttributeNamespacesFilterArrayOutput() GetSecurityAttributeNamespacesFilterArrayOutput

func (GetSecurityAttributeNamespacesFilterArrayOutput) ToGetSecurityAttributeNamespacesFilterArrayOutputWithContext

func (o GetSecurityAttributeNamespacesFilterArrayOutput) ToGetSecurityAttributeNamespacesFilterArrayOutputWithContext(ctx context.Context) GetSecurityAttributeNamespacesFilterArrayOutput

type GetSecurityAttributeNamespacesFilterInput

type GetSecurityAttributeNamespacesFilterInput interface {
	pulumi.Input

	ToGetSecurityAttributeNamespacesFilterOutput() GetSecurityAttributeNamespacesFilterOutput
	ToGetSecurityAttributeNamespacesFilterOutputWithContext(context.Context) GetSecurityAttributeNamespacesFilterOutput
}

GetSecurityAttributeNamespacesFilterInput is an input type that accepts GetSecurityAttributeNamespacesFilterArgs and GetSecurityAttributeNamespacesFilterOutput values. You can construct a concrete instance of `GetSecurityAttributeNamespacesFilterInput` via:

GetSecurityAttributeNamespacesFilterArgs{...}

type GetSecurityAttributeNamespacesFilterOutput

type GetSecurityAttributeNamespacesFilterOutput struct{ *pulumi.OutputState }

func (GetSecurityAttributeNamespacesFilterOutput) ElementType

func (GetSecurityAttributeNamespacesFilterOutput) Name

A filter to return only resources that match the entire display name given.

func (GetSecurityAttributeNamespacesFilterOutput) Regex

func (GetSecurityAttributeNamespacesFilterOutput) ToGetSecurityAttributeNamespacesFilterOutput

func (o GetSecurityAttributeNamespacesFilterOutput) ToGetSecurityAttributeNamespacesFilterOutput() GetSecurityAttributeNamespacesFilterOutput

func (GetSecurityAttributeNamespacesFilterOutput) ToGetSecurityAttributeNamespacesFilterOutputWithContext

func (o GetSecurityAttributeNamespacesFilterOutput) ToGetSecurityAttributeNamespacesFilterOutputWithContext(ctx context.Context) GetSecurityAttributeNamespacesFilterOutput

func (GetSecurityAttributeNamespacesFilterOutput) Values

type GetSecurityAttributeNamespacesOutputArgs

type GetSecurityAttributeNamespacesOutputArgs struct {
	// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources.
	CompartmentId pulumi.StringPtrInput `pulumi:"compartmentId"`
	// An optional boolean parameter indicating whether to retrieve all security attribute namespaces in subcompartments. If this parameter is not specified, only the namespaces defined in the specified compartment are retrieved.
	CompartmentIdInSubtree pulumi.BoolPtrInput                            `pulumi:"compartmentIdInSubtree"`
	Filters                GetSecurityAttributeNamespacesFilterArrayInput `pulumi:"filters"`
	// A filter to return only resources that match the entire display name given.
	Name pulumi.StringPtrInput `pulumi:"name"`
	// A filter to only return resources that match the given lifecycle state.  The state value is case-insensitive.
	State pulumi.StringPtrInput `pulumi:"state"`
}

A collection of arguments for invoking getSecurityAttributeNamespaces.

func (GetSecurityAttributeNamespacesOutputArgs) ElementType

type GetSecurityAttributeNamespacesResult

type GetSecurityAttributeNamespacesResult struct {
	// The OCID of the compartment that contains the security attribute namespace.
	CompartmentId          *string                                `pulumi:"compartmentId"`
	CompartmentIdInSubtree *bool                                  `pulumi:"compartmentIdInSubtree"`
	Filters                []GetSecurityAttributeNamespacesFilter `pulumi:"filters"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The name of the security attribute namespace. It must be unique across all security attribute namespaces in the tenancy and cannot be changed.
	Name *string `pulumi:"name"`
	// The list of security_attribute_namespaces.
	SecurityAttributeNamespaces []GetSecurityAttributeNamespacesSecurityAttributeNamespace `pulumi:"securityAttributeNamespaces"`
	// The security attribute namespace's current state. After creating a security attribute namespace, make sure its `lifecycleState` is ACTIVE before using it. After retiring a security attribute namespace, make sure its `lifecycleState` is INACTIVE.
	State *string `pulumi:"state"`
}

A collection of values returned by getSecurityAttributeNamespaces.

func GetSecurityAttributeNamespaces

This data source provides the list of Security Attribute Namespaces in Oracle Cloud Infrastructure Security Attribute service.

Lists the security attribute namespaces in the specified compartment.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/securityattribute"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := securityattribute.GetSecurityAttributeNamespaces(ctx, &securityattribute.GetSecurityAttributeNamespacesArgs{
			CompartmentId:          pulumi.StringRef(compartmentId),
			CompartmentIdInSubtree: pulumi.BoolRef(securityAttributeNamespaceCompartmentIdInSubtree),
			Name:                   pulumi.StringRef(securityAttributeNamespaceName),
			State:                  pulumi.StringRef(securityAttributeNamespaceState),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetSecurityAttributeNamespacesResultOutput

type GetSecurityAttributeNamespacesResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getSecurityAttributeNamespaces.

func (GetSecurityAttributeNamespacesResultOutput) CompartmentId

The OCID of the compartment that contains the security attribute namespace.

func (GetSecurityAttributeNamespacesResultOutput) CompartmentIdInSubtree

func (GetSecurityAttributeNamespacesResultOutput) ElementType

func (GetSecurityAttributeNamespacesResultOutput) Filters

func (GetSecurityAttributeNamespacesResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetSecurityAttributeNamespacesResultOutput) Name

The name of the security attribute namespace. It must be unique across all security attribute namespaces in the tenancy and cannot be changed.

func (GetSecurityAttributeNamespacesResultOutput) SecurityAttributeNamespaces

The list of security_attribute_namespaces.

func (GetSecurityAttributeNamespacesResultOutput) State

The security attribute namespace's current state. After creating a security attribute namespace, make sure its `lifecycleState` is ACTIVE before using it. After retiring a security attribute namespace, make sure its `lifecycleState` is INACTIVE.

func (GetSecurityAttributeNamespacesResultOutput) ToGetSecurityAttributeNamespacesResultOutput

func (o GetSecurityAttributeNamespacesResultOutput) ToGetSecurityAttributeNamespacesResultOutput() GetSecurityAttributeNamespacesResultOutput

func (GetSecurityAttributeNamespacesResultOutput) ToGetSecurityAttributeNamespacesResultOutputWithContext

func (o GetSecurityAttributeNamespacesResultOutput) ToGetSecurityAttributeNamespacesResultOutputWithContext(ctx context.Context) GetSecurityAttributeNamespacesResultOutput

type GetSecurityAttributeNamespacesSecurityAttributeNamespace

type GetSecurityAttributeNamespacesSecurityAttributeNamespace struct {
	// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources.
	CompartmentId string `pulumi:"compartmentId"`
	// Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).  Example: `{"Operations.CostCenter": "42"}`
	DefinedTags map[string]string `pulumi:"definedTags"`
	// A description you create for the security attribute namespace to help you identify it.
	Description string `pulumi:"description"`
	// 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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).  Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `pulumi:"freeformTags"`
	// The OCID of the security attribute namespace.
	Id string `pulumi:"id"`
	// Indicates whether the security attribute namespace is retired. See [Managing Security Attribute Namespaces](https://docs.cloud.oracle.com/iaas/Content/zero-trust-packet-routing/managing-security-attribute-namespaces.htm).
	IsRetired bool `pulumi:"isRetired"`
	// Indicates possible modes the security attributes in this namespace can be set to. This is not accepted from the user. Currently the supported values are enforce and audit.
	Modes []string `pulumi:"modes"`
	// A filter to return only resources that match the entire display name given.
	Name string `pulumi:"name"`
	// A filter to only return resources that match the given lifecycle state.  The state value is case-insensitive.
	State string `pulumi:"state"`
	// System tags for this resource. Each key is predefined and scoped to a namespace.  Example: `{"orcl-cloud.free-tier-retained": "true"}`
	SystemTags map[string]string `pulumi:"systemTags"`
	// Date and time the security attribute namespace was created, in the format defined by RFC3339. Example: `2016-08-25T21:10:29.600Z`
	TimeCreated string `pulumi:"timeCreated"`
}

type GetSecurityAttributeNamespacesSecurityAttributeNamespaceArgs

type GetSecurityAttributeNamespacesSecurityAttributeNamespaceArgs struct {
	// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources.
	CompartmentId pulumi.StringInput `pulumi:"compartmentId"`
	// Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).  Example: `{"Operations.CostCenter": "42"}`
	DefinedTags pulumi.StringMapInput `pulumi:"definedTags"`
	// A description you create for the security attribute namespace to help you identify it.
	Description pulumi.StringInput `pulumi:"description"`
	// 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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).  Example: `{"Department": "Finance"}`
	FreeformTags pulumi.StringMapInput `pulumi:"freeformTags"`
	// The OCID of the security attribute namespace.
	Id pulumi.StringInput `pulumi:"id"`
	// Indicates whether the security attribute namespace is retired. See [Managing Security Attribute Namespaces](https://docs.cloud.oracle.com/iaas/Content/zero-trust-packet-routing/managing-security-attribute-namespaces.htm).
	IsRetired pulumi.BoolInput `pulumi:"isRetired"`
	// Indicates possible modes the security attributes in this namespace can be set to. This is not accepted from the user. Currently the supported values are enforce and audit.
	Modes pulumi.StringArrayInput `pulumi:"modes"`
	// A filter to return only resources that match the entire display name given.
	Name pulumi.StringInput `pulumi:"name"`
	// A filter to only return resources that match the given lifecycle state.  The state value is case-insensitive.
	State pulumi.StringInput `pulumi:"state"`
	// System tags for this resource. Each key is predefined and scoped to a namespace.  Example: `{"orcl-cloud.free-tier-retained": "true"}`
	SystemTags pulumi.StringMapInput `pulumi:"systemTags"`
	// Date and time the security attribute namespace was created, in the format defined by RFC3339. Example: `2016-08-25T21:10:29.600Z`
	TimeCreated pulumi.StringInput `pulumi:"timeCreated"`
}

func (GetSecurityAttributeNamespacesSecurityAttributeNamespaceArgs) ElementType

func (GetSecurityAttributeNamespacesSecurityAttributeNamespaceArgs) ToGetSecurityAttributeNamespacesSecurityAttributeNamespaceOutput

func (GetSecurityAttributeNamespacesSecurityAttributeNamespaceArgs) ToGetSecurityAttributeNamespacesSecurityAttributeNamespaceOutputWithContext

func (i GetSecurityAttributeNamespacesSecurityAttributeNamespaceArgs) ToGetSecurityAttributeNamespacesSecurityAttributeNamespaceOutputWithContext(ctx context.Context) GetSecurityAttributeNamespacesSecurityAttributeNamespaceOutput

type GetSecurityAttributeNamespacesSecurityAttributeNamespaceArray

type GetSecurityAttributeNamespacesSecurityAttributeNamespaceArray []GetSecurityAttributeNamespacesSecurityAttributeNamespaceInput

func (GetSecurityAttributeNamespacesSecurityAttributeNamespaceArray) ElementType

func (GetSecurityAttributeNamespacesSecurityAttributeNamespaceArray) ToGetSecurityAttributeNamespacesSecurityAttributeNamespaceArrayOutput

func (GetSecurityAttributeNamespacesSecurityAttributeNamespaceArray) ToGetSecurityAttributeNamespacesSecurityAttributeNamespaceArrayOutputWithContext

func (i GetSecurityAttributeNamespacesSecurityAttributeNamespaceArray) ToGetSecurityAttributeNamespacesSecurityAttributeNamespaceArrayOutputWithContext(ctx context.Context) GetSecurityAttributeNamespacesSecurityAttributeNamespaceArrayOutput

type GetSecurityAttributeNamespacesSecurityAttributeNamespaceArrayInput

type GetSecurityAttributeNamespacesSecurityAttributeNamespaceArrayInput interface {
	pulumi.Input

	ToGetSecurityAttributeNamespacesSecurityAttributeNamespaceArrayOutput() GetSecurityAttributeNamespacesSecurityAttributeNamespaceArrayOutput
	ToGetSecurityAttributeNamespacesSecurityAttributeNamespaceArrayOutputWithContext(context.Context) GetSecurityAttributeNamespacesSecurityAttributeNamespaceArrayOutput
}

GetSecurityAttributeNamespacesSecurityAttributeNamespaceArrayInput is an input type that accepts GetSecurityAttributeNamespacesSecurityAttributeNamespaceArray and GetSecurityAttributeNamespacesSecurityAttributeNamespaceArrayOutput values. You can construct a concrete instance of `GetSecurityAttributeNamespacesSecurityAttributeNamespaceArrayInput` via:

GetSecurityAttributeNamespacesSecurityAttributeNamespaceArray{ GetSecurityAttributeNamespacesSecurityAttributeNamespaceArgs{...} }

type GetSecurityAttributeNamespacesSecurityAttributeNamespaceArrayOutput

type GetSecurityAttributeNamespacesSecurityAttributeNamespaceArrayOutput struct{ *pulumi.OutputState }

func (GetSecurityAttributeNamespacesSecurityAttributeNamespaceArrayOutput) ElementType

func (GetSecurityAttributeNamespacesSecurityAttributeNamespaceArrayOutput) Index

func (GetSecurityAttributeNamespacesSecurityAttributeNamespaceArrayOutput) ToGetSecurityAttributeNamespacesSecurityAttributeNamespaceArrayOutput

func (GetSecurityAttributeNamespacesSecurityAttributeNamespaceArrayOutput) ToGetSecurityAttributeNamespacesSecurityAttributeNamespaceArrayOutputWithContext

func (o GetSecurityAttributeNamespacesSecurityAttributeNamespaceArrayOutput) ToGetSecurityAttributeNamespacesSecurityAttributeNamespaceArrayOutputWithContext(ctx context.Context) GetSecurityAttributeNamespacesSecurityAttributeNamespaceArrayOutput

type GetSecurityAttributeNamespacesSecurityAttributeNamespaceInput

type GetSecurityAttributeNamespacesSecurityAttributeNamespaceInput interface {
	pulumi.Input

	ToGetSecurityAttributeNamespacesSecurityAttributeNamespaceOutput() GetSecurityAttributeNamespacesSecurityAttributeNamespaceOutput
	ToGetSecurityAttributeNamespacesSecurityAttributeNamespaceOutputWithContext(context.Context) GetSecurityAttributeNamespacesSecurityAttributeNamespaceOutput
}

GetSecurityAttributeNamespacesSecurityAttributeNamespaceInput is an input type that accepts GetSecurityAttributeNamespacesSecurityAttributeNamespaceArgs and GetSecurityAttributeNamespacesSecurityAttributeNamespaceOutput values. You can construct a concrete instance of `GetSecurityAttributeNamespacesSecurityAttributeNamespaceInput` via:

GetSecurityAttributeNamespacesSecurityAttributeNamespaceArgs{...}

type GetSecurityAttributeNamespacesSecurityAttributeNamespaceOutput

type GetSecurityAttributeNamespacesSecurityAttributeNamespaceOutput struct{ *pulumi.OutputState }

func (GetSecurityAttributeNamespacesSecurityAttributeNamespaceOutput) CompartmentId

The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources.

func (GetSecurityAttributeNamespacesSecurityAttributeNamespaceOutput) DefinedTags

Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}`

func (GetSecurityAttributeNamespacesSecurityAttributeNamespaceOutput) Description

A description you create for the security attribute namespace to help you identify it.

func (GetSecurityAttributeNamespacesSecurityAttributeNamespaceOutput) ElementType

func (GetSecurityAttributeNamespacesSecurityAttributeNamespaceOutput) FreeformTags

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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}`

func (GetSecurityAttributeNamespacesSecurityAttributeNamespaceOutput) Id

The OCID of the security attribute namespace.

func (GetSecurityAttributeNamespacesSecurityAttributeNamespaceOutput) IsRetired

Indicates whether the security attribute namespace is retired. See [Managing Security Attribute Namespaces](https://docs.cloud.oracle.com/iaas/Content/zero-trust-packet-routing/managing-security-attribute-namespaces.htm).

func (GetSecurityAttributeNamespacesSecurityAttributeNamespaceOutput) Modes

Indicates possible modes the security attributes in this namespace can be set to. This is not accepted from the user. Currently the supported values are enforce and audit.

func (GetSecurityAttributeNamespacesSecurityAttributeNamespaceOutput) Name

A filter to return only resources that match the entire display name given.

func (GetSecurityAttributeNamespacesSecurityAttributeNamespaceOutput) State

A filter to only return resources that match the given lifecycle state. The state value is case-insensitive.

func (GetSecurityAttributeNamespacesSecurityAttributeNamespaceOutput) SystemTags

System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}`

func (GetSecurityAttributeNamespacesSecurityAttributeNamespaceOutput) TimeCreated

Date and time the security attribute namespace was created, in the format defined by RFC3339. Example: `2016-08-25T21:10:29.600Z`

func (GetSecurityAttributeNamespacesSecurityAttributeNamespaceOutput) ToGetSecurityAttributeNamespacesSecurityAttributeNamespaceOutput

func (GetSecurityAttributeNamespacesSecurityAttributeNamespaceOutput) ToGetSecurityAttributeNamespacesSecurityAttributeNamespaceOutputWithContext

func (o GetSecurityAttributeNamespacesSecurityAttributeNamespaceOutput) ToGetSecurityAttributeNamespacesSecurityAttributeNamespaceOutputWithContext(ctx context.Context) GetSecurityAttributeNamespacesSecurityAttributeNamespaceOutput

type GetSecurityAttributeValidator

type GetSecurityAttributeValidator struct {
	// Specifies the type of validation: a static value (no validation) or a list.
	ValidatorType string `pulumi:"validatorType"`
	// The list of allowed values for a security attribute value.
	Values []string `pulumi:"values"`
}

type GetSecurityAttributeValidatorArgs

type GetSecurityAttributeValidatorArgs struct {
	// Specifies the type of validation: a static value (no validation) or a list.
	ValidatorType pulumi.StringInput `pulumi:"validatorType"`
	// The list of allowed values for a security attribute value.
	Values pulumi.StringArrayInput `pulumi:"values"`
}

func (GetSecurityAttributeValidatorArgs) ElementType

func (GetSecurityAttributeValidatorArgs) ToGetSecurityAttributeValidatorOutput

func (i GetSecurityAttributeValidatorArgs) ToGetSecurityAttributeValidatorOutput() GetSecurityAttributeValidatorOutput

func (GetSecurityAttributeValidatorArgs) ToGetSecurityAttributeValidatorOutputWithContext

func (i GetSecurityAttributeValidatorArgs) ToGetSecurityAttributeValidatorOutputWithContext(ctx context.Context) GetSecurityAttributeValidatorOutput

type GetSecurityAttributeValidatorArray

type GetSecurityAttributeValidatorArray []GetSecurityAttributeValidatorInput

func (GetSecurityAttributeValidatorArray) ElementType

func (GetSecurityAttributeValidatorArray) ToGetSecurityAttributeValidatorArrayOutput

func (i GetSecurityAttributeValidatorArray) ToGetSecurityAttributeValidatorArrayOutput() GetSecurityAttributeValidatorArrayOutput

func (GetSecurityAttributeValidatorArray) ToGetSecurityAttributeValidatorArrayOutputWithContext

func (i GetSecurityAttributeValidatorArray) ToGetSecurityAttributeValidatorArrayOutputWithContext(ctx context.Context) GetSecurityAttributeValidatorArrayOutput

type GetSecurityAttributeValidatorArrayInput

type GetSecurityAttributeValidatorArrayInput interface {
	pulumi.Input

	ToGetSecurityAttributeValidatorArrayOutput() GetSecurityAttributeValidatorArrayOutput
	ToGetSecurityAttributeValidatorArrayOutputWithContext(context.Context) GetSecurityAttributeValidatorArrayOutput
}

GetSecurityAttributeValidatorArrayInput is an input type that accepts GetSecurityAttributeValidatorArray and GetSecurityAttributeValidatorArrayOutput values. You can construct a concrete instance of `GetSecurityAttributeValidatorArrayInput` via:

GetSecurityAttributeValidatorArray{ GetSecurityAttributeValidatorArgs{...} }

type GetSecurityAttributeValidatorArrayOutput

type GetSecurityAttributeValidatorArrayOutput struct{ *pulumi.OutputState }

func (GetSecurityAttributeValidatorArrayOutput) ElementType

func (GetSecurityAttributeValidatorArrayOutput) Index

func (GetSecurityAttributeValidatorArrayOutput) ToGetSecurityAttributeValidatorArrayOutput

func (o GetSecurityAttributeValidatorArrayOutput) ToGetSecurityAttributeValidatorArrayOutput() GetSecurityAttributeValidatorArrayOutput

func (GetSecurityAttributeValidatorArrayOutput) ToGetSecurityAttributeValidatorArrayOutputWithContext

func (o GetSecurityAttributeValidatorArrayOutput) ToGetSecurityAttributeValidatorArrayOutputWithContext(ctx context.Context) GetSecurityAttributeValidatorArrayOutput

type GetSecurityAttributeValidatorInput

type GetSecurityAttributeValidatorInput interface {
	pulumi.Input

	ToGetSecurityAttributeValidatorOutput() GetSecurityAttributeValidatorOutput
	ToGetSecurityAttributeValidatorOutputWithContext(context.Context) GetSecurityAttributeValidatorOutput
}

GetSecurityAttributeValidatorInput is an input type that accepts GetSecurityAttributeValidatorArgs and GetSecurityAttributeValidatorOutput values. You can construct a concrete instance of `GetSecurityAttributeValidatorInput` via:

GetSecurityAttributeValidatorArgs{...}

type GetSecurityAttributeValidatorOutput

type GetSecurityAttributeValidatorOutput struct{ *pulumi.OutputState }

func (GetSecurityAttributeValidatorOutput) ElementType

func (GetSecurityAttributeValidatorOutput) ToGetSecurityAttributeValidatorOutput

func (o GetSecurityAttributeValidatorOutput) ToGetSecurityAttributeValidatorOutput() GetSecurityAttributeValidatorOutput

func (GetSecurityAttributeValidatorOutput) ToGetSecurityAttributeValidatorOutputWithContext

func (o GetSecurityAttributeValidatorOutput) ToGetSecurityAttributeValidatorOutputWithContext(ctx context.Context) GetSecurityAttributeValidatorOutput

func (GetSecurityAttributeValidatorOutput) ValidatorType

Specifies the type of validation: a static value (no validation) or a list.

func (GetSecurityAttributeValidatorOutput) Values

The list of allowed values for a security attribute value.

type GetSecurityAttributesArgs

type GetSecurityAttributesArgs struct {
	Filters []GetSecurityAttributesFilter `pulumi:"filters"`
	// The OCID of the security attribute namespace.
	SecurityAttributeNamespaceId string `pulumi:"securityAttributeNamespaceId"`
	// A filter to only return resources that match the given lifecycle state.  The state value is case-insensitive.
	State *string `pulumi:"state"`
}

A collection of arguments for invoking getSecurityAttributes.

type GetSecurityAttributesFilter

type GetSecurityAttributesFilter struct {
	// The name assigned to the security attribute during creation. This is the security attribute key. The name must be unique within the security attribute namespace and cannot be changed.
	Name  string `pulumi:"name"`
	Regex *bool  `pulumi:"regex"`
	// The list of allowed values for a security attribute value.
	Values []string `pulumi:"values"`
}

type GetSecurityAttributesFilterArgs

type GetSecurityAttributesFilterArgs struct {
	// The name assigned to the security attribute during creation. This is the security attribute key. The name must be unique within the security attribute namespace and cannot be changed.
	Name  pulumi.StringInput  `pulumi:"name"`
	Regex pulumi.BoolPtrInput `pulumi:"regex"`
	// The list of allowed values for a security attribute value.
	Values pulumi.StringArrayInput `pulumi:"values"`
}

func (GetSecurityAttributesFilterArgs) ElementType

func (GetSecurityAttributesFilterArgs) ToGetSecurityAttributesFilterOutput

func (i GetSecurityAttributesFilterArgs) ToGetSecurityAttributesFilterOutput() GetSecurityAttributesFilterOutput

func (GetSecurityAttributesFilterArgs) ToGetSecurityAttributesFilterOutputWithContext

func (i GetSecurityAttributesFilterArgs) ToGetSecurityAttributesFilterOutputWithContext(ctx context.Context) GetSecurityAttributesFilterOutput

type GetSecurityAttributesFilterArray

type GetSecurityAttributesFilterArray []GetSecurityAttributesFilterInput

func (GetSecurityAttributesFilterArray) ElementType

func (GetSecurityAttributesFilterArray) ToGetSecurityAttributesFilterArrayOutput

func (i GetSecurityAttributesFilterArray) ToGetSecurityAttributesFilterArrayOutput() GetSecurityAttributesFilterArrayOutput

func (GetSecurityAttributesFilterArray) ToGetSecurityAttributesFilterArrayOutputWithContext

func (i GetSecurityAttributesFilterArray) ToGetSecurityAttributesFilterArrayOutputWithContext(ctx context.Context) GetSecurityAttributesFilterArrayOutput

type GetSecurityAttributesFilterArrayInput

type GetSecurityAttributesFilterArrayInput interface {
	pulumi.Input

	ToGetSecurityAttributesFilterArrayOutput() GetSecurityAttributesFilterArrayOutput
	ToGetSecurityAttributesFilterArrayOutputWithContext(context.Context) GetSecurityAttributesFilterArrayOutput
}

GetSecurityAttributesFilterArrayInput is an input type that accepts GetSecurityAttributesFilterArray and GetSecurityAttributesFilterArrayOutput values. You can construct a concrete instance of `GetSecurityAttributesFilterArrayInput` via:

GetSecurityAttributesFilterArray{ GetSecurityAttributesFilterArgs{...} }

type GetSecurityAttributesFilterArrayOutput

type GetSecurityAttributesFilterArrayOutput struct{ *pulumi.OutputState }

func (GetSecurityAttributesFilterArrayOutput) ElementType

func (GetSecurityAttributesFilterArrayOutput) Index

func (GetSecurityAttributesFilterArrayOutput) ToGetSecurityAttributesFilterArrayOutput

func (o GetSecurityAttributesFilterArrayOutput) ToGetSecurityAttributesFilterArrayOutput() GetSecurityAttributesFilterArrayOutput

func (GetSecurityAttributesFilterArrayOutput) ToGetSecurityAttributesFilterArrayOutputWithContext

func (o GetSecurityAttributesFilterArrayOutput) ToGetSecurityAttributesFilterArrayOutputWithContext(ctx context.Context) GetSecurityAttributesFilterArrayOutput

type GetSecurityAttributesFilterInput

type GetSecurityAttributesFilterInput interface {
	pulumi.Input

	ToGetSecurityAttributesFilterOutput() GetSecurityAttributesFilterOutput
	ToGetSecurityAttributesFilterOutputWithContext(context.Context) GetSecurityAttributesFilterOutput
}

GetSecurityAttributesFilterInput is an input type that accepts GetSecurityAttributesFilterArgs and GetSecurityAttributesFilterOutput values. You can construct a concrete instance of `GetSecurityAttributesFilterInput` via:

GetSecurityAttributesFilterArgs{...}

type GetSecurityAttributesFilterOutput

type GetSecurityAttributesFilterOutput struct{ *pulumi.OutputState }

func (GetSecurityAttributesFilterOutput) ElementType

func (GetSecurityAttributesFilterOutput) Name

The name assigned to the security attribute during creation. This is the security attribute key. The name must be unique within the security attribute namespace and cannot be changed.

func (GetSecurityAttributesFilterOutput) Regex

func (GetSecurityAttributesFilterOutput) ToGetSecurityAttributesFilterOutput

func (o GetSecurityAttributesFilterOutput) ToGetSecurityAttributesFilterOutput() GetSecurityAttributesFilterOutput

func (GetSecurityAttributesFilterOutput) ToGetSecurityAttributesFilterOutputWithContext

func (o GetSecurityAttributesFilterOutput) ToGetSecurityAttributesFilterOutputWithContext(ctx context.Context) GetSecurityAttributesFilterOutput

func (GetSecurityAttributesFilterOutput) Values

The list of allowed values for a security attribute value.

type GetSecurityAttributesOutputArgs

type GetSecurityAttributesOutputArgs struct {
	Filters GetSecurityAttributesFilterArrayInput `pulumi:"filters"`
	// The OCID of the security attribute namespace.
	SecurityAttributeNamespaceId pulumi.StringInput `pulumi:"securityAttributeNamespaceId"`
	// A filter to only return resources that match the given lifecycle state.  The state value is case-insensitive.
	State pulumi.StringPtrInput `pulumi:"state"`
}

A collection of arguments for invoking getSecurityAttributes.

func (GetSecurityAttributesOutputArgs) ElementType

type GetSecurityAttributesResult

type GetSecurityAttributesResult struct {
	Filters []GetSecurityAttributesFilter `pulumi:"filters"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The OCID of the security attribute namespace that contains the security attribute definition.
	SecurityAttributeNamespaceId string `pulumi:"securityAttributeNamespaceId"`
	// The list of security_attributes.
	SecurityAttributes []GetSecurityAttributesSecurityAttribute `pulumi:"securityAttributes"`
	// The security attribute's current state. After creating a security attribute, make sure its `lifecycleState` is ACTIVE before using it. After retiring a security attribute, make sure its `lifecycleState` is INACTIVE before using it. If you delete a security attribute, you cannot delete another security attribute until the deleted security attribute's `lifecycleState` changes from DELETING to DELETED.
	State *string `pulumi:"state"`
}

A collection of values returned by getSecurityAttributes.

func GetSecurityAttributes

func GetSecurityAttributes(ctx *pulumi.Context, args *GetSecurityAttributesArgs, opts ...pulumi.InvokeOption) (*GetSecurityAttributesResult, error)

This data source provides the list of Security Attributes in Oracle Cloud Infrastructure Security Attribute service.

Lists the security attributes in the specified namespace.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/securityattribute"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := securityattribute.GetSecurityAttributes(ctx, &securityattribute.GetSecurityAttributesArgs{
			SecurityAttributeNamespaceId: testSecurityAttributeNamespace.Id,
			State:                        pulumi.StringRef(securityAttributeState),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetSecurityAttributesResultOutput

type GetSecurityAttributesResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getSecurityAttributes.

func (GetSecurityAttributesResultOutput) ElementType

func (GetSecurityAttributesResultOutput) Filters

func (GetSecurityAttributesResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetSecurityAttributesResultOutput) SecurityAttributeNamespaceId

func (o GetSecurityAttributesResultOutput) SecurityAttributeNamespaceId() pulumi.StringOutput

The OCID of the security attribute namespace that contains the security attribute definition.

func (GetSecurityAttributesResultOutput) SecurityAttributes

The list of security_attributes.

func (GetSecurityAttributesResultOutput) State

The security attribute's current state. After creating a security attribute, make sure its `lifecycleState` is ACTIVE before using it. After retiring a security attribute, make sure its `lifecycleState` is INACTIVE before using it. If you delete a security attribute, you cannot delete another security attribute until the deleted security attribute's `lifecycleState` changes from DELETING to DELETED.

func (GetSecurityAttributesResultOutput) ToGetSecurityAttributesResultOutput

func (o GetSecurityAttributesResultOutput) ToGetSecurityAttributesResultOutput() GetSecurityAttributesResultOutput

func (GetSecurityAttributesResultOutput) ToGetSecurityAttributesResultOutputWithContext

func (o GetSecurityAttributesResultOutput) ToGetSecurityAttributesResultOutputWithContext(ctx context.Context) GetSecurityAttributesResultOutput

type GetSecurityAttributesSecurityAttribute

type GetSecurityAttributesSecurityAttribute struct {
	// The OCID of the compartment that contains the security attribute definition.
	CompartmentId string `pulumi:"compartmentId"`
	// The description you assign to the security attribute.
	Description string `pulumi:"description"`
	// The OCID of the security attribute definition.
	Id string `pulumi:"id"`
	// Indicates whether the security attribute is retired. See [Managing Security Attribute Namespaces](https://docs.cloud.oracle.com/iaas/Content/zero-trust-packet-routing/managing-security-attribute-namespaces.htm).
	IsRetired bool `pulumi:"isRetired"`
	// The name assigned to the security attribute during creation. This is the security attribute key. The name must be unique within the security attribute namespace and cannot be changed.
	Name string `pulumi:"name"`
	// The OCID of the security attribute namespace.
	SecurityAttributeNamespaceId string `pulumi:"securityAttributeNamespaceId"`
	// The name of the security attribute namespace that contains the security attribute.
	SecurityAttributeNamespaceName string `pulumi:"securityAttributeNamespaceName"`
	// A filter to only return resources that match the given lifecycle state.  The state value is case-insensitive.
	State string `pulumi:"state"`
	// Date and time the security attribute was created, in the format defined by RFC3339.  Example: `2016-08-25T21:10:29.600Z`
	TimeCreated string `pulumi:"timeCreated"`
	// The data type of the security attribute.
	Type string `pulumi:"type"`
	// Validates a security attribute value. Each validator performs validation steps in addition to the standard validation for security attribute values. For more information, see [Limits on Security Attributes](https://docs.cloud.oracle.com/iaas/Content/zero-trust-packet-routing/overview.htm).
	Validators []GetSecurityAttributesSecurityAttributeValidator `pulumi:"validators"`
}

type GetSecurityAttributesSecurityAttributeArgs

type GetSecurityAttributesSecurityAttributeArgs struct {
	// The OCID of the compartment that contains the security attribute definition.
	CompartmentId pulumi.StringInput `pulumi:"compartmentId"`
	// The description you assign to the security attribute.
	Description pulumi.StringInput `pulumi:"description"`
	// The OCID of the security attribute definition.
	Id pulumi.StringInput `pulumi:"id"`
	// Indicates whether the security attribute is retired. See [Managing Security Attribute Namespaces](https://docs.cloud.oracle.com/iaas/Content/zero-trust-packet-routing/managing-security-attribute-namespaces.htm).
	IsRetired pulumi.BoolInput `pulumi:"isRetired"`
	// The name assigned to the security attribute during creation. This is the security attribute key. The name must be unique within the security attribute namespace and cannot be changed.
	Name pulumi.StringInput `pulumi:"name"`
	// The OCID of the security attribute namespace.
	SecurityAttributeNamespaceId pulumi.StringInput `pulumi:"securityAttributeNamespaceId"`
	// The name of the security attribute namespace that contains the security attribute.
	SecurityAttributeNamespaceName pulumi.StringInput `pulumi:"securityAttributeNamespaceName"`
	// A filter to only return resources that match the given lifecycle state.  The state value is case-insensitive.
	State pulumi.StringInput `pulumi:"state"`
	// Date and time the security attribute was created, in the format defined by RFC3339.  Example: `2016-08-25T21:10:29.600Z`
	TimeCreated pulumi.StringInput `pulumi:"timeCreated"`
	// The data type of the security attribute.
	Type pulumi.StringInput `pulumi:"type"`
	// Validates a security attribute value. Each validator performs validation steps in addition to the standard validation for security attribute values. For more information, see [Limits on Security Attributes](https://docs.cloud.oracle.com/iaas/Content/zero-trust-packet-routing/overview.htm).
	Validators GetSecurityAttributesSecurityAttributeValidatorArrayInput `pulumi:"validators"`
}

func (GetSecurityAttributesSecurityAttributeArgs) ElementType

func (GetSecurityAttributesSecurityAttributeArgs) ToGetSecurityAttributesSecurityAttributeOutput

func (i GetSecurityAttributesSecurityAttributeArgs) ToGetSecurityAttributesSecurityAttributeOutput() GetSecurityAttributesSecurityAttributeOutput

func (GetSecurityAttributesSecurityAttributeArgs) ToGetSecurityAttributesSecurityAttributeOutputWithContext

func (i GetSecurityAttributesSecurityAttributeArgs) ToGetSecurityAttributesSecurityAttributeOutputWithContext(ctx context.Context) GetSecurityAttributesSecurityAttributeOutput

type GetSecurityAttributesSecurityAttributeArray

type GetSecurityAttributesSecurityAttributeArray []GetSecurityAttributesSecurityAttributeInput

func (GetSecurityAttributesSecurityAttributeArray) ElementType

func (GetSecurityAttributesSecurityAttributeArray) ToGetSecurityAttributesSecurityAttributeArrayOutput

func (i GetSecurityAttributesSecurityAttributeArray) ToGetSecurityAttributesSecurityAttributeArrayOutput() GetSecurityAttributesSecurityAttributeArrayOutput

func (GetSecurityAttributesSecurityAttributeArray) ToGetSecurityAttributesSecurityAttributeArrayOutputWithContext

func (i GetSecurityAttributesSecurityAttributeArray) ToGetSecurityAttributesSecurityAttributeArrayOutputWithContext(ctx context.Context) GetSecurityAttributesSecurityAttributeArrayOutput

type GetSecurityAttributesSecurityAttributeArrayInput

type GetSecurityAttributesSecurityAttributeArrayInput interface {
	pulumi.Input

	ToGetSecurityAttributesSecurityAttributeArrayOutput() GetSecurityAttributesSecurityAttributeArrayOutput
	ToGetSecurityAttributesSecurityAttributeArrayOutputWithContext(context.Context) GetSecurityAttributesSecurityAttributeArrayOutput
}

GetSecurityAttributesSecurityAttributeArrayInput is an input type that accepts GetSecurityAttributesSecurityAttributeArray and GetSecurityAttributesSecurityAttributeArrayOutput values. You can construct a concrete instance of `GetSecurityAttributesSecurityAttributeArrayInput` via:

GetSecurityAttributesSecurityAttributeArray{ GetSecurityAttributesSecurityAttributeArgs{...} }

type GetSecurityAttributesSecurityAttributeArrayOutput

type GetSecurityAttributesSecurityAttributeArrayOutput struct{ *pulumi.OutputState }

func (GetSecurityAttributesSecurityAttributeArrayOutput) ElementType

func (GetSecurityAttributesSecurityAttributeArrayOutput) Index

func (GetSecurityAttributesSecurityAttributeArrayOutput) ToGetSecurityAttributesSecurityAttributeArrayOutput

func (o GetSecurityAttributesSecurityAttributeArrayOutput) ToGetSecurityAttributesSecurityAttributeArrayOutput() GetSecurityAttributesSecurityAttributeArrayOutput

func (GetSecurityAttributesSecurityAttributeArrayOutput) ToGetSecurityAttributesSecurityAttributeArrayOutputWithContext

func (o GetSecurityAttributesSecurityAttributeArrayOutput) ToGetSecurityAttributesSecurityAttributeArrayOutputWithContext(ctx context.Context) GetSecurityAttributesSecurityAttributeArrayOutput

type GetSecurityAttributesSecurityAttributeInput

type GetSecurityAttributesSecurityAttributeInput interface {
	pulumi.Input

	ToGetSecurityAttributesSecurityAttributeOutput() GetSecurityAttributesSecurityAttributeOutput
	ToGetSecurityAttributesSecurityAttributeOutputWithContext(context.Context) GetSecurityAttributesSecurityAttributeOutput
}

GetSecurityAttributesSecurityAttributeInput is an input type that accepts GetSecurityAttributesSecurityAttributeArgs and GetSecurityAttributesSecurityAttributeOutput values. You can construct a concrete instance of `GetSecurityAttributesSecurityAttributeInput` via:

GetSecurityAttributesSecurityAttributeArgs{...}

type GetSecurityAttributesSecurityAttributeOutput

type GetSecurityAttributesSecurityAttributeOutput struct{ *pulumi.OutputState }

func (GetSecurityAttributesSecurityAttributeOutput) CompartmentId

The OCID of the compartment that contains the security attribute definition.

func (GetSecurityAttributesSecurityAttributeOutput) Description

The description you assign to the security attribute.

func (GetSecurityAttributesSecurityAttributeOutput) ElementType

func (GetSecurityAttributesSecurityAttributeOutput) Id

The OCID of the security attribute definition.

func (GetSecurityAttributesSecurityAttributeOutput) IsRetired

Indicates whether the security attribute is retired. See [Managing Security Attribute Namespaces](https://docs.cloud.oracle.com/iaas/Content/zero-trust-packet-routing/managing-security-attribute-namespaces.htm).

func (GetSecurityAttributesSecurityAttributeOutput) Name

The name assigned to the security attribute during creation. This is the security attribute key. The name must be unique within the security attribute namespace and cannot be changed.

func (GetSecurityAttributesSecurityAttributeOutput) SecurityAttributeNamespaceId

func (o GetSecurityAttributesSecurityAttributeOutput) SecurityAttributeNamespaceId() pulumi.StringOutput

The OCID of the security attribute namespace.

func (GetSecurityAttributesSecurityAttributeOutput) SecurityAttributeNamespaceName

func (o GetSecurityAttributesSecurityAttributeOutput) SecurityAttributeNamespaceName() pulumi.StringOutput

The name of the security attribute namespace that contains the security attribute.

func (GetSecurityAttributesSecurityAttributeOutput) State

A filter to only return resources that match the given lifecycle state. The state value is case-insensitive.

func (GetSecurityAttributesSecurityAttributeOutput) TimeCreated

Date and time the security attribute was created, in the format defined by RFC3339. Example: `2016-08-25T21:10:29.600Z`

func (GetSecurityAttributesSecurityAttributeOutput) ToGetSecurityAttributesSecurityAttributeOutput

func (o GetSecurityAttributesSecurityAttributeOutput) ToGetSecurityAttributesSecurityAttributeOutput() GetSecurityAttributesSecurityAttributeOutput

func (GetSecurityAttributesSecurityAttributeOutput) ToGetSecurityAttributesSecurityAttributeOutputWithContext

func (o GetSecurityAttributesSecurityAttributeOutput) ToGetSecurityAttributesSecurityAttributeOutputWithContext(ctx context.Context) GetSecurityAttributesSecurityAttributeOutput

func (GetSecurityAttributesSecurityAttributeOutput) Type

The data type of the security attribute.

func (GetSecurityAttributesSecurityAttributeOutput) Validators

Validates a security attribute value. Each validator performs validation steps in addition to the standard validation for security attribute values. For more information, see [Limits on Security Attributes](https://docs.cloud.oracle.com/iaas/Content/zero-trust-packet-routing/overview.htm).

type GetSecurityAttributesSecurityAttributeValidator

type GetSecurityAttributesSecurityAttributeValidator struct {
	// Specifies the type of validation: a static value (no validation) or a list.
	ValidatorType string `pulumi:"validatorType"`
	// The list of allowed values for a security attribute value.
	Values []string `pulumi:"values"`
}

type GetSecurityAttributesSecurityAttributeValidatorArgs

type GetSecurityAttributesSecurityAttributeValidatorArgs struct {
	// Specifies the type of validation: a static value (no validation) or a list.
	ValidatorType pulumi.StringInput `pulumi:"validatorType"`
	// The list of allowed values for a security attribute value.
	Values pulumi.StringArrayInput `pulumi:"values"`
}

func (GetSecurityAttributesSecurityAttributeValidatorArgs) ElementType

func (GetSecurityAttributesSecurityAttributeValidatorArgs) ToGetSecurityAttributesSecurityAttributeValidatorOutput

func (i GetSecurityAttributesSecurityAttributeValidatorArgs) ToGetSecurityAttributesSecurityAttributeValidatorOutput() GetSecurityAttributesSecurityAttributeValidatorOutput

func (GetSecurityAttributesSecurityAttributeValidatorArgs) ToGetSecurityAttributesSecurityAttributeValidatorOutputWithContext

func (i GetSecurityAttributesSecurityAttributeValidatorArgs) ToGetSecurityAttributesSecurityAttributeValidatorOutputWithContext(ctx context.Context) GetSecurityAttributesSecurityAttributeValidatorOutput

type GetSecurityAttributesSecurityAttributeValidatorArray

type GetSecurityAttributesSecurityAttributeValidatorArray []GetSecurityAttributesSecurityAttributeValidatorInput

func (GetSecurityAttributesSecurityAttributeValidatorArray) ElementType

func (GetSecurityAttributesSecurityAttributeValidatorArray) ToGetSecurityAttributesSecurityAttributeValidatorArrayOutput

func (i GetSecurityAttributesSecurityAttributeValidatorArray) ToGetSecurityAttributesSecurityAttributeValidatorArrayOutput() GetSecurityAttributesSecurityAttributeValidatorArrayOutput

func (GetSecurityAttributesSecurityAttributeValidatorArray) ToGetSecurityAttributesSecurityAttributeValidatorArrayOutputWithContext

func (i GetSecurityAttributesSecurityAttributeValidatorArray) ToGetSecurityAttributesSecurityAttributeValidatorArrayOutputWithContext(ctx context.Context) GetSecurityAttributesSecurityAttributeValidatorArrayOutput

type GetSecurityAttributesSecurityAttributeValidatorArrayInput

type GetSecurityAttributesSecurityAttributeValidatorArrayInput interface {
	pulumi.Input

	ToGetSecurityAttributesSecurityAttributeValidatorArrayOutput() GetSecurityAttributesSecurityAttributeValidatorArrayOutput
	ToGetSecurityAttributesSecurityAttributeValidatorArrayOutputWithContext(context.Context) GetSecurityAttributesSecurityAttributeValidatorArrayOutput
}

GetSecurityAttributesSecurityAttributeValidatorArrayInput is an input type that accepts GetSecurityAttributesSecurityAttributeValidatorArray and GetSecurityAttributesSecurityAttributeValidatorArrayOutput values. You can construct a concrete instance of `GetSecurityAttributesSecurityAttributeValidatorArrayInput` via:

GetSecurityAttributesSecurityAttributeValidatorArray{ GetSecurityAttributesSecurityAttributeValidatorArgs{...} }

type GetSecurityAttributesSecurityAttributeValidatorArrayOutput

type GetSecurityAttributesSecurityAttributeValidatorArrayOutput struct{ *pulumi.OutputState }

func (GetSecurityAttributesSecurityAttributeValidatorArrayOutput) ElementType

func (GetSecurityAttributesSecurityAttributeValidatorArrayOutput) Index

func (GetSecurityAttributesSecurityAttributeValidatorArrayOutput) ToGetSecurityAttributesSecurityAttributeValidatorArrayOutput

func (GetSecurityAttributesSecurityAttributeValidatorArrayOutput) ToGetSecurityAttributesSecurityAttributeValidatorArrayOutputWithContext

func (o GetSecurityAttributesSecurityAttributeValidatorArrayOutput) ToGetSecurityAttributesSecurityAttributeValidatorArrayOutputWithContext(ctx context.Context) GetSecurityAttributesSecurityAttributeValidatorArrayOutput

type GetSecurityAttributesSecurityAttributeValidatorInput

type GetSecurityAttributesSecurityAttributeValidatorInput interface {
	pulumi.Input

	ToGetSecurityAttributesSecurityAttributeValidatorOutput() GetSecurityAttributesSecurityAttributeValidatorOutput
	ToGetSecurityAttributesSecurityAttributeValidatorOutputWithContext(context.Context) GetSecurityAttributesSecurityAttributeValidatorOutput
}

GetSecurityAttributesSecurityAttributeValidatorInput is an input type that accepts GetSecurityAttributesSecurityAttributeValidatorArgs and GetSecurityAttributesSecurityAttributeValidatorOutput values. You can construct a concrete instance of `GetSecurityAttributesSecurityAttributeValidatorInput` via:

GetSecurityAttributesSecurityAttributeValidatorArgs{...}

type GetSecurityAttributesSecurityAttributeValidatorOutput

type GetSecurityAttributesSecurityAttributeValidatorOutput struct{ *pulumi.OutputState }

func (GetSecurityAttributesSecurityAttributeValidatorOutput) ElementType

func (GetSecurityAttributesSecurityAttributeValidatorOutput) ToGetSecurityAttributesSecurityAttributeValidatorOutput

func (GetSecurityAttributesSecurityAttributeValidatorOutput) ToGetSecurityAttributesSecurityAttributeValidatorOutputWithContext

func (o GetSecurityAttributesSecurityAttributeValidatorOutput) ToGetSecurityAttributesSecurityAttributeValidatorOutputWithContext(ctx context.Context) GetSecurityAttributesSecurityAttributeValidatorOutput

func (GetSecurityAttributesSecurityAttributeValidatorOutput) ValidatorType

Specifies the type of validation: a static value (no validation) or a list.

func (GetSecurityAttributesSecurityAttributeValidatorOutput) Values

The list of allowed values for a security attribute value.

type LookupSecurityAttributeArgs

type LookupSecurityAttributeArgs struct {
	// The name of the security attribute.
	SecurityAttributeName string `pulumi:"securityAttributeName"`
	// The OCID of the security attribute namespace.
	SecurityAttributeNamespaceId string `pulumi:"securityAttributeNamespaceId"`
}

A collection of arguments for invoking getSecurityAttribute.

type LookupSecurityAttributeNamespaceArgs

type LookupSecurityAttributeNamespaceArgs struct {
	// The OCID of the security attribute namespace.
	SecurityAttributeNamespaceId string `pulumi:"securityAttributeNamespaceId"`
}

A collection of arguments for invoking getSecurityAttributeNamespace.

type LookupSecurityAttributeNamespaceOutputArgs

type LookupSecurityAttributeNamespaceOutputArgs struct {
	// The OCID of the security attribute namespace.
	SecurityAttributeNamespaceId pulumi.StringInput `pulumi:"securityAttributeNamespaceId"`
}

A collection of arguments for invoking getSecurityAttributeNamespace.

func (LookupSecurityAttributeNamespaceOutputArgs) ElementType

type LookupSecurityAttributeNamespaceResult

type LookupSecurityAttributeNamespaceResult struct {
	// The OCID of the compartment that contains the security attribute namespace.
	CompartmentId string `pulumi:"compartmentId"`
	// Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).  Example: `{"Operations.CostCenter": "42"}`
	DefinedTags map[string]string `pulumi:"definedTags"`
	// Description of the Security Attribute Namespace.
	Description string `pulumi:"description"`
	// 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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).  Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `pulumi:"freeformTags"`
	// The OCID of the security attribute namespace.
	Id string `pulumi:"id"`
	// Indicates whether the security attribute namespace is retired. See [Managing Security Attribute Namespaces](https://docs.cloud.oracle.com/iaas/Content/zero-trust-packet-routing/managing-security-attribute-namespaces.htm).
	IsRetired bool `pulumi:"isRetired"`
	// Indicates possible modes the security attributes in this namespace is set to. Supported values are `enforce` and `audit`. Currently mode cannot be controlled by the user
	Modes []string `pulumi:"modes"`
	// The name of the security attribute namespace. It must be unique across all security attribute namespaces in the tenancy and cannot be changed.
	Name                         string `pulumi:"name"`
	SecurityAttributeNamespaceId string `pulumi:"securityAttributeNamespaceId"`
	// The security attribute namespace's current state. After creating a security attribute namespace, `lifecycleState` is in ACTIVE state. After retiring a security attribute namespace, its `lifecycleState` becomes INACTIVE. Security Attributes from a retired namespace cannot be attached to more resources.
	State string `pulumi:"state"`
	// System tags for this resource. Each key is predefined and scoped to a namespace.  Example: `{"orcl-cloud.free-tier-retained": "true"}`
	SystemTags map[string]string `pulumi:"systemTags"`
	// Date and time the security attribute namespace was created, in the format defined by RFC3339. Example: `2016-08-25T21:10:29.600Z`
	TimeCreated string `pulumi:"timeCreated"`
}

A collection of values returned by getSecurityAttributeNamespace.

func LookupSecurityAttributeNamespace

This data source provides details about a specific Security Attribute Namespace resource in Oracle Cloud Infrastructure Security Attribute service.

Gets the specified security attribute namespace's information.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/securityattribute"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := securityattribute.GetSecurityAttributeNamespace(ctx, &securityattribute.GetSecurityAttributeNamespaceArgs{
			SecurityAttributeNamespaceId: testSecurityAttributeNamespaceOciSecurityAttributeSecurityAttributeNamespace.Id,
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupSecurityAttributeNamespaceResultOutput

type LookupSecurityAttributeNamespaceResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getSecurityAttributeNamespace.

func (LookupSecurityAttributeNamespaceResultOutput) CompartmentId

The OCID of the compartment that contains the security attribute namespace.

func (LookupSecurityAttributeNamespaceResultOutput) DefinedTags

Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}`

func (LookupSecurityAttributeNamespaceResultOutput) Description

Description of the Security Attribute Namespace.

func (LookupSecurityAttributeNamespaceResultOutput) ElementType

func (LookupSecurityAttributeNamespaceResultOutput) FreeformTags

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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}`

func (LookupSecurityAttributeNamespaceResultOutput) Id

The OCID of the security attribute namespace.

func (LookupSecurityAttributeNamespaceResultOutput) IsRetired

Indicates whether the security attribute namespace is retired. See [Managing Security Attribute Namespaces](https://docs.cloud.oracle.com/iaas/Content/zero-trust-packet-routing/managing-security-attribute-namespaces.htm).

func (LookupSecurityAttributeNamespaceResultOutput) Modes

Indicates possible modes the security attributes in this namespace is set to. Supported values are `enforce` and `audit`. Currently mode cannot be controlled by the user

func (LookupSecurityAttributeNamespaceResultOutput) Name

The name of the security attribute namespace. It must be unique across all security attribute namespaces in the tenancy and cannot be changed.

func (LookupSecurityAttributeNamespaceResultOutput) SecurityAttributeNamespaceId

func (o LookupSecurityAttributeNamespaceResultOutput) SecurityAttributeNamespaceId() pulumi.StringOutput

func (LookupSecurityAttributeNamespaceResultOutput) State

The security attribute namespace's current state. After creating a security attribute namespace, `lifecycleState` is in ACTIVE state. After retiring a security attribute namespace, its `lifecycleState` becomes INACTIVE. Security Attributes from a retired namespace cannot be attached to more resources.

func (LookupSecurityAttributeNamespaceResultOutput) SystemTags

System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}`

func (LookupSecurityAttributeNamespaceResultOutput) TimeCreated

Date and time the security attribute namespace was created, in the format defined by RFC3339. Example: `2016-08-25T21:10:29.600Z`

func (LookupSecurityAttributeNamespaceResultOutput) ToLookupSecurityAttributeNamespaceResultOutput

func (o LookupSecurityAttributeNamespaceResultOutput) ToLookupSecurityAttributeNamespaceResultOutput() LookupSecurityAttributeNamespaceResultOutput

func (LookupSecurityAttributeNamespaceResultOutput) ToLookupSecurityAttributeNamespaceResultOutputWithContext

func (o LookupSecurityAttributeNamespaceResultOutput) ToLookupSecurityAttributeNamespaceResultOutputWithContext(ctx context.Context) LookupSecurityAttributeNamespaceResultOutput

type LookupSecurityAttributeOutputArgs

type LookupSecurityAttributeOutputArgs struct {
	// The name of the security attribute.
	SecurityAttributeName pulumi.StringInput `pulumi:"securityAttributeName"`
	// The OCID of the security attribute namespace.
	SecurityAttributeNamespaceId pulumi.StringInput `pulumi:"securityAttributeNamespaceId"`
}

A collection of arguments for invoking getSecurityAttribute.

func (LookupSecurityAttributeOutputArgs) ElementType

type LookupSecurityAttributeResult

type LookupSecurityAttributeResult struct {
	// The OCID of the compartment that contains the security attribute definition.
	CompartmentId string `pulumi:"compartmentId"`
	// The description you assign to the security attribute.
	Description string `pulumi:"description"`
	// The OCID of the security attribute definition.
	Id string `pulumi:"id"`
	// Indicates whether the security attribute is retired. See [Managing Security Attribute Namespaces](https://docs.cloud.oracle.com/iaas/Content/zero-trust-packet-routing/managing-security-attribute-namespaces.htm).
	IsRetired bool `pulumi:"isRetired"`
	// The name assigned to the security attribute during creation. This is the security attribute key. The name must be unique within the security attribute namespace and cannot be changed.
	Name                  string `pulumi:"name"`
	SecurityAttributeName string `pulumi:"securityAttributeName"`
	// The OCID of the security attribute namespace that contains the security attribute definition.
	SecurityAttributeNamespaceId string `pulumi:"securityAttributeNamespaceId"`
	// The name of the security attribute namespace that contains the security attribute.
	SecurityAttributeNamespaceName string `pulumi:"securityAttributeNamespaceName"`
	// The security attribute's current state. After creating a security attribute, make sure its `lifecycleState` is ACTIVE before using it. After retiring a security attribute, make sure its `lifecycleState` is INACTIVE before using it. If you delete a security attribute, you cannot delete another security attribute until the deleted security attribute's `lifecycleState` changes from DELETING to DELETED.
	State string `pulumi:"state"`
	// Date and time the security attribute was created, in the format defined by RFC3339.  Example: `2016-08-25T21:10:29.600Z`
	TimeCreated string `pulumi:"timeCreated"`
	// The data type of the security attribute.
	Type string `pulumi:"type"`
	// Validates a security attribute value. Each validator performs validation steps in addition to the standard validation for security attribute values. For more information, see [Limits on Security Attributes](https://docs.cloud.oracle.com/iaas/Content/zero-trust-packet-routing/overview.htm).
	Validators []GetSecurityAttributeValidator `pulumi:"validators"`
}

A collection of values returned by getSecurityAttribute.

func LookupSecurityAttribute

func LookupSecurityAttribute(ctx *pulumi.Context, args *LookupSecurityAttributeArgs, opts ...pulumi.InvokeOption) (*LookupSecurityAttributeResult, error)

This data source provides details about a specific Security Attribute resource in Oracle Cloud Infrastructure Security Attribute service.

Gets the specified security attribute's information.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/securityattribute"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := securityattribute.GetSecurityAttribute(ctx, &securityattribute.GetSecurityAttributeArgs{
			SecurityAttributeName:        testSecurityAttributeOciSecurityAttributeSecurityAttribute.Name,
			SecurityAttributeNamespaceId: testSecurityAttributeNamespace.Id,
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupSecurityAttributeResultOutput

type LookupSecurityAttributeResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getSecurityAttribute.

func (LookupSecurityAttributeResultOutput) CompartmentId

The OCID of the compartment that contains the security attribute definition.

func (LookupSecurityAttributeResultOutput) Description

The description you assign to the security attribute.

func (LookupSecurityAttributeResultOutput) ElementType

func (LookupSecurityAttributeResultOutput) Id

The OCID of the security attribute definition.

func (LookupSecurityAttributeResultOutput) IsRetired

Indicates whether the security attribute is retired. See [Managing Security Attribute Namespaces](https://docs.cloud.oracle.com/iaas/Content/zero-trust-packet-routing/managing-security-attribute-namespaces.htm).

func (LookupSecurityAttributeResultOutput) Name

The name assigned to the security attribute during creation. This is the security attribute key. The name must be unique within the security attribute namespace and cannot be changed.

func (LookupSecurityAttributeResultOutput) SecurityAttributeName

func (o LookupSecurityAttributeResultOutput) SecurityAttributeName() pulumi.StringOutput

func (LookupSecurityAttributeResultOutput) SecurityAttributeNamespaceId

func (o LookupSecurityAttributeResultOutput) SecurityAttributeNamespaceId() pulumi.StringOutput

The OCID of the security attribute namespace that contains the security attribute definition.

func (LookupSecurityAttributeResultOutput) SecurityAttributeNamespaceName

func (o LookupSecurityAttributeResultOutput) SecurityAttributeNamespaceName() pulumi.StringOutput

The name of the security attribute namespace that contains the security attribute.

func (LookupSecurityAttributeResultOutput) State

The security attribute's current state. After creating a security attribute, make sure its `lifecycleState` is ACTIVE before using it. After retiring a security attribute, make sure its `lifecycleState` is INACTIVE before using it. If you delete a security attribute, you cannot delete another security attribute until the deleted security attribute's `lifecycleState` changes from DELETING to DELETED.

func (LookupSecurityAttributeResultOutput) TimeCreated

Date and time the security attribute was created, in the format defined by RFC3339. Example: `2016-08-25T21:10:29.600Z`

func (LookupSecurityAttributeResultOutput) ToLookupSecurityAttributeResultOutput

func (o LookupSecurityAttributeResultOutput) ToLookupSecurityAttributeResultOutput() LookupSecurityAttributeResultOutput

func (LookupSecurityAttributeResultOutput) ToLookupSecurityAttributeResultOutputWithContext

func (o LookupSecurityAttributeResultOutput) ToLookupSecurityAttributeResultOutputWithContext(ctx context.Context) LookupSecurityAttributeResultOutput

func (LookupSecurityAttributeResultOutput) Type

The data type of the security attribute.

func (LookupSecurityAttributeResultOutput) Validators

Validates a security attribute value. Each validator performs validation steps in addition to the standard validation for security attribute values. For more information, see [Limits on Security Attributes](https://docs.cloud.oracle.com/iaas/Content/zero-trust-packet-routing/overview.htm).

type SecurityAttribute

type SecurityAttribute struct {
	pulumi.CustomResourceState

	// The OCID of the compartment that contains the security attribute definition.
	CompartmentId pulumi.StringOutput `pulumi:"compartmentId"`
	// (Updatable) The description you assign to the security attribute during creation.
	Description pulumi.StringOutput `pulumi:"description"`
	// Indicates whether the security attribute is retired. See [Managing Security Attribute Namespaces](https://docs.cloud.oracle.com/iaas/Content/zero-trust-packet-routing/managing-security-attribute-namespaces.htm).
	IsRetired pulumi.BoolOutput `pulumi:"isRetired"`
	// The name you assign to the security attribute during creation. This is the security attribute key. The name must be unique within the namespace and cannot be changed.
	Name pulumi.StringOutput `pulumi:"name"`
	// The OCID of the security attribute namespace.
	SecurityAttributeNamespaceId pulumi.StringOutput `pulumi:"securityAttributeNamespaceId"`
	// The name of the security attribute namespace that contains the security attribute.
	SecurityAttributeNamespaceName pulumi.StringOutput `pulumi:"securityAttributeNamespaceName"`
	// The security attribute's current state. After creating a security attribute, make sure its `lifecycleState` is ACTIVE before using it. After retiring a security attribute, make sure its `lifecycleState` is INACTIVE before using it. If you delete a security attribute, you cannot delete another security attribute until the deleted security attribute's `lifecycleState` changes from DELETING to DELETED.
	State pulumi.StringOutput `pulumi:"state"`
	// Date and time the security attribute was created, in the format defined by RFC3339.  Example: `2016-08-25T21:10:29.600Z`
	TimeCreated pulumi.StringOutput `pulumi:"timeCreated"`
	// The data type of the security attribute.
	Type pulumi.StringOutput `pulumi:"type"`
	// (Updatable) Validates a security attribute value. Each validator performs validation steps in addition to the standard validation for security attribute values. For more information, see [Limits on Security Attributes](https://docs.cloud.oracle.com/iaas/Content/zero-trust-packet-routing/overview.htm).
	//
	// If you define a validator after a value has been set for a security attribute, then any updates that attempt to change the value must pass the additional validation defined by the current rule. Previously set values (even those that would fail the current validation) are not updated. You can still update other attributes to resources that contain a non-valid security attribute.
	//
	// To clear the validator call UpdateSecurityAttribute with [DefaultSecuirtyAttributeValidator](https://docs.cloud.oracle.com/iaas/api/#/en/securityattribute/latest/datatypes/DefaultTagDefinitionValidator).
	Validator SecurityAttributeValidatorPtrOutput `pulumi:"validator"`
}

This resource provides the Security Attribute resource in Oracle Cloud Infrastructure Security Attribute service.

Creates a new security attribute in the specified security attribute namespace.

The security attribute requires either the OCID or the name of the security attribute namespace that will contain this security attribute.

You must specify a *name* for the attribute, which must be unique across all attributes in the security attribute namespace and cannot be changed. The only valid characters for security attribute names are: 0-9, A-Z, a-z, -, _ characters. Names are case insensitive. That means, for example, "mySecurityAttribute" and "mysecurityattribute" are not allowed in the same namespace. If you specify a name that's already in use in the security attribute namespace, a 409 error is returned.

The security attribute must have a *description*. It does not have to be unique, and you can change it with [UpdateSecurityAttribute](https://docs.cloud.oracle.com/iaas/api/#/en/securityattribute/latest/Tag/UpdateSecurityAttribute).

When a validator is specified, The security attribute must have a value type. Security attribute can use either a static value or a list of possible values. Static values are entered by a user when applying the security attribute to a resource. Lists are created by the user and the user must apply a value from the list. Lists are validated.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/securityattribute"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := securityattribute.NewSecurityAttribute(ctx, "test_security_attribute", &securityattribute.SecurityAttributeArgs{
			Description:                  pulumi.Any(securityAttributeDescription),
			Name:                         pulumi.Any(securityAttributeName),
			SecurityAttributeNamespaceId: pulumi.Any(testSecurityAttributeNamespace.Id),
			Validator: &securityattribute.SecurityAttributeValidatorArgs{
				ValidatorType: pulumi.Any(securityAttributeValidatorValidatorType),
				Values:        pulumi.Any(securityAttributeValidatorValues),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

SecurityAttributes can be imported using the `id`, e.g.

```sh $ pulumi import oci:SecurityAttribute/securityAttribute:SecurityAttribute test_security_attribute "securityAttributeNamespaces/{securityAttributeNamespaceId}/securityAttributes/{securityAttributeName}" ```

func GetSecurityAttribute

func GetSecurityAttribute(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *SecurityAttributeState, opts ...pulumi.ResourceOption) (*SecurityAttribute, error)

GetSecurityAttribute gets an existing SecurityAttribute resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewSecurityAttribute

func NewSecurityAttribute(ctx *pulumi.Context,
	name string, args *SecurityAttributeArgs, opts ...pulumi.ResourceOption) (*SecurityAttribute, error)

NewSecurityAttribute registers a new resource with the given unique name, arguments, and options.

func (*SecurityAttribute) ElementType

func (*SecurityAttribute) ElementType() reflect.Type

func (*SecurityAttribute) ToSecurityAttributeOutput

func (i *SecurityAttribute) ToSecurityAttributeOutput() SecurityAttributeOutput

func (*SecurityAttribute) ToSecurityAttributeOutputWithContext

func (i *SecurityAttribute) ToSecurityAttributeOutputWithContext(ctx context.Context) SecurityAttributeOutput

type SecurityAttributeArgs

type SecurityAttributeArgs struct {
	// (Updatable) The description you assign to the security attribute during creation.
	Description pulumi.StringInput
	// Indicates whether the security attribute is retired. See [Managing Security Attribute Namespaces](https://docs.cloud.oracle.com/iaas/Content/zero-trust-packet-routing/managing-security-attribute-namespaces.htm).
	IsRetired pulumi.BoolPtrInput
	// The name you assign to the security attribute during creation. This is the security attribute key. The name must be unique within the namespace and cannot be changed.
	Name pulumi.StringPtrInput
	// The OCID of the security attribute namespace.
	SecurityAttributeNamespaceId pulumi.StringInput
	// (Updatable) Validates a security attribute value. Each validator performs validation steps in addition to the standard validation for security attribute values. For more information, see [Limits on Security Attributes](https://docs.cloud.oracle.com/iaas/Content/zero-trust-packet-routing/overview.htm).
	//
	// If you define a validator after a value has been set for a security attribute, then any updates that attempt to change the value must pass the additional validation defined by the current rule. Previously set values (even those that would fail the current validation) are not updated. You can still update other attributes to resources that contain a non-valid security attribute.
	//
	// To clear the validator call UpdateSecurityAttribute with [DefaultSecuirtyAttributeValidator](https://docs.cloud.oracle.com/iaas/api/#/en/securityattribute/latest/datatypes/DefaultTagDefinitionValidator).
	Validator SecurityAttributeValidatorPtrInput
}

The set of arguments for constructing a SecurityAttribute resource.

func (SecurityAttributeArgs) ElementType

func (SecurityAttributeArgs) ElementType() reflect.Type

type SecurityAttributeArray

type SecurityAttributeArray []SecurityAttributeInput

func (SecurityAttributeArray) ElementType

func (SecurityAttributeArray) ElementType() reflect.Type

func (SecurityAttributeArray) ToSecurityAttributeArrayOutput

func (i SecurityAttributeArray) ToSecurityAttributeArrayOutput() SecurityAttributeArrayOutput

func (SecurityAttributeArray) ToSecurityAttributeArrayOutputWithContext

func (i SecurityAttributeArray) ToSecurityAttributeArrayOutputWithContext(ctx context.Context) SecurityAttributeArrayOutput

type SecurityAttributeArrayInput

type SecurityAttributeArrayInput interface {
	pulumi.Input

	ToSecurityAttributeArrayOutput() SecurityAttributeArrayOutput
	ToSecurityAttributeArrayOutputWithContext(context.Context) SecurityAttributeArrayOutput
}

SecurityAttributeArrayInput is an input type that accepts SecurityAttributeArray and SecurityAttributeArrayOutput values. You can construct a concrete instance of `SecurityAttributeArrayInput` via:

SecurityAttributeArray{ SecurityAttributeArgs{...} }

type SecurityAttributeArrayOutput

type SecurityAttributeArrayOutput struct{ *pulumi.OutputState }

func (SecurityAttributeArrayOutput) ElementType

func (SecurityAttributeArrayOutput) Index

func (SecurityAttributeArrayOutput) ToSecurityAttributeArrayOutput

func (o SecurityAttributeArrayOutput) ToSecurityAttributeArrayOutput() SecurityAttributeArrayOutput

func (SecurityAttributeArrayOutput) ToSecurityAttributeArrayOutputWithContext

func (o SecurityAttributeArrayOutput) ToSecurityAttributeArrayOutputWithContext(ctx context.Context) SecurityAttributeArrayOutput

type SecurityAttributeInput

type SecurityAttributeInput interface {
	pulumi.Input

	ToSecurityAttributeOutput() SecurityAttributeOutput
	ToSecurityAttributeOutputWithContext(ctx context.Context) SecurityAttributeOutput
}

type SecurityAttributeMap

type SecurityAttributeMap map[string]SecurityAttributeInput

func (SecurityAttributeMap) ElementType

func (SecurityAttributeMap) ElementType() reflect.Type

func (SecurityAttributeMap) ToSecurityAttributeMapOutput

func (i SecurityAttributeMap) ToSecurityAttributeMapOutput() SecurityAttributeMapOutput

func (SecurityAttributeMap) ToSecurityAttributeMapOutputWithContext

func (i SecurityAttributeMap) ToSecurityAttributeMapOutputWithContext(ctx context.Context) SecurityAttributeMapOutput

type SecurityAttributeMapInput

type SecurityAttributeMapInput interface {
	pulumi.Input

	ToSecurityAttributeMapOutput() SecurityAttributeMapOutput
	ToSecurityAttributeMapOutputWithContext(context.Context) SecurityAttributeMapOutput
}

SecurityAttributeMapInput is an input type that accepts SecurityAttributeMap and SecurityAttributeMapOutput values. You can construct a concrete instance of `SecurityAttributeMapInput` via:

SecurityAttributeMap{ "key": SecurityAttributeArgs{...} }

type SecurityAttributeMapOutput

type SecurityAttributeMapOutput struct{ *pulumi.OutputState }

func (SecurityAttributeMapOutput) ElementType

func (SecurityAttributeMapOutput) ElementType() reflect.Type

func (SecurityAttributeMapOutput) MapIndex

func (SecurityAttributeMapOutput) ToSecurityAttributeMapOutput

func (o SecurityAttributeMapOutput) ToSecurityAttributeMapOutput() SecurityAttributeMapOutput

func (SecurityAttributeMapOutput) ToSecurityAttributeMapOutputWithContext

func (o SecurityAttributeMapOutput) ToSecurityAttributeMapOutputWithContext(ctx context.Context) SecurityAttributeMapOutput

type SecurityAttributeNamespace

type SecurityAttributeNamespace struct {
	pulumi.CustomResourceState

	// (Updatable) The OCID of the tenancy containing the security attribute namespace.
	CompartmentId pulumi.StringOutput `pulumi:"compartmentId"`
	// (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).  Example: `{"Operations.CostCenter": "42"}`
	DefinedTags pulumi.StringMapOutput `pulumi:"definedTags"`
	// (Updatable) The description you assign to the security attribute namespace during creation.
	Description pulumi.StringOutput `pulumi:"description"`
	// (Updatable) 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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).  Example: `{"Department": "Finance"}`
	FreeformTags pulumi.StringMapOutput `pulumi:"freeformTags"`
	// Indicates whether the security attribute namespace is retired. See [Managing Security Attribute Namespaces](https://docs.cloud.oracle.com/iaas/Content/zero-trust-packet-routing/managing-security-attribute-namespaces.htm).
	IsRetired pulumi.BoolOutput `pulumi:"isRetired"`
	// Indicates possible modes the security attributes in this namespace can be set to. This is not accepted from the user. Currently the supported values are enforce and audit.
	Modes pulumi.StringArrayOutput `pulumi:"modes"`
	// The name you assign to the security attribute namespace during creation. The name must be unique across all namespaces in the tenancy and cannot be changed.
	//
	// ** IMPORTANT **
	// Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
	Name pulumi.StringOutput `pulumi:"name"`
	// The security attribute namespace's current state. After creating a security attribute namespace, make sure its `lifecycleState` is ACTIVE before using it. After retiring a security attribute namespace, make sure its `lifecycleState` is INACTIVE.
	State pulumi.StringOutput `pulumi:"state"`
	// System tags for this resource. Each key is predefined and scoped to a namespace.  Example: `{"orcl-cloud.free-tier-retained": "true"}`
	SystemTags pulumi.StringMapOutput `pulumi:"systemTags"`
	// Date and time the security attribute namespace was created, in the format defined by RFC3339. Example: `2016-08-25T21:10:29.600Z`
	TimeCreated pulumi.StringOutput `pulumi:"timeCreated"`
}

This resource provides the Security Attribute Namespace resource in Oracle Cloud Infrastructure Security Attribute service.

Creates a new security attribute namespace in the specified compartment.

You must specify the compartment ID in the request object (remember that the tenancy is simply the root compartment).

You must also specify a *name* for the namespace, which must be unique across all namespaces in your tenancy and cannot be changed. The only valid characters for security attribute names are:  0-9, A-Z, a-z, -, _ characters. Names are case insensitive. That means, for example, "myNamespace" and "mynamespace" are not allowed in the same tenancy. Once you created a namespace, you cannot change the name. If you specify a name that's already in use in the tenancy, a 409 error is returned.

You must also specify a *description* for the namespace. It does not have to be unique, and you can change it with [UpdateSecurityAttributeNamespace](https://docs.cloud.oracle.com/iaas/api/#/en/securityattribute/latest/SecurityAttribute/SecurityAttributeNamespace).

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/securityattribute"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := securityattribute.NewSecurityAttributeNamespace(ctx, "test_security_attribute_namespace", &securityattribute.SecurityAttributeNamespaceArgs{
			CompartmentId: pulumi.Any(compartmentId),
			Description:   pulumi.Any(securityAttributeNamespaceDescription),
			Name:          pulumi.Any(securityAttributeNamespaceName),
			DefinedTags: pulumi.StringMap{
				"Operations.CostCenter": pulumi.String("42"),
			},
			FreeformTags: pulumi.StringMap{
				"Department": pulumi.String("Finance"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

SecurityAttributeNamespaces can be imported using the `id`, e.g.

```sh $ pulumi import oci:SecurityAttribute/securityAttributeNamespace:SecurityAttributeNamespace test_security_attribute_namespace "id" ```

func GetSecurityAttributeNamespace

func GetSecurityAttributeNamespace(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *SecurityAttributeNamespaceState, opts ...pulumi.ResourceOption) (*SecurityAttributeNamespace, error)

GetSecurityAttributeNamespace gets an existing SecurityAttributeNamespace resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewSecurityAttributeNamespace

func NewSecurityAttributeNamespace(ctx *pulumi.Context,
	name string, args *SecurityAttributeNamespaceArgs, opts ...pulumi.ResourceOption) (*SecurityAttributeNamespace, error)

NewSecurityAttributeNamespace registers a new resource with the given unique name, arguments, and options.

func (*SecurityAttributeNamespace) ElementType

func (*SecurityAttributeNamespace) ElementType() reflect.Type

func (*SecurityAttributeNamespace) ToSecurityAttributeNamespaceOutput

func (i *SecurityAttributeNamespace) ToSecurityAttributeNamespaceOutput() SecurityAttributeNamespaceOutput

func (*SecurityAttributeNamespace) ToSecurityAttributeNamespaceOutputWithContext

func (i *SecurityAttributeNamespace) ToSecurityAttributeNamespaceOutputWithContext(ctx context.Context) SecurityAttributeNamespaceOutput

type SecurityAttributeNamespaceArgs

type SecurityAttributeNamespaceArgs struct {
	// (Updatable) The OCID of the tenancy containing the security attribute namespace.
	CompartmentId pulumi.StringInput
	// (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).  Example: `{"Operations.CostCenter": "42"}`
	DefinedTags pulumi.StringMapInput
	// (Updatable) The description you assign to the security attribute namespace during creation.
	Description pulumi.StringInput
	// (Updatable) 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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).  Example: `{"Department": "Finance"}`
	FreeformTags pulumi.StringMapInput
	// Indicates whether the security attribute namespace is retired. See [Managing Security Attribute Namespaces](https://docs.cloud.oracle.com/iaas/Content/zero-trust-packet-routing/managing-security-attribute-namespaces.htm).
	IsRetired pulumi.BoolPtrInput
	// The name you assign to the security attribute namespace during creation. The name must be unique across all namespaces in the tenancy and cannot be changed.
	//
	// ** IMPORTANT **
	// Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
	Name pulumi.StringPtrInput
}

The set of arguments for constructing a SecurityAttributeNamespace resource.

func (SecurityAttributeNamespaceArgs) ElementType

type SecurityAttributeNamespaceArray

type SecurityAttributeNamespaceArray []SecurityAttributeNamespaceInput

func (SecurityAttributeNamespaceArray) ElementType

func (SecurityAttributeNamespaceArray) ToSecurityAttributeNamespaceArrayOutput

func (i SecurityAttributeNamespaceArray) ToSecurityAttributeNamespaceArrayOutput() SecurityAttributeNamespaceArrayOutput

func (SecurityAttributeNamespaceArray) ToSecurityAttributeNamespaceArrayOutputWithContext

func (i SecurityAttributeNamespaceArray) ToSecurityAttributeNamespaceArrayOutputWithContext(ctx context.Context) SecurityAttributeNamespaceArrayOutput

type SecurityAttributeNamespaceArrayInput

type SecurityAttributeNamespaceArrayInput interface {
	pulumi.Input

	ToSecurityAttributeNamespaceArrayOutput() SecurityAttributeNamespaceArrayOutput
	ToSecurityAttributeNamespaceArrayOutputWithContext(context.Context) SecurityAttributeNamespaceArrayOutput
}

SecurityAttributeNamespaceArrayInput is an input type that accepts SecurityAttributeNamespaceArray and SecurityAttributeNamespaceArrayOutput values. You can construct a concrete instance of `SecurityAttributeNamespaceArrayInput` via:

SecurityAttributeNamespaceArray{ SecurityAttributeNamespaceArgs{...} }

type SecurityAttributeNamespaceArrayOutput

type SecurityAttributeNamespaceArrayOutput struct{ *pulumi.OutputState }

func (SecurityAttributeNamespaceArrayOutput) ElementType

func (SecurityAttributeNamespaceArrayOutput) Index

func (SecurityAttributeNamespaceArrayOutput) ToSecurityAttributeNamespaceArrayOutput

func (o SecurityAttributeNamespaceArrayOutput) ToSecurityAttributeNamespaceArrayOutput() SecurityAttributeNamespaceArrayOutput

func (SecurityAttributeNamespaceArrayOutput) ToSecurityAttributeNamespaceArrayOutputWithContext

func (o SecurityAttributeNamespaceArrayOutput) ToSecurityAttributeNamespaceArrayOutputWithContext(ctx context.Context) SecurityAttributeNamespaceArrayOutput

type SecurityAttributeNamespaceInput

type SecurityAttributeNamespaceInput interface {
	pulumi.Input

	ToSecurityAttributeNamespaceOutput() SecurityAttributeNamespaceOutput
	ToSecurityAttributeNamespaceOutputWithContext(ctx context.Context) SecurityAttributeNamespaceOutput
}

type SecurityAttributeNamespaceMap

type SecurityAttributeNamespaceMap map[string]SecurityAttributeNamespaceInput

func (SecurityAttributeNamespaceMap) ElementType

func (SecurityAttributeNamespaceMap) ToSecurityAttributeNamespaceMapOutput

func (i SecurityAttributeNamespaceMap) ToSecurityAttributeNamespaceMapOutput() SecurityAttributeNamespaceMapOutput

func (SecurityAttributeNamespaceMap) ToSecurityAttributeNamespaceMapOutputWithContext

func (i SecurityAttributeNamespaceMap) ToSecurityAttributeNamespaceMapOutputWithContext(ctx context.Context) SecurityAttributeNamespaceMapOutput

type SecurityAttributeNamespaceMapInput

type SecurityAttributeNamespaceMapInput interface {
	pulumi.Input

	ToSecurityAttributeNamespaceMapOutput() SecurityAttributeNamespaceMapOutput
	ToSecurityAttributeNamespaceMapOutputWithContext(context.Context) SecurityAttributeNamespaceMapOutput
}

SecurityAttributeNamespaceMapInput is an input type that accepts SecurityAttributeNamespaceMap and SecurityAttributeNamespaceMapOutput values. You can construct a concrete instance of `SecurityAttributeNamespaceMapInput` via:

SecurityAttributeNamespaceMap{ "key": SecurityAttributeNamespaceArgs{...} }

type SecurityAttributeNamespaceMapOutput

type SecurityAttributeNamespaceMapOutput struct{ *pulumi.OutputState }

func (SecurityAttributeNamespaceMapOutput) ElementType

func (SecurityAttributeNamespaceMapOutput) MapIndex

func (SecurityAttributeNamespaceMapOutput) ToSecurityAttributeNamespaceMapOutput

func (o SecurityAttributeNamespaceMapOutput) ToSecurityAttributeNamespaceMapOutput() SecurityAttributeNamespaceMapOutput

func (SecurityAttributeNamespaceMapOutput) ToSecurityAttributeNamespaceMapOutputWithContext

func (o SecurityAttributeNamespaceMapOutput) ToSecurityAttributeNamespaceMapOutputWithContext(ctx context.Context) SecurityAttributeNamespaceMapOutput

type SecurityAttributeNamespaceOutput

type SecurityAttributeNamespaceOutput struct{ *pulumi.OutputState }

func (SecurityAttributeNamespaceOutput) CompartmentId

(Updatable) The OCID of the tenancy containing the security attribute namespace.

func (SecurityAttributeNamespaceOutput) DefinedTags

(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}`

func (SecurityAttributeNamespaceOutput) Description

(Updatable) The description you assign to the security attribute namespace during creation.

func (SecurityAttributeNamespaceOutput) ElementType

func (SecurityAttributeNamespaceOutput) FreeformTags

(Updatable) 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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}`

func (SecurityAttributeNamespaceOutput) IsRetired

Indicates whether the security attribute namespace is retired. See [Managing Security Attribute Namespaces](https://docs.cloud.oracle.com/iaas/Content/zero-trust-packet-routing/managing-security-attribute-namespaces.htm).

func (SecurityAttributeNamespaceOutput) Modes

Indicates possible modes the security attributes in this namespace can be set to. This is not accepted from the user. Currently the supported values are enforce and audit.

func (SecurityAttributeNamespaceOutput) Name

The name you assign to the security attribute namespace during creation. The name must be unique across all namespaces in the tenancy and cannot be changed.

** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

func (SecurityAttributeNamespaceOutput) State

The security attribute namespace's current state. After creating a security attribute namespace, make sure its `lifecycleState` is ACTIVE before using it. After retiring a security attribute namespace, make sure its `lifecycleState` is INACTIVE.

func (SecurityAttributeNamespaceOutput) SystemTags

System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}`

func (SecurityAttributeNamespaceOutput) TimeCreated

Date and time the security attribute namespace was created, in the format defined by RFC3339. Example: `2016-08-25T21:10:29.600Z`

func (SecurityAttributeNamespaceOutput) ToSecurityAttributeNamespaceOutput

func (o SecurityAttributeNamespaceOutput) ToSecurityAttributeNamespaceOutput() SecurityAttributeNamespaceOutput

func (SecurityAttributeNamespaceOutput) ToSecurityAttributeNamespaceOutputWithContext

func (o SecurityAttributeNamespaceOutput) ToSecurityAttributeNamespaceOutputWithContext(ctx context.Context) SecurityAttributeNamespaceOutput

type SecurityAttributeNamespaceState

type SecurityAttributeNamespaceState struct {
	// (Updatable) The OCID of the tenancy containing the security attribute namespace.
	CompartmentId pulumi.StringPtrInput
	// (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).  Example: `{"Operations.CostCenter": "42"}`
	DefinedTags pulumi.StringMapInput
	// (Updatable) The description you assign to the security attribute namespace during creation.
	Description pulumi.StringPtrInput
	// (Updatable) 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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).  Example: `{"Department": "Finance"}`
	FreeformTags pulumi.StringMapInput
	// Indicates whether the security attribute namespace is retired. See [Managing Security Attribute Namespaces](https://docs.cloud.oracle.com/iaas/Content/zero-trust-packet-routing/managing-security-attribute-namespaces.htm).
	IsRetired pulumi.BoolPtrInput
	// Indicates possible modes the security attributes in this namespace can be set to. This is not accepted from the user. Currently the supported values are enforce and audit.
	Modes pulumi.StringArrayInput
	// The name you assign to the security attribute namespace during creation. The name must be unique across all namespaces in the tenancy and cannot be changed.
	//
	// ** IMPORTANT **
	// Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
	Name pulumi.StringPtrInput
	// The security attribute namespace's current state. After creating a security attribute namespace, make sure its `lifecycleState` is ACTIVE before using it. After retiring a security attribute namespace, make sure its `lifecycleState` is INACTIVE.
	State pulumi.StringPtrInput
	// System tags for this resource. Each key is predefined and scoped to a namespace.  Example: `{"orcl-cloud.free-tier-retained": "true"}`
	SystemTags pulumi.StringMapInput
	// Date and time the security attribute namespace was created, in the format defined by RFC3339. Example: `2016-08-25T21:10:29.600Z`
	TimeCreated pulumi.StringPtrInput
}

func (SecurityAttributeNamespaceState) ElementType

type SecurityAttributeOutput

type SecurityAttributeOutput struct{ *pulumi.OutputState }

func (SecurityAttributeOutput) CompartmentId

func (o SecurityAttributeOutput) CompartmentId() pulumi.StringOutput

The OCID of the compartment that contains the security attribute definition.

func (SecurityAttributeOutput) Description

(Updatable) The description you assign to the security attribute during creation.

func (SecurityAttributeOutput) ElementType

func (SecurityAttributeOutput) ElementType() reflect.Type

func (SecurityAttributeOutput) IsRetired

Indicates whether the security attribute is retired. See [Managing Security Attribute Namespaces](https://docs.cloud.oracle.com/iaas/Content/zero-trust-packet-routing/managing-security-attribute-namespaces.htm).

func (SecurityAttributeOutput) Name

The name you assign to the security attribute during creation. This is the security attribute key. The name must be unique within the namespace and cannot be changed.

func (SecurityAttributeOutput) SecurityAttributeNamespaceId

func (o SecurityAttributeOutput) SecurityAttributeNamespaceId() pulumi.StringOutput

The OCID of the security attribute namespace.

func (SecurityAttributeOutput) SecurityAttributeNamespaceName

func (o SecurityAttributeOutput) SecurityAttributeNamespaceName() pulumi.StringOutput

The name of the security attribute namespace that contains the security attribute.

func (SecurityAttributeOutput) State

The security attribute's current state. After creating a security attribute, make sure its `lifecycleState` is ACTIVE before using it. After retiring a security attribute, make sure its `lifecycleState` is INACTIVE before using it. If you delete a security attribute, you cannot delete another security attribute until the deleted security attribute's `lifecycleState` changes from DELETING to DELETED.

func (SecurityAttributeOutput) TimeCreated

Date and time the security attribute was created, in the format defined by RFC3339. Example: `2016-08-25T21:10:29.600Z`

func (SecurityAttributeOutput) ToSecurityAttributeOutput

func (o SecurityAttributeOutput) ToSecurityAttributeOutput() SecurityAttributeOutput

func (SecurityAttributeOutput) ToSecurityAttributeOutputWithContext

func (o SecurityAttributeOutput) ToSecurityAttributeOutputWithContext(ctx context.Context) SecurityAttributeOutput

func (SecurityAttributeOutput) Type

The data type of the security attribute.

func (SecurityAttributeOutput) Validator

(Updatable) Validates a security attribute value. Each validator performs validation steps in addition to the standard validation for security attribute values. For more information, see [Limits on Security Attributes](https://docs.cloud.oracle.com/iaas/Content/zero-trust-packet-routing/overview.htm).

If you define a validator after a value has been set for a security attribute, then any updates that attempt to change the value must pass the additional validation defined by the current rule. Previously set values (even those that would fail the current validation) are not updated. You can still update other attributes to resources that contain a non-valid security attribute.

To clear the validator call UpdateSecurityAttribute with [DefaultSecuirtyAttributeValidator](https://docs.cloud.oracle.com/iaas/api/#/en/securityattribute/latest/datatypes/DefaultTagDefinitionValidator).

type SecurityAttributeState

type SecurityAttributeState struct {
	// The OCID of the compartment that contains the security attribute definition.
	CompartmentId pulumi.StringPtrInput
	// (Updatable) The description you assign to the security attribute during creation.
	Description pulumi.StringPtrInput
	// Indicates whether the security attribute is retired. See [Managing Security Attribute Namespaces](https://docs.cloud.oracle.com/iaas/Content/zero-trust-packet-routing/managing-security-attribute-namespaces.htm).
	IsRetired pulumi.BoolPtrInput
	// The name you assign to the security attribute during creation. This is the security attribute key. The name must be unique within the namespace and cannot be changed.
	Name pulumi.StringPtrInput
	// The OCID of the security attribute namespace.
	SecurityAttributeNamespaceId pulumi.StringPtrInput
	// The name of the security attribute namespace that contains the security attribute.
	SecurityAttributeNamespaceName pulumi.StringPtrInput
	// The security attribute's current state. After creating a security attribute, make sure its `lifecycleState` is ACTIVE before using it. After retiring a security attribute, make sure its `lifecycleState` is INACTIVE before using it. If you delete a security attribute, you cannot delete another security attribute until the deleted security attribute's `lifecycleState` changes from DELETING to DELETED.
	State pulumi.StringPtrInput
	// Date and time the security attribute was created, in the format defined by RFC3339.  Example: `2016-08-25T21:10:29.600Z`
	TimeCreated pulumi.StringPtrInput
	// The data type of the security attribute.
	Type pulumi.StringPtrInput
	// (Updatable) Validates a security attribute value. Each validator performs validation steps in addition to the standard validation for security attribute values. For more information, see [Limits on Security Attributes](https://docs.cloud.oracle.com/iaas/Content/zero-trust-packet-routing/overview.htm).
	//
	// If you define a validator after a value has been set for a security attribute, then any updates that attempt to change the value must pass the additional validation defined by the current rule. Previously set values (even those that would fail the current validation) are not updated. You can still update other attributes to resources that contain a non-valid security attribute.
	//
	// To clear the validator call UpdateSecurityAttribute with [DefaultSecuirtyAttributeValidator](https://docs.cloud.oracle.com/iaas/api/#/en/securityattribute/latest/datatypes/DefaultTagDefinitionValidator).
	Validator SecurityAttributeValidatorPtrInput
}

func (SecurityAttributeState) ElementType

func (SecurityAttributeState) ElementType() reflect.Type

type SecurityAttributeValidator

type SecurityAttributeValidator struct {
	// (Updatable) Specifies the type of validation: a static value (no validation) or a list.
	ValidatorType string `pulumi:"validatorType"`
	// (Updatable) The list of allowed values for a security attribute value.
	//
	// ** IMPORTANT **
	// Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
	Values []string `pulumi:"values"`
}

type SecurityAttributeValidatorArgs

type SecurityAttributeValidatorArgs struct {
	// (Updatable) Specifies the type of validation: a static value (no validation) or a list.
	ValidatorType pulumi.StringInput `pulumi:"validatorType"`
	// (Updatable) The list of allowed values for a security attribute value.
	//
	// ** IMPORTANT **
	// Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
	Values pulumi.StringArrayInput `pulumi:"values"`
}

func (SecurityAttributeValidatorArgs) ElementType

func (SecurityAttributeValidatorArgs) ToSecurityAttributeValidatorOutput

func (i SecurityAttributeValidatorArgs) ToSecurityAttributeValidatorOutput() SecurityAttributeValidatorOutput

func (SecurityAttributeValidatorArgs) ToSecurityAttributeValidatorOutputWithContext

func (i SecurityAttributeValidatorArgs) ToSecurityAttributeValidatorOutputWithContext(ctx context.Context) SecurityAttributeValidatorOutput

func (SecurityAttributeValidatorArgs) ToSecurityAttributeValidatorPtrOutput

func (i SecurityAttributeValidatorArgs) ToSecurityAttributeValidatorPtrOutput() SecurityAttributeValidatorPtrOutput

func (SecurityAttributeValidatorArgs) ToSecurityAttributeValidatorPtrOutputWithContext

func (i SecurityAttributeValidatorArgs) ToSecurityAttributeValidatorPtrOutputWithContext(ctx context.Context) SecurityAttributeValidatorPtrOutput

type SecurityAttributeValidatorInput

type SecurityAttributeValidatorInput interface {
	pulumi.Input

	ToSecurityAttributeValidatorOutput() SecurityAttributeValidatorOutput
	ToSecurityAttributeValidatorOutputWithContext(context.Context) SecurityAttributeValidatorOutput
}

SecurityAttributeValidatorInput is an input type that accepts SecurityAttributeValidatorArgs and SecurityAttributeValidatorOutput values. You can construct a concrete instance of `SecurityAttributeValidatorInput` via:

SecurityAttributeValidatorArgs{...}

type SecurityAttributeValidatorOutput

type SecurityAttributeValidatorOutput struct{ *pulumi.OutputState }

func (SecurityAttributeValidatorOutput) ElementType

func (SecurityAttributeValidatorOutput) ToSecurityAttributeValidatorOutput

func (o SecurityAttributeValidatorOutput) ToSecurityAttributeValidatorOutput() SecurityAttributeValidatorOutput

func (SecurityAttributeValidatorOutput) ToSecurityAttributeValidatorOutputWithContext

func (o SecurityAttributeValidatorOutput) ToSecurityAttributeValidatorOutputWithContext(ctx context.Context) SecurityAttributeValidatorOutput

func (SecurityAttributeValidatorOutput) ToSecurityAttributeValidatorPtrOutput

func (o SecurityAttributeValidatorOutput) ToSecurityAttributeValidatorPtrOutput() SecurityAttributeValidatorPtrOutput

func (SecurityAttributeValidatorOutput) ToSecurityAttributeValidatorPtrOutputWithContext

func (o SecurityAttributeValidatorOutput) ToSecurityAttributeValidatorPtrOutputWithContext(ctx context.Context) SecurityAttributeValidatorPtrOutput

func (SecurityAttributeValidatorOutput) ValidatorType

(Updatable) Specifies the type of validation: a static value (no validation) or a list.

func (SecurityAttributeValidatorOutput) Values

(Updatable) The list of allowed values for a security attribute value.

** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

type SecurityAttributeValidatorPtrInput

type SecurityAttributeValidatorPtrInput interface {
	pulumi.Input

	ToSecurityAttributeValidatorPtrOutput() SecurityAttributeValidatorPtrOutput
	ToSecurityAttributeValidatorPtrOutputWithContext(context.Context) SecurityAttributeValidatorPtrOutput
}

SecurityAttributeValidatorPtrInput is an input type that accepts SecurityAttributeValidatorArgs, SecurityAttributeValidatorPtr and SecurityAttributeValidatorPtrOutput values. You can construct a concrete instance of `SecurityAttributeValidatorPtrInput` via:

        SecurityAttributeValidatorArgs{...}

or:

        nil

type SecurityAttributeValidatorPtrOutput

type SecurityAttributeValidatorPtrOutput struct{ *pulumi.OutputState }

func (SecurityAttributeValidatorPtrOutput) Elem

func (SecurityAttributeValidatorPtrOutput) ElementType

func (SecurityAttributeValidatorPtrOutput) ToSecurityAttributeValidatorPtrOutput

func (o SecurityAttributeValidatorPtrOutput) ToSecurityAttributeValidatorPtrOutput() SecurityAttributeValidatorPtrOutput

func (SecurityAttributeValidatorPtrOutput) ToSecurityAttributeValidatorPtrOutputWithContext

func (o SecurityAttributeValidatorPtrOutput) ToSecurityAttributeValidatorPtrOutputWithContext(ctx context.Context) SecurityAttributeValidatorPtrOutput

func (SecurityAttributeValidatorPtrOutput) ValidatorType

(Updatable) Specifies the type of validation: a static value (no validation) or a list.

func (SecurityAttributeValidatorPtrOutput) Values

(Updatable) The list of allowed values for a security attribute value.

** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL