Class RandomShuffleState
Inherited Members
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.Random
Assembly: Pulumi.Random.dll
Syntax
public sealed class RandomShuffleState : ResourceArgs
Constructors
View SourceRandomShuffleState()
Declaration
public RandomShuffleState()
Properties
View SourceInputs
The list of strings to shuffle.
Declaration
public InputList<string> Inputs { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<System.String> |
Keepers
Arbitrary map of values that, when changed, will trigger a new id to be generated. See the main provider documentation for more information.
Declaration
public InputMap<object> Keepers { get; set; }
Property Value
| Type | Description |
|---|---|
| InputMap<System.Object> |
ResultCount
The number of results to return. Defaults to
the number of items in the input list. If fewer items are requested,
some elements will be excluded from the result. If more items are requested,
items will be repeated in the result but not more frequently than the number
of items in the input list.
Declaration
public Input<int> ResultCount { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Int32> |
Results
Random permutation of the list of strings given in input.
Declaration
public InputList<string> Results { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<System.String> |
Seed
Declaration
public Input<string> Seed { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |