grafana.getOncallAction

Explore with Pulumi AI

Note: This data source is going to be deprecated, please use outgoing webhook data source instead.

!> Deprecated: Use the grafana.OncallOutgoingWebhook data source instead.

Using getOncallAction

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 getOncallAction(args: GetOncallActionArgs, opts?: InvokeOptions): Promise<GetOncallActionResult>
function getOncallActionOutput(args: GetOncallActionOutputArgs, opts?: InvokeOptions): Output<GetOncallActionResult>
def get_oncall_action(name: Optional[str] = None,
                      opts: Optional[InvokeOptions] = None) -> GetOncallActionResult
def get_oncall_action_output(name: Optional[pulumi.Input[str]] = None,
                      opts: Optional[InvokeOptions] = None) -> Output[GetOncallActionResult]
func GetOncallAction(ctx *Context, args *GetOncallActionArgs, opts ...InvokeOption) (*GetOncallActionResult, error)
func GetOncallActionOutput(ctx *Context, args *GetOncallActionOutputArgs, opts ...InvokeOption) GetOncallActionResultOutput

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

public static class GetOncallAction 
{
    public static Task<GetOncallActionResult> InvokeAsync(GetOncallActionArgs args, InvokeOptions? opts = null)
    public static Output<GetOncallActionResult> Invoke(GetOncallActionInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetOncallActionResult> getOncallAction(GetOncallActionArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
  function: grafana:index/getOncallAction:getOncallAction
  arguments:
    # arguments dictionary

The following arguments are supported:

Name string

The action name.

Name string

The action name.

name String

The action name.

name string

The action name.

name str

The action name.

name String

The action name.

getOncallAction Result

The following output properties are available:

Id string

The provider-assigned unique ID for this managed resource.

Name string

The action name.

Id string

The provider-assigned unique ID for this managed resource.

Name string

The action name.

id String

The provider-assigned unique ID for this managed resource.

name String

The action name.

id string

The provider-assigned unique ID for this managed resource.

name string

The action name.

id str

The provider-assigned unique ID for this managed resource.

name str

The action name.

id String

The provider-assigned unique ID for this managed resource.

name String

The action name.

Package Details

Repository
grafana lbrlabs/pulumi-grafana
License
Apache-2.0
Notes

This Pulumi package is based on the grafana Terraform Provider.