Show / Hide Table of Contents

Class SecureCredential

Use this resource to create and manage New Relic Synthetic secure credentials.

Example Usage

using Pulumi;
using NewRelic = Pulumi.NewRelic;

class MyStack : Stack
{
public MyStack()
{
    var foo = new NewRelic.Synthetics.SecureCredential("foo", new NewRelic.Synthetics.SecureCredentialArgs
    {
        Description = "My description",
        Key = "MY_KEY",
        Value = "My value",
    });
}

}
Inheritance
System.Object
Resource
CustomResource
SecureCredential
Inherited Members
CustomResource.Id
Resource.GetResourceType()
Resource.GetResourceName()
Resource.Urn
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 class SecureCredential : CustomResource

Constructors

View Source

SecureCredential(String, SecureCredentialArgs, CustomResourceOptions)

Create a SecureCredential resource with the given unique name, arguments, and options.

Declaration
public SecureCredential(string name, SecureCredentialArgs args, CustomResourceOptions options = null)
Parameters
Type Name Description
System.String name

The unique name of the resource

SecureCredentialArgs args

The arguments used to populate this resource's properties

CustomResourceOptions options

A bag of options that control this resource's behavior

Properties

View Source

CreatedAt

The time the secure credential was created.

Declaration
public Output<string> CreatedAt { get; }
Property Value
Type Description
Output<System.String>
View Source

Description

The secure credential's description.

Declaration
public Output<string> Description { get; }
Property Value
Type Description
Output<System.String>
View Source

Key

The secure credential's key name. Regardless of the case used in the configuration, the provider will provide an upcased key to the underlying API.

Declaration
public Output<string> Key { get; }
Property Value
Type Description
Output<System.String>
View Source

LastUpdated

The time the secure credential was last updated.

Declaration
public Output<string> LastUpdated { get; }
Property Value
Type Description
Output<System.String>
View Source

Value

The secure credential's value.

Declaration
public Output<string> Value { get; }
Property Value
Type Description
Output<System.String>

Methods

View Source

Get(String, Input<String>, SecureCredentialState, CustomResourceOptions)

Get an existing SecureCredential resource's state with the given name, ID, and optional extra properties used to qualify the lookup.

Declaration
public static SecureCredential Get(string name, Input<string> id, SecureCredentialState state = null, CustomResourceOptions options = null)
Parameters
Type Name Description
System.String name

The unique name of the resulting resource.

Input<System.String> id

The unique provider ID of the resource to lookup.

SecureCredentialState state

Any extra arguments used during the lookup.

CustomResourceOptions options

A bag of options that control this resource's behavior

Returns
Type Description
SecureCredential
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.