Class Accessor
Accessor
Implements
Inherited Members
Namespace: Pulumi.Esc.Sdk.Model
Assembly: Pulumi.Esc.Sdk.dll
Syntax
public class Accessor : IValidatableObject
Constructors
View SourceAccessor(string, Range, Option<int?>)
Initializes a new instance of the Accessor class.
Declaration
[JsonConstructor]
public Accessor(string key, Range range, Option<int?> index = default)
Parameters
| Type | Name | Description |
|---|---|---|
| string | key | key |
| Range | range | range |
| Option<int?> | index | index |
Properties
View SourceIndex
Gets or Sets Index
Declaration
[JsonPropertyName("index")]
public int? Index { get; set; }
Property Value
| Type | Description |
|---|---|
| int? |
Key
Gets or Sets Key
Declaration
[JsonPropertyName("key")]
public string Key { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Range
Gets or Sets Range
Declaration
[JsonPropertyName("range")]
public Range Range { get; set; }
Property Value
| Type | Description |
|---|---|
| Range |
Methods
View SourceToString()
Returns the string presentation of the object
Declaration
public override string ToString()
Returns
| Type | Description |
|---|---|
| string | String presentation of the object |