1. Registry
  2. Packages
  3. Cloudfoundry Provider
  4. API Docs
  5. getIsolationSegments
Viewing docs for cloudfoundry 1.19.0
published on Friday, Nov 13, 2026 by cloudfoundry
cloudfoundry
Viewing docs for cloudfoundry 1.19.0
published on Friday, Nov 13, 2026 by cloudfoundry

    Gets information on Cloud Foundry Isolation Segments present.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as cloudfoundry from "@pulumi/cloudfoundry";
    
    const isosegments = cloudfoundry.getIsolationSegments({
        name: "hifi",
    });
    
    import pulumi
    import pulumi_cloudfoundry as cloudfoundry
    
    isosegments = cloudfoundry.get_isolation_segments(name="hifi")
    
    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.GetIsolationSegments(ctx, &cloudfoundry.GetIsolationSegmentsArgs{
    			Name: pulumi.StringRef("hifi"),
    		}, 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 isosegments = Cloudfoundry.GetIsolationSegments.Invoke(new()
        {
            Name = "hifi",
        });
    
    });
    
    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.GetIsolationSegmentsArgs;
    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 isosegments = CloudfoundryFunctions.getIsolationSegments(GetIsolationSegmentsArgs.builder()
                .name("hifi")
                .build());
    
        }
    }
    
    variables:
      isosegments:
        fn::invoke:
          function: cloudfoundry:getIsolationSegments
          arguments:
            name: hifi
    
    Example coming soon!
    

    Using getIsolationSegments

    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 getIsolationSegments(args: GetIsolationSegmentsArgs, opts?: InvokeOptions): Promise<GetIsolationSegmentsResult>
    function getIsolationSegmentsOutput(args: GetIsolationSegmentsOutputArgs, opts?: InvokeOutputOptions): Output<GetIsolationSegmentsResult>
    def get_isolation_segments(name: Optional[str] = None,
                               opts: Optional[InvokeOptions] = None) -> GetIsolationSegmentsResult
    def get_isolation_segments_output(name: pulumi.Input[Optional[str]] = None,
                               opts: Optional[InvokeOutputOptions] = None) -> Output[GetIsolationSegmentsResult]
    func GetIsolationSegments(ctx *Context, args *GetIsolationSegmentsArgs, opts ...InvokeOption) (*GetIsolationSegmentsResult, error)
    func GetIsolationSegmentsOutput(ctx *Context, args *GetIsolationSegmentsOutputArgs, opts ...InvokeOption) GetIsolationSegmentsResultOutput

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

    public static class GetIsolationSegments 
    {
        public static Task<GetIsolationSegmentsResult> InvokeAsync(GetIsolationSegmentsArgs args, InvokeOptions? opts = null)
        public static Output<GetIsolationSegmentsResult> Invoke(GetIsolationSegmentsInvokeArgs args, InvokeOptions? opts = null)
        public static Output<GetIsolationSegmentsResult> Invoke(GetIsolationSegmentsInvokeArgs args, InvokeOutputOptions opts)
    }
    public static CompletableFuture<GetIsolationSegmentsResult> getIsolationSegments(GetIsolationSegmentsArgs args, InvokeOptions options)
    public static Output<GetIsolationSegmentsResult> getIsolationSegments(GetIsolationSegmentsArgs args, InvokeOptions options)
    public static Output<GetIsolationSegmentsResult> getIsolationSegments(GetIsolationSegmentsArgs args, InvokeOutputOptions options)
    
    fn::invoke:
      function: cloudfoundry:index/getIsolationSegments:getIsolationSegments
      arguments:
        # arguments dictionary
    data "cloudfoundry_get_isolation_segments" "name" {
        # arguments
    }

    The following arguments are supported:

    Name string
    Name of the isolation segment to filter by
    Name string
    Name of the isolation segment to filter by
    name string
    Name of the isolation segment to filter by
    name String
    Name of the isolation segment to filter by
    name string
    Name of the isolation segment to filter by
    name str
    Name of the isolation segment to filter by
    name String
    Name of the isolation segment to filter by

    getIsolationSegments Result

    The following output properties are available:

    Id string
    The provider-assigned unique ID for this managed resource.
    IsolationSegments List<GetIsolationSegmentsIsolationSegment>
    List of the isolation segments
    Name string
    Name of the isolation segment to filter by
    Id string
    The provider-assigned unique ID for this managed resource.
    IsolationSegments []GetIsolationSegmentsIsolationSegment
    List of the isolation segments
    Name string
    Name of the isolation segment to filter by
    id string
    The provider-assigned unique ID for this managed resource.
    isolation_segments list(object)
    List of the isolation segments
    name string
    Name of the isolation segment to filter by
    id String
    The provider-assigned unique ID for this managed resource.
    isolationSegments List<GetIsolationSegmentsIsolationSegment>
    List of the isolation segments
    name String
    Name of the isolation segment to filter by
    id string
    The provider-assigned unique ID for this managed resource.
    isolationSegments GetIsolationSegmentsIsolationSegment[]
    List of the isolation segments
    name string
    Name of the isolation segment to filter by
    id str
    The provider-assigned unique ID for this managed resource.
    isolation_segments Sequence[GetIsolationSegmentsIsolationSegment]
    List of the isolation segments
    name str
    Name of the isolation segment to filter by
    id String
    The provider-assigned unique ID for this managed resource.
    isolationSegments List<Property Map>
    List of the isolation segments
    name String
    Name of the isolation segment to filter by

    Supporting Types

    GetIsolationSegmentsIsolationSegment

    Annotations Dictionary<string, string>
    The annotations associated with Cloud Foundry resources.
    CreatedAt string
    The date and time when the resource was created in RFC3339 format.
    Id string
    The GUID of the object.
    Labels Dictionary<string, string>
    The labels associated with Cloud Foundry resources.
    Name string
    Name of the isolation segment
    UpdatedAt string
    The date and time when the resource was updated in RFC3339 format.
    Annotations map[string]string
    The annotations associated with Cloud Foundry resources.
    CreatedAt string
    The date and time when the resource was created in RFC3339 format.
    Id string
    The GUID of the object.
    Labels map[string]string
    The labels associated with Cloud Foundry resources.
    Name string
    Name of the isolation segment
    UpdatedAt string
    The date and time when the resource was updated in RFC3339 format.
    annotations map(string)
    The annotations associated with Cloud Foundry resources.
    created_at string
    The date and time when the resource was created in RFC3339 format.
    id string
    The GUID of the object.
    labels map(string)
    The labels associated with Cloud Foundry resources.
    name string
    Name of the isolation segment
    updated_at string
    The date and time when the resource was updated in RFC3339 format.
    annotations Map<String,String>
    The annotations associated with Cloud Foundry resources.
    createdAt String
    The date and time when the resource was created in RFC3339 format.
    id String
    The GUID of the object.
    labels Map<String,String>
    The labels associated with Cloud Foundry resources.
    name String
    Name of the isolation segment
    updatedAt String
    The date and time when the resource was updated in RFC3339 format.
    annotations {[key: string]: string}
    The annotations associated with Cloud Foundry resources.
    createdAt string
    The date and time when the resource was created in RFC3339 format.
    id string
    The GUID of the object.
    labels {[key: string]: string}
    The labels associated with Cloud Foundry resources.
    name string
    Name of the isolation segment
    updatedAt string
    The date and time when the resource was updated in RFC3339 format.
    annotations Mapping[str, str]
    The annotations associated with Cloud Foundry resources.
    created_at str
    The date and time when the resource was created in RFC3339 format.
    id str
    The GUID of the object.
    labels Mapping[str, str]
    The labels associated with Cloud Foundry resources.
    name str
    Name of the isolation segment
    updated_at str
    The date and time when the resource was updated in RFC3339 format.
    annotations Map<String>
    The annotations associated with Cloud Foundry resources.
    createdAt String
    The date and time when the resource was created in RFC3339 format.
    id String
    The GUID of the object.
    labels Map<String>
    The labels associated with Cloud Foundry resources.
    name String
    Name of the isolation segment
    updatedAt String
    The date and time when the resource was updated in RFC3339 format.

    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.19.0
    published on Friday, Nov 13, 2026 by cloudfoundry

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial