Show / Hide Table of Contents

Struct ResourceReference

Implements
IEquatable<ResourceReference>
Inherited Members
ValueType.ToString()
object.Equals(object, object)
object.GetType()
object.ReferenceEquals(object, object)
Namespace: Pulumi.Experimental
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
Type Name Description
Urn urn
PropertyValue id
string version

Properties

View Source

Id

Declaration
public PropertyValue? Id { get; }
Property Value
Type Description
PropertyValue
View Source

PackageVersion

Declaration
public string PackageVersion { get; }
Property Value
Type Description
string
View Source

URN

Declaration
public Urn URN { get; }
Property Value
Type Description
Urn

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
Type Name Description
ResourceReference other

An object to compare with this object.

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
ValueType.Equals(object)
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
ValueType.GetHashCode()

Operators

View Source

operator ==(ResourceReference, ResourceReference)

Declaration
public static bool operator ==(ResourceReference left, ResourceReference right)
Parameters
Type Name Description
ResourceReference left
ResourceReference right
Returns
Type Description
bool
View Source

operator !=(ResourceReference, ResourceReference)

Declaration
public static bool operator !=(ResourceReference left, ResourceReference right)
Parameters
Type Name Description
ResourceReference left
ResourceReference right
Returns
Type Description
bool

Implements

IEquatable<T>

Version 3.114.1

  • View Source
Back to top Copyright 2016-2023, Pulumi Corporation.