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 a Service Plan based on the filters provided
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as cloudfoundry from "@pulumi/cloudfoundry";
const xsuaa_application = cloudfoundry.getServicePlan({
serviceOfferingName: "xsuaa",
name: "application",
});
export const serviceplanId = xsuaa_application.then(xsuaa_application => xsuaa_application.id);
import pulumi
import pulumi_cloudfoundry as cloudfoundry
xsuaa_application = cloudfoundry.get_service_plan(service_offering_name="xsuaa",
name="application")
pulumi.export("serviceplanId", xsuaa_application.id)
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_application, err := cloudfoundry.GetServicePlan(ctx, &cloudfoundry.GetServicePlanArgs{
ServiceOfferingName: "xsuaa",
Name: "application",
}, nil)
if err != nil {
return err
}
ctx.Export("serviceplanId", xsuaa_application.Id)
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Cloudfoundry = Pulumi.Cloudfoundry;
return await Deployment.RunAsync(() =>
{
var xsuaa_application = Cloudfoundry.GetServicePlan.Invoke(new()
{
ServiceOfferingName = "xsuaa",
Name = "application",
});
return new Dictionary<string, object?>
{
["serviceplanId"] = xsuaa_application.Apply(xsuaa_application => xsuaa_application.Apply(getServicePlanResult => getServicePlanResult.Id)),
};
});
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.GetServicePlanArgs;
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-application = CloudfoundryFunctions.getServicePlan(GetServicePlanArgs.builder()
.serviceOfferingName("xsuaa")
.name("application")
.build());
ctx.export("serviceplanId", xsuaa_application.id());
}
}
variables:
xsuaa-application:
fn::invoke:
function: cloudfoundry:getServicePlan
arguments:
serviceOfferingName: xsuaa
name: application
outputs:
serviceplanId: ${["xsuaa-application"].id}
Example coming soon!
Using getServicePlan
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 getServicePlan(args: GetServicePlanArgs, opts?: InvokeOptions): Promise<GetServicePlanResult>
function getServicePlanOutput(args: GetServicePlanOutputArgs, opts?: InvokeOutputOptions): Output<GetServicePlanResult>def get_service_plan(name: Optional[str] = None,
service_broker_name: Optional[str] = None,
service_offering_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetServicePlanResult
def get_service_plan_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[GetServicePlanResult]func GetServicePlan(ctx *Context, args *GetServicePlanArgs, opts ...InvokeOption) (*GetServicePlanResult, error)
func GetServicePlanOutput(ctx *Context, args *GetServicePlanOutputArgs, opts ...InvokeOption) GetServicePlanResultOutput> Note: This function is named GetServicePlan in the Go SDK.
public static class GetServicePlan
{
public static Task<GetServicePlanResult> InvokeAsync(GetServicePlanArgs args, InvokeOptions? opts = null)
public static Output<GetServicePlanResult> Invoke(GetServicePlanInvokeArgs args, InvokeOptions? opts = null)
public static Output<GetServicePlanResult> Invoke(GetServicePlanInvokeArgs args, InvokeOutputOptions opts)
}public static CompletableFuture<GetServicePlanResult> getServicePlan(GetServicePlanArgs args, InvokeOptions options)
public static Output<GetServicePlanResult> getServicePlan(GetServicePlanArgs args, InvokeOptions options)
public static Output<GetServicePlanResult> getServicePlan(GetServicePlanArgs args, InvokeOutputOptions options)
fn::invoke:
function: cloudfoundry:index/getServicePlan:getServicePlan
arguments:
# arguments dictionarydata "cloudfoundry_get_service_plan" "name" {
# arguments
}The following arguments are supported:
- Name string
- The name of the service plan to look up
- Service
Offering stringName - The name of the service offering for whose 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.
- Name string
- The name of the service plan to look up
- Service
Offering stringName - The name of the service offering for whose 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.
- name string
- The name of the service plan to look up
- service_
offering_ stringname - The name of the service offering for whose 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.
- name String
- The name of the service plan to look up
- service
Offering StringName - The name of the service offering for whose 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.
- name string
- The name of the service plan to look up
- service
Offering stringName - The name of the service offering for whose 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.
- name str
- The name of the service plan to look up
- service_
offering_ strname - The name of the service offering for whose 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.
- name String
- The name of the service plan to look up
- service
Offering StringName - The name of the service offering for whose 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.
getServicePlan Result
The following output properties are available:
- Annotations Dictionary<string, string>
- The annotations associated with Cloud Foundry resources.
- Available bool
- Whether or not the service plan is available
- Broker
Catalog GetService Plan Broker Catalog - This object contains information obtained from the service broker catalog
- Costs
List<Get
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 Plan Maintenance Info - Information about the version of this service plan
- Name string
- The name of the service plan to look up
- Schemas
Get
Service Plan Schemas - Schema definitions for service instances and service bindings for the service plan
- Service
Offering stringId - The technical ID of the service offering
- Service
Offering stringName - The name of the service offering for whose plan to look up
- Updated
At string - The date and time when the resource was updated in RFC3339 format.
- Visibility
Type string - Denotes the visibility of the plan
- Service
Broker stringName - The name of the service broker which offers the service. Use this to filter two equally named services from different brokers.
- Annotations map[string]string
- The annotations associated with Cloud Foundry resources.
- Available bool
- Whether or not the service plan is available
- Broker
Catalog GetService Plan Broker Catalog - This object contains information obtained from the service broker catalog
- Costs
[]Get
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 Plan Maintenance Info - Information about the version of this service plan
- Name string
- The name of the service plan to look up
- Schemas
Get
Service Plan Schemas - Schema definitions for service instances and service bindings for the service plan
- Service
Offering stringId - The technical ID of the service offering
- Service
Offering stringName - The name of the service offering for whose plan to look up
- Updated
At string - The date and time when the resource was updated in RFC3339 format.
- Visibility
Type string - Denotes the visibility of the plan
- Service
Broker stringName - The name of the service broker which offers the service. Use this to filter two equally named services from different brokers.
- 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
- The name of the service plan to look up
- schemas object
- Schema definitions for service instances and service bindings for the service plan
- service_
offering_ stringid - The technical ID of the service offering
- service_
offering_ stringname - The name of the service offering for whose plan to look up
- updated_
at string - The date and time when the resource was updated in RFC3339 format.
- visibility_
type string - Denotes the visibility of the plan
- service_
broker_ stringname - The name of the service broker which offers the service. Use this to filter two equally named services from different brokers.
- annotations Map<String,String>
- The annotations associated with Cloud Foundry resources.
- available Boolean
- Whether or not the service plan is available
- broker
Catalog GetService Plan Broker Catalog - This object contains information obtained from the service broker catalog
- costs
List<Get
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 Plan Maintenance Info - Information about the version of this service plan
- name String
- The name of the service plan to look up
- schemas
Get
Service Plan Schemas - Schema definitions for service instances and service bindings for the service plan
- service
Offering StringId - The technical ID of the service offering
- service
Offering StringName - The name of the service offering for whose plan to look up
- updated
At String - The date and time when the resource was updated in RFC3339 format.
- visibility
Type String - Denotes the visibility of the plan
- service
Broker StringName - The name of the service broker which offers the service. Use this to filter two equally named services from different brokers.
- annotations {[key: string]: string}
- The annotations associated with Cloud Foundry resources.
- available boolean
- Whether or not the service plan is available
- broker
Catalog GetService Plan Broker Catalog - This object contains information obtained from the service broker catalog
- costs
Get
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 Plan Maintenance Info - Information about the version of this service plan
- name string
- The name of the service plan to look up
- schemas
Get
Service Plan Schemas - Schema definitions for service instances and service bindings for the service plan
- service
Offering stringId - The technical ID of the service offering
- service
Offering stringName - The name of the service offering for whose plan to look up
- updated
At string - The date and time when the resource was updated in RFC3339 format.
- visibility
Type string - Denotes the visibility of the plan
- service
Broker stringName - The name of the service broker which offers the service. Use this to filter two equally named services from different brokers.
- annotations Mapping[str, str]
- The annotations associated with Cloud Foundry resources.
- available bool
- Whether or not the service plan is available
- broker_
catalog GetService Plan Broker Catalog - This object contains information obtained from the service broker catalog
- costs
Sequence[Get
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 Plan Maintenance Info - Information about the version of this service plan
- name str
- The name of the service plan to look up
- schemas
Get
Service Plan Schemas - Schema definitions for service instances and service bindings for the service plan
- service_
offering_ strid - The technical ID of the service offering
- service_
offering_ strname - The name of the service offering for whose plan to look up
- updated_
at str - The date and time when the resource was updated in RFC3339 format.
- visibility_
type str - Denotes the visibility of the plan
- service_
broker_ strname - The name of the service broker which offers the service. Use this to filter two equally named services from different brokers.
- 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
- The name of the service plan to look up
- schemas Property Map
- Schema definitions for service instances and service bindings for the service plan
- service
Offering StringId - The technical ID of the service offering
- service
Offering StringName - The name of the service offering for whose plan to look up
- updated
At String - The date and time when the resource was updated in RFC3339 format.
- visibility
Type String - Denotes the visibility of the plan
- service
Broker StringName - The name of the service broker which offers the service. Use this to filter two equally named services from different brokers.
Supporting Types
GetServicePlanBrokerCatalog
- 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
GetServicePlanCost
GetServicePlanMaintenanceInfo
- 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
GetServicePlanSchemas
GetServicePlanSchemasServiceBinding
- 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
GetServicePlanSchemasServiceInstance
- 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