1. Registry
  2. Packages
  3. Cloudfoundry Provider
  4. API Docs
  5. getOrgQuotas
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 org quotas present in a Cloud Foundry org

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as cloudfoundry from "@pulumi/cloudfoundry";
    
    const org_quotas = cloudfoundry.getOrgQuotas({
        org: "02c0cc92-6ecc-44b1-b7b2-096ca19ee143",
    });
    
    import pulumi
    import pulumi_cloudfoundry as cloudfoundry
    
    org_quotas = cloudfoundry.get_org_quotas(org="02c0cc92-6ecc-44b1-b7b2-096ca19ee143")
    
    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.GetOrgQuotas(ctx, &cloudfoundry.GetOrgQuotasArgs{
    			Org: "02c0cc92-6ecc-44b1-b7b2-096ca19ee143",
    		}, 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 org_quotas = Cloudfoundry.GetOrgQuotas.Invoke(new()
        {
            Org = "02c0cc92-6ecc-44b1-b7b2-096ca19ee143",
        });
    
    });
    
    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.GetOrgQuotasArgs;
    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 org-quotas = CloudfoundryFunctions.getOrgQuotas(GetOrgQuotasArgs.builder()
                .org("02c0cc92-6ecc-44b1-b7b2-096ca19ee143")
                .build());
    
        }
    }
    
    variables:
      org-quotas:
        fn::invoke:
          function: cloudfoundry:getOrgQuotas
          arguments:
            org: 02c0cc92-6ecc-44b1-b7b2-096ca19ee143
    
    Example coming soon!
    

    Using getOrgQuotas

    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 getOrgQuotas(args: GetOrgQuotasArgs, opts?: InvokeOptions): Promise<GetOrgQuotasResult>
    function getOrgQuotasOutput(args: GetOrgQuotasOutputArgs, opts?: InvokeOutputOptions): Output<GetOrgQuotasResult>
    def get_org_quotas(org: Optional[str] = None,
                       opts: Optional[InvokeOptions] = None) -> GetOrgQuotasResult
    def get_org_quotas_output(org: pulumi.Input[Optional[str]] = None,
                       opts: Optional[InvokeOutputOptions] = None) -> Output[GetOrgQuotasResult]
    func GetOrgQuotas(ctx *Context, args *GetOrgQuotasArgs, opts ...InvokeOption) (*GetOrgQuotasResult, error)
    func GetOrgQuotasOutput(ctx *Context, args *GetOrgQuotasOutputArgs, opts ...InvokeOption) GetOrgQuotasResultOutput

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

    public static class GetOrgQuotas 
    {
        public static Task<GetOrgQuotasResult> InvokeAsync(GetOrgQuotasArgs args, InvokeOptions? opts = null)
        public static Output<GetOrgQuotasResult> Invoke(GetOrgQuotasInvokeArgs args, InvokeOptions? opts = null)
        public static Output<GetOrgQuotasResult> Invoke(GetOrgQuotasInvokeArgs args, InvokeOutputOptions opts)
    }
    public static CompletableFuture<GetOrgQuotasResult> getOrgQuotas(GetOrgQuotasArgs args, InvokeOptions options)
    public static Output<GetOrgQuotasResult> getOrgQuotas(GetOrgQuotasArgs args, InvokeOptions options)
    public static Output<GetOrgQuotasResult> getOrgQuotas(GetOrgQuotasArgs args, InvokeOutputOptions options)
    
    fn::invoke:
      function: cloudfoundry:index/getOrgQuotas:getOrgQuotas
      arguments:
        # arguments dictionary
    data "cloudfoundry_get_org_quotas" "name" {
        # arguments
    }

    The following arguments are supported:

    Org string
    The ID of the Org within which to find the org quotas
    Org string
    The ID of the Org within which to find the org quotas
    org string
    The ID of the Org within which to find the org quotas
    org String
    The ID of the Org within which to find the org quotas
    org string
    The ID of the Org within which to find the org quotas
    org str
    The ID of the Org within which to find the org quotas
    org String
    The ID of the Org within which to find the org quotas

    getOrgQuotas Result

    The following output properties are available:

    Id string
    The provider-assigned unique ID for this managed resource.
    Org string
    The ID of the Org within which to find the org quotas
    OrgQuotas List<GetOrgQuotasOrgQuota>
    The list of org quotas
    Id string
    The provider-assigned unique ID for this managed resource.
    Org string
    The ID of the Org within which to find the org quotas
    OrgQuotas []GetOrgQuotasOrgQuota
    The list of org quotas
    id string
    The provider-assigned unique ID for this managed resource.
    org string
    The ID of the Org within which to find the org quotas
    org_quotas list(object)
    The list of org quotas
    id String
    The provider-assigned unique ID for this managed resource.
    org String
    The ID of the Org within which to find the org quotas
    orgQuotas List<GetOrgQuotasOrgQuota>
    The list of org quotas
    id string
    The provider-assigned unique ID for this managed resource.
    org string
    The ID of the Org within which to find the org quotas
    orgQuotas GetOrgQuotasOrgQuota[]
    The list of org quotas
    id str
    The provider-assigned unique ID for this managed resource.
    org str
    The ID of the Org within which to find the org quotas
    org_quotas Sequence[GetOrgQuotasOrgQuota]
    The list of org quotas
    id String
    The provider-assigned unique ID for this managed resource.
    org String
    The ID of the Org within which to find the org quotas
    orgQuotas List<Property Map>
    The list of org quotas

    Supporting Types

    GetOrgQuotasOrgQuota

    AllowPaidServicePlans bool
    Determines whether users can provision instances of non-free service plans. Does not control plan visibility. When false, non-free service plans may be visible in the marketplace but instances can not be provisioned.
    CreatedAt string
    The date and time when the resource was created in RFC3339 format.
    Id string
    The GUID of the object.
    InstanceMemory double
    Maximum memory per application instance
    Name string
    The name of the organization quota
    Orgs List<string>
    Set of Org GUIDs to which this org quota would be assigned.
    TotalAppInstances double
    Maximum app instances allowed
    TotalAppLogRateLimit double
    Maximum log rate allowed for all the started processes and running tasks in bytes/second.
    TotalAppTasks double
    Maximum tasks allowed per app
    TotalMemory double
    Maximum memory usage allowed
    TotalPrivateDomains double
    Maximum number of private domains allowed to be created within the Org
    TotalRoutePorts double
    Maximum routes with reserved ports
    TotalRoutes double
    Maximum routes allowed
    TotalServiceKeys double
    Maximum service keys allowed
    TotalServices double
    Maximum services allowed
    UpdatedAt string
    The date and time when the resource was updated in RFC3339 format.
    AllowPaidServicePlans bool
    Determines whether users can provision instances of non-free service plans. Does not control plan visibility. When false, non-free service plans may be visible in the marketplace but instances can not be provisioned.
    CreatedAt string
    The date and time when the resource was created in RFC3339 format.
    Id string
    The GUID of the object.
    InstanceMemory float64
    Maximum memory per application instance
    Name string
    The name of the organization quota
    Orgs []string
    Set of Org GUIDs to which this org quota would be assigned.
    TotalAppInstances float64
    Maximum app instances allowed
    TotalAppLogRateLimit float64
    Maximum log rate allowed for all the started processes and running tasks in bytes/second.
    TotalAppTasks float64
    Maximum tasks allowed per app
    TotalMemory float64
    Maximum memory usage allowed
    TotalPrivateDomains float64
    Maximum number of private domains allowed to be created within the Org
    TotalRoutePorts float64
    Maximum routes with reserved ports
    TotalRoutes float64
    Maximum routes allowed
    TotalServiceKeys float64
    Maximum service keys allowed
    TotalServices float64
    Maximum services allowed
    UpdatedAt string
    The date and time when the resource was updated in RFC3339 format.
    allow_paid_service_plans bool
    Determines whether users can provision instances of non-free service plans. Does not control plan visibility. When false, non-free service plans may be visible in the marketplace but instances can not be provisioned.
    created_at string
    The date and time when the resource was created in RFC3339 format.
    id string
    The GUID of the object.
    instance_memory number
    Maximum memory per application instance
    name string
    The name of the organization quota
    orgs list(string)
    Set of Org GUIDs to which this org quota would be assigned.
    total_app_instances number
    Maximum app instances allowed
    total_app_log_rate_limit number
    Maximum log rate allowed for all the started processes and running tasks in bytes/second.
    total_app_tasks number
    Maximum tasks allowed per app
    total_memory number
    Maximum memory usage allowed
    total_private_domains number
    Maximum number of private domains allowed to be created within the Org
    total_route_ports number
    Maximum routes with reserved ports
    total_routes number
    Maximum routes allowed
    total_service_keys number
    Maximum service keys allowed
    total_services number
    Maximum services allowed
    updated_at string
    The date and time when the resource was updated in RFC3339 format.
    allowPaidServicePlans Boolean
    Determines whether users can provision instances of non-free service plans. Does not control plan visibility. When false, non-free service plans may be visible in the marketplace but instances can not be provisioned.
    createdAt String
    The date and time when the resource was created in RFC3339 format.
    id String
    The GUID of the object.
    instanceMemory Double
    Maximum memory per application instance
    name String
    The name of the organization quota
    orgs List<String>
    Set of Org GUIDs to which this org quota would be assigned.
    totalAppInstances Double
    Maximum app instances allowed
    totalAppLogRateLimit Double
    Maximum log rate allowed for all the started processes and running tasks in bytes/second.
    totalAppTasks Double
    Maximum tasks allowed per app
    totalMemory Double
    Maximum memory usage allowed
    totalPrivateDomains Double
    Maximum number of private domains allowed to be created within the Org
    totalRoutePorts Double
    Maximum routes with reserved ports
    totalRoutes Double
    Maximum routes allowed
    totalServiceKeys Double
    Maximum service keys allowed
    totalServices Double
    Maximum services allowed
    updatedAt String
    The date and time when the resource was updated in RFC3339 format.
    allowPaidServicePlans boolean
    Determines whether users can provision instances of non-free service plans. Does not control plan visibility. When false, non-free service plans may be visible in the marketplace but instances can not be provisioned.
    createdAt string
    The date and time when the resource was created in RFC3339 format.
    id string
    The GUID of the object.
    instanceMemory number
    Maximum memory per application instance
    name string
    The name of the organization quota
    orgs string[]
    Set of Org GUIDs to which this org quota would be assigned.
    totalAppInstances number
    Maximum app instances allowed
    totalAppLogRateLimit number
    Maximum log rate allowed for all the started processes and running tasks in bytes/second.
    totalAppTasks number
    Maximum tasks allowed per app
    totalMemory number
    Maximum memory usage allowed
    totalPrivateDomains number
    Maximum number of private domains allowed to be created within the Org
    totalRoutePorts number
    Maximum routes with reserved ports
    totalRoutes number
    Maximum routes allowed
    totalServiceKeys number
    Maximum service keys allowed
    totalServices number
    Maximum services allowed
    updatedAt string
    The date and time when the resource was updated in RFC3339 format.
    allow_paid_service_plans bool
    Determines whether users can provision instances of non-free service plans. Does not control plan visibility. When false, non-free service plans may be visible in the marketplace but instances can not be provisioned.
    created_at str
    The date and time when the resource was created in RFC3339 format.
    id str
    The GUID of the object.
    instance_memory float
    Maximum memory per application instance
    name str
    The name of the organization quota
    orgs Sequence[str]
    Set of Org GUIDs to which this org quota would be assigned.
    total_app_instances float
    Maximum app instances allowed
    total_app_log_rate_limit float
    Maximum log rate allowed for all the started processes and running tasks in bytes/second.
    total_app_tasks float
    Maximum tasks allowed per app
    total_memory float
    Maximum memory usage allowed
    total_private_domains float
    Maximum number of private domains allowed to be created within the Org
    total_route_ports float
    Maximum routes with reserved ports
    total_routes float
    Maximum routes allowed
    total_service_keys float
    Maximum service keys allowed
    total_services float
    Maximum services allowed
    updated_at str
    The date and time when the resource was updated in RFC3339 format.
    allowPaidServicePlans Boolean
    Determines whether users can provision instances of non-free service plans. Does not control plan visibility. When false, non-free service plans may be visible in the marketplace but instances can not be provisioned.
    createdAt String
    The date and time when the resource was created in RFC3339 format.
    id String
    The GUID of the object.
    instanceMemory Number
    Maximum memory per application instance
    name String
    The name of the organization quota
    orgs List<String>
    Set of Org GUIDs to which this org quota would be assigned.
    totalAppInstances Number
    Maximum app instances allowed
    totalAppLogRateLimit Number
    Maximum log rate allowed for all the started processes and running tasks in bytes/second.
    totalAppTasks Number
    Maximum tasks allowed per app
    totalMemory Number
    Maximum memory usage allowed
    totalPrivateDomains Number
    Maximum number of private domains allowed to be created within the Org
    totalRoutePorts Number
    Maximum routes with reserved ports
    totalRoutes Number
    Maximum routes allowed
    totalServiceKeys Number
    Maximum service keys allowed
    totalServices Number
    Maximum services allowed
    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.18.0
    published on Monday, Nov 2, 2026 by cloudfoundry

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial