Show / Hide Table of Contents

Class CustomResource

CustomResource is a resource whose create, read, update, and delete(CRUD) operations are managed by performing external operations on some physical entity. The engine understands how to diff and perform partial updates of them, and these CRUD operations are implemented in a dynamically loaded plugin for the defining package.

Inheritance
System.Object
Resource
CustomResource
ProviderResource
StackReference
Inherited Members
Resource.Urn
Resource.GetResourceType()
Resource.GetResourceName()
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
Assembly: Pulumi.dll
Syntax
public class CustomResource : Resource

Constructors

View Source

CustomResource(String, String, ResourceArgs, CustomResourceOptions)

Creates and registers a new managed resource. t is the fully qualified type token and name is the "name" part to use in creating a stable and globally unique URN for the object. dependsOn is an optional list of other resources that this resource depends on, controlling the order in which we perform resource operations.Creating an instance does not necessarily perform a create on the physical entity which it represents, and instead, this is dependent upon the diffing of the new goal state compared to the current known resource state.

Declaration
public CustomResource(string type, string name, ResourceArgs args, CustomResourceOptions options = null)
Parameters
Type Name Description
System.String type
System.String name
ResourceArgs args
CustomResourceOptions options

Properties

View Source

Id

Id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (unknown) during planning phases.

Declaration
[Output("id")]
public Output<string> Id { get; }
Property Value
Type Description
Output<System.String>
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.