snowflake.getResourceMonitors
Explore with Pulumi AI
!> V1 release candidate This data source was reworked and is a release candidate for the V1. We do not expect significant changes in it before the V1. We will welcome any feedback and adjust the data source if needed. Any errors reported will be resolved with a higher priority. We encourage checking this data source out before the V1 release. Please follow the migration guide to use it.
Datasource used to get details of filtered resource monitors. Filtering is aligned with the current possibilities for SHOW RESOURCE MONITORS query (like
is supported). The results of SHOW is encapsulated in show_output collection.
Using getResourceMonitors
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 getResourceMonitors(args: GetResourceMonitorsArgs, opts?: InvokeOptions): Promise<GetResourceMonitorsResult>
function getResourceMonitorsOutput(args: GetResourceMonitorsOutputArgs, opts?: InvokeOptions): Output<GetResourceMonitorsResult>
def get_resource_monitors(like: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetResourceMonitorsResult
def get_resource_monitors_output(like: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetResourceMonitorsResult]
func GetResourceMonitors(ctx *Context, args *GetResourceMonitorsArgs, opts ...InvokeOption) (*GetResourceMonitorsResult, error)
func GetResourceMonitorsOutput(ctx *Context, args *GetResourceMonitorsOutputArgs, opts ...InvokeOption) GetResourceMonitorsResultOutput
> Note: This function is named GetResourceMonitors
in the Go SDK.
public static class GetResourceMonitors
{
public static Task<GetResourceMonitorsResult> InvokeAsync(GetResourceMonitorsArgs args, InvokeOptions? opts = null)
public static Output<GetResourceMonitorsResult> Invoke(GetResourceMonitorsInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetResourceMonitorsResult> getResourceMonitors(GetResourceMonitorsArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: snowflake:index/getResourceMonitors:getResourceMonitors
arguments:
# arguments dictionary
The following arguments are supported:
- Like string
- Filters the output with case-insensitive pattern, with support for SQL wildcard characters (
%
and_
).
- Like string
- Filters the output with case-insensitive pattern, with support for SQL wildcard characters (
%
and_
).
- like String
- Filters the output with case-insensitive pattern, with support for SQL wildcard characters (
%
and_
).
- like string
- Filters the output with case-insensitive pattern, with support for SQL wildcard characters (
%
and_
).
- like str
- Filters the output with case-insensitive pattern, with support for SQL wildcard characters (
%
and_
).
- like String
- Filters the output with case-insensitive pattern, with support for SQL wildcard characters (
%
and_
).
getResourceMonitors Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Resource
Monitors List<GetResource Monitors Resource Monitor> - Holds the aggregated output of all resource monitor details queries.
- Like string
- Filters the output with case-insensitive pattern, with support for SQL wildcard characters (
%
and_
).
- Id string
- The provider-assigned unique ID for this managed resource.
- Resource
Monitors []GetResource Monitors Resource Monitor - Holds the aggregated output of all resource monitor details queries.
- Like string
- Filters the output with case-insensitive pattern, with support for SQL wildcard characters (
%
and_
).
- id String
- The provider-assigned unique ID for this managed resource.
- resource
Monitors List<GetResource Monitors Resource Monitor> - Holds the aggregated output of all resource monitor details queries.
- like String
- Filters the output with case-insensitive pattern, with support for SQL wildcard characters (
%
and_
).
- id string
- The provider-assigned unique ID for this managed resource.
- resource
Monitors GetResource Monitors Resource Monitor[] - Holds the aggregated output of all resource monitor details queries.
- like string
- Filters the output with case-insensitive pattern, with support for SQL wildcard characters (
%
and_
).
- id str
- The provider-assigned unique ID for this managed resource.
- resource_
monitors Sequence[GetResource Monitors Resource Monitor] - Holds the aggregated output of all resource monitor details queries.
- like str
- Filters the output with case-insensitive pattern, with support for SQL wildcard characters (
%
and_
).
- id String
- The provider-assigned unique ID for this managed resource.
- resource
Monitors List<Property Map> - Holds the aggregated output of all resource monitor details queries.
- like String
- Filters the output with case-insensitive pattern, with support for SQL wildcard characters (
%
and_
).
Supporting Types
GetResourceMonitorsResourceMonitor
- Show
Outputs List<GetResource Monitors Resource Monitor Show Output> - Holds the output of SHOW RESOURCE MONITORS.
- Show
Outputs []GetResource Monitors Resource Monitor Show Output - Holds the output of SHOW RESOURCE MONITORS.
- show
Outputs List<GetResource Monitors Resource Monitor Show Output> - Holds the output of SHOW RESOURCE MONITORS.
- show
Outputs GetResource Monitors Resource Monitor Show Output[] - Holds the output of SHOW RESOURCE MONITORS.
- show_
outputs Sequence[GetResource Monitors Resource Monitor Show Output] - Holds the output of SHOW RESOURCE MONITORS.
- show
Outputs List<Property Map> - Holds the output of SHOW RESOURCE MONITORS.
GetResourceMonitorsResourceMonitorShowOutput
- Comment string
- Created
On string - Credit
Quota double - End
Time string - Frequency string
- Level string
- Name string
- Owner string
- Remaining
Credits double - Start
Time string - Suspend
At int - Suspend
Immediate intAt - Used
Credits double
- Comment string
- Created
On string - Credit
Quota float64 - End
Time string - Frequency string
- Level string
- Name string
- Owner string
- Remaining
Credits float64 - Start
Time string - Suspend
At int - Suspend
Immediate intAt - Used
Credits float64
- comment String
- created
On String - credit
Quota Double - end
Time String - frequency String
- level String
- name String
- owner String
- remaining
Credits Double - start
Time String - suspend
At Integer - suspend
Immediate IntegerAt - used
Credits Double
- comment string
- created
On string - credit
Quota number - end
Time string - frequency string
- level string
- name string
- owner string
- remaining
Credits number - start
Time string - suspend
At number - suspend
Immediate numberAt - used
Credits number
- comment str
- created_
on str - credit_
quota float - end_
time str - frequency str
- level str
- name str
- owner str
- remaining_
credits float - start_
time str - suspend_
at int - suspend_
immediate_ intat - used_
credits float
- comment String
- created
On String - credit
Quota Number - end
Time String - frequency String
- level String
- name String
- owner String
- remaining
Credits Number - start
Time String - suspend
At Number - suspend
Immediate NumberAt - used
Credits Number
Package Details
- Repository
- Snowflake pulumi/pulumi-snowflake
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
snowflake
Terraform Provider.