cloudfoundry 0.54.0 published on Monday, Apr 14, 2025 by cloudfoundry-community
cloudfoundry.getInfo
Explore with Pulumi AI
cloudfoundry 0.54.0 published on Monday, Apr 14, 2025 by cloudfoundry-community
Gets information on a Cloud Foundry target.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as cloudfoundry from "@pulumi/cloudfoundry";
const info = cloudfoundry.getInfo({});
import pulumi
import pulumi_cloudfoundry as cloudfoundry
info = cloudfoundry.get_info()
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 {
_, err := cloudfoundry.GetInfo(ctx, &cloudfoundry.GetInfoArgs{}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Cloudfoundry = Pulumi.Cloudfoundry;
return await Deployment.RunAsync(() =>
{
var info = Cloudfoundry.GetInfo.Invoke();
});
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.GetInfoArgs;
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 info = CloudfoundryFunctions.getInfo();
}
}
variables:
info:
fn::invoke:
function: cloudfoundry:getInfo
arguments: {}
Using getInfo
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 getInfo(args: GetInfoArgs, opts?: InvokeOptions): Promise<GetInfoResult>
function getInfoOutput(args: GetInfoOutputArgs, opts?: InvokeOptions): Output<GetInfoResult>
def get_info(id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetInfoResult
def get_info_output(id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetInfoResult]
func GetInfo(ctx *Context, args *GetInfoArgs, opts ...InvokeOption) (*GetInfoResult, error)
func GetInfoOutput(ctx *Context, args *GetInfoOutputArgs, opts ...InvokeOption) GetInfoResultOutput
> Note: This function is named GetInfo
in the Go SDK.
public static class GetInfo
{
public static Task<GetInfoResult> InvokeAsync(GetInfoArgs args, InvokeOptions? opts = null)
public static Output<GetInfoResult> Invoke(GetInfoInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetInfoResult> getInfo(GetInfoArgs args, InvokeOptions options)
public static Output<GetInfoResult> getInfo(GetInfoArgs args, InvokeOptions options)
fn::invoke:
function: cloudfoundry:index/getInfo:getInfo
arguments:
# arguments dictionary
The following arguments are supported:
- Id string
- Id string
- id String
- id string
- id str
- id String
getInfo Result
The following output properties are available:
- Api
Version string - The Cloud Foundry API version
- Auth
Endpoint string - The autentication endpoint URL
- Doppler
Endpoint string - The doppler services endpoint URL
- Id string
- Logging
Endpoint string - The logging services endpoint URL
- Routing
Endpoint string - The routing endpoint URL
- Uaa
Endpoint string - The UAA endpoint URL
- Api
Version string - The Cloud Foundry API version
- Auth
Endpoint string - The autentication endpoint URL
- Doppler
Endpoint string - The doppler services endpoint URL
- Id string
- Logging
Endpoint string - The logging services endpoint URL
- Routing
Endpoint string - The routing endpoint URL
- Uaa
Endpoint string - The UAA endpoint URL
- api
Version String - The Cloud Foundry API version
- auth
Endpoint String - The autentication endpoint URL
- doppler
Endpoint String - The doppler services endpoint URL
- id String
- logging
Endpoint String - The logging services endpoint URL
- routing
Endpoint String - The routing endpoint URL
- uaa
Endpoint String - The UAA endpoint URL
- api
Version string - The Cloud Foundry API version
- auth
Endpoint string - The autentication endpoint URL
- doppler
Endpoint string - The doppler services endpoint URL
- id string
- logging
Endpoint string - The logging services endpoint URL
- routing
Endpoint string - The routing endpoint URL
- uaa
Endpoint string - The UAA endpoint URL
- api_
version str - The Cloud Foundry API version
- auth_
endpoint str - The autentication endpoint URL
- doppler_
endpoint str - The doppler services endpoint URL
- id str
- logging_
endpoint str - The logging services endpoint URL
- routing_
endpoint str - The routing endpoint URL
- uaa_
endpoint str - The UAA endpoint URL
- api
Version String - The Cloud Foundry API version
- auth
Endpoint String - The autentication endpoint URL
- doppler
Endpoint String - The doppler services endpoint URL
- id String
- logging
Endpoint String - The logging services endpoint URL
- routing
Endpoint String - The routing endpoint URL
- uaa
Endpoint String - The UAA endpoint URL
Package Details
- Repository
- cloudfoundry cloudfoundry-community/terraform-provider-cloudfoundry
- License
- Notes
- This Pulumi package is based on the
cloudfoundry
Terraform Provider.
cloudfoundry 0.54.0 published on Monday, Apr 14, 2025 by cloudfoundry-community