ibm 1.78.0 published on Wednesday, Apr 30, 2025 by ibm-cloud
ibm.getAppConfigCollection
Explore with Pulumi AI
Provides a read-only data source for collection
. 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 features, see App Configuration concepts.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as ibm from "@pulumi/ibm";
const appConfigCollection = ibm.getAppConfigCollection({
collectionId: "collection_id",
expand: "expand",
guid: "guid",
});
import pulumi
import pulumi_ibm as ibm
app_config_collection = ibm.get_app_config_collection(collection_id="collection_id",
expand="expand",
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.LookupAppConfigCollection(ctx, &ibm.LookupAppConfigCollectionArgs{
CollectionId: "collection_id",
Expand: pulumi.BoolRef("expand"),
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 appConfigCollection = Ibm.GetAppConfigCollection.Invoke(new()
{
CollectionId = "collection_id",
Expand = "expand",
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.GetAppConfigCollectionArgs;
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 appConfigCollection = IbmFunctions.getAppConfigCollection(GetAppConfigCollectionArgs.builder()
.collectionId("collection_id")
.expand("expand")
.guid("guid")
.build());
}
}
variables:
appConfigCollection:
fn::invoke:
function: ibm:getAppConfigCollection
arguments:
collectionId: collection_id
expand: expand
guid: guid
Using getAppConfigCollection
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 getAppConfigCollection(args: GetAppConfigCollectionArgs, opts?: InvokeOptions): Promise<GetAppConfigCollectionResult>
function getAppConfigCollectionOutput(args: GetAppConfigCollectionOutputArgs, opts?: InvokeOptions): Output<GetAppConfigCollectionResult>
def get_app_config_collection(collection_id: Optional[str] = None,
expand: Optional[bool] = None,
guid: Optional[str] = None,
id: Optional[str] = None,
includes: Optional[Sequence[str]] = None,
opts: Optional[InvokeOptions] = None) -> GetAppConfigCollectionResult
def get_app_config_collection_output(collection_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,
opts: Optional[InvokeOptions] = None) -> Output[GetAppConfigCollectionResult]
func LookupAppConfigCollection(ctx *Context, args *LookupAppConfigCollectionArgs, opts ...InvokeOption) (*LookupAppConfigCollectionResult, error)
func LookupAppConfigCollectionOutput(ctx *Context, args *LookupAppConfigCollectionOutputArgs, opts ...InvokeOption) LookupAppConfigCollectionResultOutput
> Note: This function is named LookupAppConfigCollection
in the Go SDK.
public static class GetAppConfigCollection
{
public static Task<GetAppConfigCollectionResult> InvokeAsync(GetAppConfigCollectionArgs args, InvokeOptions? opts = null)
public static Output<GetAppConfigCollectionResult> Invoke(GetAppConfigCollectionInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetAppConfigCollectionResult> getAppConfigCollection(GetAppConfigCollectionArgs args, InvokeOptions options)
public static Output<GetAppConfigCollectionResult> getAppConfigCollection(GetAppConfigCollectionArgs args, InvokeOptions options)
fn::invoke:
function: ibm:index/getAppConfigCollection:getAppConfigCollection
arguments:
# arguments dictionary
The following arguments are supported:
- Collection
Id string - Collection Id of the collection.
- Guid string
- guid of the App Configuration service. Get it from the service instance credentials section of the dashboard.
- Expand bool
- If set to
true
, returns expanded view of the resource details. - Id string
- Includes List<string>
- Collection
Id string - Collection Id of the collection.
- Guid string
- guid of the App Configuration service. Get it from the service instance credentials section of the dashboard.
- Expand bool
- If set to
true
, returns expanded view of the resource details. - Id string
- Includes []string
- collection
Id String - Collection Id of the collection.
- guid String
- guid of the App Configuration service. Get it from the service instance credentials section of the dashboard.
- expand Boolean
- If set to
true
, returns expanded view of the resource details. - id String
- includes List<String>
- collection
Id string - Collection Id of the collection.
- guid string
- guid of the App Configuration service. Get it from the service instance credentials section of the dashboard.
- expand boolean
- If set to
true
, returns expanded view of the resource details. - id string
- includes string[]
- collection_
id str - Collection Id of the collection.
- guid str
- guid of the App Configuration service. Get it from the service instance credentials section of the dashboard.
- expand bool
- If set to
true
, returns expanded view of the resource details. - id str
- includes Sequence[str]
- collection
Id String - Collection Id of the collection.
- guid String
- guid of the App Configuration service. Get it from the service instance credentials section of the dashboard.
- expand Boolean
- If set to
true
, returns expanded view of the resource details. - id String
- includes List<String>
getAppConfigCollection Result
The following output properties are available:
- Collection
Id string - The unique identifier of the collection resouce.
- Created
Time string - Creation time of the collection.
- Description string
- Collection description.
- Features
List<Get
App Config Collection Feature> - List of Features associated with the collection. Nested
features
blocks have the following structure: - Features
Count double - Number of features associated with the collection.
- Guid string
- Href string
- Collection URL.
- Id string
- Name string
- Property name.
- Properties
List<Get
App Config Collection Property> - List of properties associated with the collection. Nested
properties
blocks have the following structure: - Properties
Count double - Number of features associated with the collection.
- string
- Tags associated with the collection.
- Updated
Time string - Last updated time of the collection data.
- Expand bool
- Includes List<string>
- Collection
Id string - The unique identifier of the collection resouce.
- Created
Time string - Creation time of the collection.
- Description string
- Collection description.
- Features
[]Get
App Config Collection Feature - List of Features associated with the collection. Nested
features
blocks have the following structure: - Features
Count float64 - Number of features associated with the collection.
- Guid string
- Href string
- Collection URL.
- Id string
- Name string
- Property name.
- Properties
[]Get
App Config Collection Property - List of properties associated with the collection. Nested
properties
blocks have the following structure: - Properties
Count float64 - Number of features associated with the collection.
- string
- Tags associated with the collection.
- Updated
Time string - Last updated time of the collection data.
- Expand bool
- Includes []string
- collection
Id String - The unique identifier of the collection resouce.
- created
Time String - Creation time of the collection.
- description String
- Collection description.
- features
List<Get
App Config Collection Feature> - List of Features associated with the collection. Nested
features
blocks have the following structure: - features
Count Double - Number of features associated with the collection.
- guid String
- href String
- Collection URL.
- id String
- name String
- Property name.
- properties
List<Get
App Config Collection Property> - List of properties associated with the collection. Nested
properties
blocks have the following structure: - properties
Count Double - Number of features associated with the collection.
- String
- Tags associated with the collection.
- updated
Time String - Last updated time of the collection data.
- expand Boolean
- includes List<String>
- collection
Id string - The unique identifier of the collection resouce.
- created
Time string - Creation time of the collection.
- description string
- Collection description.
- features
Get
App Config Collection Feature[] - List of Features associated with the collection. Nested
features
blocks have the following structure: - features
Count number - Number of features associated with the collection.
- guid string
- href string
- Collection URL.
- id string
- name string
- Property name.
- properties
Get
App Config Collection Property[] - List of properties associated with the collection. Nested
properties
blocks have the following structure: - properties
Count number - Number of features associated with the collection.
- string
- Tags associated with the collection.
- updated
Time string - Last updated time of the collection data.
- expand boolean
- includes string[]
- collection_
id str - The unique identifier of the collection resouce.
- created_
time str - Creation time of the collection.
- description str
- Collection description.
- features
Sequence[Get
App Config Collection Feature] - List of Features associated with the collection. Nested
features
blocks have the following structure: - features_
count float - Number of features associated with the collection.
- guid str
- href str
- Collection URL.
- id str
- name str
- Property name.
- properties
Sequence[Get
App Config Collection Property] - List of properties associated with the collection. Nested
properties
blocks have the following structure: - properties_
count float - Number of features associated with the collection.
- str
- Tags associated with the collection.
- updated_
time str - Last updated time of the collection data.
- expand bool
- includes Sequence[str]
- collection
Id String - The unique identifier of the collection resouce.
- created
Time String - Creation time of the collection.
- description String
- Collection description.
- features List<Property Map>
- List of Features associated with the collection. Nested
features
blocks have the following structure: - features
Count Number - Number of features associated with the collection.
- guid String
- href String
- Collection URL.
- id String
- name String
- Property name.
- properties List<Property Map>
- List of properties associated with the collection. Nested
properties
blocks have the following structure: - properties
Count Number - Number of features associated with the collection.
- String
- Tags associated with the collection.
- updated
Time String - Last updated time of the collection data.
- expand Boolean
- includes List<String>
Supporting Types
GetAppConfigCollectionFeature
- feature_
id str - Feature id.
- name str
- Property name.
GetAppConfigCollectionProperty
- Name string
- Property name.
- Property
Id string - Property id.
- Name string
- Property name.
- Property
Id string - Property id.
- name String
- Property name.
- property
Id String - Property id.
- name string
- Property name.
- property
Id string - Property id.
- name str
- Property name.
- property_
id str - Property id.
- name String
- Property name.
- property
Id String - Property id.
Package Details
- Repository
- ibm ibm-cloud/terraform-provider-ibm
- License
- Notes
- This Pulumi package is based on the
ibm
Terraform Provider.