ibm.AppConfigProperty
Explore with Pulumi AI
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:
- Environment
Id string - Environment Id.
- Guid string
- guid of the App Configuration service. Get it from the service instance credentials section of the dashboard.
- Property
Id 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. - App
Config stringProperty Id - The unique identifier of the app_config_property.
- Collections
List<App
Config Property Collection> - 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.
- Segment
Rules List<AppConfig Property Segment Rule> - Specify the targeting rules that is used to set different property values for different segments.
- string
- Tags associated with the property.
- Environment
Id string - Environment Id.
- Guid string
- guid of the App Configuration service. Get it from the service instance credentials section of the dashboard.
- Property
Id 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. - App
Config stringProperty Id - The unique identifier of the app_config_property.
- Collections
[]App
Config Property Collection Args - 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.
- Segment
Rules []AppConfig Property Segment Rule Args - Specify the targeting rules that is used to set different property values for different segments.
- string
- Tags associated with the property.
- environment
Id String - Environment Id.
- guid String
- guid of the App Configuration service. Get it from the service instance credentials section of the dashboard.
- property
Id 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. - app
Config StringProperty Id - The unique identifier of the app_config_property.
- collections
List<App
Config Property Collection> - 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.
- segment
Rules List<AppConfig Property Segment Rule> - Specify the targeting rules that is used to set different property values for different segments.
- String
- Tags associated with the property.
- environment
Id string - Environment Id.
- guid string
- guid of the App Configuration service. Get it from the service instance credentials section of the dashboard.
- property
Id 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. - app
Config stringProperty Id - The unique identifier of the app_config_property.
- collections
App
Config Property Collection[] - 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.
- segment
Rules AppConfig Property Segment Rule[] - Specify the targeting rules that is used to set different property values for different segments.
- 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_ strproperty_ id - The unique identifier of the app_config_property.
- collections
Sequence[App
Config Property Collection Args] - 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[AppConfig Property Segment Rule Args] - Specify the targeting rules that is used to set different property values for different segments.
- str
- Tags associated with the property.
- environment
Id String - Environment Id.
- guid String
- guid of the App Configuration service. Get it from the service instance credentials section of the dashboard.
- property
Id 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. - app
Config StringProperty Id - 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.
- segment
Rules List<Property Map> - Specify the targeting rules that is used to set different property values for different segments.
- 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:
- Created
Time string - Creation time of the property.
- Evaluation
Time string - The last occurrence of the property value evaluation.
- Href string
- Property URL.
- Id string
- The provider-assigned unique ID for this managed resource.
- Segment
Exists bool - Denotes if the targeting rules are specified for the property.
- Updated
Time string - Last modified time of the property data.
- Created
Time string - Creation time of the property.
- Evaluation
Time string - The last occurrence of the property value evaluation.
- Href string
- Property URL.
- Id string
- The provider-assigned unique ID for this managed resource.
- Segment
Exists bool - Denotes if the targeting rules are specified for the property.
- Updated
Time string - Last modified time of the property data.
- created
Time String - Creation time of the property.
- evaluation
Time String - The last occurrence of the property value evaluation.
- href String
- Property URL.
- id String
- The provider-assigned unique ID for this managed resource.
- segment
Exists Boolean - Denotes if the targeting rules are specified for the property.
- updated
Time String - Last modified time of the property data.
- created
Time string - Creation time of the property.
- evaluation
Time string - The last occurrence of the property value evaluation.
- href string
- Property URL.
- id string
- The provider-assigned unique ID for this managed resource.
- segment
Exists boolean - Denotes if the targeting rules are specified for the property.
- updated
Time 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.
- created
Time String - Creation time of the property.
- evaluation
Time String - The last occurrence of the property value evaluation.
- href String
- Property URL.
- id String
- The provider-assigned unique ID for this managed resource.
- segment
Exists Boolean - Denotes if the targeting rules are specified for the property.
- updated
Time 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.
- App
Config stringProperty Id - The unique identifier of the app_config_property.
- Collections
List<App
Config Property Collection> - List of collection id representing the collections that are associated with the specified property.
- Created
Time string - Creation time of the property.
- Description string
- Property description.
- Environment
Id string - Environment Id.
- Evaluation
Time 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.
- Property
Id string - Property id.
- Segment
Exists bool - Denotes if the targeting rules are specified for the property.
- Segment
Rules List<AppConfig Property Segment Rule> - Specify the targeting rules that is used to set different property values for different segments.
- string
- Tags associated with the property.
- Type string
- Type of the Property (BOOLEAN, STRING, NUMERIC).
- Updated
Time 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 stringProperty Id - The unique identifier of the app_config_property.
- Collections
[]App
Config Property Collection Args - List of collection id representing the collections that are associated with the specified property.
- Created
Time string - Creation time of the property.
- Description string
- Property description.
- Environment
Id string - Environment Id.
- Evaluation
Time 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.
- Property
Id string - Property id.
- Segment
Exists bool - Denotes if the targeting rules are specified for the property.
- Segment
Rules []AppConfig Property Segment Rule Args - Specify the targeting rules that is used to set different property values for different segments.
- string
- Tags associated with the property.
- Type string
- Type of the Property (BOOLEAN, STRING, NUMERIC).
- Updated
Time 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 StringProperty Id - The unique identifier of the app_config_property.
- collections
List<App
Config Property Collection> - List of collection id representing the collections that are associated with the specified property.
- created
Time String - Creation time of the property.
- description String
- Property description.
- environment
Id String - Environment Id.
- evaluation
Time 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.
- property
Id String - Property id.
- segment
Exists Boolean - Denotes if the targeting rules are specified for the property.
- segment
Rules List<AppConfig Property Segment Rule> - Specify the targeting rules that is used to set different property values for different segments.
- String
- Tags associated with the property.
- type String
- Type of the Property (BOOLEAN, STRING, NUMERIC).
- updated
Time 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 stringProperty Id - The unique identifier of the app_config_property.
- collections
App
Config Property Collection[] - List of collection id representing the collections that are associated with the specified property.
- created
Time string - Creation time of the property.
- description string
- Property description.
- environment
Id string - Environment Id.
- evaluation
Time 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.
- property
Id string - Property id.
- segment
Exists boolean - Denotes if the targeting rules are specified for the property.
- segment
Rules AppConfig Property Segment Rule[] - Specify the targeting rules that is used to set different property values for different segments.
- string
- Tags associated with the property.
- type string
- Type of the Property (BOOLEAN, STRING, NUMERIC).
- updated
Time 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_ strproperty_ id - The unique identifier of the app_config_property.
- collections
Sequence[App
Config Property Collection Args] - 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[AppConfig Property Segment Rule Args] - Specify the targeting rules that is used to set different property values for different segments.
- 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.
- app
Config StringProperty Id - 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.
- created
Time String - Creation time of the property.
- description String
- Property description.
- environment
Id String - Environment Id.
- evaluation
Time 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.
- property
Id String - Property id.
- segment
Exists Boolean - Denotes if the targeting rules are specified for the property.
- segment
Rules List<Property Map> - Specify the targeting rules that is used to set different property values for different segments.
- String
- Tags associated with the property.
- type String
- Type of the Property (BOOLEAN, STRING, NUMERIC).
- updated
Time 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
- Collection
Id string - Collection id.
- Collection
Id string - Collection id.
- collection
Id String - Collection id.
- collection
Id string - Collection id.
- collection_
id str - Collection id.
- collection
Id 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<App
Config Property Segment Rule Rule> - 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
[]App
Config Property Segment Rule Rule - 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<App
Config Property Segment Rule Rule> - 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
App
Config Property Segment Rule Rule[] - 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[App
Config Property Segment Rule Rule] - 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.