ibm 1.78.0 published on Wednesday, Apr 30, 2025 by ibm-cloud
ibm.getAppConfigProperties
Explore with Pulumi AI
Retrieve information about an existing IBM Cloud App Configuration properties. You can then reference the fields of the data source in other resources within the same configuration using interpolation syntax. For more information, about App Configuration properties, see App Configuration concepts.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as ibm from "@pulumi/ibm";
const appConfigProperties = ibm.getAppConfigProperties({
environmentId: "environment_id",
guid: "guid",
});
import pulumi
import pulumi_ibm as ibm
app_config_properties = ibm.get_app_config_properties(environment_id="environment_id",
guid="guid")
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.GetAppConfigProperties(ctx, &ibm.GetAppConfigPropertiesArgs{
EnvironmentId: "environment_id",
Guid: "guid",
}, nil)
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 appConfigProperties = Ibm.GetAppConfigProperties.Invoke(new()
{
EnvironmentId = "environment_id",
Guid = "guid",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.ibm.IbmFunctions;
import com.pulumi.ibm.inputs.GetAppConfigPropertiesArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var appConfigProperties = IbmFunctions.getAppConfigProperties(GetAppConfigPropertiesArgs.builder()
.environmentId("environment_id")
.guid("guid")
.build());
}
}
variables:
appConfigProperties:
fn::invoke:
function: ibm:getAppConfigProperties
arguments:
environmentId: environment_id
guid: guid
Using getAppConfigProperties
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getAppConfigProperties(args: GetAppConfigPropertiesArgs, opts?: InvokeOptions): Promise<GetAppConfigPropertiesResult>
function getAppConfigPropertiesOutput(args: GetAppConfigPropertiesOutputArgs, opts?: InvokeOptions): Output<GetAppConfigPropertiesResult>
def get_app_config_properties(collections: Optional[Sequence[str]] = None,
environment_id: Optional[str] = None,
expand: Optional[bool] = None,
guid: Optional[str] = None,
id: Optional[str] = None,
includes: Optional[Sequence[str]] = None,
limit: Optional[float] = None,
offset: Optional[float] = None,
segments: Optional[Sequence[str]] = None,
sort: Optional[str] = None,
tags: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetAppConfigPropertiesResult
def get_app_config_properties_output(collections: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
environment_id: Optional[pulumi.Input[str]] = None,
expand: Optional[pulumi.Input[bool]] = None,
guid: Optional[pulumi.Input[str]] = None,
id: Optional[pulumi.Input[str]] = None,
includes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
limit: Optional[pulumi.Input[float]] = None,
offset: Optional[pulumi.Input[float]] = None,
segments: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
sort: Optional[pulumi.Input[str]] = None,
tags: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetAppConfigPropertiesResult]
func GetAppConfigProperties(ctx *Context, args *GetAppConfigPropertiesArgs, opts ...InvokeOption) (*GetAppConfigPropertiesResult, error)
func GetAppConfigPropertiesOutput(ctx *Context, args *GetAppConfigPropertiesOutputArgs, opts ...InvokeOption) GetAppConfigPropertiesResultOutput
> Note: This function is named GetAppConfigProperties
in the Go SDK.
public static class GetAppConfigProperties
{
public static Task<GetAppConfigPropertiesResult> InvokeAsync(GetAppConfigPropertiesArgs args, InvokeOptions? opts = null)
public static Output<GetAppConfigPropertiesResult> Invoke(GetAppConfigPropertiesInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetAppConfigPropertiesResult> getAppConfigProperties(GetAppConfigPropertiesArgs args, InvokeOptions options)
public static Output<GetAppConfigPropertiesResult> getAppConfigProperties(GetAppConfigPropertiesArgs args, InvokeOptions options)
fn::invoke:
function: ibm:index/getAppConfigProperties:getAppConfigProperties
arguments:
# arguments dictionary
The following arguments are supported:
- Environment
Id string - Environment Id.
- Guid string
- guid of the App Configuration service. Get it from the service instance credentials section of the dashboard.
- Collections List<string>
- Filter properties by a list of comma separated collections.
- Expand bool
- If set to
true
, returns expanded view of the resource details. - Id string
- (String) The unique identifier of the PropertiesList.
- Includes List<string>
- Limit double
- The number of records to retrieve. By default, the list operation return the first 10 records. To retrieve different set of records, use
limit
withoffset
to page through the available records. - Offset double
- The number of records to skip. By specifying
offset
, you retrieve a subset of items that starts with theoffset
value. Useoffset
withlimit
to page through the available records. - Segments List<string>
- Filter properties by a list of comma separated segments.
- Sort string
- Sort the feature details based on the specified attribute.
- string
- Flter the resources to be returned based on the associated tags. Returns resources associated with any of the specified tags.
- Environment
Id string - Environment Id.
- Guid string
- guid of the App Configuration service. Get it from the service instance credentials section of the dashboard.
- Collections []string
- Filter properties by a list of comma separated collections.
- Expand bool
- If set to
true
, returns expanded view of the resource details. - Id string
- (String) The unique identifier of the PropertiesList.
- Includes []string
- Limit float64
- The number of records to retrieve. By default, the list operation return the first 10 records. To retrieve different set of records, use
limit
withoffset
to page through the available records. - Offset float64
- The number of records to skip. By specifying
offset
, you retrieve a subset of items that starts with theoffset
value. Useoffset
withlimit
to page through the available records. - Segments []string
- Filter properties by a list of comma separated segments.
- Sort string
- Sort the feature details based on the specified attribute.
- string
- Flter the resources to be returned based on the associated tags. Returns resources associated with any of the specified tags.
- environment
Id String - Environment Id.
- guid String
- guid of the App Configuration service. Get it from the service instance credentials section of the dashboard.
- collections List<String>
- Filter properties by a list of comma separated collections.
- expand Boolean
- If set to
true
, returns expanded view of the resource details. - id String
- (String) The unique identifier of the PropertiesList.
- includes List<String>
- limit Double
- The number of records to retrieve. By default, the list operation return the first 10 records. To retrieve different set of records, use
limit
withoffset
to page through the available records. - offset Double
- The number of records to skip. By specifying
offset
, you retrieve a subset of items that starts with theoffset
value. Useoffset
withlimit
to page through the available records. - segments List<String>
- Filter properties by a list of comma separated segments.
- sort String
- Sort the feature details based on the specified attribute.
- String
- Flter the resources to be returned based on the associated tags. Returns resources associated with any of the specified tags.
- environment
Id string - Environment Id.
- guid string
- guid of the App Configuration service. Get it from the service instance credentials section of the dashboard.
- collections string[]
- Filter properties by a list of comma separated collections.
- expand boolean
- If set to
true
, returns expanded view of the resource details. - id string
- (String) The unique identifier of the PropertiesList.
- includes string[]
- limit number
- The number of records to retrieve. By default, the list operation return the first 10 records. To retrieve different set of records, use
limit
withoffset
to page through the available records. - offset number
- The number of records to skip. By specifying
offset
, you retrieve a subset of items that starts with theoffset
value. Useoffset
withlimit
to page through the available records. - segments string[]
- Filter properties by a list of comma separated segments.
- sort string
- Sort the feature details based on the specified attribute.
- string
- Flter the resources to be returned based on the associated tags. Returns resources associated with any of the specified tags.
- environment_
id str - Environment Id.
- guid str
- guid of the App Configuration service. Get it from the service instance credentials section of the dashboard.
- collections Sequence[str]
- Filter properties by a list of comma separated collections.
- expand bool
- If set to
true
, returns expanded view of the resource details. - id str
- (String) The unique identifier of the PropertiesList.
- includes Sequence[str]
- limit float
- The number of records to retrieve. By default, the list operation return the first 10 records. To retrieve different set of records, use
limit
withoffset
to page through the available records. - offset float
- The number of records to skip. By specifying
offset
, you retrieve a subset of items that starts with theoffset
value. Useoffset
withlimit
to page through the available records. - segments Sequence[str]
- Filter properties by a list of comma separated segments.
- sort str
- Sort the feature details based on the specified attribute.
- str
- Flter the resources to be returned based on the associated tags. Returns resources associated with any of the specified tags.
- environment
Id String - Environment Id.
- guid String
- guid of the App Configuration service. Get it from the service instance credentials section of the dashboard.
- collections List<String>
- Filter properties by a list of comma separated collections.
- expand Boolean
- If set to
true
, returns expanded view of the resource details. - id String
- (String) The unique identifier of the PropertiesList.
- includes List<String>
- limit Number
- The number of records to retrieve. By default, the list operation return the first 10 records. To retrieve different set of records, use
limit
withoffset
to page through the available records. - offset Number
- The number of records to skip. By specifying
offset
, you retrieve a subset of items that starts with theoffset
value. Useoffset
withlimit
to page through the available records. - segments List<String>
- Filter properties by a list of comma separated segments.
- sort String
- Sort the feature details based on the specified attribute.
- String
- Flter the resources to be returned based on the associated tags. Returns resources associated with any of the specified tags.
getAppConfigProperties Result
The following output properties are available:
- Environment
Id string - Guid string
- Id string
- (String) The unique identifier of the PropertiesList.
- Properties
List<Get
App Config Properties Property> - (List) Array of properties.
- Total
Count double - Number of records returned in the current response.
- Collections List<string>
- List of collection id representing the collections that are associated with the specified property.
- Expand bool
- Includes List<string>
- Limit double
- Number of records returned
- Offset double
- Skipped number of records
- Segments List<string>
- (String) List of segment ids that are used for targeting using the rule.
- Sort string
- string
- (String) Tags associated with the property.
- Environment
Id string - Guid string
- Id string
- (String) The unique identifier of the PropertiesList.
- Properties
[]Get
App Config Properties Property - (List) Array of properties.
- Total
Count float64 - Number of records returned in the current response.
- Collections []string
- List of collection id representing the collections that are associated with the specified property.
- Expand bool
- Includes []string
- Limit float64
- Number of records returned
- Offset float64
- Skipped number of records
- Segments []string
- (String) List of segment ids that are used for targeting using the rule.
- Sort string
- string
- (String) Tags associated with the property.
- environment
Id String - guid String
- id String
- (String) The unique identifier of the PropertiesList.
- properties
List<Get
App Config Properties Property> - (List) Array of properties.
- total
Count Double - Number of records returned in the current response.
- collections List<String>
- List of collection id representing the collections that are associated with the specified property.
- expand Boolean
- includes List<String>
- limit Double
- Number of records returned
- offset Double
- Skipped number of records
- segments List<String>
- (String) List of segment ids that are used for targeting using the rule.
- sort String
- String
- (String) Tags associated with the property.
- environment
Id string - guid string
- id string
- (String) The unique identifier of the PropertiesList.
- properties
Get
App Config Properties Property[] - (List) Array of properties.
- total
Count number - Number of records returned in the current response.
- collections string[]
- List of collection id representing the collections that are associated with the specified property.
- expand boolean
- includes string[]
- limit number
- Number of records returned
- offset number
- Skipped number of records
- segments string[]
- (String) List of segment ids that are used for targeting using the rule.
- sort string
- string
- (String) Tags associated with the property.
- environment_
id str - guid str
- id str
- (String) The unique identifier of the PropertiesList.
- properties
Sequence[Get
App Config Properties Property] - (List) Array of properties.
- total_
count float - Number of records returned in the current response.
- collections Sequence[str]
- List of collection id representing the collections that are associated with the specified property.
- expand bool
- includes Sequence[str]
- limit float
- Number of records returned
- offset float
- Skipped number of records
- segments Sequence[str]
- (String) List of segment ids that are used for targeting using the rule.
- sort str
- str
- (String) Tags associated with the property.
- environment
Id String - guid String
- id String
- (String) The unique identifier of the PropertiesList.
- properties List<Property Map>
- (List) Array of properties.
- total
Count Number - Number of records returned in the current response.
- collections List<String>
- List of collection id representing the collections that are associated with the specified property.
- expand Boolean
- includes List<String>
- limit Number
- Number of records returned
- offset Number
- Skipped number of records
- segments List<String>
- (String) List of segment ids that are used for targeting using the rule.
- sort String
- String
- (String) Tags associated with the property.
Supporting Types
GetAppConfigPropertiesProperty
- Collections
List<Get
App Config Properties Property Collection> - Filter properties by a list of comma separated collections.
- Created
Time string - Creation time of the property.
- Description string
- (String) Property description.
- Format string
- (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.
- Href string
- (String) The next
href
URL. - Name string
- (String) Name of the collection.
- Property
Id string - (String) Property id.
- Segment
Exists bool - (String) Denotes if the targeting rules are specified for the property.
- Segment
Rules List<GetApp Config Properties Property Segment Rule> - (List) Specify the targeting rules that is used to set different property values for different segments.
- string
- Flter the resources to be returned based on the associated tags. Returns resources associated with any of the specified tags.
- Type string
- (String) Type of the Property (BOOLEAN, STRING, NUMERIC).
- Updated
Time string - Last modified time of the property data.
- Value string
- (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.
- Collections
[]Get
App Config Properties Property Collection - Filter properties by a list of comma separated collections.
- Created
Time string - Creation time of the property.
- Description string
- (String) Property description.
- Format string
- (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.
- Href string
- (String) The next
href
URL. - Name string
- (String) Name of the collection.
- Property
Id string - (String) Property id.
- Segment
Exists bool - (String) Denotes if the targeting rules are specified for the property.
- Segment
Rules []GetApp Config Properties Property Segment Rule - (List) Specify the targeting rules that is used to set different property values for different segments.
- string
- Flter the resources to be returned based on the associated tags. Returns resources associated with any of the specified tags.
- Type string
- (String) Type of the Property (BOOLEAN, STRING, NUMERIC).
- Updated
Time string - Last modified time of the property data.
- Value string
- (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.
- collections
List<Get
App Config Properties Property Collection> - Filter properties by a list of comma separated collections.
- created
Time String - Creation time of the property.
- description String
- (String) Property description.
- format String
- (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.
- href String
- (String) The next
href
URL. - name String
- (String) Name of the collection.
- property
Id String - (String) Property id.
- segment
Exists Boolean - (String) Denotes if the targeting rules are specified for the property.
- segment
Rules List<GetApp Config Properties Property Segment Rule> - (List) Specify the targeting rules that is used to set different property values for different segments.
- String
- Flter the resources to be returned based on the associated tags. Returns resources associated with any of the specified tags.
- type String
- (String) Type of the Property (BOOLEAN, STRING, NUMERIC).
- updated
Time String - Last modified time of the property data.
- value String
- (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.
- collections
Get
App Config Properties Property Collection[] - Filter properties by a list of comma separated collections.
- created
Time string - Creation time of the property.
- description string
- (String) Property description.
- format string
- (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.
- href string
- (String) The next
href
URL. - name string
- (String) Name of the collection.
- property
Id string - (String) Property id.
- segment
Exists boolean - (String) Denotes if the targeting rules are specified for the property.
- segment
Rules GetApp Config Properties Property Segment Rule[] - (List) Specify the targeting rules that is used to set different property values for different segments.
- string
- Flter the resources to be returned based on the associated tags. Returns resources associated with any of the specified tags.
- type string
- (String) Type of the Property (BOOLEAN, STRING, NUMERIC).
- updated
Time string - Last modified time of the property data.
- value string
- (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.
- collections
Sequence[Get
App Config Properties Property Collection] - Filter properties by a list of comma separated collections.
- created_
time str - Creation time of the property.
- description str
- (String) Property description.
- format str
- (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.
- href str
- (String) The next
href
URL. - name str
- (String) Name of the collection.
- property_
id str - (String) Property id.
- segment_
exists bool - (String) Denotes if the targeting rules are specified for the property.
- segment_
rules Sequence[GetApp Config Properties Property Segment Rule] - (List) Specify the targeting rules that is used to set different property values for different segments.
- str
- Flter the resources to be returned based on the associated tags. Returns resources associated with any of the specified tags.
- type str
- (String) Type of the Property (BOOLEAN, STRING, NUMERIC).
- updated_
time str - Last modified time of the property data.
- value str
- (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.
- collections List<Property Map>
- Filter properties by a list of comma separated collections.
- created
Time String - Creation time of the property.
- description String
- (String) Property description.
- format String
- (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.
- href String
- (String) The next
href
URL. - name String
- (String) Name of the collection.
- property
Id String - (String) Property id.
- segment
Exists Boolean - (String) Denotes if the targeting rules are specified for the property.
- segment
Rules List<Property Map> - (List) Specify the targeting rules that is used to set different property values for different segments.
- String
- Flter the resources to be returned based on the associated tags. Returns resources associated with any of the specified tags.
- type String
- (String) Type of the Property (BOOLEAN, STRING, NUMERIC).
- updated
Time String - Last modified time of the property data.
- value String
- (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.
GetAppConfigPropertiesPropertyCollection
- Collection
Id string - (String) Collection id.
- Name string
- (String) Name of the collection.
- Collection
Id string - (String) Collection id.
- Name string
- (String) Name of the collection.
- collection
Id String - (String) Collection id.
- name String
- (String) Name of the collection.
- collection
Id string - (String) Collection id.
- name string
- (String) Name of the collection.
- collection_
id str - (String) Collection id.
- name str
- (String) Name of the collection.
- collection
Id String - (String) Collection id.
- name String
- (String) Name of the collection.
GetAppConfigPropertiesPropertySegmentRule
- Order double
- (String) 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<Get
App Config Properties Property Segment Rule Rule> - (List) The rules array.
- Value string
- (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
- (String) 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
[]Get
App Config Properties Property Segment Rule Rule - (List) The rules array.
- Value string
- (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
- (String) 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<Get
App Config Properties Property Segment Rule Rule> - (List) The rules array.
- value String
- (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
- (String) 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
Get
App Config Properties Property Segment Rule Rule[] - (List) The rules array.
- value string
- (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
- (String) 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[Get
App Config Properties Property Segment Rule Rule] - (List) The rules array.
- value str
- (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
- (String) 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>
- (List) The rules array.
- value String
- (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.
GetAppConfigPropertiesPropertySegmentRuleRule
- Segments List<string>
- Filter properties by a list of comma separated segments.
- Segments []string
- Filter properties by a list of comma separated segments.
- segments List<String>
- Filter properties by a list of comma separated segments.
- segments string[]
- Filter properties by a list of comma separated segments.
- segments Sequence[str]
- Filter properties by a list of comma separated segments.
- segments List<String>
- Filter properties by a list of comma separated segments.
Package Details
- Repository
- ibm ibm-cloud/terraform-provider-ibm
- License
- Notes
- This Pulumi package is based on the
ibm
Terraform Provider.