1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. Opsi
  5. OpsiConfiguration
Oracle Cloud Infrastructure v2.20.0 published on Saturday, Dec 21, 2024 by Pulumi

oci.Opsi.OpsiConfiguration

Explore with Pulumi AI

This resource provides the Opsi Configuration resource in Oracle Cloud Infrastructure Opsi service.

Create an OPSI configuration resource.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";

const testOpsiConfiguration = new oci.opsi.OpsiConfiguration("test_opsi_configuration", {
    opsiConfigType: opsiConfigurationOpsiConfigType,
    compartmentId: compartmentId,
    configItemCustomStatuses: opsiConfigurationConfigItemCustomStatus,
    configItemFields: opsiConfigurationConfigItemField,
    configItems: [{
        configItemType: opsiConfigurationConfigItemsConfigItemType,
        name: opsiConfigurationConfigItemsName,
        value: opsiConfigurationConfigItemsValue,
    }],
    configItemsApplicableContexts: opsiConfigurationConfigItemsApplicableContext,
    definedTags: {
        "foo-namespace.bar-key": "value",
    },
    description: opsiConfigurationDescription,
    displayName: opsiConfigurationDisplayName,
    freeformTags: {
        "bar-key": "value",
    },
    opsiConfigFields: opsiConfigurationOpsiConfigField,
    systemTags: opsiConfigurationSystemTags,
});
Copy
import pulumi
import pulumi_oci as oci

test_opsi_configuration = oci.opsi.OpsiConfiguration("test_opsi_configuration",
    opsi_config_type=opsi_configuration_opsi_config_type,
    compartment_id=compartment_id,
    config_item_custom_statuses=opsi_configuration_config_item_custom_status,
    config_item_fields=opsi_configuration_config_item_field,
    config_items=[{
        "config_item_type": opsi_configuration_config_items_config_item_type,
        "name": opsi_configuration_config_items_name,
        "value": opsi_configuration_config_items_value,
    }],
    config_items_applicable_contexts=opsi_configuration_config_items_applicable_context,
    defined_tags={
        "foo-namespace.bar-key": "value",
    },
    description=opsi_configuration_description,
    display_name=opsi_configuration_display_name,
    freeform_tags={
        "bar-key": "value",
    },
    opsi_config_fields=opsi_configuration_opsi_config_field,
    system_tags=opsi_configuration_system_tags)
Copy
package main

import (
	"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/Opsi"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Opsi.NewOpsiConfiguration(ctx, "test_opsi_configuration", &Opsi.OpsiConfigurationArgs{
			OpsiConfigType:           pulumi.Any(opsiConfigurationOpsiConfigType),
			CompartmentId:            pulumi.Any(compartmentId),
			ConfigItemCustomStatuses: pulumi.Any(opsiConfigurationConfigItemCustomStatus),
			ConfigItemFields:         pulumi.Any(opsiConfigurationConfigItemField),
			ConfigItems: opsi.OpsiConfigurationConfigItemArray{
				&opsi.OpsiConfigurationConfigItemArgs{
					ConfigItemType: pulumi.Any(opsiConfigurationConfigItemsConfigItemType),
					Name:           pulumi.Any(opsiConfigurationConfigItemsName),
					Value:          pulumi.Any(opsiConfigurationConfigItemsValue),
				},
			},
			ConfigItemsApplicableContexts: pulumi.Any(opsiConfigurationConfigItemsApplicableContext),
			DefinedTags: pulumi.StringMap{
				"foo-namespace.bar-key": pulumi.String("value"),
			},
			Description: pulumi.Any(opsiConfigurationDescription),
			DisplayName: pulumi.Any(opsiConfigurationDisplayName),
			FreeformTags: pulumi.StringMap{
				"bar-key": pulumi.String("value"),
			},
			OpsiConfigFields: pulumi.Any(opsiConfigurationOpsiConfigField),
			SystemTags:       pulumi.Any(opsiConfigurationSystemTags),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Oci = Pulumi.Oci;

return await Deployment.RunAsync(() => 
{
    var testOpsiConfiguration = new Oci.Opsi.OpsiConfiguration("test_opsi_configuration", new()
    {
        OpsiConfigType = opsiConfigurationOpsiConfigType,
        CompartmentId = compartmentId,
        ConfigItemCustomStatuses = opsiConfigurationConfigItemCustomStatus,
        ConfigItemFields = opsiConfigurationConfigItemField,
        ConfigItems = new[]
        {
            new Oci.Opsi.Inputs.OpsiConfigurationConfigItemArgs
            {
                ConfigItemType = opsiConfigurationConfigItemsConfigItemType,
                Name = opsiConfigurationConfigItemsName,
                Value = opsiConfigurationConfigItemsValue,
            },
        },
        ConfigItemsApplicableContexts = opsiConfigurationConfigItemsApplicableContext,
        DefinedTags = 
        {
            { "foo-namespace.bar-key", "value" },
        },
        Description = opsiConfigurationDescription,
        DisplayName = opsiConfigurationDisplayName,
        FreeformTags = 
        {
            { "bar-key", "value" },
        },
        OpsiConfigFields = opsiConfigurationOpsiConfigField,
        SystemTags = opsiConfigurationSystemTags,
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.Opsi.OpsiConfiguration;
import com.pulumi.oci.Opsi.OpsiConfigurationArgs;
import com.pulumi.oci.Opsi.inputs.OpsiConfigurationConfigItemArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        var testOpsiConfiguration = new OpsiConfiguration("testOpsiConfiguration", OpsiConfigurationArgs.builder()
            .opsiConfigType(opsiConfigurationOpsiConfigType)
            .compartmentId(compartmentId)
            .configItemCustomStatuses(opsiConfigurationConfigItemCustomStatus)
            .configItemFields(opsiConfigurationConfigItemField)
            .configItems(OpsiConfigurationConfigItemArgs.builder()
                .configItemType(opsiConfigurationConfigItemsConfigItemType)
                .name(opsiConfigurationConfigItemsName)
                .value(opsiConfigurationConfigItemsValue)
                .build())
            .configItemsApplicableContexts(opsiConfigurationConfigItemsApplicableContext)
            .definedTags(Map.of("foo-namespace.bar-key", "value"))
            .description(opsiConfigurationDescription)
            .displayName(opsiConfigurationDisplayName)
            .freeformTags(Map.of("bar-key", "value"))
            .opsiConfigFields(opsiConfigurationOpsiConfigField)
            .systemTags(opsiConfigurationSystemTags)
            .build());

    }
}
Copy
resources:
  testOpsiConfiguration:
    type: oci:Opsi:OpsiConfiguration
    name: test_opsi_configuration
    properties:
      opsiConfigType: ${opsiConfigurationOpsiConfigType}
      compartmentId: ${compartmentId}
      configItemCustomStatuses: ${opsiConfigurationConfigItemCustomStatus}
      configItemFields: ${opsiConfigurationConfigItemField}
      configItems:
        - configItemType: ${opsiConfigurationConfigItemsConfigItemType}
          name: ${opsiConfigurationConfigItemsName}
          value: ${opsiConfigurationConfigItemsValue}
      configItemsApplicableContexts: ${opsiConfigurationConfigItemsApplicableContext}
      definedTags:
        foo-namespace.bar-key: value
      description: ${opsiConfigurationDescription}
      displayName: ${opsiConfigurationDisplayName}
      freeformTags:
        bar-key: value
      opsiConfigFields: ${opsiConfigurationOpsiConfigField}
      systemTags: ${opsiConfigurationSystemTags}
Copy

Create OpsiConfiguration Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new OpsiConfiguration(name: string, args: OpsiConfigurationArgs, opts?: CustomResourceOptions);
@overload
def OpsiConfiguration(resource_name: str,
                      args: OpsiConfigurationArgs,
                      opts: Optional[ResourceOptions] = None)

@overload
def OpsiConfiguration(resource_name: str,
                      opts: Optional[ResourceOptions] = None,
                      opsi_config_type: Optional[str] = None,
                      compartment_id: Optional[str] = None,
                      config_item_custom_statuses: Optional[Sequence[str]] = None,
                      config_item_fields: Optional[Sequence[str]] = None,
                      config_items: Optional[Sequence[_opsi.OpsiConfigurationConfigItemArgs]] = None,
                      config_items_applicable_contexts: Optional[Sequence[str]] = None,
                      defined_tags: Optional[Mapping[str, str]] = None,
                      description: Optional[str] = None,
                      display_name: Optional[str] = None,
                      freeform_tags: Optional[Mapping[str, str]] = None,
                      opsi_config_fields: Optional[Sequence[str]] = None,
                      system_tags: Optional[Mapping[str, str]] = None)
func NewOpsiConfiguration(ctx *Context, name string, args OpsiConfigurationArgs, opts ...ResourceOption) (*OpsiConfiguration, error)
public OpsiConfiguration(string name, OpsiConfigurationArgs args, CustomResourceOptions? opts = null)
public OpsiConfiguration(String name, OpsiConfigurationArgs args)
public OpsiConfiguration(String name, OpsiConfigurationArgs args, CustomResourceOptions options)
type: oci:Opsi:OpsiConfiguration
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. OpsiConfigurationArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. OpsiConfigurationArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. OpsiConfigurationArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. OpsiConfigurationArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. OpsiConfigurationArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Constructor example

The following reference example uses placeholder values for all input properties.

var opsiConfigurationResource = new Oci.Opsi.OpsiConfiguration("opsiConfigurationResource", new()
{
    OpsiConfigType = "string",
    CompartmentId = "string",
    ConfigItemCustomStatuses = new[]
    {
        "string",
    },
    ConfigItemFields = new[]
    {
        "string",
    },
    ConfigItems = new[]
    {
        new Oci.Opsi.Inputs.OpsiConfigurationConfigItemArgs
        {
            ConfigItemType = "string",
            ApplicableContexts = new[]
            {
                "string",
            },
            DefaultValue = "string",
            Metadatas = new[]
            {
                new Oci.Opsi.Inputs.OpsiConfigurationConfigItemMetadataArgs
                {
                    ConfigItemType = "string",
                    DataType = "string",
                    Description = "string",
                    DisplayName = "string",
                    UnitDetails = new[]
                    {
                        new Oci.Opsi.Inputs.OpsiConfigurationConfigItemMetadataUnitDetailArgs
                        {
                            DisplayName = "string",
                            Unit = "string",
                        },
                    },
                    ValueInputDetails = new[]
                    {
                        new Oci.Opsi.Inputs.OpsiConfigurationConfigItemMetadataValueInputDetailArgs
                        {
                            AllowedValueType = "string",
                            MaxValue = "string",
                            MinValue = "string",
                            PossibleValues = new[]
                            {
                                "string",
                            },
                        },
                    },
                },
            },
            Name = "string",
            Value = "string",
        },
    },
    ConfigItemsApplicableContexts = new[]
    {
        "string",
    },
    DefinedTags = 
    {
        { "string", "string" },
    },
    Description = "string",
    DisplayName = "string",
    FreeformTags = 
    {
        { "string", "string" },
    },
    OpsiConfigFields = new[]
    {
        "string",
    },
    SystemTags = 
    {
        { "string", "string" },
    },
});
Copy
example, err := Opsi.NewOpsiConfiguration(ctx, "opsiConfigurationResource", &Opsi.OpsiConfigurationArgs{
	OpsiConfigType: pulumi.String("string"),
	CompartmentId:  pulumi.String("string"),
	ConfigItemCustomStatuses: pulumi.StringArray{
		pulumi.String("string"),
	},
	ConfigItemFields: pulumi.StringArray{
		pulumi.String("string"),
	},
	ConfigItems: opsi.OpsiConfigurationConfigItemArray{
		&opsi.OpsiConfigurationConfigItemArgs{
			ConfigItemType: pulumi.String("string"),
			ApplicableContexts: pulumi.StringArray{
				pulumi.String("string"),
			},
			DefaultValue: pulumi.String("string"),
			Metadatas: opsi.OpsiConfigurationConfigItemMetadataArray{
				&opsi.OpsiConfigurationConfigItemMetadataArgs{
					ConfigItemType: pulumi.String("string"),
					DataType:       pulumi.String("string"),
					Description:    pulumi.String("string"),
					DisplayName:    pulumi.String("string"),
					UnitDetails: opsi.OpsiConfigurationConfigItemMetadataUnitDetailArray{
						&opsi.OpsiConfigurationConfigItemMetadataUnitDetailArgs{
							DisplayName: pulumi.String("string"),
							Unit:        pulumi.String("string"),
						},
					},
					ValueInputDetails: opsi.OpsiConfigurationConfigItemMetadataValueInputDetailArray{
						&opsi.OpsiConfigurationConfigItemMetadataValueInputDetailArgs{
							AllowedValueType: pulumi.String("string"),
							MaxValue:         pulumi.String("string"),
							MinValue:         pulumi.String("string"),
							PossibleValues: pulumi.StringArray{
								pulumi.String("string"),
							},
						},
					},
				},
			},
			Name:  pulumi.String("string"),
			Value: pulumi.String("string"),
		},
	},
	ConfigItemsApplicableContexts: pulumi.StringArray{
		pulumi.String("string"),
	},
	DefinedTags: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
	Description: pulumi.String("string"),
	DisplayName: pulumi.String("string"),
	FreeformTags: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
	OpsiConfigFields: pulumi.StringArray{
		pulumi.String("string"),
	},
	SystemTags: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
})
Copy
var opsiConfigurationResource = new OpsiConfiguration("opsiConfigurationResource", OpsiConfigurationArgs.builder()
    .opsiConfigType("string")
    .compartmentId("string")
    .configItemCustomStatuses("string")
    .configItemFields("string")
    .configItems(OpsiConfigurationConfigItemArgs.builder()
        .configItemType("string")
        .applicableContexts("string")
        .defaultValue("string")
        .metadatas(OpsiConfigurationConfigItemMetadataArgs.builder()
            .configItemType("string")
            .dataType("string")
            .description("string")
            .displayName("string")
            .unitDetails(OpsiConfigurationConfigItemMetadataUnitDetailArgs.builder()
                .displayName("string")
                .unit("string")
                .build())
            .valueInputDetails(OpsiConfigurationConfigItemMetadataValueInputDetailArgs.builder()
                .allowedValueType("string")
                .maxValue("string")
                .minValue("string")
                .possibleValues("string")
                .build())
            .build())
        .name("string")
        .value("string")
        .build())
    .configItemsApplicableContexts("string")
    .definedTags(Map.of("string", "string"))
    .description("string")
    .displayName("string")
    .freeformTags(Map.of("string", "string"))
    .opsiConfigFields("string")
    .systemTags(Map.of("string", "string"))
    .build());
Copy
opsi_configuration_resource = oci.opsi.OpsiConfiguration("opsiConfigurationResource",
    opsi_config_type="string",
    compartment_id="string",
    config_item_custom_statuses=["string"],
    config_item_fields=["string"],
    config_items=[{
        "config_item_type": "string",
        "applicable_contexts": ["string"],
        "default_value": "string",
        "metadatas": [{
            "config_item_type": "string",
            "data_type": "string",
            "description": "string",
            "display_name": "string",
            "unit_details": [{
                "display_name": "string",
                "unit": "string",
            }],
            "value_input_details": [{
                "allowed_value_type": "string",
                "max_value": "string",
                "min_value": "string",
                "possible_values": ["string"],
            }],
        }],
        "name": "string",
        "value": "string",
    }],
    config_items_applicable_contexts=["string"],
    defined_tags={
        "string": "string",
    },
    description="string",
    display_name="string",
    freeform_tags={
        "string": "string",
    },
    opsi_config_fields=["string"],
    system_tags={
        "string": "string",
    })
Copy
const opsiConfigurationResource = new oci.opsi.OpsiConfiguration("opsiConfigurationResource", {
    opsiConfigType: "string",
    compartmentId: "string",
    configItemCustomStatuses: ["string"],
    configItemFields: ["string"],
    configItems: [{
        configItemType: "string",
        applicableContexts: ["string"],
        defaultValue: "string",
        metadatas: [{
            configItemType: "string",
            dataType: "string",
            description: "string",
            displayName: "string",
            unitDetails: [{
                displayName: "string",
                unit: "string",
            }],
            valueInputDetails: [{
                allowedValueType: "string",
                maxValue: "string",
                minValue: "string",
                possibleValues: ["string"],
            }],
        }],
        name: "string",
        value: "string",
    }],
    configItemsApplicableContexts: ["string"],
    definedTags: {
        string: "string",
    },
    description: "string",
    displayName: "string",
    freeformTags: {
        string: "string",
    },
    opsiConfigFields: ["string"],
    systemTags: {
        string: "string",
    },
});
Copy
type: oci:Opsi:OpsiConfiguration
properties:
    compartmentId: string
    configItemCustomStatuses:
        - string
    configItemFields:
        - string
    configItems:
        - applicableContexts:
            - string
          configItemType: string
          defaultValue: string
          metadatas:
            - configItemType: string
              dataType: string
              description: string
              displayName: string
              unitDetails:
                - displayName: string
                  unit: string
              valueInputDetails:
                - allowedValueType: string
                  maxValue: string
                  minValue: string
                  possibleValues:
                    - string
          name: string
          value: string
    configItemsApplicableContexts:
        - string
    definedTags:
        string: string
    description: string
    displayName: string
    freeformTags:
        string: string
    opsiConfigFields:
        - string
    opsiConfigType: string
    systemTags:
        string: string
Copy

OpsiConfiguration Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The OpsiConfiguration resource accepts the following input properties:

OpsiConfigType This property is required. string
(Updatable) OPSI configuration type.
CompartmentId string
(Updatable) The OCID of the compartment.
ConfigItemCustomStatuses List<string>
Specifies whether only customized configuration items or only non-customized configuration items or both have to be returned. By default only customized configuration items are returned.
ConfigItemFields List<string>
Specifies the fields to return in a config item summary.
ConfigItems List<OpsiConfigurationConfigItem>
(Updatable) Array of configuration items with custom values. All and only configuration items requiring custom values should be part of this array.
ConfigItemsApplicableContexts List<string>
Returns the configuration items filtered by applicable contexts sent in this param. By default configuration items of all applicable contexts are returned.
DefinedTags Dictionary<string, string>
(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
Description string
(Updatable) Description of OPSI configuration.
DisplayName string
(Updatable) User-friendly display name for the OPSI configuration. The name does not have to be unique.
FreeformTags Dictionary<string, string>
(Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
OpsiConfigFields List<string>
Optional fields to return as part of OpsiConfiguration object. Unless requested, these fields will not be returned by default.
SystemTags Dictionary<string, string>

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

** 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

OpsiConfigType This property is required. string
(Updatable) OPSI configuration type.
CompartmentId string
(Updatable) The OCID of the compartment.
ConfigItemCustomStatuses []string
Specifies whether only customized configuration items or only non-customized configuration items or both have to be returned. By default only customized configuration items are returned.
ConfigItemFields []string
Specifies the fields to return in a config item summary.
ConfigItems []OpsiConfigurationConfigItemArgs
(Updatable) Array of configuration items with custom values. All and only configuration items requiring custom values should be part of this array.
ConfigItemsApplicableContexts []string
Returns the configuration items filtered by applicable contexts sent in this param. By default configuration items of all applicable contexts are returned.
DefinedTags map[string]string
(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
Description string
(Updatable) Description of OPSI configuration.
DisplayName string
(Updatable) User-friendly display name for the OPSI configuration. The name does not have to be unique.
FreeformTags map[string]string
(Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
OpsiConfigFields []string
Optional fields to return as part of OpsiConfiguration object. Unless requested, these fields will not be returned by default.
SystemTags map[string]string

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

** 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

opsiConfigType This property is required. String
(Updatable) OPSI configuration type.
compartmentId String
(Updatable) The OCID of the compartment.
configItemCustomStatuses List<String>
Specifies whether only customized configuration items or only non-customized configuration items or both have to be returned. By default only customized configuration items are returned.
configItemFields List<String>
Specifies the fields to return in a config item summary.
configItems List<ConfigurationConfigItem>
(Updatable) Array of configuration items with custom values. All and only configuration items requiring custom values should be part of this array.
configItemsApplicableContexts List<String>
Returns the configuration items filtered by applicable contexts sent in this param. By default configuration items of all applicable contexts are returned.
definedTags Map<String,String>
(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
description String
(Updatable) Description of OPSI configuration.
displayName String
(Updatable) User-friendly display name for the OPSI configuration. The name does not have to be unique.
freeformTags Map<String,String>
(Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
opsiConfigFields List<String>
Optional fields to return as part of OpsiConfiguration object. Unless requested, these fields will not be returned by default.
systemTags Map<String,String>

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

** 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

opsiConfigType This property is required. string
(Updatable) OPSI configuration type.
compartmentId string
(Updatable) The OCID of the compartment.
configItemCustomStatuses string[]
Specifies whether only customized configuration items or only non-customized configuration items or both have to be returned. By default only customized configuration items are returned.
configItemFields string[]
Specifies the fields to return in a config item summary.
configItems OpsiConfigurationConfigItem[]
(Updatable) Array of configuration items with custom values. All and only configuration items requiring custom values should be part of this array.
configItemsApplicableContexts string[]
Returns the configuration items filtered by applicable contexts sent in this param. By default configuration items of all applicable contexts are returned.
definedTags {[key: string]: string}
(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
description string
(Updatable) Description of OPSI configuration.
displayName string
(Updatable) User-friendly display name for the OPSI configuration. The name does not have to be unique.
freeformTags {[key: string]: string}
(Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
opsiConfigFields string[]
Optional fields to return as part of OpsiConfiguration object. Unless requested, these fields will not be returned by default.
systemTags {[key: string]: string}

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

** 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

opsi_config_type This property is required. str
(Updatable) OPSI configuration type.
compartment_id str
(Updatable) The OCID of the compartment.
config_item_custom_statuses Sequence[str]
Specifies whether only customized configuration items or only non-customized configuration items or both have to be returned. By default only customized configuration items are returned.
config_item_fields Sequence[str]
Specifies the fields to return in a config item summary.
config_items Sequence[opsi.OpsiConfigurationConfigItemArgs]
(Updatable) Array of configuration items with custom values. All and only configuration items requiring custom values should be part of this array.
config_items_applicable_contexts Sequence[str]
Returns the configuration items filtered by applicable contexts sent in this param. By default configuration items of all applicable contexts are returned.
defined_tags Mapping[str, str]
(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
description str
(Updatable) Description of OPSI configuration.
display_name str
(Updatable) User-friendly display name for the OPSI configuration. The name does not have to be unique.
freeform_tags Mapping[str, str]
(Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
opsi_config_fields Sequence[str]
Optional fields to return as part of OpsiConfiguration object. Unless requested, these fields will not be returned by default.
system_tags Mapping[str, str]

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

** 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

opsiConfigType This property is required. String
(Updatable) OPSI configuration type.
compartmentId String
(Updatable) The OCID of the compartment.
configItemCustomStatuses List<String>
Specifies whether only customized configuration items or only non-customized configuration items or both have to be returned. By default only customized configuration items are returned.
configItemFields List<String>
Specifies the fields to return in a config item summary.
configItems List<Property Map>
(Updatable) Array of configuration items with custom values. All and only configuration items requiring custom values should be part of this array.
configItemsApplicableContexts List<String>
Returns the configuration items filtered by applicable contexts sent in this param. By default configuration items of all applicable contexts are returned.
definedTags Map<String>
(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
description String
(Updatable) Description of OPSI configuration.
displayName String
(Updatable) User-friendly display name for the OPSI configuration. The name does not have to be unique.
freeformTags Map<String>
(Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
opsiConfigFields List<String>
Optional fields to return as part of OpsiConfiguration object. Unless requested, these fields will not be returned by default.
systemTags Map<String>

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

** 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

Outputs

All input properties are implicitly available as output properties. Additionally, the OpsiConfiguration resource produces the following output properties:

Id string
The provider-assigned unique ID for this managed resource.
LifecycleDetails string
A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
State string
OPSI configuration resource lifecycle state.
TimeCreated string
The time at which the resource was first created. An RFC3339 formatted datetime string
TimeUpdated string
The time at which the resource was last updated. An RFC3339 formatted datetime string
Id string
The provider-assigned unique ID for this managed resource.
LifecycleDetails string
A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
State string
OPSI configuration resource lifecycle state.
TimeCreated string
The time at which the resource was first created. An RFC3339 formatted datetime string
TimeUpdated string
The time at which the resource was last updated. An RFC3339 formatted datetime string
id String
The provider-assigned unique ID for this managed resource.
lifecycleDetails String
A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
state String
OPSI configuration resource lifecycle state.
timeCreated String
The time at which the resource was first created. An RFC3339 formatted datetime string
timeUpdated String
The time at which the resource was last updated. An RFC3339 formatted datetime string
id string
The provider-assigned unique ID for this managed resource.
lifecycleDetails string
A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
state string
OPSI configuration resource lifecycle state.
timeCreated string
The time at which the resource was first created. An RFC3339 formatted datetime string
timeUpdated string
The time at which the resource was last updated. An RFC3339 formatted datetime string
id str
The provider-assigned unique ID for this managed resource.
lifecycle_details str
A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
state str
OPSI configuration resource lifecycle state.
time_created str
The time at which the resource was first created. An RFC3339 formatted datetime string
time_updated str
The time at which the resource was last updated. An RFC3339 formatted datetime string
id String
The provider-assigned unique ID for this managed resource.
lifecycleDetails String
A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
state String
OPSI configuration resource lifecycle state.
timeCreated String
The time at which the resource was first created. An RFC3339 formatted datetime string
timeUpdated String
The time at which the resource was last updated. An RFC3339 formatted datetime string

Look up Existing OpsiConfiguration Resource

Get an existing OpsiConfiguration resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: OpsiConfigurationState, opts?: CustomResourceOptions): OpsiConfiguration
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        compartment_id: Optional[str] = None,
        config_item_custom_statuses: Optional[Sequence[str]] = None,
        config_item_fields: Optional[Sequence[str]] = None,
        config_items: Optional[Sequence[_opsi.OpsiConfigurationConfigItemArgs]] = None,
        config_items_applicable_contexts: Optional[Sequence[str]] = None,
        defined_tags: Optional[Mapping[str, str]] = None,
        description: Optional[str] = None,
        display_name: Optional[str] = None,
        freeform_tags: Optional[Mapping[str, str]] = None,
        lifecycle_details: Optional[str] = None,
        opsi_config_fields: Optional[Sequence[str]] = None,
        opsi_config_type: Optional[str] = None,
        state: Optional[str] = None,
        system_tags: Optional[Mapping[str, str]] = None,
        time_created: Optional[str] = None,
        time_updated: Optional[str] = None) -> OpsiConfiguration
func GetOpsiConfiguration(ctx *Context, name string, id IDInput, state *OpsiConfigurationState, opts ...ResourceOption) (*OpsiConfiguration, error)
public static OpsiConfiguration Get(string name, Input<string> id, OpsiConfigurationState? state, CustomResourceOptions? opts = null)
public static OpsiConfiguration get(String name, Output<String> id, OpsiConfigurationState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
The following state arguments are supported:
CompartmentId string
(Updatable) The OCID of the compartment.
ConfigItemCustomStatuses List<string>
Specifies whether only customized configuration items or only non-customized configuration items or both have to be returned. By default only customized configuration items are returned.
ConfigItemFields List<string>
Specifies the fields to return in a config item summary.
ConfigItems List<OpsiConfigurationConfigItem>
(Updatable) Array of configuration items with custom values. All and only configuration items requiring custom values should be part of this array.
ConfigItemsApplicableContexts List<string>
Returns the configuration items filtered by applicable contexts sent in this param. By default configuration items of all applicable contexts are returned.
DefinedTags Dictionary<string, string>
(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
Description string
(Updatable) Description of OPSI configuration.
DisplayName string
(Updatable) User-friendly display name for the OPSI configuration. The name does not have to be unique.
FreeformTags Dictionary<string, string>
(Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
LifecycleDetails string
A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
OpsiConfigFields List<string>
Optional fields to return as part of OpsiConfiguration object. Unless requested, these fields will not be returned by default.
OpsiConfigType string
(Updatable) OPSI configuration type.
State string
OPSI configuration resource lifecycle state.
SystemTags Dictionary<string, string>

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

** 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

TimeCreated string
The time at which the resource was first created. An RFC3339 formatted datetime string
TimeUpdated string
The time at which the resource was last updated. An RFC3339 formatted datetime string
CompartmentId string
(Updatable) The OCID of the compartment.
ConfigItemCustomStatuses []string
Specifies whether only customized configuration items or only non-customized configuration items or both have to be returned. By default only customized configuration items are returned.
ConfigItemFields []string
Specifies the fields to return in a config item summary.
ConfigItems []OpsiConfigurationConfigItemArgs
(Updatable) Array of configuration items with custom values. All and only configuration items requiring custom values should be part of this array.
ConfigItemsApplicableContexts []string
Returns the configuration items filtered by applicable contexts sent in this param. By default configuration items of all applicable contexts are returned.
DefinedTags map[string]string
(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
Description string
(Updatable) Description of OPSI configuration.
DisplayName string
(Updatable) User-friendly display name for the OPSI configuration. The name does not have to be unique.
FreeformTags map[string]string
(Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
LifecycleDetails string
A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
OpsiConfigFields []string
Optional fields to return as part of OpsiConfiguration object. Unless requested, these fields will not be returned by default.
OpsiConfigType string
(Updatable) OPSI configuration type.
State string
OPSI configuration resource lifecycle state.
SystemTags map[string]string

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

** 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

TimeCreated string
The time at which the resource was first created. An RFC3339 formatted datetime string
TimeUpdated string
The time at which the resource was last updated. An RFC3339 formatted datetime string
compartmentId String
(Updatable) The OCID of the compartment.
configItemCustomStatuses List<String>
Specifies whether only customized configuration items or only non-customized configuration items or both have to be returned. By default only customized configuration items are returned.
configItemFields List<String>
Specifies the fields to return in a config item summary.
configItems List<ConfigurationConfigItem>
(Updatable) Array of configuration items with custom values. All and only configuration items requiring custom values should be part of this array.
configItemsApplicableContexts List<String>
Returns the configuration items filtered by applicable contexts sent in this param. By default configuration items of all applicable contexts are returned.
definedTags Map<String,String>
(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
description String
(Updatable) Description of OPSI configuration.
displayName String
(Updatable) User-friendly display name for the OPSI configuration. The name does not have to be unique.
freeformTags Map<String,String>
(Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
lifecycleDetails String
A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
opsiConfigFields List<String>
Optional fields to return as part of OpsiConfiguration object. Unless requested, these fields will not be returned by default.
opsiConfigType String
(Updatable) OPSI configuration type.
state String
OPSI configuration resource lifecycle state.
systemTags Map<String,String>

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

** 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

timeCreated String
The time at which the resource was first created. An RFC3339 formatted datetime string
timeUpdated String
The time at which the resource was last updated. An RFC3339 formatted datetime string
compartmentId string
(Updatable) The OCID of the compartment.
configItemCustomStatuses string[]
Specifies whether only customized configuration items or only non-customized configuration items or both have to be returned. By default only customized configuration items are returned.
configItemFields string[]
Specifies the fields to return in a config item summary.
configItems OpsiConfigurationConfigItem[]
(Updatable) Array of configuration items with custom values. All and only configuration items requiring custom values should be part of this array.
configItemsApplicableContexts string[]
Returns the configuration items filtered by applicable contexts sent in this param. By default configuration items of all applicable contexts are returned.
definedTags {[key: string]: string}
(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
description string
(Updatable) Description of OPSI configuration.
displayName string
(Updatable) User-friendly display name for the OPSI configuration. The name does not have to be unique.
freeformTags {[key: string]: string}
(Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
lifecycleDetails string
A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
opsiConfigFields string[]
Optional fields to return as part of OpsiConfiguration object. Unless requested, these fields will not be returned by default.
opsiConfigType string
(Updatable) OPSI configuration type.
state string
OPSI configuration resource lifecycle state.
systemTags {[key: string]: string}

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

** 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

timeCreated string
The time at which the resource was first created. An RFC3339 formatted datetime string
timeUpdated string
The time at which the resource was last updated. An RFC3339 formatted datetime string
compartment_id str
(Updatable) The OCID of the compartment.
config_item_custom_statuses Sequence[str]
Specifies whether only customized configuration items or only non-customized configuration items or both have to be returned. By default only customized configuration items are returned.
config_item_fields Sequence[str]
Specifies the fields to return in a config item summary.
config_items Sequence[opsi.OpsiConfigurationConfigItemArgs]
(Updatable) Array of configuration items with custom values. All and only configuration items requiring custom values should be part of this array.
config_items_applicable_contexts Sequence[str]
Returns the configuration items filtered by applicable contexts sent in this param. By default configuration items of all applicable contexts are returned.
defined_tags Mapping[str, str]
(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
description str
(Updatable) Description of OPSI configuration.
display_name str
(Updatable) User-friendly display name for the OPSI configuration. The name does not have to be unique.
freeform_tags Mapping[str, str]
(Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
lifecycle_details str
A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
opsi_config_fields Sequence[str]
Optional fields to return as part of OpsiConfiguration object. Unless requested, these fields will not be returned by default.
opsi_config_type str
(Updatable) OPSI configuration type.
state str
OPSI configuration resource lifecycle state.
system_tags Mapping[str, str]

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

** 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

time_created str
The time at which the resource was first created. An RFC3339 formatted datetime string
time_updated str
The time at which the resource was last updated. An RFC3339 formatted datetime string
compartmentId String
(Updatable) The OCID of the compartment.
configItemCustomStatuses List<String>
Specifies whether only customized configuration items or only non-customized configuration items or both have to be returned. By default only customized configuration items are returned.
configItemFields List<String>
Specifies the fields to return in a config item summary.
configItems List<Property Map>
(Updatable) Array of configuration items with custom values. All and only configuration items requiring custom values should be part of this array.
configItemsApplicableContexts List<String>
Returns the configuration items filtered by applicable contexts sent in this param. By default configuration items of all applicable contexts are returned.
definedTags Map<String>
(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
description String
(Updatable) Description of OPSI configuration.
displayName String
(Updatable) User-friendly display name for the OPSI configuration. The name does not have to be unique.
freeformTags Map<String>
(Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
lifecycleDetails String
A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
opsiConfigFields List<String>
Optional fields to return as part of OpsiConfiguration object. Unless requested, these fields will not be returned by default.
opsiConfigType String
(Updatable) OPSI configuration type.
state String
OPSI configuration resource lifecycle state.
systemTags Map<String>

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

** 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

timeCreated String
The time at which the resource was first created. An RFC3339 formatted datetime string
timeUpdated String
The time at which the resource was last updated. An RFC3339 formatted datetime string

Supporting Types

OpsiConfigurationConfigItem
, OpsiConfigurationConfigItemArgs

ConfigItemType This property is required. string
(Updatable) Type of configuration item.
ApplicableContexts List<string>
List of contexts in Operations Insights where this configuration item is applicable.
DefaultValue string
Value of configuration item.
Metadatas List<OpsiConfigurationConfigItemMetadata>
Configuration item metadata.
Name string
(Updatable) Name of configuration item.
Value string
(Updatable) Value of configuration item.
ConfigItemType This property is required. string
(Updatable) Type of configuration item.
ApplicableContexts []string
List of contexts in Operations Insights where this configuration item is applicable.
DefaultValue string
Value of configuration item.
Metadatas []OpsiConfigurationConfigItemMetadata
Configuration item metadata.
Name string
(Updatable) Name of configuration item.
Value string
(Updatable) Value of configuration item.
configItemType This property is required. String
(Updatable) Type of configuration item.
applicableContexts List<String>
List of contexts in Operations Insights where this configuration item is applicable.
defaultValue String
Value of configuration item.
metadatas List<ConfigurationConfigItemMetadata>
Configuration item metadata.
name String
(Updatable) Name of configuration item.
value String
(Updatable) Value of configuration item.
configItemType This property is required. string
(Updatable) Type of configuration item.
applicableContexts string[]
List of contexts in Operations Insights where this configuration item is applicable.
defaultValue string
Value of configuration item.
metadatas OpsiConfigurationConfigItemMetadata[]
Configuration item metadata.
name string
(Updatable) Name of configuration item.
value string
(Updatable) Value of configuration item.
config_item_type This property is required. str
(Updatable) Type of configuration item.
applicable_contexts Sequence[str]
List of contexts in Operations Insights where this configuration item is applicable.
default_value str
Value of configuration item.
metadatas Sequence[opsi.OpsiConfigurationConfigItemMetadata]
Configuration item metadata.
name str
(Updatable) Name of configuration item.
value str
(Updatable) Value of configuration item.
configItemType This property is required. String
(Updatable) Type of configuration item.
applicableContexts List<String>
List of contexts in Operations Insights where this configuration item is applicable.
defaultValue String
Value of configuration item.
metadatas List<Property Map>
Configuration item metadata.
name String
(Updatable) Name of configuration item.
value String
(Updatable) Value of configuration item.

OpsiConfigurationConfigItemMetadata
, OpsiConfigurationConfigItemMetadataArgs

ConfigItemType string
Type of configuration item.
DataType string
Data type of configuration item. Examples: STRING, BOOLEAN, NUMBER
Description string
(Updatable) Description of OPSI configuration.
DisplayName string
(Updatable) User-friendly display name for the OPSI configuration. The name does not have to be unique.
UnitDetails List<OpsiConfigurationConfigItemMetadataUnitDetail>
Unit details of configuration item.
ValueInputDetails List<OpsiConfigurationConfigItemMetadataValueInputDetail>
Allowed value details of configuration item, to validate what value can be assigned to a configuration item.
ConfigItemType string
Type of configuration item.
DataType string
Data type of configuration item. Examples: STRING, BOOLEAN, NUMBER
Description string
(Updatable) Description of OPSI configuration.
DisplayName string
(Updatable) User-friendly display name for the OPSI configuration. The name does not have to be unique.
UnitDetails []OpsiConfigurationConfigItemMetadataUnitDetail
Unit details of configuration item.
ValueInputDetails []OpsiConfigurationConfigItemMetadataValueInputDetail
Allowed value details of configuration item, to validate what value can be assigned to a configuration item.
configItemType String
Type of configuration item.
dataType String
Data type of configuration item. Examples: STRING, BOOLEAN, NUMBER
description String
(Updatable) Description of OPSI configuration.
displayName String
(Updatable) User-friendly display name for the OPSI configuration. The name does not have to be unique.
unitDetails List<ConfigurationConfigItemMetadataUnitDetail>
Unit details of configuration item.
valueInputDetails List<ConfigurationConfigItemMetadataValueInputDetail>
Allowed value details of configuration item, to validate what value can be assigned to a configuration item.
configItemType string
Type of configuration item.
dataType string
Data type of configuration item. Examples: STRING, BOOLEAN, NUMBER
description string
(Updatable) Description of OPSI configuration.
displayName string
(Updatable) User-friendly display name for the OPSI configuration. The name does not have to be unique.
unitDetails OpsiConfigurationConfigItemMetadataUnitDetail[]
Unit details of configuration item.
valueInputDetails OpsiConfigurationConfigItemMetadataValueInputDetail[]
Allowed value details of configuration item, to validate what value can be assigned to a configuration item.
config_item_type str
Type of configuration item.
data_type str
Data type of configuration item. Examples: STRING, BOOLEAN, NUMBER
description str
(Updatable) Description of OPSI configuration.
display_name str
(Updatable) User-friendly display name for the OPSI configuration. The name does not have to be unique.
unit_details Sequence[opsi.OpsiConfigurationConfigItemMetadataUnitDetail]
Unit details of configuration item.
value_input_details Sequence[opsi.OpsiConfigurationConfigItemMetadataValueInputDetail]
Allowed value details of configuration item, to validate what value can be assigned to a configuration item.
configItemType String
Type of configuration item.
dataType String
Data type of configuration item. Examples: STRING, BOOLEAN, NUMBER
description String
(Updatable) Description of OPSI configuration.
displayName String
(Updatable) User-friendly display name for the OPSI configuration. The name does not have to be unique.
unitDetails List<Property Map>
Unit details of configuration item.
valueInputDetails List<Property Map>
Allowed value details of configuration item, to validate what value can be assigned to a configuration item.

OpsiConfigurationConfigItemMetadataUnitDetail
, OpsiConfigurationConfigItemMetadataUnitDetailArgs

DisplayName string
(Updatable) User-friendly display name for the OPSI configuration. The name does not have to be unique.
Unit string
Unit of configuration item.
DisplayName string
(Updatable) User-friendly display name for the OPSI configuration. The name does not have to be unique.
Unit string
Unit of configuration item.
displayName String
(Updatable) User-friendly display name for the OPSI configuration. The name does not have to be unique.
unit String
Unit of configuration item.
displayName string
(Updatable) User-friendly display name for the OPSI configuration. The name does not have to be unique.
unit string
Unit of configuration item.
display_name str
(Updatable) User-friendly display name for the OPSI configuration. The name does not have to be unique.
unit str
Unit of configuration item.
displayName String
(Updatable) User-friendly display name for the OPSI configuration. The name does not have to be unique.
unit String
Unit of configuration item.

OpsiConfigurationConfigItemMetadataValueInputDetail
, OpsiConfigurationConfigItemMetadataValueInputDetailArgs

AllowedValueType string
Allowed value type of configuration item.
MaxValue string
Maximum value limit for the configuration item.
MinValue string
Minimum value limit for the configuration item.
PossibleValues List<string>
Allowed values to pick for the configuration item.
AllowedValueType string
Allowed value type of configuration item.
MaxValue string
Maximum value limit for the configuration item.
MinValue string
Minimum value limit for the configuration item.
PossibleValues []string
Allowed values to pick for the configuration item.
allowedValueType String
Allowed value type of configuration item.
maxValue String
Maximum value limit for the configuration item.
minValue String
Minimum value limit for the configuration item.
possibleValues List<String>
Allowed values to pick for the configuration item.
allowedValueType string
Allowed value type of configuration item.
maxValue string
Maximum value limit for the configuration item.
minValue string
Minimum value limit for the configuration item.
possibleValues string[]
Allowed values to pick for the configuration item.
allowed_value_type str
Allowed value type of configuration item.
max_value str
Maximum value limit for the configuration item.
min_value str
Minimum value limit for the configuration item.
possible_values Sequence[str]
Allowed values to pick for the configuration item.
allowedValueType String
Allowed value type of configuration item.
maxValue String
Maximum value limit for the configuration item.
minValue String
Minimum value limit for the configuration item.
possibleValues List<String>
Allowed values to pick for the configuration item.

Import

OpsiConfigurations can be imported using the id, e.g.

$ pulumi import oci:Opsi/opsiConfiguration:OpsiConfiguration test_opsi_configuration "id"
Copy

To learn more about importing existing cloud resources, see Importing resources.

Package Details

Repository
oci pulumi/pulumi-oci
License
Apache-2.0
Notes
This Pulumi package is based on the oci Terraform Provider.