Welcome to Pulumi Registry, your window into the cloud. Read the announcement.

Snowflake

v0.2.1 published on Monday, Sep 27, 2021 by Pulumi

getExternalFunctions

Example Usage

using Pulumi;
using Snowflake = Pulumi.Snowflake;

class MyStack : Stack
{
    public MyStack()
    {
        var current = Output.Create(Snowflake.GetExternalFunctions.InvokeAsync(new Snowflake.GetExternalFunctionsArgs
        {
            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
	})
}
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",
}));

Using getExternalFunctions

function getExternalFunctions(args: GetExternalFunctionsArgs, opts?: InvokeOptions): Promise<GetExternalFunctionsResult>
def get_external_functions(database: Optional[str] = None,
                           schema: Optional[str] = None,
                           opts: Optional[InvokeOptions] = None) -> GetExternalFunctionsResult
func GetExternalFunctions(ctx *Context, args *GetExternalFunctionsArgs, opts ...InvokeOption) (*GetExternalFunctionsResult, error)

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

public static class GetExternalFunctions {
    public static Task<GetExternalFunctionsResult> InvokeAsync(GetExternalFunctionsArgs args, InvokeOptions? opts = null)
}

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 str
The database from which to return the schemas from.
schema str
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 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.

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 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.

Package Details

Repository
https://github.com/pulumi/pulumi-snowflake
License
Apache-2.0
Notes
This Pulumi package is based on the snowflake Terraform Provider.