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

Snowflake

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

getResourceMonitors

Example Usage

using Pulumi;
using Snowflake = Pulumi.Snowflake;

class MyStack : Stack
{
    public MyStack()
    {
        var current = Output.Create(Snowflake.GetResourceMonitors.InvokeAsync());
    }

}
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.GetResourceMonitors(ctx, nil, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
import pulumi
import pulumi_snowflake as snowflake

current = snowflake.get_resource_monitors()
import * as pulumi from "@pulumi/pulumi";
import * as snowflake from "@pulumi/snowflake";

const current = pulumi.output(snowflake.getResourceMonitors());

Using getResourceMonitors

function getResourceMonitors(opts?: InvokeOptions): Promise<GetResourceMonitorsResult>
def get_resource_monitors(opts: Optional[InvokeOptions] = None) -> GetResourceMonitorsResult
func GetResourceMonitors(ctx *Context, opts ...InvokeOption) (*GetResourceMonitorsResult, error)

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

public static class GetResourceMonitors {
    public static Task<GetResourceMonitorsResult> InvokeAsync(InvokeOptions? opts = null)
}

getResourceMonitors Result

The following output properties are available:

Id string
The provider-assigned unique ID for this managed resource.
ResourceMonitors List<GetResourceMonitorsResourceMonitor>
The resource monitors in the database
Id string
The provider-assigned unique ID for this managed resource.
ResourceMonitors []GetResourceMonitorsResourceMonitor
The resource monitors in the database
id string
The provider-assigned unique ID for this managed resource.
resourceMonitors GetResourceMonitorsResourceMonitor[]
The resource monitors in the database
id str
The provider-assigned unique ID for this managed resource.
resource_monitors Sequence[GetResourceMonitorsResourceMonitor]
The resource monitors in the database

Supporting Types

GetResourceMonitorsResourceMonitor

Comment string
CreditQuota string
Frequency string
Name string
Comment string
CreditQuota string
Frequency string
Name string
comment string
creditQuota string
frequency string
name string

Package Details

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