Struct ResourceReference
Assembly: Pulumi.dll
Syntax
public readonly struct ResourceReference : IEquatable<ResourceReference>
Constructors
View Source
ResourceReference(Urn, PropertyValue?, string)
Declaration
public ResourceReference(Urn urn, PropertyValue? id, string version)
Parameters
Properties
View Source
Id
Declaration
public PropertyValue? Id { get; }
Property Value
View Source
PackageVersion
Declaration
public string PackageVersion { get; }
Property Value
View Source
URN
Declaration
Property Value
Methods
View Source
Equals(ResourceReference)
Indicates whether the current object is equal to another object of the same type.
Declaration
public bool Equals(ResourceReference other)
Parameters
Returns
| Type |
Description |
| bool |
true if the current object is equal to the other parameter; otherwise, false.
|
View Source
Equals(object?)
Indicates whether this instance and a specified object are equal.
Declaration
public override bool Equals(object? obj)
Parameters
| Type |
Name |
Description |
| object |
obj |
The object to compare with the current instance.
|
Returns
| Type |
Description |
| bool |
true if obj and this instance are the same type and represent the same value; otherwise, false.
|
Overrides
View Source
GetHashCode()
Returns the hash code for this instance.
Declaration
public override int GetHashCode()
Returns
| Type |
Description |
| int |
A 32-bit signed integer that is the hash code for this instance.
|
Overrides
Operators
View Source
operator ==(ResourceReference, ResourceReference)
Declaration
public static bool operator ==(ResourceReference left, ResourceReference right)
Parameters
Returns
View Source
operator !=(ResourceReference, ResourceReference)
Declaration
public static bool operator !=(ResourceReference left, ResourceReference right)
Parameters
Returns
Implements