Snowflake v0.55.0 published on Friday, Jun 7, 2024 by Pulumi
snowflake.getPipes
Explore with Pulumi AI
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as snowflake from "@pulumi/snowflake";
const current = snowflake.getPipes({
database: "MYDB",
schema: "MYSCHEMA",
});
import pulumi
import pulumi_snowflake as snowflake
current = snowflake.get_pipes(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.GetPipes(ctx, &snowflake.GetPipesArgs{
Database: "MYDB",
Schema: "MYSCHEMA",
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Snowflake = Pulumi.Snowflake;
return await Deployment.RunAsync(() =>
{
var current = Snowflake.GetPipes.Invoke(new()
{
Database = "MYDB",
Schema = "MYSCHEMA",
});
});
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.GetPipesArgs;
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.getPipes(GetPipesArgs.builder()
.database("MYDB")
.schema("MYSCHEMA")
.build());
}
}
variables:
current:
fn::invoke:
Function: snowflake:getPipes
Arguments:
database: MYDB
schema: MYSCHEMA
Using getPipes
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 getPipes(args: GetPipesArgs, opts?: InvokeOptions): Promise<GetPipesResult>
function getPipesOutput(args: GetPipesOutputArgs, opts?: InvokeOptions): Output<GetPipesResult>
def get_pipes(database: Optional[str] = None,
schema: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetPipesResult
def get_pipes_output(database: Optional[pulumi.Input[str]] = None,
schema: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetPipesResult]
func GetPipes(ctx *Context, args *GetPipesArgs, opts ...InvokeOption) (*GetPipesResult, error)
func GetPipesOutput(ctx *Context, args *GetPipesOutputArgs, opts ...InvokeOption) GetPipesResultOutput
> Note: This function is named GetPipes
in the Go SDK.
public static class GetPipes
{
public static Task<GetPipesResult> InvokeAsync(GetPipesArgs args, InvokeOptions? opts = null)
public static Output<GetPipesResult> Invoke(GetPipesInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetPipesResult> getPipes(GetPipesArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: snowflake:index/getPipes:getPipes
arguments:
# arguments dictionary
The following arguments are supported:
getPipes 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.
- Pipes
List<Get
Pipes Pipe> - The pipes in the schema
- Schema string
- The schema from which to return the pipes from.
- Database string
- The database from which to return the schemas from.
- Id string
- The provider-assigned unique ID for this managed resource.
- Pipes
[]Get
Pipes Pipe - The pipes in the schema
- Schema string
- The schema from which to return the pipes from.
- database String
- The database from which to return the schemas from.
- id String
- The provider-assigned unique ID for this managed resource.
- pipes
List<Get
Pipes Pipe> - The pipes in the schema
- schema String
- The schema from which to return the pipes from.
- database string
- The database from which to return the schemas from.
- id string
- The provider-assigned unique ID for this managed resource.
- pipes
Get
Pipes Pipe[] - The pipes in the schema
- schema string
- The schema from which to return the pipes from.
- database str
- The database from which to return the schemas from.
- id str
- The provider-assigned unique ID for this managed resource.
- pipes
Sequence[Get
Pipes Pipe] - The pipes in the schema
- schema str
- The schema from which to return the pipes from.
- database String
- The database from which to return the schemas from.
- id String
- The provider-assigned unique ID for this managed resource.
- pipes List<Property Map>
- The pipes in the schema
- schema String
- The schema from which to return the pipes from.
Supporting Types
GetPipesPipe
- Comment string
- Database string
- Integration string
- Name string
- Schema string
- Comment string
- Database string
- Integration string
- Name string
- Schema string
- comment String
- database String
- integration String
- name String
- schema String
- comment string
- database string
- integration string
- name string
- schema string
- comment str
- database str
- integration str
- name str
- schema str
- comment String
- database String
- integration String
- name String
- schema String
Package Details
- Repository
- Snowflake pulumi/pulumi-snowflake
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
snowflake
Terraform Provider.