Show / Hide Table of Contents

Class GetSecureCredential

Inheritance
System.Object
GetSecureCredential
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.NewRelic.Synthetics
Assembly: Pulumi.NewRelic.dll
Syntax
public static class GetSecureCredential

Methods

View Source

InvokeAsync(GetSecureCredentialArgs, InvokeOptions)

Use this data source to get information about a specific Synthetics secure credential in New Relic that already exists.

Note that the secure credential's value is not returned as an attribute for security reasons.

{{% examples %}}

Example Usage

{{% example %}}

using Pulumi;
using NewRelic = Pulumi.NewRelic;

class MyStack : Stack
{
public MyStack()
{
    var foo = Output.Create(NewRelic.Synthetics.GetSecureCredential.InvokeAsync(new NewRelic.Synthetics.GetSecureCredentialArgs
    {
        Key = "MY_KEY",
    }));
}

}

{{% /example %}} {{% /examples %}}

Declaration
public static Task<GetSecureCredentialResult> InvokeAsync(GetSecureCredentialArgs args, InvokeOptions options = null)
Parameters
Type Name Description
GetSecureCredentialArgs args
InvokeOptions options
Returns
Type Description
System.Threading.Tasks.Task<GetSecureCredentialResult>
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.