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

Snowflake

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

getStreams

Example Usage

using Pulumi;
using Snowflake = Pulumi.Snowflake;

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

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

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

Using getStreams

function getStreams(args: GetStreamsArgs, opts?: InvokeOptions): Promise<GetStreamsResult>
def get_streams(database: Optional[str] = None,
                schema: Optional[str] = None,
                opts: Optional[InvokeOptions] = None) -> GetStreamsResult
func GetStreams(ctx *Context, args *GetStreamsArgs, opts ...InvokeOption) (*GetStreamsResult, error)

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

public static class GetStreams {
    public static Task<GetStreamsResult> InvokeAsync(GetStreamsArgs args, InvokeOptions? opts = null)
}

The following arguments are supported:

Database string
The database from which to return the streams from.
Schema string
The schema from which to return the streams from.
Database string
The database from which to return the streams from.
Schema string
The schema from which to return the streams from.
database string
The database from which to return the streams from.
schema string
The schema from which to return the streams from.
database str
The database from which to return the streams from.
schema str
The schema from which to return the streams from.

getStreams Result

The following output properties are available:

Database string
The database from which to return the streams from.
Id string
The provider-assigned unique ID for this managed resource.
Schema string
The schema from which to return the streams from.
Streams List<GetStreamsStream>
The streams in the schema
Database string
The database from which to return the streams from.
Id string
The provider-assigned unique ID for this managed resource.
Schema string
The schema from which to return the streams from.
Streams []GetStreamsStream
The streams in the schema
database string
The database from which to return the streams from.
id string
The provider-assigned unique ID for this managed resource.
schema string
The schema from which to return the streams from.
streams GetStreamsStream[]
The streams in the schema
database str
The database from which to return the streams from.
id str
The provider-assigned unique ID for this managed resource.
schema str
The schema from which to return the streams from.
streams Sequence[GetStreamsStream]
The streams in the schema

Supporting Types

GetStreamsStream

Comment string
Database string
The database from which to return the streams from.
Name string
Schema string
The schema from which to return the streams from.
Table string
Comment string
Database string
The database from which to return the streams from.
Name string
Schema string
The schema from which to return the streams from.
Table string
comment string
database string
The database from which to return the streams from.
name string
schema string
The schema from which to return the streams from.
table string
comment str
database str
The database from which to return the streams from.
name str
schema str
The schema from which to return the streams from.
table str

Package Details

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