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
Fetches space quotas present in a Cloud Foundry org
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as cloudfoundry from "@pulumi/cloudfoundry";
const mySpaceQuotas = cloudfoundry.getSpaceQuotas({
org: "784b4cd0-4771-4e4d-9052-a07e178bae56",
});
export const quotas = mySpaceQuotas;
import pulumi
import pulumi_cloudfoundry as cloudfoundry
my_space_quotas = cloudfoundry.get_space_quotas(org="784b4cd0-4771-4e4d-9052-a07e178bae56")
pulumi.export("quotas", my_space_quotas)
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 {
mySpaceQuotas, err := cloudfoundry.GetSpaceQuotas(ctx, &cloudfoundry.GetSpaceQuotasArgs{
Org: "784b4cd0-4771-4e4d-9052-a07e178bae56",
}, nil)
if err != nil {
return err
}
ctx.Export("quotas", mySpaceQuotas)
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Cloudfoundry = Pulumi.Cloudfoundry;
return await Deployment.RunAsync(() =>
{
var mySpaceQuotas = Cloudfoundry.GetSpaceQuotas.Invoke(new()
{
Org = "784b4cd0-4771-4e4d-9052-a07e178bae56",
});
return new Dictionary<string, object?>
{
["quotas"] = mySpaceQuotas,
};
});
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.GetSpaceQuotasArgs;
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 mySpaceQuotas = CloudfoundryFunctions.getSpaceQuotas(GetSpaceQuotasArgs.builder()
.org("784b4cd0-4771-4e4d-9052-a07e178bae56")
.build());
ctx.export("quotas", mySpaceQuotas);
}
}
variables:
mySpaceQuotas:
fn::invoke:
function: cloudfoundry:getSpaceQuotas
arguments:
org: 784b4cd0-4771-4e4d-9052-a07e178bae56
outputs:
quotas: ${mySpaceQuotas}
Example coming soon!
Using getSpaceQuotas
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 getSpaceQuotas(args: GetSpaceQuotasArgs, opts?: InvokeOptions): Promise<GetSpaceQuotasResult>
function getSpaceQuotasOutput(args: GetSpaceQuotasOutputArgs, opts?: InvokeOutputOptions): Output<GetSpaceQuotasResult>def get_space_quotas(name: Optional[str] = None,
org: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetSpaceQuotasResult
def get_space_quotas_output(name: pulumi.Input[Optional[str]] = None,
org: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOutputOptions] = None) -> Output[GetSpaceQuotasResult]func GetSpaceQuotas(ctx *Context, args *GetSpaceQuotasArgs, opts ...InvokeOption) (*GetSpaceQuotasResult, error)
func GetSpaceQuotasOutput(ctx *Context, args *GetSpaceQuotasOutputArgs, opts ...InvokeOption) GetSpaceQuotasResultOutput> Note: This function is named GetSpaceQuotas in the Go SDK.
public static class GetSpaceQuotas
{
public static Task<GetSpaceQuotasResult> InvokeAsync(GetSpaceQuotasArgs args, InvokeOptions? opts = null)
public static Output<GetSpaceQuotasResult> Invoke(GetSpaceQuotasInvokeArgs args, InvokeOptions? opts = null)
public static Output<GetSpaceQuotasResult> Invoke(GetSpaceQuotasInvokeArgs args, InvokeOutputOptions opts)
}public static CompletableFuture<GetSpaceQuotasResult> getSpaceQuotas(GetSpaceQuotasArgs args, InvokeOptions options)
public static Output<GetSpaceQuotasResult> getSpaceQuotas(GetSpaceQuotasArgs args, InvokeOptions options)
public static Output<GetSpaceQuotasResult> getSpaceQuotas(GetSpaceQuotasArgs args, InvokeOutputOptions options)
fn::invoke:
function: cloudfoundry:index/getSpaceQuotas:getSpaceQuotas
arguments:
# arguments dictionarydata "cloudfoundry_get_space_quotas" "name" {
# arguments
}The following arguments are supported:
getSpaceQuotas 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 space quotas
- Space
Quotas List<GetSpace Quotas Space Quota> - The list of space quotas
- Name string
- The name of the space quota to look up
- Id string
- The provider-assigned unique ID for this managed resource.
- Org string
- The ID of the Org within which to find the space quotas
- Space
Quotas []GetSpace Quotas Space Quota - The list of space quotas
- Name string
- The name of the space quota to look up
- id string
- The provider-assigned unique ID for this managed resource.
- org string
- The ID of the Org within which to find the space quotas
- space_
quotas list(object) - The list of space quotas
- name string
- The name of the space quota to look up
- id String
- The provider-assigned unique ID for this managed resource.
- org String
- The ID of the Org within which to find the space quotas
- space
Quotas List<GetSpace Quotas Space Quota> - The list of space quotas
- name String
- The name of the space quota to look up
- id string
- The provider-assigned unique ID for this managed resource.
- org string
- The ID of the Org within which to find the space quotas
- space
Quotas GetSpace Quotas Space Quota[] - The list of space quotas
- name string
- The name of the space quota to look up
- id str
- The provider-assigned unique ID for this managed resource.
- org str
- The ID of the Org within which to find the space quotas
- space_
quotas Sequence[GetSpace Quotas Space Quota] - The list of space quotas
- name str
- The name of the space quota to look up
- id String
- The provider-assigned unique ID for this managed resource.
- org String
- The ID of the Org within which to find the space quotas
- space
Quotas List<Property Map> - The list of space quotas
- name String
- The name of the space quota to look up
Supporting Types
GetSpaceQuotasSpaceQuota
- Allow
Paid boolService Plans - Specifies whether instances of paid service plans can be created.
- Created
At string - The date and time when the resource was created in RFC3339 format.
- Id string
- The GUID of the object.
- Instance
Memory double - Maximum memory for a single process or task
- Name string
- The name of the space quota
- Org string
- The ID of the Org within which the space quota is present
- Spaces List<string>
- Set of Space GUIDs to which this space quota is assigned.
- Total
App doubleInstances - Total instances of all the started processes allowed in a space
- Total
App doubleLog Rate Limit - Total log rate limit allowed for all the started processes and running tasks in an organization
- Total
App doubleTasks - Maximum number of running tasks in a space
- Total
Memory double - Total memory allowed for all the started processes and running tasks in a space
- Total
Route doublePorts - Total number of ports that are reservable by routes in a space
- Total
Routes double - Total number of routes allowed in a space
- Total
Service doubleKeys - Total number of service keys allowed in a space
- Total
Services double - Total number of service instances allowed in a space
- Updated
At string - The date and time when the resource was updated in RFC3339 format.
- Allow
Paid boolService Plans - Specifies whether instances of paid service plans can be created.
- Created
At string - The date and time when the resource was created in RFC3339 format.
- Id string
- The GUID of the object.
- Instance
Memory float64 - Maximum memory for a single process or task
- Name string
- The name of the space quota
- Org string
- The ID of the Org within which the space quota is present
- Spaces []string
- Set of Space GUIDs to which this space quota is assigned.
- Total
App float64Instances - Total instances of all the started processes allowed in a space
- Total
App float64Log Rate Limit - Total log rate limit allowed for all the started processes and running tasks in an organization
- Total
App float64Tasks - Maximum number of running tasks in a space
- Total
Memory float64 - Total memory allowed for all the started processes and running tasks in a space
- Total
Route float64Ports - Total number of ports that are reservable by routes in a space
- Total
Routes float64 - Total number of routes allowed in a space
- Total
Service float64Keys - Total number of service keys allowed in a space
- Total
Services float64 - Total number of service instances allowed in a space
- Updated
At string - The date and time when the resource was updated in RFC3339 format.
- allow_
paid_ boolservice_ plans - Specifies whether instances of paid service plans can be created.
- 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 for a single process or task
- name string
- The name of the space quota
- org string
- The ID of the Org within which the space quota is present
- spaces list(string)
- Set of Space GUIDs to which this space quota is assigned.
- total_
app_ numberinstances - Total instances of all the started processes allowed in a space
- total_
app_ numberlog_ rate_ limit - Total log rate limit allowed for all the started processes and running tasks in an organization
- total_
app_ numbertasks - Maximum number of running tasks in a space
- total_
memory number - Total memory allowed for all the started processes and running tasks in a space
- total_
route_ numberports - Total number of ports that are reservable by routes in a space
- total_
routes number - Total number of routes allowed in a space
- total_
service_ numberkeys - Total number of service keys allowed in a space
- total_
services number - Total number of service instances allowed in a space
- updated_
at string - The date and time when the resource was updated in RFC3339 format.
- allow
Paid BooleanService Plans - Specifies whether instances of paid service plans can be created.
- created
At String - The date and time when the resource was created in RFC3339 format.
- id String
- The GUID of the object.
- instance
Memory Double - Maximum memory for a single process or task
- name String
- The name of the space quota
- org String
- The ID of the Org within which the space quota is present
- spaces List<String>
- Set of Space GUIDs to which this space quota is assigned.
- total
App DoubleInstances - Total instances of all the started processes allowed in a space
- total
App DoubleLog Rate Limit - Total log rate limit allowed for all the started processes and running tasks in an organization
- total
App DoubleTasks - Maximum number of running tasks in a space
- total
Memory Double - Total memory allowed for all the started processes and running tasks in a space
- total
Route DoublePorts - Total number of ports that are reservable by routes in a space
- total
Routes Double - Total number of routes allowed in a space
- total
Service DoubleKeys - Total number of service keys allowed in a space
- total
Services Double - Total number of service instances allowed in a space
- updated
At String - The date and time when the resource was updated in RFC3339 format.
- allow
Paid booleanService Plans - Specifies whether instances of paid service plans can be created.
- 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 for a single process or task
- name string
- The name of the space quota
- org string
- The ID of the Org within which the space quota is present
- spaces string[]
- Set of Space GUIDs to which this space quota is assigned.
- total
App numberInstances - Total instances of all the started processes allowed in a space
- total
App numberLog Rate Limit - Total log rate limit allowed for all the started processes and running tasks in an organization
- total
App numberTasks - Maximum number of running tasks in a space
- total
Memory number - Total memory allowed for all the started processes and running tasks in a space
- total
Route numberPorts - Total number of ports that are reservable by routes in a space
- total
Routes number - Total number of routes allowed in a space
- total
Service numberKeys - Total number of service keys allowed in a space
- total
Services number - Total number of service instances allowed in a space
- updated
At string - The date and time when the resource was updated in RFC3339 format.
- allow_
paid_ boolservice_ plans - Specifies whether instances of paid service plans can be created.
- 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 for a single process or task
- name str
- The name of the space quota
- org str
- The ID of the Org within which the space quota is present
- spaces Sequence[str]
- Set of Space GUIDs to which this space quota is assigned.
- total_
app_ floatinstances - Total instances of all the started processes allowed in a space
- total_
app_ floatlog_ rate_ limit - Total log rate limit allowed for all the started processes and running tasks in an organization
- total_
app_ floattasks - Maximum number of running tasks in a space
- total_
memory float - Total memory allowed for all the started processes and running tasks in a space
- total_
route_ floatports - Total number of ports that are reservable by routes in a space
- total_
routes float - Total number of routes allowed in a space
- total_
service_ floatkeys - Total number of service keys allowed in a space
- total_
services float - Total number of service instances allowed in a space
- updated_
at str - The date and time when the resource was updated in RFC3339 format.
- allow
Paid BooleanService Plans - Specifies whether instances of paid service plans can be created.
- 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 for a single process or task
- name String
- The name of the space quota
- org String
- The ID of the Org within which the space quota is present
- spaces List<String>
- Set of Space GUIDs to which this space quota is assigned.
- total
App NumberInstances - Total instances of all the started processes allowed in a space
- total
App NumberLog Rate Limit - Total log rate limit allowed for all the started processes and running tasks in an organization
- total
App NumberTasks - Maximum number of running tasks in a space
- total
Memory Number - Total memory allowed for all the started processes and running tasks in a space
- total
Route NumberPorts - Total number of ports that are reservable by routes in a space
- total
Routes Number - Total number of routes allowed in a space
- total
Service NumberKeys - Total number of service keys allowed in a space
- total
Services Number - Total number of service instances allowed in a space
- 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