Viewing docs for cloudfoundry 1.19.0
published on Friday, Nov 13, 2026 by cloudfoundry
published on Friday, Nov 13, 2026 by cloudfoundry
cloudfoundry
Viewing docs for cloudfoundry 1.19.0
published on Friday, Nov 13, 2026 by cloudfoundry
published on Friday, Nov 13, 2026 by cloudfoundry
Gets information of Cloud Foundry domains. If an organization is specified, it will return the private domains associated with that cloud foundry organization.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as cloudfoundry from "@pulumi/cloudfoundry";
const all = cloudfoundry.getDomains({
org: "784b4cd0-4771-4e4d-9052-a07e178bae56",
});
import pulumi
import pulumi_cloudfoundry as cloudfoundry
all = cloudfoundry.get_domains(org="784b4cd0-4771-4e4d-9052-a07e178bae56")
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.GetDomains(ctx, &cloudfoundry.GetDomainsArgs{
Org: pulumi.StringRef("784b4cd0-4771-4e4d-9052-a07e178bae56"),
}, 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 all = Cloudfoundry.GetDomains.Invoke(new()
{
Org = "784b4cd0-4771-4e4d-9052-a07e178bae56",
});
});
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.GetDomainsArgs;
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 all = CloudfoundryFunctions.getDomains(GetDomainsArgs.builder()
.org("784b4cd0-4771-4e4d-9052-a07e178bae56")
.build());
}
}
variables:
all:
fn::invoke:
function: cloudfoundry:getDomains
arguments:
org: 784b4cd0-4771-4e4d-9052-a07e178bae56
Example coming soon!
Using getDomains
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 getDomains(args: GetDomainsArgs, opts?: InvokeOptions): Promise<GetDomainsResult>
function getDomainsOutput(args: GetDomainsOutputArgs, opts?: InvokeOutputOptions): Output<GetDomainsResult>def get_domains(org: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetDomainsResult
def get_domains_output(org: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOutputOptions] = None) -> Output[GetDomainsResult]func GetDomains(ctx *Context, args *GetDomainsArgs, opts ...InvokeOption) (*GetDomainsResult, error)
func GetDomainsOutput(ctx *Context, args *GetDomainsOutputArgs, opts ...InvokeOption) GetDomainsResultOutput> Note: This function is named GetDomains in the Go SDK.
public static class GetDomains
{
public static Task<GetDomainsResult> InvokeAsync(GetDomainsArgs args, InvokeOptions? opts = null)
public static Output<GetDomainsResult> Invoke(GetDomainsInvokeArgs args, InvokeOptions? opts = null)
public static Output<GetDomainsResult> Invoke(GetDomainsInvokeArgs args, InvokeOutputOptions opts)
}public static CompletableFuture<GetDomainsResult> getDomains(GetDomainsArgs args, InvokeOptions options)
public static Output<GetDomainsResult> getDomains(GetDomainsArgs args, InvokeOptions options)
public static Output<GetDomainsResult> getDomains(GetDomainsArgs args, InvokeOutputOptions options)
fn::invoke:
function: cloudfoundry:index/getDomains:getDomains
arguments:
# arguments dictionarydata "cloudfoundry_get_domains" "name" {
# arguments
}The following arguments are supported:
- Org string
- The ID of the Org within which to find the domains
- Org string
- The ID of the Org within which to find the domains
- org string
- The ID of the Org within which to find the domains
- org String
- The ID of the Org within which to find the domains
- org string
- The ID of the Org within which to find the domains
- org str
- The ID of the Org within which to find the domains
- org String
- The ID of the Org within which to find the domains
getDomains Result
The following output properties are available:
- Domains
List<Get
Domains Domain> - The domains the organization is scoped to
- Id string
- The provider-assigned unique ID for this managed resource.
- Org string
- The ID of the Org within which to find the domains
- Domains
[]Get
Domains Domain - The domains the organization is scoped to
- Id string
- The provider-assigned unique ID for this managed resource.
- Org string
- The ID of the Org within which to find the domains
- domains list(object)
- The domains the organization is scoped to
- id string
- The provider-assigned unique ID for this managed resource.
- org string
- The ID of the Org within which to find the domains
- domains
List<Get
Domains Domain> - The domains the organization is scoped to
- id String
- The provider-assigned unique ID for this managed resource.
- org String
- The ID of the Org within which to find the domains
- domains
Get
Domains Domain[] - The domains the organization is scoped to
- id string
- The provider-assigned unique ID for this managed resource.
- org string
- The ID of the Org within which to find the domains
- domains
Sequence[Get
Domains Domain] - The domains the organization is scoped to
- id str
- The provider-assigned unique ID for this managed resource.
- org str
- The ID of the Org within which to find the domains
- domains List<Property Map>
- The domains the organization is scoped to
- id String
- The provider-assigned unique ID for this managed resource.
- org String
- The ID of the Org within which to find the domains
Supporting Types
GetDomainsDomain
- Annotations Dictionary<string, 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.
- Internal bool
- Whether the domain is used for internal (container-to-container) traffic, or external (user-to-container) traffic
- Labels Dictionary<string, string>
- The labels associated with Cloud Foundry resources.
- Name string
- The name of the cloud foundry domain.
- Org string
- The organization the domain is scoped to
- Router
Group string - The guid of the desired router group to route tcp traffic through.
- List<string>
- Organizations the domain is shared with
- Supported
Protocols List<string> - Available protocols for routes using the domain, currently http and tcp
- 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.
- Created
At string - The date and time when the resource was created in RFC3339 format.
- Id string
- The GUID of the object.
- Internal bool
- Whether the domain is used for internal (container-to-container) traffic, or external (user-to-container) traffic
- Labels map[string]string
- The labels associated with Cloud Foundry resources.
- Name string
- The name of the cloud foundry domain.
- Org string
- The organization the domain is scoped to
- Router
Group string - The guid of the desired router group to route tcp traffic through.
- []string
- Organizations the domain is shared with
- Supported
Protocols []string - Available protocols for routes using the domain, currently http and tcp
- Updated
At 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.
- internal bool
- Whether the domain is used for internal (container-to-container) traffic, or external (user-to-container) traffic
- labels map(string)
- The labels associated with Cloud Foundry resources.
- name string
- The name of the cloud foundry domain.
- org string
- The organization the domain is scoped to
- router_
group string - The guid of the desired router group to route tcp traffic through.
- list(string)
- Organizations the domain is shared with
- supported_
protocols list(string) - Available protocols for routes using the domain, currently http and tcp
- 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.
- created
At String - The date and time when the resource was created in RFC3339 format.
- id String
- The GUID of the object.
- internal Boolean
- Whether the domain is used for internal (container-to-container) traffic, or external (user-to-container) traffic
- labels Map<String,String>
- The labels associated with Cloud Foundry resources.
- name String
- The name of the cloud foundry domain.
- org String
- The organization the domain is scoped to
- router
Group String - The guid of the desired router group to route tcp traffic through.
- List<String>
- Organizations the domain is shared with
- supported
Protocols List<String> - Available protocols for routes using the domain, currently http and tcp
- updated
At String - The date and time when the resource was updated in RFC3339 format.
- annotations {[key: string]: 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.
- internal boolean
- Whether the domain is used for internal (container-to-container) traffic, or external (user-to-container) traffic
- labels {[key: string]: string}
- The labels associated with Cloud Foundry resources.
- name string
- The name of the cloud foundry domain.
- org string
- The organization the domain is scoped to
- router
Group string - The guid of the desired router group to route tcp traffic through.
- string[]
- Organizations the domain is shared with
- supported
Protocols string[] - Available protocols for routes using the domain, currently http and tcp
- updated
At 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.
- internal bool
- Whether the domain is used for internal (container-to-container) traffic, or external (user-to-container) traffic
- labels Mapping[str, str]
- The labels associated with Cloud Foundry resources.
- name str
- The name of the cloud foundry domain.
- org str
- The organization the domain is scoped to
- router_
group str - The guid of the desired router group to route tcp traffic through.
- Sequence[str]
- Organizations the domain is shared with
- supported_
protocols Sequence[str] - Available protocols for routes using the domain, currently http and tcp
- 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.
- created
At String - The date and time when the resource was created in RFC3339 format.
- id String
- The GUID of the object.
- internal Boolean
- Whether the domain is used for internal (container-to-container) traffic, or external (user-to-container) traffic
- labels Map<String>
- The labels associated with Cloud Foundry resources.
- name String
- The name of the cloud foundry domain.
- org String
- The organization the domain is scoped to
- router
Group String - The guid of the desired router group to route tcp traffic through.
- List<String>
- Organizations the domain is shared with
- supported
Protocols List<String> - Available protocols for routes using the domain, currently http and tcp
- updated
At 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
cloudfoundryTerraform Provider.
cloudfoundry
Viewing docs for cloudfoundry 1.19.0
published on Friday, Nov 13, 2026 by cloudfoundry
published on Friday, Nov 13, 2026 by cloudfoundry