1. Packages
  2. Ibm Provider
  3. API Docs
  4. AppConfigProperty
ibm 1.78.0 published on Wednesday, Apr 30, 2025 by ibm-cloud

ibm.AppConfigProperty

Explore with Pulumi AI

ibm logo
ibm 1.78.0 published on Wednesday, Apr 30, 2025 by ibm-cloud

    Provides a resource for property. This allows property to be created, updated and deleted. For more information, about App Configuration segment, see properties.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as ibm from "@pulumi/ibm";
    
    const appConfigProperty = new ibm.AppConfigProperty("appConfigProperty", {
        description: "description",
        environmentId: "environment_id",
        guid: "guid",
        propertyId: "property_id",
        tags: "tags",
        type: "type",
        value: "value",
    });
    
    import pulumi
    import pulumi_ibm as ibm
    
    app_config_property = ibm.AppConfigProperty("appConfigProperty",
        description="description",
        environment_id="environment_id",
        guid="guid",
        property_id="property_id",
        tags="tags",
        type="type",
        value="value")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/ibm/ibm"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := ibm.NewAppConfigProperty(ctx, "appConfigProperty", &ibm.AppConfigPropertyArgs{
    			Description:   pulumi.String("description"),
    			EnvironmentId: pulumi.String("environment_id"),
    			Guid:          pulumi.String("guid"),
    			PropertyId:    pulumi.String("property_id"),
    			Tags:          pulumi.String("tags"),
    			Type:          pulumi.String("type"),
    			Value:         pulumi.String("value"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Ibm = Pulumi.Ibm;
    
    return await Deployment.RunAsync(() => 
    {
        var appConfigProperty = new Ibm.AppConfigProperty("appConfigProperty", new()
        {
            Description = "description",
            EnvironmentId = "environment_id",
            Guid = "guid",
            PropertyId = "property_id",
            Tags = "tags",
            Type = "type",
            Value = "value",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.ibm.AppConfigProperty;
    import com.pulumi.ibm.AppConfigPropertyArgs;
    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 appConfigProperty = new AppConfigProperty("appConfigProperty", AppConfigPropertyArgs.builder()
                .description("description")
                .environmentId("environment_id")
                .guid("guid")
                .propertyId("property_id")
                .tags("tags")
                .type("type")
                .value("value")
                .build());
    
        }
    }
    
    resources:
      appConfigProperty:
        type: ibm:AppConfigProperty
        properties:
          description: description
          environmentId: environment_id
          guid: guid
          propertyId: property_id
          tags: tags
          type: type
          value: value
    

    Create AppConfigProperty Resource

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

    Constructor syntax

    new AppConfigProperty(name: string, args: AppConfigPropertyArgs, opts?: CustomResourceOptions);
    @overload
    def AppConfigProperty(resource_name: str,
                          args: AppConfigPropertyArgs,
                          opts: Optional[ResourceOptions] = None)
    
    @overload
    def AppConfigProperty(resource_name: str,
                          opts: Optional[ResourceOptions] = None,
                          environment_id: Optional[str] = None,
                          guid: Optional[str] = None,
                          property_id: Optional[str] = None,
                          type: Optional[str] = None,
                          value: Optional[str] = None,
                          app_config_property_id: Optional[str] = None,
                          collections: Optional[Sequence[AppConfigPropertyCollectionArgs]] = None,
                          description: Optional[str] = None,
                          format: Optional[str] = None,
                          name: Optional[str] = None,
                          segment_rules: Optional[Sequence[AppConfigPropertySegmentRuleArgs]] = None,
                          tags: Optional[str] = None)
    func NewAppConfigProperty(ctx *Context, name string, args AppConfigPropertyArgs, opts ...ResourceOption) (*AppConfigProperty, error)
    public AppConfigProperty(string name, AppConfigPropertyArgs args, CustomResourceOptions? opts = null)
    public AppConfigProperty(String name, AppConfigPropertyArgs args)
    public AppConfigProperty(String name, AppConfigPropertyArgs args, CustomResourceOptions options)
    
    type: ibm:AppConfigProperty
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args AppConfigPropertyArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args AppConfigPropertyArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args AppConfigPropertyArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args AppConfigPropertyArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args AppConfigPropertyArgs
    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 appConfigPropertyResource = new Ibm.AppConfigProperty("appConfigPropertyResource", new()
    {
        EnvironmentId = "string",
        Guid = "string",
        PropertyId = "string",
        Type = "string",
        Value = "string",
        AppConfigPropertyId = "string",
        Collections = new[]
        {
            new Ibm.Inputs.AppConfigPropertyCollectionArgs
            {
                CollectionId = "string",
            },
        },
        Description = "string",
        Format = "string",
        Name = "string",
        SegmentRules = new[]
        {
            new Ibm.Inputs.AppConfigPropertySegmentRuleArgs
            {
                Order = 0,
                Rules = new[]
                {
                    new Ibm.Inputs.AppConfigPropertySegmentRuleRuleArgs
                    {
                        Segments = new[]
                        {
                            "string",
                        },
                    },
                },
                Value = "string",
            },
        },
        Tags = "string",
    });
    
    example, err := ibm.NewAppConfigProperty(ctx, "appConfigPropertyResource", &ibm.AppConfigPropertyArgs{
    	EnvironmentId:       pulumi.String("string"),
    	Guid:                pulumi.String("string"),
    	PropertyId:          pulumi.String("string"),
    	Type:                pulumi.String("string"),
    	Value:               pulumi.String("string"),
    	AppConfigPropertyId: pulumi.String("string"),
    	Collections: ibm.AppConfigPropertyCollectionArray{
    		&ibm.AppConfigPropertyCollectionArgs{
    			CollectionId: pulumi.String("string"),
    		},
    	},
    	Description: pulumi.String("string"),
    	Format:      pulumi.String("string"),
    	Name:        pulumi.String("string"),
    	SegmentRules: ibm.AppConfigPropertySegmentRuleArray{
    		&ibm.AppConfigPropertySegmentRuleArgs{
    			Order: pulumi.Float64(0),
    			Rules: ibm.AppConfigPropertySegmentRuleRuleArray{
    				&ibm.AppConfigPropertySegmentRuleRuleArgs{
    					Segments: pulumi.StringArray{
    						pulumi.String("string"),
    					},
    				},
    			},
    			Value: pulumi.String("string"),
    		},
    	},
    	Tags: pulumi.String("string"),
    })
    
    var appConfigPropertyResource = new AppConfigProperty("appConfigPropertyResource", AppConfigPropertyArgs.builder()
        .environmentId("string")
        .guid("string")
        .propertyId("string")
        .type("string")
        .value("string")
        .appConfigPropertyId("string")
        .collections(AppConfigPropertyCollectionArgs.builder()
            .collectionId("string")
            .build())
        .description("string")
        .format("string")
        .name("string")
        .segmentRules(AppConfigPropertySegmentRuleArgs.builder()
            .order(0)
            .rules(AppConfigPropertySegmentRuleRuleArgs.builder()
                .segments("string")
                .build())
            .value("string")
            .build())
        .tags("string")
        .build());
    
    app_config_property_resource = ibm.AppConfigProperty("appConfigPropertyResource",
        environment_id="string",
        guid="string",
        property_id="string",
        type="string",
        value="string",
        app_config_property_id="string",
        collections=[{
            "collection_id": "string",
        }],
        description="string",
        format="string",
        name="string",
        segment_rules=[{
            "order": 0,
            "rules": [{
                "segments": ["string"],
            }],
            "value": "string",
        }],
        tags="string")
    
    const appConfigPropertyResource = new ibm.AppConfigProperty("appConfigPropertyResource", {
        environmentId: "string",
        guid: "string",
        propertyId: "string",
        type: "string",
        value: "string",
        appConfigPropertyId: "string",
        collections: [{
            collectionId: "string",
        }],
        description: "string",
        format: "string",
        name: "string",
        segmentRules: [{
            order: 0,
            rules: [{
                segments: ["string"],
            }],
            value: "string",
        }],
        tags: "string",
    });
    
    type: ibm:AppConfigProperty
    properties:
        appConfigPropertyId: string
        collections:
            - collectionId: string
        description: string
        environmentId: string
        format: string
        guid: string
        name: string
        propertyId: string
        segmentRules:
            - order: 0
              rules:
                - segments:
                    - string
              value: string
        tags: string
        type: string
        value: string
    

    AppConfigProperty 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 AppConfigProperty resource accepts the following input properties:

    EnvironmentId string
    Environment Id.
    Guid string
    guid of the App Configuration service. Get it from the service instance credentials section of the dashboard.
    PropertyId string
    Property id.
    Type string
    Type of the Property (BOOLEAN, STRING, NUMERIC).
    Value string
    Value of the Property. The value can be Boolean, String or a Numeric value as per the type attribute.
    AppConfigPropertyId string
    The unique identifier of the app_config_property.
    Collections List<AppConfigPropertyCollection>
    List of collection id representing the collections that are associated with the specified property.
    Description string
    Property description.
    Format string
    Format of the property (TEXT, JSON, YAML) and this is a required attribute when TYPE STRING is used, not required for BOOLEAN and NUMERIC types.
    Name string
    Property name.
    SegmentRules List<AppConfigPropertySegmentRule>
    Specify the targeting rules that is used to set different property values for different segments.
    Tags string
    Tags associated with the property.
    EnvironmentId string
    Environment Id.
    Guid string
    guid of the App Configuration service. Get it from the service instance credentials section of the dashboard.
    PropertyId string
    Property id.
    Type string
    Type of the Property (BOOLEAN, STRING, NUMERIC).
    Value string
    Value of the Property. The value can be Boolean, String or a Numeric value as per the type attribute.
    AppConfigPropertyId string
    The unique identifier of the app_config_property.
    Collections []AppConfigPropertyCollectionArgs
    List of collection id representing the collections that are associated with the specified property.
    Description string
    Property description.
    Format string
    Format of the property (TEXT, JSON, YAML) and this is a required attribute when TYPE STRING is used, not required for BOOLEAN and NUMERIC types.
    Name string
    Property name.
    SegmentRules []AppConfigPropertySegmentRuleArgs
    Specify the targeting rules that is used to set different property values for different segments.
    Tags string
    Tags associated with the property.
    environmentId String
    Environment Id.
    guid String
    guid of the App Configuration service. Get it from the service instance credentials section of the dashboard.
    propertyId String
    Property id.
    type String
    Type of the Property (BOOLEAN, STRING, NUMERIC).
    value String
    Value of the Property. The value can be Boolean, String or a Numeric value as per the type attribute.
    appConfigPropertyId String
    The unique identifier of the app_config_property.
    collections List<AppConfigPropertyCollection>
    List of collection id representing the collections that are associated with the specified property.
    description String
    Property description.
    format String
    Format of the property (TEXT, JSON, YAML) and this is a required attribute when TYPE STRING is used, not required for BOOLEAN and NUMERIC types.
    name String
    Property name.
    segmentRules List<AppConfigPropertySegmentRule>
    Specify the targeting rules that is used to set different property values for different segments.
    tags String
    Tags associated with the property.
    environmentId string
    Environment Id.
    guid string
    guid of the App Configuration service. Get it from the service instance credentials section of the dashboard.
    propertyId string
    Property id.
    type string
    Type of the Property (BOOLEAN, STRING, NUMERIC).
    value string
    Value of the Property. The value can be Boolean, String or a Numeric value as per the type attribute.
    appConfigPropertyId string
    The unique identifier of the app_config_property.
    collections AppConfigPropertyCollection[]
    List of collection id representing the collections that are associated with the specified property.
    description string
    Property description.
    format string
    Format of the property (TEXT, JSON, YAML) and this is a required attribute when TYPE STRING is used, not required for BOOLEAN and NUMERIC types.
    name string
    Property name.
    segmentRules AppConfigPropertySegmentRule[]
    Specify the targeting rules that is used to set different property values for different segments.
    tags string
    Tags associated with the property.
    environment_id str
    Environment Id.
    guid str
    guid of the App Configuration service. Get it from the service instance credentials section of the dashboard.
    property_id str
    Property id.
    type str
    Type of the Property (BOOLEAN, STRING, NUMERIC).
    value str
    Value of the Property. The value can be Boolean, String or a Numeric value as per the type attribute.
    app_config_property_id str
    The unique identifier of the app_config_property.
    collections Sequence[AppConfigPropertyCollectionArgs]
    List of collection id representing the collections that are associated with the specified property.
    description str
    Property description.
    format str
    Format of the property (TEXT, JSON, YAML) and this is a required attribute when TYPE STRING is used, not required for BOOLEAN and NUMERIC types.
    name str
    Property name.
    segment_rules Sequence[AppConfigPropertySegmentRuleArgs]
    Specify the targeting rules that is used to set different property values for different segments.
    tags str
    Tags associated with the property.
    environmentId String
    Environment Id.
    guid String
    guid of the App Configuration service. Get it from the service instance credentials section of the dashboard.
    propertyId String
    Property id.
    type String
    Type of the Property (BOOLEAN, STRING, NUMERIC).
    value String
    Value of the Property. The value can be Boolean, String or a Numeric value as per the type attribute.
    appConfigPropertyId String
    The unique identifier of the app_config_property.
    collections List<Property Map>
    List of collection id representing the collections that are associated with the specified property.
    description String
    Property description.
    format String
    Format of the property (TEXT, JSON, YAML) and this is a required attribute when TYPE STRING is used, not required for BOOLEAN and NUMERIC types.
    name String
    Property name.
    segmentRules List<Property Map>
    Specify the targeting rules that is used to set different property values for different segments.
    tags String
    Tags associated with the property.

    Outputs

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

    CreatedTime string
    Creation time of the property.
    EvaluationTime string
    The last occurrence of the property value evaluation.
    Href string
    Property URL.
    Id string
    The provider-assigned unique ID for this managed resource.
    SegmentExists bool
    Denotes if the targeting rules are specified for the property.
    UpdatedTime string
    Last modified time of the property data.
    CreatedTime string
    Creation time of the property.
    EvaluationTime string
    The last occurrence of the property value evaluation.
    Href string
    Property URL.
    Id string
    The provider-assigned unique ID for this managed resource.
    SegmentExists bool
    Denotes if the targeting rules are specified for the property.
    UpdatedTime string
    Last modified time of the property data.
    createdTime String
    Creation time of the property.
    evaluationTime String
    The last occurrence of the property value evaluation.
    href String
    Property URL.
    id String
    The provider-assigned unique ID for this managed resource.
    segmentExists Boolean
    Denotes if the targeting rules are specified for the property.
    updatedTime String
    Last modified time of the property data.
    createdTime string
    Creation time of the property.
    evaluationTime string
    The last occurrence of the property value evaluation.
    href string
    Property URL.
    id string
    The provider-assigned unique ID for this managed resource.
    segmentExists boolean
    Denotes if the targeting rules are specified for the property.
    updatedTime string
    Last modified time of the property data.
    created_time str
    Creation time of the property.
    evaluation_time str
    The last occurrence of the property value evaluation.
    href str
    Property URL.
    id str
    The provider-assigned unique ID for this managed resource.
    segment_exists bool
    Denotes if the targeting rules are specified for the property.
    updated_time str
    Last modified time of the property data.
    createdTime String
    Creation time of the property.
    evaluationTime String
    The last occurrence of the property value evaluation.
    href String
    Property URL.
    id String
    The provider-assigned unique ID for this managed resource.
    segmentExists Boolean
    Denotes if the targeting rules are specified for the property.
    updatedTime String
    Last modified time of the property data.

    Look up Existing AppConfigProperty Resource

    Get an existing AppConfigProperty 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?: AppConfigPropertyState, opts?: CustomResourceOptions): AppConfigProperty
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            app_config_property_id: Optional[str] = None,
            collections: Optional[Sequence[AppConfigPropertyCollectionArgs]] = None,
            created_time: Optional[str] = None,
            description: Optional[str] = None,
            environment_id: Optional[str] = None,
            evaluation_time: Optional[str] = None,
            format: Optional[str] = None,
            guid: Optional[str] = None,
            href: Optional[str] = None,
            name: Optional[str] = None,
            property_id: Optional[str] = None,
            segment_exists: Optional[bool] = None,
            segment_rules: Optional[Sequence[AppConfigPropertySegmentRuleArgs]] = None,
            tags: Optional[str] = None,
            type: Optional[str] = None,
            updated_time: Optional[str] = None,
            value: Optional[str] = None) -> AppConfigProperty
    func GetAppConfigProperty(ctx *Context, name string, id IDInput, state *AppConfigPropertyState, opts ...ResourceOption) (*AppConfigProperty, error)
    public static AppConfigProperty Get(string name, Input<string> id, AppConfigPropertyState? state, CustomResourceOptions? opts = null)
    public static AppConfigProperty get(String name, Output<String> id, AppConfigPropertyState state, CustomResourceOptions options)
    resources:  _:    type: ibm:AppConfigProperty    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    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
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    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
    The unique name of the resulting resource.
    id
    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
    The unique name of the resulting resource.
    id
    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:
    AppConfigPropertyId string
    The unique identifier of the app_config_property.
    Collections List<AppConfigPropertyCollection>
    List of collection id representing the collections that are associated with the specified property.
    CreatedTime string
    Creation time of the property.
    Description string
    Property description.
    EnvironmentId string
    Environment Id.
    EvaluationTime string
    The last occurrence of the property value evaluation.
    Format string
    Format of the property (TEXT, JSON, YAML) and this is a required attribute when TYPE STRING is used, not required for BOOLEAN and NUMERIC types.
    Guid string
    guid of the App Configuration service. Get it from the service instance credentials section of the dashboard.
    Href string
    Property URL.
    Name string
    Property name.
    PropertyId string
    Property id.
    SegmentExists bool
    Denotes if the targeting rules are specified for the property.
    SegmentRules List<AppConfigPropertySegmentRule>
    Specify the targeting rules that is used to set different property values for different segments.
    Tags string
    Tags associated with the property.
    Type string
    Type of the Property (BOOLEAN, STRING, NUMERIC).
    UpdatedTime string
    Last modified time of the property data.
    Value string
    Value of the Property. The value can be Boolean, String or a Numeric value as per the type attribute.
    AppConfigPropertyId string
    The unique identifier of the app_config_property.
    Collections []AppConfigPropertyCollectionArgs
    List of collection id representing the collections that are associated with the specified property.
    CreatedTime string
    Creation time of the property.
    Description string
    Property description.
    EnvironmentId string
    Environment Id.
    EvaluationTime string
    The last occurrence of the property value evaluation.
    Format string
    Format of the property (TEXT, JSON, YAML) and this is a required attribute when TYPE STRING is used, not required for BOOLEAN and NUMERIC types.
    Guid string
    guid of the App Configuration service. Get it from the service instance credentials section of the dashboard.
    Href string
    Property URL.
    Name string
    Property name.
    PropertyId string
    Property id.
    SegmentExists bool
    Denotes if the targeting rules are specified for the property.
    SegmentRules []AppConfigPropertySegmentRuleArgs
    Specify the targeting rules that is used to set different property values for different segments.
    Tags string
    Tags associated with the property.
    Type string
    Type of the Property (BOOLEAN, STRING, NUMERIC).
    UpdatedTime string
    Last modified time of the property data.
    Value string
    Value of the Property. The value can be Boolean, String or a Numeric value as per the type attribute.
    appConfigPropertyId String
    The unique identifier of the app_config_property.
    collections List<AppConfigPropertyCollection>
    List of collection id representing the collections that are associated with the specified property.
    createdTime String
    Creation time of the property.
    description String
    Property description.
    environmentId String
    Environment Id.
    evaluationTime String
    The last occurrence of the property value evaluation.
    format String
    Format of the property (TEXT, JSON, YAML) and this is a required attribute when TYPE STRING is used, not required for BOOLEAN and NUMERIC types.
    guid String
    guid of the App Configuration service. Get it from the service instance credentials section of the dashboard.
    href String
    Property URL.
    name String
    Property name.
    propertyId String
    Property id.
    segmentExists Boolean
    Denotes if the targeting rules are specified for the property.
    segmentRules List<AppConfigPropertySegmentRule>
    Specify the targeting rules that is used to set different property values for different segments.
    tags String
    Tags associated with the property.
    type String
    Type of the Property (BOOLEAN, STRING, NUMERIC).
    updatedTime String
    Last modified time of the property data.
    value String
    Value of the Property. The value can be Boolean, String or a Numeric value as per the type attribute.
    appConfigPropertyId string
    The unique identifier of the app_config_property.
    collections AppConfigPropertyCollection[]
    List of collection id representing the collections that are associated with the specified property.
    createdTime string
    Creation time of the property.
    description string
    Property description.
    environmentId string
    Environment Id.
    evaluationTime string
    The last occurrence of the property value evaluation.
    format string
    Format of the property (TEXT, JSON, YAML) and this is a required attribute when TYPE STRING is used, not required for BOOLEAN and NUMERIC types.
    guid string
    guid of the App Configuration service. Get it from the service instance credentials section of the dashboard.
    href string
    Property URL.
    name string
    Property name.
    propertyId string
    Property id.
    segmentExists boolean
    Denotes if the targeting rules are specified for the property.
    segmentRules AppConfigPropertySegmentRule[]
    Specify the targeting rules that is used to set different property values for different segments.
    tags string
    Tags associated with the property.
    type string
    Type of the Property (BOOLEAN, STRING, NUMERIC).
    updatedTime string
    Last modified time of the property data.
    value string
    Value of the Property. The value can be Boolean, String or a Numeric value as per the type attribute.
    app_config_property_id str
    The unique identifier of the app_config_property.
    collections Sequence[AppConfigPropertyCollectionArgs]
    List of collection id representing the collections that are associated with the specified property.
    created_time str
    Creation time of the property.
    description str
    Property description.
    environment_id str
    Environment Id.
    evaluation_time str
    The last occurrence of the property value evaluation.
    format str
    Format of the property (TEXT, JSON, YAML) and this is a required attribute when TYPE STRING is used, not required for BOOLEAN and NUMERIC types.
    guid str
    guid of the App Configuration service. Get it from the service instance credentials section of the dashboard.
    href str
    Property URL.
    name str
    Property name.
    property_id str
    Property id.
    segment_exists bool
    Denotes if the targeting rules are specified for the property.
    segment_rules Sequence[AppConfigPropertySegmentRuleArgs]
    Specify the targeting rules that is used to set different property values for different segments.
    tags str
    Tags associated with the property.
    type str
    Type of the Property (BOOLEAN, STRING, NUMERIC).
    updated_time str
    Last modified time of the property data.
    value str
    Value of the Property. The value can be Boolean, String or a Numeric value as per the type attribute.
    appConfigPropertyId String
    The unique identifier of the app_config_property.
    collections List<Property Map>
    List of collection id representing the collections that are associated with the specified property.
    createdTime String
    Creation time of the property.
    description String
    Property description.
    environmentId String
    Environment Id.
    evaluationTime String
    The last occurrence of the property value evaluation.
    format String
    Format of the property (TEXT, JSON, YAML) and this is a required attribute when TYPE STRING is used, not required for BOOLEAN and NUMERIC types.
    guid String
    guid of the App Configuration service. Get it from the service instance credentials section of the dashboard.
    href String
    Property URL.
    name String
    Property name.
    propertyId String
    Property id.
    segmentExists Boolean
    Denotes if the targeting rules are specified for the property.
    segmentRules List<Property Map>
    Specify the targeting rules that is used to set different property values for different segments.
    tags String
    Tags associated with the property.
    type String
    Type of the Property (BOOLEAN, STRING, NUMERIC).
    updatedTime String
    Last modified time of the property data.
    value String
    Value of the Property. The value can be Boolean, String or a Numeric value as per the type attribute.

    Supporting Types

    AppConfigPropertyCollection, AppConfigPropertyCollectionArgs

    CollectionId string
    Collection id.
    CollectionId string
    Collection id.
    collectionId String
    Collection id.
    collectionId string
    Collection id.
    collection_id str
    Collection id.
    collectionId String
    Collection id.

    AppConfigPropertySegmentRule, AppConfigPropertySegmentRuleArgs

    Order double
    Order of the rule, used during evaluation. The evaluation is performed in the order defined and the value associated with the first matching rule is used for evaluation.
    Rules List<AppConfigPropertySegmentRuleRule>
    Rules array.
    Value string
    Value to be used for evaluation for this rule. The value can be Boolean, String or a Numeric value as per the type attribute.
    Order float64
    Order of the rule, used during evaluation. The evaluation is performed in the order defined and the value associated with the first matching rule is used for evaluation.
    Rules []AppConfigPropertySegmentRuleRule
    Rules array.
    Value string
    Value to be used for evaluation for this rule. The value can be Boolean, String or a Numeric value as per the type attribute.
    order Double
    Order of the rule, used during evaluation. The evaluation is performed in the order defined and the value associated with the first matching rule is used for evaluation.
    rules List<AppConfigPropertySegmentRuleRule>
    Rules array.
    value String
    Value to be used for evaluation for this rule. The value can be Boolean, String or a Numeric value as per the type attribute.
    order number
    Order of the rule, used during evaluation. The evaluation is performed in the order defined and the value associated with the first matching rule is used for evaluation.
    rules AppConfigPropertySegmentRuleRule[]
    Rules array.
    value string
    Value to be used for evaluation for this rule. The value can be Boolean, String or a Numeric value as per the type attribute.
    order float
    Order of the rule, used during evaluation. The evaluation is performed in the order defined and the value associated with the first matching rule is used for evaluation.
    rules Sequence[AppConfigPropertySegmentRuleRule]
    Rules array.
    value str
    Value to be used for evaluation for this rule. The value can be Boolean, String or a Numeric value as per the type attribute.
    order Number
    Order of the rule, used during evaluation. The evaluation is performed in the order defined and the value associated with the first matching rule is used for evaluation.
    rules List<Property Map>
    Rules array.
    value String
    Value to be used for evaluation for this rule. The value can be Boolean, String or a Numeric value as per the type attribute.

    AppConfigPropertySegmentRuleRule, AppConfigPropertySegmentRuleRuleArgs

    Segments List<string>
    List of segment ids that are used for targeting using the rule.
    Segments []string
    List of segment ids that are used for targeting using the rule.
    segments List<String>
    List of segment ids that are used for targeting using the rule.
    segments string[]
    List of segment ids that are used for targeting using the rule.
    segments Sequence[str]
    List of segment ids that are used for targeting using the rule.
    segments List<String>
    List of segment ids that are used for targeting using the rule.

    Import

    The ibm_app_config_property resource can be imported by using guid of the App Configuration instance, environmentId and propertyId. Get the guid from the service instance credentials section of the dashboard.

    Syntax

    $ pulumi import ibm:index/appConfigProperty:AppConfigProperty sample <guid/environmentId/propertyId>
    

    Example

    $ pulumi import ibm:index/appConfigProperty:AppConfigProperty sample 272111153-c118-4116-8116-b811fbc31132/dev/sample_property
    

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

    Package Details

    Repository
    ibm ibm-cloud/terraform-provider-ibm
    License
    Notes
    This Pulumi package is based on the ibm Terraform Provider.
    ibm logo
    ibm 1.78.0 published on Wednesday, Apr 30, 2025 by ibm-cloud