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
Gets information on a Service Route Binding.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as cloudfoundry from "@pulumi/cloudfoundry";
const rb = cloudfoundry.getServiceRouteBinding({
id: "ab65cad9-73fa-4dd4-9c09-87f89b2e77ec",
});
export const binding = rb;
import pulumi
import pulumi_cloudfoundry as cloudfoundry
rb = cloudfoundry.get_service_route_binding(id="ab65cad9-73fa-4dd4-9c09-87f89b2e77ec")
pulumi.export("binding", rb)
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 {
rb, err := cloudfoundry.LookupServiceRouteBinding(ctx, &cloudfoundry.LookupServiceRouteBindingArgs{
Id: "ab65cad9-73fa-4dd4-9c09-87f89b2e77ec",
}, nil)
if err != nil {
return err
}
ctx.Export("binding", rb)
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Cloudfoundry = Pulumi.Cloudfoundry;
return await Deployment.RunAsync(() =>
{
var rb = Cloudfoundry.GetServiceRouteBinding.Invoke(new()
{
Id = "ab65cad9-73fa-4dd4-9c09-87f89b2e77ec",
});
return new Dictionary<string, object?>
{
["binding"] = rb,
};
});
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.GetServiceRouteBindingArgs;
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 rb = CloudfoundryFunctions.getServiceRouteBinding(GetServiceRouteBindingArgs.builder()
.id("ab65cad9-73fa-4dd4-9c09-87f89b2e77ec")
.build());
ctx.export("binding", rb);
}
}
variables:
rb:
fn::invoke:
function: cloudfoundry:getServiceRouteBinding
arguments:
id: ab65cad9-73fa-4dd4-9c09-87f89b2e77ec
outputs:
binding: ${rb}
Example coming soon!
Using getServiceRouteBinding
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 getServiceRouteBinding(args: GetServiceRouteBindingArgs, opts?: InvokeOptions): Promise<GetServiceRouteBindingResult>
function getServiceRouteBindingOutput(args: GetServiceRouteBindingOutputArgs, opts?: InvokeOutputOptions): Output<GetServiceRouteBindingResult>def get_service_route_binding(annotations: Optional[Mapping[str, str]] = None,
id: Optional[str] = None,
labels: Optional[Mapping[str, str]] = None,
opts: Optional[InvokeOptions] = None) -> GetServiceRouteBindingResult
def get_service_route_binding_output(annotations: pulumi.Input[Optional[Mapping[str, pulumi.Input[str]]]] = None,
id: pulumi.Input[Optional[str]] = None,
labels: pulumi.Input[Optional[Mapping[str, pulumi.Input[str]]]] = None,
opts: Optional[InvokeOutputOptions] = None) -> Output[GetServiceRouteBindingResult]func LookupServiceRouteBinding(ctx *Context, args *LookupServiceRouteBindingArgs, opts ...InvokeOption) (*LookupServiceRouteBindingResult, error)
func LookupServiceRouteBindingOutput(ctx *Context, args *LookupServiceRouteBindingOutputArgs, opts ...InvokeOption) LookupServiceRouteBindingResultOutput> Note: This function is named LookupServiceRouteBinding in the Go SDK.
public static class GetServiceRouteBinding
{
public static Task<GetServiceRouteBindingResult> InvokeAsync(GetServiceRouteBindingArgs args, InvokeOptions? opts = null)
public static Output<GetServiceRouteBindingResult> Invoke(GetServiceRouteBindingInvokeArgs args, InvokeOptions? opts = null)
public static Output<GetServiceRouteBindingResult> Invoke(GetServiceRouteBindingInvokeArgs args, InvokeOutputOptions opts)
}public static CompletableFuture<GetServiceRouteBindingResult> getServiceRouteBinding(GetServiceRouteBindingArgs args, InvokeOptions options)
public static Output<GetServiceRouteBindingResult> getServiceRouteBinding(GetServiceRouteBindingArgs args, InvokeOptions options)
public static Output<GetServiceRouteBindingResult> getServiceRouteBinding(GetServiceRouteBindingArgs args, InvokeOutputOptions options)
fn::invoke:
function: cloudfoundry:index/getServiceRouteBinding:getServiceRouteBinding
arguments:
# arguments dictionarydata "cloudfoundry_get_service_route_binding" "name" {
# arguments
}The following arguments are supported:
- Id string
- The GUID of the service route binding
- 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.
- Id string
- The GUID of the service route binding
- 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.
- id string
- The GUID of the service route binding
- 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.
- id String
- The GUID of the service route binding
- 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.
- id string
- The GUID of the service route binding
- 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.
- id str
- The GUID of the service route binding
- 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.
- id String
- The GUID of the service route binding
- 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.
getServiceRouteBinding Result
The following output properties are available:
- Created
At string - The date and time when the resource was created in RFC3339 format.
- Id string
- The GUID of the service route binding
- Last
Operation GetService 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 service route binding
- Last
Operation GetService 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 service route binding
- 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 service route binding
- last
Operation GetService 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 service route binding
- last
Operation GetService 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 service route binding
- last_
operation GetService 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 service route binding
- 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.
Supporting Types
GetServiceRouteBindingLastOperation
- 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.19.0
published on Friday, Nov 13, 2026 by cloudfoundry
published on Friday, Nov 13, 2026 by cloudfoundry