ibm 1.77.1 published on Monday, Apr 14, 2025 by ibm-cloud
ibm.getAppConfigSegment
Explore with Pulumi AI
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 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.
getAppConfigSegment Result
The following output properties are available:
- Created
Time string - (Timestamp) Creation time of the segment.
- Description string
- (String) Segment description.
- Features
List<Get
App Config Segment Feature> - (List) List of Features associated with the segment.
- Guid string
- Href string
- (String) Segment URL.
- Id string
- Name string
- (String) Property Name.
- Properties
List<Get
App Config Segment Property> - (List) List of properties associated with the segment.
- Rules
List<Get
App Config Segment Rule> - (String) List of rules that determine if the entity belongs to the segment during feature / property evaluation.
- Segment
Id string - (String) Segment id.
- string
- (String) Tags associated with the segments.
- Updated
Time string - (Timestamp) Last modified time of the segment data.
- Includes List<string>
- Created
Time string - (Timestamp) Creation time of the segment.
- Description string
- (String) Segment description.
- Features
[]Get
App Config Segment Feature - (List) List of Features associated with the segment.
- Guid string
- Href string
- (String) Segment URL.
- Id string
- Name string
- (String) Property Name.
- Properties
[]Get
App Config Segment Property - (List) List of properties associated with the segment.
- Rules
[]Get
App Config Segment Rule - (String) List of rules that determine if the entity belongs to the segment during feature / property evaluation.
- Segment
Id string - (String) Segment id.
- string
- (String) Tags associated with the segments.
- Updated
Time string - (Timestamp) Last modified time of the segment data.
- Includes []string
- created
Time String - (Timestamp) Creation time of the segment.
- description String
- (String) Segment description.
- features
List<Get
App Config Segment Feature> - (List) List of Features associated with the segment.
- guid String
- href String
- (String) Segment URL.
- id String
- name String
- (String) Property Name.
- properties
List<Get
App Config Segment Property> - (List) List of properties associated with the segment.
- rules
List<Get
App Config Segment Rule> - (String) List of rules that determine if the entity belongs to the segment during feature / property evaluation.
- segment
Id String - (String) Segment id.
- String
- (String) Tags associated with the segments.
- updated
Time String - (Timestamp) Last modified time of the segment data.
- includes List<String>
- created
Time string - (Timestamp) Creation time of the segment.
- description string
- (String) Segment description.
- features
Get
App Config Segment Feature[] - (List) List of Features associated with the segment.
- guid string
- href string
- (String) Segment URL.
- id string
- name string
- (String) Property Name.
- properties
Get
App Config Segment Property[] - (List) List of properties associated with the segment.
- rules
Get
App Config Segment Rule[] - (String) List of rules that determine if the entity belongs to the segment during feature / property evaluation.
- segment
Id string - (String) Segment id.
- string
- (String) Tags associated with the segments.
- updated
Time 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[Get
App Config Segment Feature] - (List) List of Features associated with the segment.
- guid str
- href str
- (String) Segment URL.
- id str
- name str
- (String) Property Name.
- properties
Sequence[Get
App Config Segment Property] - (List) List of properties associated with the segment.
- rules
Sequence[Get
App Config Segment Rule] - (String) List of rules that determine if the entity belongs to the segment during feature / property evaluation.
- segment_
id str - (String) Segment id.
- str
- (String) Tags associated with the segments.
- updated_
time str - (Timestamp) Last modified time of the segment data.
- includes Sequence[str]
- created
Time 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.
- segment
Id String - (String) Segment id.
- String
- (String) Tags associated with the segments.
- updated
Time String - (Timestamp) Last modified time of the segment data.
- includes List<String>
Supporting Types
GetAppConfigSegmentFeature
- feature_
id str - (String) Feature Id.
- name str
- (String) Property Name.
GetAppConfigSegmentProperty
- Name string
- (String) Property Name.
- Property
Id string - (String) Property Id.
- Name string
- (String) Property Name.
- Property
Id string - (String) Property Id.
- name String
- (String) Property Name.
- property
Id String - (String) Property Id.
- name string
- (String) Property Name.
- property
Id string - (String) Property Id.
- name str
- (String) Property Name.
- property_
id str - (String) Property Id.
- name String
- (String) Property Name.
- property
Id String - (String) Property Id.
GetAppConfigSegmentRule
- Attribute
Name 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.
- Attribute
Name 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 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.
- attribute
Name 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.
- attribute
Name 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.