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 Service Plans based on the filters provided
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as cloudfoundry from "@pulumi/cloudfoundry";
const xsuaa_offering = cloudfoundry.getServicePlans({
serviceOfferingName: "xsuaa",
});
export const serviceplans = xsuaa_offering.then(xsuaa_offering => xsuaa_offering.servicePlans);
import pulumi
import pulumi_cloudfoundry as cloudfoundry
xsuaa_offering = cloudfoundry.get_service_plans(service_offering_name="xsuaa")
pulumi.export("serviceplans", xsuaa_offering.service_plans)
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 {
xsuaa_offering, err := cloudfoundry.GetServicePlans(ctx, &cloudfoundry.GetServicePlansArgs{
ServiceOfferingName: pulumi.StringRef("xsuaa"),
}, nil)
if err != nil {
return err
}
ctx.Export("serviceplans", xsuaa_offering.ServicePlans)
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Cloudfoundry = Pulumi.Cloudfoundry;
return await Deployment.RunAsync(() =>
{
var xsuaa_offering = Cloudfoundry.GetServicePlans.Invoke(new()
{
ServiceOfferingName = "xsuaa",
});
return new Dictionary<string, object?>
{
["serviceplans"] = xsuaa_offering.Apply(xsuaa_offering => xsuaa_offering.Apply(getServicePlansResult => getServicePlansResult.ServicePlans)),
};
});
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.GetServicePlansArgs;
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 xsuaa-offering = CloudfoundryFunctions.getServicePlans(GetServicePlansArgs.builder()
.serviceOfferingName("xsuaa")
.build());
ctx.export("serviceplans", xsuaa_offering.servicePlans());
}
}
variables:
xsuaa-offering:
fn::invoke:
function: cloudfoundry:getServicePlans
arguments:
serviceOfferingName: xsuaa
outputs:
serviceplans: ${["xsuaa-offering"].servicePlans}
Example coming soon!
Using getServicePlans
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 getServicePlans(args: GetServicePlansArgs, opts?: InvokeOptions): Promise<GetServicePlansResult>
function getServicePlansOutput(args: GetServicePlansOutputArgs, opts?: InvokeOutputOptions): Output<GetServicePlansResult>def get_service_plans(name: Optional[str] = None,
service_broker_name: Optional[str] = None,
service_offering_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetServicePlansResult
def get_service_plans_output(name: pulumi.Input[Optional[str]] = None,
service_broker_name: pulumi.Input[Optional[str]] = None,
service_offering_name: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOutputOptions] = None) -> Output[GetServicePlansResult]func GetServicePlans(ctx *Context, args *GetServicePlansArgs, opts ...InvokeOption) (*GetServicePlansResult, error)
func GetServicePlansOutput(ctx *Context, args *GetServicePlansOutputArgs, opts ...InvokeOption) GetServicePlansResultOutput> Note: This function is named GetServicePlans in the Go SDK.
public static class GetServicePlans
{
public static Task<GetServicePlansResult> InvokeAsync(GetServicePlansArgs args, InvokeOptions? opts = null)
public static Output<GetServicePlansResult> Invoke(GetServicePlansInvokeArgs args, InvokeOptions? opts = null)
public static Output<GetServicePlansResult> Invoke(GetServicePlansInvokeArgs args, InvokeOutputOptions opts)
}public static CompletableFuture<GetServicePlansResult> getServicePlans(GetServicePlansArgs args, InvokeOptions options)
public static Output<GetServicePlansResult> getServicePlans(GetServicePlansArgs args, InvokeOptions options)
public static Output<GetServicePlansResult> getServicePlans(GetServicePlansArgs args, InvokeOutputOptions options)
fn::invoke:
function: cloudfoundry:index/getServicePlans:getServicePlans
arguments:
# arguments dictionarydata "cloudfoundry_get_service_plans" "name" {
# arguments
}The following arguments are supported:
- Name string
- The name of the service plan to look up
- Service
Broker stringName - The name of the service broker which offers the service. Use this to filter two equally named services from different brokers.
- Service
Offering stringName - The name of the service offering for whose plans to look up
- Name string
- The name of the service plan to look up
- Service
Broker stringName - The name of the service broker which offers the service. Use this to filter two equally named services from different brokers.
- Service
Offering stringName - The name of the service offering for whose plans to look up
- name string
- The name of the service plan to look up
- service_
broker_ stringname - The name of the service broker which offers the service. Use this to filter two equally named services from different brokers.
- service_
offering_ stringname - The name of the service offering for whose plans to look up
- name String
- The name of the service plan to look up
- service
Broker StringName - The name of the service broker which offers the service. Use this to filter two equally named services from different brokers.
- service
Offering StringName - The name of the service offering for whose plans to look up
- name string
- The name of the service plan to look up
- service
Broker stringName - The name of the service broker which offers the service. Use this to filter two equally named services from different brokers.
- service
Offering stringName - The name of the service offering for whose plans to look up
- name str
- The name of the service plan to look up
- service_
broker_ strname - The name of the service broker which offers the service. Use this to filter two equally named services from different brokers.
- service_
offering_ strname - The name of the service offering for whose plans to look up
- name String
- The name of the service plan to look up
- service
Broker StringName - The name of the service broker which offers the service. Use this to filter two equally named services from different brokers.
- service
Offering StringName - The name of the service offering for whose plans to look up
getServicePlans Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Service
Plans List<GetService Plans Service Plan> - The list of the service plans
- Name string
- The name of the service plan to look up
- Service
Broker stringName - The name of the service broker which offers the service. Use this to filter two equally named services from different brokers.
- Service
Offering stringName - The name of the service offering for whose plans to look up
- Id string
- The provider-assigned unique ID for this managed resource.
- Service
Plans []GetService Plans Service Plan - The list of the service plans
- Name string
- The name of the service plan to look up
- Service
Broker stringName - The name of the service broker which offers the service. Use this to filter two equally named services from different brokers.
- Service
Offering stringName - The name of the service offering for whose plans to look up
- id string
- The provider-assigned unique ID for this managed resource.
- service_
plans list(object) - The list of the service plans
- name string
- The name of the service plan to look up
- service_
broker_ stringname - The name of the service broker which offers the service. Use this to filter two equally named services from different brokers.
- service_
offering_ stringname - The name of the service offering for whose plans to look up
- id String
- The provider-assigned unique ID for this managed resource.
- service
Plans List<GetService Plans Service Plan> - The list of the service plans
- name String
- The name of the service plan to look up
- service
Broker StringName - The name of the service broker which offers the service. Use this to filter two equally named services from different brokers.
- service
Offering StringName - The name of the service offering for whose plans to look up
- id string
- The provider-assigned unique ID for this managed resource.
- service
Plans GetService Plans Service Plan[] - The list of the service plans
- name string
- The name of the service plan to look up
- service
Broker stringName - The name of the service broker which offers the service. Use this to filter two equally named services from different brokers.
- service
Offering stringName - The name of the service offering for whose plans to look up
- id str
- The provider-assigned unique ID for this managed resource.
- service_
plans Sequence[GetService Plans Service Plan] - The list of the service plans
- name str
- The name of the service plan to look up
- service_
broker_ strname - The name of the service broker which offers the service. Use this to filter two equally named services from different brokers.
- service_
offering_ strname - The name of the service offering for whose plans to look up
- id String
- The provider-assigned unique ID for this managed resource.
- service
Plans List<Property Map> - The list of the service plans
- name String
- The name of the service plan to look up
- service
Broker StringName - The name of the service broker which offers the service. Use this to filter two equally named services from different brokers.
- service
Offering StringName - The name of the service offering for whose plans to look up
Supporting Types
GetServicePlansServicePlan
- Annotations Dictionary<string, string>
- The annotations associated with Cloud Foundry resources.
- Available bool
- Whether or not the service plan is available
- Broker
Catalog GetService Plans Service Plan Broker Catalog - This object contains information obtained from the service broker catalog
- Costs
List<Get
Service Plans Service Plan Cost> - The cost of the service plan as obtained from the service broker catalog
- Created
At string - The date and time when the resource was created in RFC3339 format.
- Description string
- Description of the service plan
- Free bool
- Whether or not the service plan is free of charge
- Id string
- The GUID of the object.
- Labels Dictionary<string, string>
- The labels associated with Cloud Foundry resources.
- Maintenance
Info GetService Plans Service Plan Maintenance Info - Information about the version of this service plan
- Name string
- Name of the service plan
- Schemas
Get
Service Plans Service Plan Schemas - Schema definitions for service instances and service bindings for the service plan
- Service
Offering string - The service offering that this service plan relates to
- Updated
At string - The date and time when the resource was updated in RFC3339 format.
- Visibility
Type string - Denotes the visibility of the plan
- Annotations map[string]string
- The annotations associated with Cloud Foundry resources.
- Available bool
- Whether or not the service plan is available
- Broker
Catalog GetService Plans Service Plan Broker Catalog - This object contains information obtained from the service broker catalog
- Costs
[]Get
Service Plans Service Plan Cost - The cost of the service plan as obtained from the service broker catalog
- Created
At string - The date and time when the resource was created in RFC3339 format.
- Description string
- Description of the service plan
- Free bool
- Whether or not the service plan is free of charge
- Id string
- The GUID of the object.
- Labels map[string]string
- The labels associated with Cloud Foundry resources.
- Maintenance
Info GetService Plans Service Plan Maintenance Info - Information about the version of this service plan
- Name string
- Name of the service plan
- Schemas
Get
Service Plans Service Plan Schemas - Schema definitions for service instances and service bindings for the service plan
- Service
Offering string - The service offering that this service plan relates to
- Updated
At string - The date and time when the resource was updated in RFC3339 format.
- Visibility
Type string - Denotes the visibility of the plan
- annotations map(string)
- The annotations associated with Cloud Foundry resources.
- available bool
- Whether or not the service plan is available
- broker_
catalog object - This object contains information obtained from the service broker catalog
- costs list(object)
- The cost of the service plan as obtained from the service broker catalog
- created_
at string - The date and time when the resource was created in RFC3339 format.
- description string
- Description of the service plan
- free bool
- Whether or not the service plan is free of charge
- id string
- The GUID of the object.
- labels map(string)
- The labels associated with Cloud Foundry resources.
- maintenance_
info object - Information about the version of this service plan
- name string
- Name of the service plan
- schemas object
- Schema definitions for service instances and service bindings for the service plan
- service_
offering string - The service offering that this service plan relates to
- updated_
at string - The date and time when the resource was updated in RFC3339 format.
- visibility_
type string - Denotes the visibility of the plan
- annotations Map<String,String>
- The annotations associated with Cloud Foundry resources.
- available Boolean
- Whether or not the service plan is available
- broker
Catalog GetService Plans Service Plan Broker Catalog - This object contains information obtained from the service broker catalog
- costs
List<Get
Service Plans Service Plan Cost> - The cost of the service plan as obtained from the service broker catalog
- created
At String - The date and time when the resource was created in RFC3339 format.
- description String
- Description of the service plan
- free Boolean
- Whether or not the service plan is free of charge
- id String
- The GUID of the object.
- labels Map<String,String>
- The labels associated with Cloud Foundry resources.
- maintenance
Info GetService Plans Service Plan Maintenance Info - Information about the version of this service plan
- name String
- Name of the service plan
- schemas
Get
Service Plans Service Plan Schemas - Schema definitions for service instances and service bindings for the service plan
- service
Offering String - The service offering that this service plan relates to
- updated
At String - The date and time when the resource was updated in RFC3339 format.
- visibility
Type String - Denotes the visibility of the plan
- annotations {[key: string]: string}
- The annotations associated with Cloud Foundry resources.
- available boolean
- Whether or not the service plan is available
- broker
Catalog GetService Plans Service Plan Broker Catalog - This object contains information obtained from the service broker catalog
- costs
Get
Service Plans Service Plan Cost[] - The cost of the service plan as obtained from the service broker catalog
- created
At string - The date and time when the resource was created in RFC3339 format.
- description string
- Description of the service plan
- free boolean
- Whether or not the service plan is free of charge
- id string
- The GUID of the object.
- labels {[key: string]: string}
- The labels associated with Cloud Foundry resources.
- maintenance
Info GetService Plans Service Plan Maintenance Info - Information about the version of this service plan
- name string
- Name of the service plan
- schemas
Get
Service Plans Service Plan Schemas - Schema definitions for service instances and service bindings for the service plan
- service
Offering string - The service offering that this service plan relates to
- updated
At string - The date and time when the resource was updated in RFC3339 format.
- visibility
Type string - Denotes the visibility of the plan
- annotations Mapping[str, str]
- The annotations associated with Cloud Foundry resources.
- available bool
- Whether or not the service plan is available
- broker_
catalog GetService Plans Service Plan Broker Catalog - This object contains information obtained from the service broker catalog
- costs
Sequence[Get
Service Plans Service Plan Cost] - The cost of the service plan as obtained from the service broker catalog
- created_
at str - The date and time when the resource was created in RFC3339 format.
- description str
- Description of the service plan
- free bool
- Whether or not the service plan is free of charge
- id str
- The GUID of the object.
- labels Mapping[str, str]
- The labels associated with Cloud Foundry resources.
- maintenance_
info GetService Plans Service Plan Maintenance Info - Information about the version of this service plan
- name str
- Name of the service plan
- schemas
Get
Service Plans Service Plan Schemas - Schema definitions for service instances and service bindings for the service plan
- service_
offering str - The service offering that this service plan relates to
- updated_
at str - The date and time when the resource was updated in RFC3339 format.
- visibility_
type str - Denotes the visibility of the plan
- annotations Map<String>
- The annotations associated with Cloud Foundry resources.
- available Boolean
- Whether or not the service plan is available
- broker
Catalog Property Map - This object contains information obtained from the service broker catalog
- costs List<Property Map>
- The cost of the service plan as obtained from the service broker catalog
- created
At String - The date and time when the resource was created in RFC3339 format.
- description String
- Description of the service plan
- free Boolean
- Whether or not the service plan is free of charge
- id String
- The GUID of the object.
- labels Map<String>
- The labels associated with Cloud Foundry resources.
- maintenance
Info Property Map - Information about the version of this service plan
- name String
- Name of the service plan
- schemas Property Map
- Schema definitions for service instances and service bindings for the service plan
- service
Offering String - The service offering that this service plan relates to
- updated
At String - The date and time when the resource was updated in RFC3339 format.
- visibility
Type String - Denotes the visibility of the plan
GetServicePlansServicePlanBrokerCatalog
- Bindable bool
- Specifies whether service instances of the service can be bound to applications
- Id string
- The identifier that the service broker provided for this service plan
- Maximum
Polling doubleDuration - The maximum number of seconds that Cloud Foundry will wait for an asynchronous service broker operation
- Metadata string
- Additional information provided by the service broker as specified by OSBAPI
- Plan
Updateable bool - Whether the service plan supports upgrade/downgrade for service plans
- Bindable bool
- Specifies whether service instances of the service can be bound to applications
- Id string
- The identifier that the service broker provided for this service plan
- Maximum
Polling float64Duration - The maximum number of seconds that Cloud Foundry will wait for an asynchronous service broker operation
- Metadata string
- Additional information provided by the service broker as specified by OSBAPI
- Plan
Updateable bool - Whether the service plan supports upgrade/downgrade for service plans
- bindable bool
- Specifies whether service instances of the service can be bound to applications
- id string
- The identifier that the service broker provided for this service plan
- maximum_
polling_ numberduration - The maximum number of seconds that Cloud Foundry will wait for an asynchronous service broker operation
- metadata string
- Additional information provided by the service broker as specified by OSBAPI
- plan_
updateable bool - Whether the service plan supports upgrade/downgrade for service plans
- bindable Boolean
- Specifies whether service instances of the service can be bound to applications
- id String
- The identifier that the service broker provided for this service plan
- maximum
Polling DoubleDuration - The maximum number of seconds that Cloud Foundry will wait for an asynchronous service broker operation
- metadata String
- Additional information provided by the service broker as specified by OSBAPI
- plan
Updateable Boolean - Whether the service plan supports upgrade/downgrade for service plans
- bindable boolean
- Specifies whether service instances of the service can be bound to applications
- id string
- The identifier that the service broker provided for this service plan
- maximum
Polling numberDuration - The maximum number of seconds that Cloud Foundry will wait for an asynchronous service broker operation
- metadata string
- Additional information provided by the service broker as specified by OSBAPI
- plan
Updateable boolean - Whether the service plan supports upgrade/downgrade for service plans
- bindable bool
- Specifies whether service instances of the service can be bound to applications
- id str
- The identifier that the service broker provided for this service plan
- maximum_
polling_ floatduration - The maximum number of seconds that Cloud Foundry will wait for an asynchronous service broker operation
- metadata str
- Additional information provided by the service broker as specified by OSBAPI
- plan_
updateable bool - Whether the service plan supports upgrade/downgrade for service plans
- bindable Boolean
- Specifies whether service instances of the service can be bound to applications
- id String
- The identifier that the service broker provided for this service plan
- maximum
Polling NumberDuration - The maximum number of seconds that Cloud Foundry will wait for an asynchronous service broker operation
- metadata String
- Additional information provided by the service broker as specified by OSBAPI
- plan
Updateable Boolean - Whether the service plan supports upgrade/downgrade for service plans
GetServicePlansServicePlanCost
GetServicePlansServicePlanMaintenanceInfo
- Description string
- A textual explanation associated with this version
- Version string
- The current semantic version of the service plan
- Description string
- A textual explanation associated with this version
- Version string
- The current semantic version of the service plan
- description string
- A textual explanation associated with this version
- version string
- The current semantic version of the service plan
- description String
- A textual explanation associated with this version
- version String
- The current semantic version of the service plan
- description string
- A textual explanation associated with this version
- version string
- The current semantic version of the service plan
- description str
- A textual explanation associated with this version
- version str
- The current semantic version of the service plan
- description String
- A textual explanation associated with this version
- version String
- The current semantic version of the service plan
GetServicePlansServicePlanSchemas
GetServicePlansServicePlanSchemasServiceBinding
- Create
Parameters string - Schema definition for the input parameters for service Binding creation
- Create
Parameters string - Schema definition for the input parameters for service Binding creation
- create_
parameters string - Schema definition for the input parameters for service Binding creation
- create
Parameters String - Schema definition for the input parameters for service Binding creation
- create
Parameters string - Schema definition for the input parameters for service Binding creation
- create_
parameters str - Schema definition for the input parameters for service Binding creation
- create
Parameters String - Schema definition for the input parameters for service Binding creation
GetServicePlansServicePlanSchemasServiceInstance
- Create
Parameters string - Schema definition for the input parameters for service instance creation
- Update
Parameters string - Schema definition for the input parameters for service instance update
- Create
Parameters string - Schema definition for the input parameters for service instance creation
- Update
Parameters string - Schema definition for the input parameters for service instance update
- create_
parameters string - Schema definition for the input parameters for service instance creation
- update_
parameters string - Schema definition for the input parameters for service instance update
- create
Parameters String - Schema definition for the input parameters for service instance creation
- update
Parameters String - Schema definition for the input parameters for service instance update
- create
Parameters string - Schema definition for the input parameters for service instance creation
- update
Parameters string - Schema definition for the input parameters for service instance update
- create_
parameters str - Schema definition for the input parameters for service instance creation
- update_
parameters str - Schema definition for the input parameters for service instance update
- create
Parameters String - Schema definition for the input parameters for service instance creation
- update
Parameters String - Schema definition for the input parameters for service instance update
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