1. Packages
  2. Cloudfoundry Provider
  3. API Docs
  4. getInfo
cloudfoundry 0.54.0 published on Monday, Apr 14, 2025 by cloudfoundry-community

cloudfoundry.getInfo

Explore with Pulumi AI

cloudfoundry logo
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:

    ApiVersion string
    The Cloud Foundry API version
    AuthEndpoint string
    The autentication endpoint URL
    DopplerEndpoint string
    The doppler services endpoint URL
    Id string
    LoggingEndpoint string
    The logging services endpoint URL

    Deprecated: Deprecated

    RoutingEndpoint string
    The routing endpoint URL
    UaaEndpoint string
    The UAA endpoint URL
    ApiVersion string
    The Cloud Foundry API version
    AuthEndpoint string
    The autentication endpoint URL
    DopplerEndpoint string
    The doppler services endpoint URL
    Id string
    LoggingEndpoint string
    The logging services endpoint URL

    Deprecated: Deprecated

    RoutingEndpoint string
    The routing endpoint URL
    UaaEndpoint string
    The UAA endpoint URL
    apiVersion String
    The Cloud Foundry API version
    authEndpoint String
    The autentication endpoint URL
    dopplerEndpoint String
    The doppler services endpoint URL
    id String
    loggingEndpoint String
    The logging services endpoint URL

    Deprecated: Deprecated

    routingEndpoint String
    The routing endpoint URL
    uaaEndpoint String
    The UAA endpoint URL
    apiVersion string
    The Cloud Foundry API version
    authEndpoint string
    The autentication endpoint URL
    dopplerEndpoint string
    The doppler services endpoint URL
    id string
    loggingEndpoint string
    The logging services endpoint URL

    Deprecated: Deprecated

    routingEndpoint string
    The routing endpoint URL
    uaaEndpoint 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

    Deprecated: Deprecated

    routing_endpoint str
    The routing endpoint URL
    uaa_endpoint str
    The UAA endpoint URL
    apiVersion String
    The Cloud Foundry API version
    authEndpoint String
    The autentication endpoint URL
    dopplerEndpoint String
    The doppler services endpoint URL
    id String
    loggingEndpoint String
    The logging services endpoint URL

    Deprecated: Deprecated

    routingEndpoint String
    The routing endpoint URL
    uaaEndpoint 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 logo
    cloudfoundry 0.54.0 published on Monday, Apr 14, 2025 by cloudfoundry-community