getExternalFunctions

Example Usage

using System.Collections.Generic;
using Pulumi;
using Snowflake = Pulumi.Snowflake;

return await Deployment.RunAsync(() => 
{
    var current = Snowflake.GetExternalFunctions.Invoke(new()
    {
        Database = "MYDB",
        Schema = "MYSCHEMA",
    });

});
package main

import (
	"github.com/pulumi/pulumi-snowflake/sdk/go/snowflake"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := snowflake.GetExternalFunctions(ctx, &GetExternalFunctionsArgs{
			Database: "MYDB",
			Schema:   "MYSCHEMA",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.snowflake.SnowflakeFunctions;
import com.pulumi.snowflake.inputs.GetExternalFunctionsArgs;
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 current = SnowflakeFunctions.getExternalFunctions(GetExternalFunctionsArgs.builder()
            .database("MYDB")
            .schema("MYSCHEMA")
            .build());

    }
}
import pulumi
import pulumi_snowflake as snowflake

current = snowflake.get_external_functions(database="MYDB",
    schema="MYSCHEMA")
import * as pulumi from "@pulumi/pulumi";
import * as snowflake from "@pulumi/snowflake";

const current = pulumi.output(snowflake.getExternalFunctions({
    database: "MYDB",
    schema: "MYSCHEMA",
}));
variables:
  current:
    Fn::Invoke:
      Function: snowflake:getExternalFunctions
      Arguments:
        database: MYDB
        schema: MYSCHEMA

Using getExternalFunctions

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 getExternalFunctions(args: GetExternalFunctionsArgs, opts?: InvokeOptions): Promise<GetExternalFunctionsResult>
function getExternalFunctionsOutput(args: GetExternalFunctionsOutputArgs, opts?: InvokeOptions): Output<GetExternalFunctionsResult>
def get_external_functions(database: Optional[str] = None,
                           schema: Optional[str] = None,
                           opts: Optional[InvokeOptions] = None) -> GetExternalFunctionsResult
def get_external_functions_output(database: Optional[pulumi.Input[str]] = None,
                           schema: Optional[pulumi.Input[str]] = None,
                           opts: Optional[InvokeOptions] = None) -> Output[GetExternalFunctionsResult]
func GetExternalFunctions(ctx *Context, args *GetExternalFunctionsArgs, opts ...InvokeOption) (*GetExternalFunctionsResult, error)
func GetExternalFunctionsOutput(ctx *Context, args *GetExternalFunctionsOutputArgs, opts ...InvokeOption) GetExternalFunctionsResultOutput

> Note: This function is named GetExternalFunctions in the Go SDK.

public static class GetExternalFunctions 
{
    public static Task<GetExternalFunctionsResult> InvokeAsync(GetExternalFunctionsArgs args, InvokeOptions? opts = null)
    public static Output<GetExternalFunctionsResult> Invoke(GetExternalFunctionsInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetExternalFunctionsResult> getExternalFunctions(GetExternalFunctionsArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
  function: snowflake:index/getExternalFunctions:getExternalFunctions
  arguments:
    # arguments dictionary

The following arguments are supported:

Database string

The database from which to return the schemas from.

Schema string

The schema from which to return the external functions from.

Database string

The database from which to return the schemas from.

Schema string

The schema from which to return the external functions from.

database String

The database from which to return the schemas from.

schema String

The schema from which to return the external functions from.

database string

The database from which to return the schemas from.

schema string

The schema from which to return the external functions from.

database str

The database from which to return the schemas from.

schema str

The schema from which to return the external functions from.

database String

The database from which to return the schemas from.

schema String

The schema from which to return the external functions from.

getExternalFunctions Result

The following output properties are available:

Database string

The database from which to return the schemas from.

ExternalFunctions List<GetExternalFunctionsExternalFunction>

The external functions in the schema

Id string

The provider-assigned unique ID for this managed resource.

Schema string

The schema from which to return the external functions from.

Database string

The database from which to return the schemas from.

ExternalFunctions []GetExternalFunctionsExternalFunction

The external functions in the schema

Id string

The provider-assigned unique ID for this managed resource.

Schema string

The schema from which to return the external functions from.

database String

The database from which to return the schemas from.

externalFunctions List<GetExternalFunctionsExternalFunction>

The external functions in the schema

id String

The provider-assigned unique ID for this managed resource.

schema String

The schema from which to return the external functions from.

database string

The database from which to return the schemas from.

externalFunctions GetExternalFunctionsExternalFunction[]

The external functions in the schema

id string

The provider-assigned unique ID for this managed resource.

schema string

The schema from which to return the external functions from.

database str

The database from which to return the schemas from.

external_functions Sequence[GetExternalFunctionsExternalFunction]

The external functions in the schema

id str

The provider-assigned unique ID for this managed resource.

schema str

The schema from which to return the external functions from.

database String

The database from which to return the schemas from.

externalFunctions List<Property Map>

The external functions in the schema

id String

The provider-assigned unique ID for this managed resource.

schema String

The schema from which to return the external functions from.

Supporting Types

GetExternalFunctionsExternalFunction

Comment string
Database string

The database from which to return the schemas from.

Language string
Name string
Schema string

The schema from which to return the external functions from.

Comment string
Database string

The database from which to return the schemas from.

Language string
Name string
Schema string

The schema from which to return the external functions from.

comment String
database String

The database from which to return the schemas from.

language String
name String
schema String

The schema from which to return the external functions from.

comment string
database string

The database from which to return the schemas from.

language string
name string
schema string

The schema from which to return the external functions from.

comment str
database str

The database from which to return the schemas from.

language str
name str
schema str

The schema from which to return the external functions from.

comment String
database String

The database from which to return the schemas from.

language String
name String
schema String

The schema from which to return the external functions from.

Package Details

Repository
https://github.com/pulumi/pulumi-snowflake
License
Apache-2.0
Notes

This Pulumi package is based on the snowflake Terraform Provider.