Viewing docs for cloudfoundry 1.18.0
published on Monday, Nov 2, 2026 by cloudfoundry
published on Monday, Nov 2, 2026 by cloudfoundry
cloudfoundry
Viewing docs for cloudfoundry 1.18.0
published on Monday, Nov 2, 2026 by cloudfoundry
published on Monday, Nov 2, 2026 by cloudfoundry
Gets information on Service Route Bindings the user has access to.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as cloudfoundry from "@pulumi/cloudfoundry";
const rbs = cloudfoundry.getServiceRouteBindings({
serviceInstance: "ab65cad9-73fa-4dd4-9c09-87f89b2e77ec",
});
export const bindings = rbs;
import pulumi
import pulumi_cloudfoundry as cloudfoundry
rbs = cloudfoundry.get_service_route_bindings(service_instance="ab65cad9-73fa-4dd4-9c09-87f89b2e77ec")
pulumi.export("bindings", rbs)
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 {
rbs, err := cloudfoundry.GetServiceRouteBindings(ctx, &cloudfoundry.GetServiceRouteBindingsArgs{
ServiceInstance: pulumi.StringRef("ab65cad9-73fa-4dd4-9c09-87f89b2e77ec"),
}, nil)
if err != nil {
return err
}
ctx.Export("bindings", rbs)
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Cloudfoundry = Pulumi.Cloudfoundry;
return await Deployment.RunAsync(() =>
{
var rbs = Cloudfoundry.GetServiceRouteBindings.Invoke(new()
{
ServiceInstance = "ab65cad9-73fa-4dd4-9c09-87f89b2e77ec",
});
return new Dictionary<string, object?>
{
["bindings"] = rbs,
};
});
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.GetServiceRouteBindingsArgs;
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 rbs = CloudfoundryFunctions.getServiceRouteBindings(GetServiceRouteBindingsArgs.builder()
.serviceInstance("ab65cad9-73fa-4dd4-9c09-87f89b2e77ec")
.build());
ctx.export("bindings", rbs);
}
}
variables:
rbs:
fn::invoke:
function: cloudfoundry:getServiceRouteBindings
arguments:
serviceInstance: ab65cad9-73fa-4dd4-9c09-87f89b2e77ec
outputs:
bindings: ${rbs}
Example coming soon!
Using getServiceRouteBindings
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 getServiceRouteBindings(args: GetServiceRouteBindingsArgs, opts?: InvokeOptions): Promise<GetServiceRouteBindingsResult>
function getServiceRouteBindingsOutput(args: GetServiceRouteBindingsOutputArgs, opts?: InvokeOutputOptions): Output<GetServiceRouteBindingsResult>def get_service_route_bindings(route: Optional[str] = None,
service_instance: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetServiceRouteBindingsResult
def get_service_route_bindings_output(route: pulumi.Input[Optional[str]] = None,
service_instance: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOutputOptions] = None) -> Output[GetServiceRouteBindingsResult]func GetServiceRouteBindings(ctx *Context, args *GetServiceRouteBindingsArgs, opts ...InvokeOption) (*GetServiceRouteBindingsResult, error)
func GetServiceRouteBindingsOutput(ctx *Context, args *GetServiceRouteBindingsOutputArgs, opts ...InvokeOption) GetServiceRouteBindingsResultOutput> Note: This function is named GetServiceRouteBindings in the Go SDK.
public static class GetServiceRouteBindings
{
public static Task<GetServiceRouteBindingsResult> InvokeAsync(GetServiceRouteBindingsArgs args, InvokeOptions? opts = null)
public static Output<GetServiceRouteBindingsResult> Invoke(GetServiceRouteBindingsInvokeArgs args, InvokeOptions? opts = null)
public static Output<GetServiceRouteBindingsResult> Invoke(GetServiceRouteBindingsInvokeArgs args, InvokeOutputOptions opts)
}public static CompletableFuture<GetServiceRouteBindingsResult> getServiceRouteBindings(GetServiceRouteBindingsArgs args, InvokeOptions options)
public static Output<GetServiceRouteBindingsResult> getServiceRouteBindings(GetServiceRouteBindingsArgs args, InvokeOptions options)
public static Output<GetServiceRouteBindingsResult> getServiceRouteBindings(GetServiceRouteBindingsArgs args, InvokeOutputOptions options)
fn::invoke:
function: cloudfoundry:index/getServiceRouteBindings:getServiceRouteBindings
arguments:
# arguments dictionarydata "cloudfoundry_get_service_route_bindings" "name" {
# arguments
}The following arguments are supported:
- Route string
- The GUID of the route to filter by
- Service
Instance string - The GUID of the service instance to filter by
- Route string
- The GUID of the route to filter by
- Service
Instance string - The GUID of the service instance to filter by
- route string
- The GUID of the route to filter by
- service_
instance string - The GUID of the service instance to filter by
- route String
- The GUID of the route to filter by
- service
Instance String - The GUID of the service instance to filter by
- route string
- The GUID of the route to filter by
- service
Instance string - The GUID of the service instance to filter by
- route str
- The GUID of the route to filter by
- service_
instance str - The GUID of the service instance to filter by
- route String
- The GUID of the route to filter by
- service
Instance String - The GUID of the service instance to filter by
getServiceRouteBindings Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Route
Bindings List<GetService Route Bindings Route Binding> - The list of route bindings for the given service instance.
- Route string
- The GUID of the route to filter by
- Service
Instance string - The GUID of the service instance to filter by
- Id string
- The provider-assigned unique ID for this managed resource.
- Route
Bindings []GetService Route Bindings Route Binding - The list of route bindings for the given service instance.
- Route string
- The GUID of the route to filter by
- Service
Instance string - The GUID of the service instance to filter by
- id string
- The provider-assigned unique ID for this managed resource.
- route_
bindings list(object) - The list of route bindings for the given service instance.
- route string
- The GUID of the route to filter by
- service_
instance string - The GUID of the service instance to filter by
- id String
- The provider-assigned unique ID for this managed resource.
- route
Bindings List<GetService Route Bindings Route Binding> - The list of route bindings for the given service instance.
- route String
- The GUID of the route to filter by
- service
Instance String - The GUID of the service instance to filter by
- id string
- The provider-assigned unique ID for this managed resource.
- route
Bindings GetService Route Bindings Route Binding[] - The list of route bindings for the given service instance.
- route string
- The GUID of the route to filter by
- service
Instance string - The GUID of the service instance to filter by
- id str
- The provider-assigned unique ID for this managed resource.
- route_
bindings Sequence[GetService Route Bindings Route Binding] - The list of route bindings for the given service instance.
- route str
- The GUID of the route to filter by
- service_
instance str - The GUID of the service instance to filter by
- id String
- The provider-assigned unique ID for this managed resource.
- route
Bindings List<Property Map> - The list of route bindings for the given service instance.
- route String
- The GUID of the route to filter by
- service
Instance String - The GUID of the service instance to filter by
Supporting Types
GetServiceRouteBindingsRouteBinding
- Created
At string - The date and time when the resource was created in RFC3339 format.
- Id string
- The GUID of the object.
- Last
Operation GetService Route Bindings Route Binding Last Operation - The details of the last operation performed on the resource
- Route string
- The GUID of the route to be bound
- Route
Service stringUrl - The URL for the route service.
- Service
Instance string - The service instance that the route is bound to
- Updated
At string - The date and time when the resource was updated in RFC3339 format.
- Annotations Dictionary<string, string>
- The annotations associated with Cloud Foundry resources. Add as described here.
- Labels Dictionary<string, string>
- The labels associated with Cloud Foundry resources. Add as described here.
- Created
At string - The date and time when the resource was created in RFC3339 format.
- Id string
- The GUID of the object.
- Last
Operation GetService Route Bindings Route Binding Last Operation - The details of the last operation performed on the resource
- Route string
- The GUID of the route to be bound
- Route
Service stringUrl - The URL for the route service.
- Service
Instance string - The service instance that the route is bound to
- 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. Add as described here.
- Labels map[string]string
- The labels associated with Cloud Foundry resources. Add as described here.
- created_
at string - The date and time when the resource was created in RFC3339 format.
- id string
- The GUID of the object.
- last_
operation object - The details of the last operation performed on the resource
- route string
- The GUID of the route to be bound
- route_
service_ stringurl - The URL for the route service.
- service_
instance string - The service instance that the route is bound to
- 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. Add as described here.
- labels map(string)
- The labels associated with Cloud Foundry resources. Add as described here.
- created
At String - The date and time when the resource was created in RFC3339 format.
- id String
- The GUID of the object.
- last
Operation GetService Route Bindings Route Binding Last Operation - The details of the last operation performed on the resource
- route String
- The GUID of the route to be bound
- route
Service StringUrl - The URL for the route service.
- service
Instance String - The service instance that the route is bound to
- 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. Add as described here.
- labels Map<String,String>
- The labels associated with Cloud Foundry resources. Add as described here.
- created
At string - The date and time when the resource was created in RFC3339 format.
- id string
- The GUID of the object.
- last
Operation GetService Route Bindings Route Binding Last Operation - The details of the last operation performed on the resource
- route string
- The GUID of the route to be bound
- route
Service stringUrl - The URL for the route service.
- service
Instance string - The service instance that the route is bound to
- 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. Add as described here.
- labels {[key: string]: string}
- The labels associated with Cloud Foundry resources. Add as described here.
- created_
at str - The date and time when the resource was created in RFC3339 format.
- id str
- The GUID of the object.
- last_
operation GetService Route Bindings Route Binding Last Operation - The details of the last operation performed on the resource
- route str
- The GUID of the route to be bound
- route_
service_ strurl - The URL for the route service.
- service_
instance str - The service instance that the route is bound to
- updated_
at str - The date and time when the resource was updated in RFC3339 format.
- annotations Mapping[str, str]
- The annotations associated with Cloud Foundry resources. Add as described here.
- labels Mapping[str, str]
- The labels associated with Cloud Foundry resources. Add as described here.
- created
At String - The date and time when the resource was created in RFC3339 format.
- id String
- The GUID of the object.
- last
Operation Property Map - The details of the last operation performed on the resource
- route String
- The GUID of the route to be bound
- route
Service StringUrl - The URL for the route service.
- service
Instance String - The service instance that the route is bound to
- 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. Add as described here.
- labels Map<String>
- The labels associated with Cloud Foundry resources. Add as described here.
GetServiceRouteBindingsRouteBindingLastOperation
- Created
At string - The time at which the last operation was created
- Description string
- A description of the last operation
- State string
- The state of the last operation
- Type string
- The type of the last operation
- Updated
At string - The time at which the last operation was updated
- Created
At string - The time at which the last operation was created
- Description string
- A description of the last operation
- State string
- The state of the last operation
- Type string
- The type of the last operation
- Updated
At string - The time at which the last operation was updated
- created_
at string - The time at which the last operation was created
- description string
- A description of the last operation
- state string
- The state of the last operation
- type string
- The type of the last operation
- updated_
at string - The time at which the last operation was updated
- created
At String - The time at which the last operation was created
- description String
- A description of the last operation
- state String
- The state of the last operation
- type String
- The type of the last operation
- updated
At String - The time at which the last operation was updated
- created
At string - The time at which the last operation was created
- description string
- A description of the last operation
- state string
- The state of the last operation
- type string
- The type of the last operation
- updated
At string - The time at which the last operation was updated
- created_
at str - The time at which the last operation was created
- description str
- A description of the last operation
- state str
- The state of the last operation
- type str
- The type of the last operation
- updated_
at str - The time at which the last operation was updated
- created
At String - The time at which the last operation was created
- description String
- A description of the last operation
- state String
- The state of the last operation
- type String
- The type of the last operation
- updated
At String - The time at which the last operation was updated
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.18.0
published on Monday, Nov 2, 2026 by cloudfoundry
published on Monday, Nov 2, 2026 by cloudfoundry