Show / Hide Table of Contents

Class Resource

Resource represents a class whose CRUD operations are implemented by a provider plugin.

Inheritance
object
Resource
ComponentResource
CustomResource
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Pulumi
Assembly: Pulumi.dll
Syntax
public class Resource

Properties

View Source

Urn

Urn is the stable logical URN used to distinctly address a resource, both before and after deployments.

Declaration
[Output("urn")]
public Output<string> Urn { get; }
Property Value
Type Description
Output<string>

Methods

View Source

GetResourceName()

The name assigned to the resource at construction.

Declaration
public string GetResourceName()
Returns
Type Description
string
View Source

GetResourceType()

The type assigned to the resource at construction.

Declaration
public string GetResourceType()
Returns
Type Description
string
  • View Source
Back to top Copyright 2016-2023, Pulumi Corporation.