RegisterResourceResponse

pulumirpc.resource.RegisterResourceResponse
See theRegisterResourceResponse companion object
final case class RegisterResourceResponse(urn: String, id: String, `object`: Option[Struct], stable: Boolean, stables: Seq[String], propertyDependencies: Map[String, PropertyDependencies], result: Result, unknownFields: UnknownFieldSet) extends GeneratedMessage, Updatable[RegisterResourceResponse]

RegisterResourceResponse is returned by the engine after a resource has finished being initialized. It includes the auto-assigned URN, the provider-assigned ID, and any other properties initialized by the engine.

Value parameters

id

the unique ID assigned by the provider.

object

the resulting object properties, including provider defaults.

propertyDependencies

a map from property keys to the dependencies of the property.

result

the reason, whether the resource registration was successful, failed, or skipped.

stable

if true, the object's state is stable and may be trusted not to change.

stables

an optional list of guaranteed-stable properties.

urn

the URN assigned by the engine.

Attributes

Companion
object
Graph
Supertypes
trait Updatable[RegisterResourceResponse]
trait GeneratedMessage
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def getField(`__field`: FieldDescriptor): PValue
def getFieldByNumber(`__fieldNumber`: Int): Any
def getObject: Struct
override def serializedSize: Int

Attributes

Definition Classes
GeneratedMessage

Returns a human-readable ASCII format representation of this message.

Returns a human-readable ASCII format representation of this message.

The original message can be decoded from this format by using fromAscii on the companion object.

Attributes

Returns

human-readable representation of this message.

def withObject(`__v`: Struct): RegisterResourceResponse
def withUnknownFields(`__v`: UnknownFieldSet): RegisterResourceResponse
def writeTo(`_output__`: CodedOutputStream): Unit

Serializes the message into the given coded output stream

Serializes the message into the given coded output stream

Attributes

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product
final def toByteArray: Array[Byte]

Serializes the message and returns a byte array containing its raw bytes

Serializes the message and returns a byte array containing its raw bytes

Attributes

Inherited from:
GeneratedMessage
final def toByteString: ByteString

Serializes the message and returns a ByteString containing its raw bytes

Serializes the message and returns a ByteString containing its raw bytes

Attributes

Inherited from:
GeneratedMessage
final def toPMessage: PMessage

Attributes

Inherited from:
GeneratedMessage

Attributes

Inherited from:
Updatable
final def writeDelimitedTo(output: OutputStream): Unit

Attributes

Inherited from:
GeneratedMessage
final def writeTo(output: OutputStream): Unit

Serializes the message into the given output stream

Serializes the message into the given output stream

Attributes

Inherited from:
GeneratedMessage