1. Packages
  2. Ibm Provider
  3. API Docs
  4. getAppConfigSegment
ibm 1.77.1 published on Monday, Apr 14, 2025 by ibm-cloud

ibm.getAppConfigSegment

Explore with Pulumi AI

ibm logo
ibm 1.77.1 published on Monday, Apr 14, 2025 by ibm-cloud

    Retrieve information about an existing IBM Cloud App Configuration segment. 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 segment, see App Configuration concepts.

    Using getAppConfigSegment

    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 getAppConfigSegment(args: GetAppConfigSegmentArgs, opts?: InvokeOptions): Promise<GetAppConfigSegmentResult>
    function getAppConfigSegmentOutput(args: GetAppConfigSegmentOutputArgs, opts?: InvokeOptions): Output<GetAppConfigSegmentResult>
    def get_app_config_segment(guid: Optional[str] = None,
                               id: Optional[str] = None,
                               includes: Optional[Sequence[str]] = None,
                               segment_id: Optional[str] = None,
                               opts: Optional[InvokeOptions] = None) -> GetAppConfigSegmentResult
    def get_app_config_segment_output(guid: Optional[pulumi.Input[str]] = None,
                               id: Optional[pulumi.Input[str]] = None,
                               includes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                               segment_id: Optional[pulumi.Input[str]] = None,
                               opts: Optional[InvokeOptions] = None) -> Output[GetAppConfigSegmentResult]
    func LookupAppConfigSegment(ctx *Context, args *LookupAppConfigSegmentArgs, opts ...InvokeOption) (*LookupAppConfigSegmentResult, error)
    func LookupAppConfigSegmentOutput(ctx *Context, args *LookupAppConfigSegmentOutputArgs, opts ...InvokeOption) LookupAppConfigSegmentResultOutput

    > Note: This function is named LookupAppConfigSegment in the Go SDK.

    public static class GetAppConfigSegment 
    {
        public static Task<GetAppConfigSegmentResult> InvokeAsync(GetAppConfigSegmentArgs args, InvokeOptions? opts = null)
        public static Output<GetAppConfigSegmentResult> Invoke(GetAppConfigSegmentInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetAppConfigSegmentResult> getAppConfigSegment(GetAppConfigSegmentArgs args, InvokeOptions options)
    public static Output<GetAppConfigSegmentResult> getAppConfigSegment(GetAppConfigSegmentArgs args, InvokeOptions options)
    
    fn::invoke:
      function: ibm:index/getAppConfigSegment:getAppConfigSegment
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Guid string
    The GUID of the App Configuration service. Get it from the service instance credentials section of the dashboard.
    SegmentId string
    The segment ID.
    Id string
    Includes List<string>
    Include feature and property details in the response.
    Guid string
    The GUID of the App Configuration service. Get it from the service instance credentials section of the dashboard.
    SegmentId string
    The segment ID.
    Id string
    Includes []string
    Include feature and property details in the response.
    guid String
    The GUID of the App Configuration service. Get it from the service instance credentials section of the dashboard.
    segmentId String
    The segment ID.
    id String
    includes List<String>
    Include feature and property details in the response.
    guid string
    The GUID of the App Configuration service. Get it from the service instance credentials section of the dashboard.
    segmentId string
    The segment ID.
    id string
    includes string[]
    Include feature and property details in the response.
    guid str
    The GUID of the App Configuration service. Get it from the service instance credentials section of the dashboard.
    segment_id str
    The segment ID.
    id str
    includes Sequence[str]
    Include feature and property details in the response.
    guid String
    The GUID of the App Configuration service. Get it from the service instance credentials section of the dashboard.
    segmentId String
    The segment ID.
    id String
    includes List<String>
    Include feature and property details in the response.

    getAppConfigSegment Result

    The following output properties are available:

    CreatedTime string
    (Timestamp) Creation time of the segment.
    Description string
    (String) Segment description.
    Features List<GetAppConfigSegmentFeature>
    (List) List of Features associated with the segment.
    Guid string
    Href string
    (String) Segment URL.
    Id string
    Name string
    (String) Property Name.
    Properties List<GetAppConfigSegmentProperty>
    (List) List of properties associated with the segment.
    Rules List<GetAppConfigSegmentRule>
    (String) List of rules that determine if the entity belongs to the segment during feature / property evaluation.
    SegmentId string
    (String) Segment id.
    Tags string
    (String) Tags associated with the segments.
    UpdatedTime string
    (Timestamp) Last modified time of the segment data.
    Includes List<string>
    CreatedTime string
    (Timestamp) Creation time of the segment.
    Description string
    (String) Segment description.
    Features []GetAppConfigSegmentFeature
    (List) List of Features associated with the segment.
    Guid string
    Href string
    (String) Segment URL.
    Id string
    Name string
    (String) Property Name.
    Properties []GetAppConfigSegmentProperty
    (List) List of properties associated with the segment.
    Rules []GetAppConfigSegmentRule
    (String) List of rules that determine if the entity belongs to the segment during feature / property evaluation.
    SegmentId string
    (String) Segment id.
    Tags string
    (String) Tags associated with the segments.
    UpdatedTime string
    (Timestamp) Last modified time of the segment data.
    Includes []string
    createdTime String
    (Timestamp) Creation time of the segment.
    description String
    (String) Segment description.
    features List<GetAppConfigSegmentFeature>
    (List) List of Features associated with the segment.
    guid String
    href String
    (String) Segment URL.
    id String
    name String
    (String) Property Name.
    properties List<GetAppConfigSegmentProperty>
    (List) List of properties associated with the segment.
    rules List<GetAppConfigSegmentRule>
    (String) List of rules that determine if the entity belongs to the segment during feature / property evaluation.
    segmentId String
    (String) Segment id.
    tags String
    (String) Tags associated with the segments.
    updatedTime String
    (Timestamp) Last modified time of the segment data.
    includes List<String>
    createdTime string
    (Timestamp) Creation time of the segment.
    description string
    (String) Segment description.
    features GetAppConfigSegmentFeature[]
    (List) List of Features associated with the segment.
    guid string
    href string
    (String) Segment URL.
    id string
    name string
    (String) Property Name.
    properties GetAppConfigSegmentProperty[]
    (List) List of properties associated with the segment.
    rules GetAppConfigSegmentRule[]
    (String) List of rules that determine if the entity belongs to the segment during feature / property evaluation.
    segmentId string
    (String) Segment id.
    tags string
    (String) Tags associated with the segments.
    updatedTime string
    (Timestamp) Last modified time of the segment data.
    includes string[]
    created_time str
    (Timestamp) Creation time of the segment.
    description str
    (String) Segment description.
    features Sequence[GetAppConfigSegmentFeature]
    (List) List of Features associated with the segment.
    guid str
    href str
    (String) Segment URL.
    id str
    name str
    (String) Property Name.
    properties Sequence[GetAppConfigSegmentProperty]
    (List) List of properties associated with the segment.
    rules Sequence[GetAppConfigSegmentRule]
    (String) List of rules that determine if the entity belongs to the segment during feature / property evaluation.
    segment_id str
    (String) Segment id.
    tags str
    (String) Tags associated with the segments.
    updated_time str
    (Timestamp) Last modified time of the segment data.
    includes Sequence[str]
    createdTime String
    (Timestamp) Creation time of the segment.
    description String
    (String) Segment description.
    features List<Property Map>
    (List) List of Features associated with the segment.
    guid String
    href String
    (String) Segment URL.
    id String
    name String
    (String) Property Name.
    properties List<Property Map>
    (List) List of properties associated with the segment.
    rules List<Property Map>
    (String) List of rules that determine if the entity belongs to the segment during feature / property evaluation.
    segmentId String
    (String) Segment id.
    tags String
    (String) Tags associated with the segments.
    updatedTime String
    (Timestamp) Last modified time of the segment data.
    includes List<String>

    Supporting Types

    GetAppConfigSegmentFeature

    FeatureId string
    (String) Feature Id.
    Name string
    (String) Property Name.
    FeatureId string
    (String) Feature Id.
    Name string
    (String) Property Name.
    featureId String
    (String) Feature Id.
    name String
    (String) Property Name.
    featureId string
    (String) Feature Id.
    name string
    (String) Property Name.
    feature_id str
    (String) Feature Id.
    name str
    (String) Property Name.
    featureId String
    (String) Feature Id.
    name String
    (String) Property Name.

    GetAppConfigSegmentProperty

    Name string
    (String) Property Name.
    PropertyId string
    (String) Property Id.
    Name string
    (String) Property Name.
    PropertyId string
    (String) Property Id.
    name String
    (String) Property Name.
    propertyId String
    (String) Property Id.
    name string
    (String) Property Name.
    propertyId string
    (String) Property Id.
    name str
    (String) Property Name.
    property_id str
    (String) Property Id.
    name String
    (String) Property Name.
    propertyId String
    (String) Property Id.

    GetAppConfigSegmentRule

    AttributeName string
    (String) Attribute name.
    Operator string
    (String) Operator to be used for the evaluation if the entity belongs to the segment.
    Values List<string>
    (String) List of values. Entities matching any of the given values will be considered to belong to the segment.
    AttributeName string
    (String) Attribute name.
    Operator string
    (String) Operator to be used for the evaluation if the entity belongs to the segment.
    Values []string
    (String) List of values. Entities matching any of the given values will be considered to belong to the segment.
    attributeName String
    (String) Attribute name.
    operator String
    (String) Operator to be used for the evaluation if the entity belongs to the segment.
    values List<String>
    (String) List of values. Entities matching any of the given values will be considered to belong to the segment.
    attributeName string
    (String) Attribute name.
    operator string
    (String) Operator to be used for the evaluation if the entity belongs to the segment.
    values string[]
    (String) List of values. Entities matching any of the given values will be considered to belong to the segment.
    attribute_name str
    (String) Attribute name.
    operator str
    (String) Operator to be used for the evaluation if the entity belongs to the segment.
    values Sequence[str]
    (String) List of values. Entities matching any of the given values will be considered to belong to the segment.
    attributeName String
    (String) Attribute name.
    operator String
    (String) Operator to be used for the evaluation if the entity belongs to the segment.
    values List<String>
    (String) List of values. Entities matching any of the given values will be considered to belong to the segment.

    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.77.1 published on Monday, Apr 14, 2025 by ibm-cloud