Snowflake

Pulumi Official
Package maintained by Pulumi
v0.8.0 published on Monday, May 16, 2022 by Pulumi

getProcedures

Example Usage

using Pulumi;
using Snowflake = Pulumi.Snowflake;

class MyStack : Stack
{
    public MyStack()
    {
        var current = Output.Create(Snowflake.GetProcedures.InvokeAsync(new Snowflake.GetProceduresArgs
        {
            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.GetProcedures(ctx, &GetProceduresArgs{
			Database: "MYDB",
			Schema:   "MYSCHEMA",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

Coming soon!

import pulumi
import pulumi_snowflake as snowflake

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

const current = pulumi.output(snowflake.getProcedures({
    database: "MYDB",
    schema: "MYSCHEMA",
}));

Coming soon!

Using getProcedures

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 getProcedures(args: GetProceduresArgs, opts?: InvokeOptions): Promise<GetProceduresResult>
function getProceduresOutput(args: GetProceduresOutputArgs, opts?: InvokeOptions): Output<GetProceduresResult>
def get_procedures(database: Optional[str] = None,
                   schema: Optional[str] = None,
                   opts: Optional[InvokeOptions] = None) -> GetProceduresResult
def get_procedures_output(database: Optional[pulumi.Input[str]] = None,
                   schema: Optional[pulumi.Input[str]] = None,
                   opts: Optional[InvokeOptions] = None) -> Output[GetProceduresResult]
func GetProcedures(ctx *Context, args *GetProceduresArgs, opts ...InvokeOption) (*GetProceduresResult, error)
func GetProceduresOutput(ctx *Context, args *GetProceduresOutputArgs, opts ...InvokeOption) GetProceduresResultOutput

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

public static class GetProcedures 
{
    public static Task<GetProceduresResult> InvokeAsync(GetProceduresArgs args, InvokeOptions? opts = null)
    public static Output<GetProceduresResult> Invoke(GetProceduresInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetProceduresResult> getProcedures(GetProceduresArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
Fn::Invoke:
  Function: snowflake:index/getProcedures:getProcedures
  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 procedures from.

Database string

The database from which to return the schemas from.

Schema string

The schema from which to return the procedures from.

database String

The database from which to return the schemas from.

schema String

The schema from which to return the procedures from.

database string

The database from which to return the schemas from.

schema string

The schema from which to return the procedures from.

database str

The database from which to return the schemas from.

schema str

The schema from which to return the procedures from.

database String

The database from which to return the schemas from.

schema String

The schema from which to return the procedures from.

getProcedures Result

The following output properties are available:

Database string

The database from which to return the schemas from.

Id string

The provider-assigned unique ID for this managed resource.

Procedures List<GetProceduresProcedure>

The procedures in the schema

Schema string

The schema from which to return the procedures from.

Database string

The database from which to return the schemas from.

Id string

The provider-assigned unique ID for this managed resource.

Procedures []GetProceduresProcedure

The procedures in the schema

Schema string

The schema from which to return the procedures from.

database String

The database from which to return the schemas from.

id String

The provider-assigned unique ID for this managed resource.

procedures ListProceduresProcedure>

The procedures in the schema

schema String

The schema from which to return the procedures from.

database string

The database from which to return the schemas from.

id string

The provider-assigned unique ID for this managed resource.

procedures GetProceduresProcedure[]

The procedures in the schema

schema string

The schema from which to return the procedures from.

database str

The database from which to return the schemas from.

id str

The provider-assigned unique ID for this managed resource.

procedures Sequence[GetProceduresProcedure]

The procedures in the schema

schema str

The schema from which to return the procedures from.

database String

The database from which to return the schemas from.

id String

The provider-assigned unique ID for this managed resource.

procedures List

The procedures in the schema

schema String

The schema from which to return the procedures from.

Supporting Types

GetProceduresProcedure

ArgumentTypes List<string>
Comment string
Database string

The database from which to return the schemas from.

Name string
ReturnType string
Schema string

The schema from which to return the procedures from.

ArgumentTypes []string
Comment string
Database string

The database from which to return the schemas from.

Name string
ReturnType string
Schema string

The schema from which to return the procedures from.

argumentTypes List
comment String
database String

The database from which to return the schemas from.

name String
returnType String
schema String

The schema from which to return the procedures from.

argumentTypes string[]
comment string
database string

The database from which to return the schemas from.

name string
returnType string
schema string

The schema from which to return the procedures from.

argument_types Sequence[str]
comment str
database str

The database from which to return the schemas from.

name str
return_type str
schema str

The schema from which to return the procedures from.

argumentTypes List
comment String
database String

The database from which to return the schemas from.

name String
returnType String
schema String

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