1. Registry
  2. Packages
  3. Cloudfoundry Provider
  4. API Docs
  5. getIsolationSegmentEntitlement
Viewing docs for cloudfoundry 1.18.0
published on Monday, Nov 2, 2026 by cloudfoundry
cloudfoundry
Viewing docs for cloudfoundry 1.18.0
published on Monday, Nov 2, 2026 by cloudfoundry

    Fetches organizations entitled with a Cloud Foundry Isolation Segment.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as cloudfoundry from "@pulumi/cloudfoundry";
    
    const isosegment = cloudfoundry.getIsolationSegmentEntitlement({
        segment: "63ae51b9-9073-4409-81b0-3704b8de85dd",
    });
    
    import pulumi
    import pulumi_cloudfoundry as cloudfoundry
    
    isosegment = cloudfoundry.get_isolation_segment_entitlement(segment="63ae51b9-9073-4409-81b0-3704b8de85dd")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/cloudfoundry/cloudfoundry"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := cloudfoundry.LookupIsolationSegmentEntitlement(ctx, &cloudfoundry.LookupIsolationSegmentEntitlementArgs{
    			Segment: "63ae51b9-9073-4409-81b0-3704b8de85dd",
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Cloudfoundry = Pulumi.Cloudfoundry;
    
    return await Deployment.RunAsync(() => 
    {
        var isosegment = Cloudfoundry.GetIsolationSegmentEntitlement.Invoke(new()
        {
            Segment = "63ae51b9-9073-4409-81b0-3704b8de85dd",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.cloudfoundry.CloudfoundryFunctions;
    import com.pulumi.cloudfoundry.inputs.GetIsolationSegmentEntitlementArgs;
    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 isosegment = CloudfoundryFunctions.getIsolationSegmentEntitlement(GetIsolationSegmentEntitlementArgs.builder()
                .segment("63ae51b9-9073-4409-81b0-3704b8de85dd")
                .build());
    
        }
    }
    
    variables:
      isosegment:
        fn::invoke:
          function: cloudfoundry:getIsolationSegmentEntitlement
          arguments:
            segment: 63ae51b9-9073-4409-81b0-3704b8de85dd
    
    Example coming soon!
    

    Using getIsolationSegmentEntitlement

    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 getIsolationSegmentEntitlement(args: GetIsolationSegmentEntitlementArgs, opts?: InvokeOptions): Promise<GetIsolationSegmentEntitlementResult>
    function getIsolationSegmentEntitlementOutput(args: GetIsolationSegmentEntitlementOutputArgs, opts?: InvokeOutputOptions): Output<GetIsolationSegmentEntitlementResult>
    def get_isolation_segment_entitlement(segment: Optional[str] = None,
                                          opts: Optional[InvokeOptions] = None) -> GetIsolationSegmentEntitlementResult
    def get_isolation_segment_entitlement_output(segment: pulumi.Input[Optional[str]] = None,
                                          opts: Optional[InvokeOutputOptions] = None) -> Output[GetIsolationSegmentEntitlementResult]
    func LookupIsolationSegmentEntitlement(ctx *Context, args *LookupIsolationSegmentEntitlementArgs, opts ...InvokeOption) (*LookupIsolationSegmentEntitlementResult, error)
    func LookupIsolationSegmentEntitlementOutput(ctx *Context, args *LookupIsolationSegmentEntitlementOutputArgs, opts ...InvokeOption) LookupIsolationSegmentEntitlementResultOutput

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

    public static class GetIsolationSegmentEntitlement 
    {
        public static Task<GetIsolationSegmentEntitlementResult> InvokeAsync(GetIsolationSegmentEntitlementArgs args, InvokeOptions? opts = null)
        public static Output<GetIsolationSegmentEntitlementResult> Invoke(GetIsolationSegmentEntitlementInvokeArgs args, InvokeOptions? opts = null)
        public static Output<GetIsolationSegmentEntitlementResult> Invoke(GetIsolationSegmentEntitlementInvokeArgs args, InvokeOutputOptions opts)
    }
    public static CompletableFuture<GetIsolationSegmentEntitlementResult> getIsolationSegmentEntitlement(GetIsolationSegmentEntitlementArgs args, InvokeOptions options)
    public static Output<GetIsolationSegmentEntitlementResult> getIsolationSegmentEntitlement(GetIsolationSegmentEntitlementArgs args, InvokeOptions options)
    public static Output<GetIsolationSegmentEntitlementResult> getIsolationSegmentEntitlement(GetIsolationSegmentEntitlementArgs args, InvokeOutputOptions options)
    
    fn::invoke:
      function: cloudfoundry:index/getIsolationSegmentEntitlement:getIsolationSegmentEntitlement
      arguments:
        # arguments dictionary
    data "cloudfoundry_get_isolation_segment_entitlement" "name" {
        # arguments
    }

    The following arguments are supported:

    Segment string
    GUID of the isolation segment
    Segment string
    GUID of the isolation segment
    segment string
    GUID of the isolation segment
    segment String
    GUID of the isolation segment
    segment string
    GUID of the isolation segment
    segment str
    GUID of the isolation segment
    segment String
    GUID of the isolation segment

    getIsolationSegmentEntitlement Result

    The following output properties are available:

    Id string
    The provider-assigned unique ID for this managed resource.
    Orgs List<string>
    GUID's of organizations the segment is entitled with.
    Segment string
    GUID of the isolation segment
    Id string
    The provider-assigned unique ID for this managed resource.
    Orgs []string
    GUID's of organizations the segment is entitled with.
    Segment string
    GUID of the isolation segment
    id string
    The provider-assigned unique ID for this managed resource.
    orgs list(string)
    GUID's of organizations the segment is entitled with.
    segment string
    GUID of the isolation segment
    id String
    The provider-assigned unique ID for this managed resource.
    orgs List<String>
    GUID's of organizations the segment is entitled with.
    segment String
    GUID of the isolation segment
    id string
    The provider-assigned unique ID for this managed resource.
    orgs string[]
    GUID's of organizations the segment is entitled with.
    segment string
    GUID of the isolation segment
    id str
    The provider-assigned unique ID for this managed resource.
    orgs Sequence[str]
    GUID's of organizations the segment is entitled with.
    segment str
    GUID of the isolation segment
    id String
    The provider-assigned unique ID for this managed resource.
    orgs List<String>
    GUID's of organizations the segment is entitled with.
    segment String
    GUID of the isolation segment

    Package Details

    Repository
    cloudfoundry cloudfoundry/terraform-provider-cloudfoundry
    License
    Notes
    This Pulumi package is based on the cloudfoundry Terraform Provider.
    cloudfoundry
    Viewing docs for cloudfoundry 1.18.0
    published on Monday, Nov 2, 2026 by cloudfoundry

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial