BicepDictionary<T> Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents a dictionary with string keys and bicep values.
public class BicepDictionary<T> : Azure.Provisioning.BicepValue, System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<string,Azure.Provisioning.BicepValue<T>>>, System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<string,Azure.Provisioning.IBicepValue>>, System.Collections.Generic.IDictionary<string,Azure.Provisioning.BicepValue<T>>, System.Collections.Generic.IDictionary<string,Azure.Provisioning.IBicepValue>, System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<string,Azure.Provisioning.BicepValue<T>>>, System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<string,Azure.Provisioning.IBicepValue>>, System.Collections.Generic.IReadOnlyCollection<System.Collections.Generic.KeyValuePair<string,Azure.Provisioning.BicepValue<T>>>, System.Collections.Generic.IReadOnlyDictionary<string,Azure.Provisioning.BicepValue<T>>
public class BicepDictionary<T> : Azure.Provisioning.BicepValue, System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<string,Azure.Provisioning.BicepValue<T>>>, System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<string,Azure.Provisioning.BicepValue>>, System.Collections.Generic.IDictionary<string,Azure.Provisioning.BicepValue<T>>, System.Collections.Generic.IDictionary<string,Azure.Provisioning.BicepValue>, System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<string,Azure.Provisioning.BicepValue<T>>>, System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<string,Azure.Provisioning.BicepValue>>
type BicepDictionary<'T> = class
inherit BicepValue
interface IDictionary<string, BicepValue<'T>>
interface ICollection<KeyValuePair<string, BicepValue<'T>>>
interface seq<KeyValuePair<string, BicepValue<'T>>>
interface IEnumerable
interface IDictionary<string, IBicepValue>
interface ICollection<KeyValuePair<string, IBicepValue>>
interface seq<KeyValuePair<string, IBicepValue>>
interface IReadOnlyDictionary<string, BicepValue<'T>>
interface IReadOnlyCollection<KeyValuePair<string, BicepValue<'T>>>
type BicepDictionary<'T> = class
inherit BicepValue
interface IDictionary<string, BicepValue<'T>>
interface ICollection<KeyValuePair<string, BicepValue<'T>>>
interface seq<KeyValuePair<string, BicepValue<'T>>>
interface IEnumerable
interface IDictionary<string, BicepValue>
interface ICollection<KeyValuePair<string, BicepValue>>
interface seq<KeyValuePair<string, BicepValue>>
Public Class BicepDictionary(Of T)
Inherits BicepValue
Implements ICollection(Of KeyValuePair(Of String, BicepValue(Of T))), ICollection(Of KeyValuePair(Of String, IBicepValue)), IDictionary(Of String, BicepValue(Of T)), IDictionary(Of String, IBicepValue), IEnumerable(Of KeyValuePair(Of String, BicepValue(Of T))), IEnumerable(Of KeyValuePair(Of String, IBicepValue)), IReadOnlyCollection(Of KeyValuePair(Of String, BicepValue(Of T))), IReadOnlyDictionary(Of String, BicepValue(Of T))
Public Class BicepDictionary(Of T)
Inherits BicepValue
Implements ICollection(Of KeyValuePair(Of String, BicepValue(Of T))), ICollection(Of KeyValuePair(Of String, BicepValue)), IDictionary(Of String, BicepValue(Of T)), IDictionary(Of String, BicepValue), IEnumerable(Of KeyValuePair(Of String, BicepValue(Of T))), IEnumerable(Of KeyValuePair(Of String, BicepValue))
Type Parameters
- T
The type of element represented by the values.
- Inheritance
- Implements
-
ICollection<KeyValuePair<String,BicepValue<T>>> ICollection<KeyValuePair<String,IBicepValue>> ICollection<KeyValuePair<TKey,TValue>> IDictionary<String,BicepValue<T>> IDictionary<String,IBicepValue> IEnumerable<KeyValuePair<String,BicepValue<T>>> IEnumerable<KeyValuePair<String,IBicepValue>> IEnumerable<KeyValuePair<TKey,TValue>> IEnumerable<T> IReadOnlyCollection<KeyValuePair<String,BicepValue<T>>> IReadOnlyCollection<KeyValuePair<TKey,TValue>> IReadOnlyDictionary<String,BicepValue<T>> IEnumerable ICollection<KeyValuePair<String,BicepValue>> IDictionary<String,BicepValue> IEnumerable<KeyValuePair<String,BicepValue>>
Constructors
BicepDictionary<T>() |
Creates a new BicepDictionary. |
BicepDictionary<T>(IDictionary<String,BicepValue<T>>) |
Creates a new BicepDictionary with literal values. |
Properties
Count | |
Expression | (Inherited from BicepValue) |
IsEmpty | |
IsReadOnly | |
Item[String] |
Gets or sets a value in a BicepDictionary. |
Keys | |
Kind |
Gets the kind of this value (a literal value, an expression, or it's unset). (Inherited from BicepValue) |
Values |
Methods
Add(KeyValuePair<String,BicepValue<T>>) | |
Add(String, BicepValue<T>) | |
Clear() | |
Compile() |
Compile this value to a Bicep expression. (Inherited from BicepValue) |
Contains(KeyValuePair<String,BicepValue<T>>) | |
ContainsKey(String) | |
CopyTo(KeyValuePair<String,BicepValue<T>>[], Int32) | |
GetEnumerator() | |
Remove(KeyValuePair<String,BicepValue<T>>) | |
Remove(String) | |
ToString() |
Returns a string that represents the current object. (Inherited from BicepValue) |
TryGetValue(String, BicepValue<T>) |
Operators
Implicit(ProvisioningVariable to BicepDictionary<T>) |
Explicit Interface Implementations
Extension Methods
GetValueOrAdd<TKey,TValue>(IDictionary<TKey,TValue>, TKey, Func<TKey,TValue>) |
Gets or adds the value associated with specified key. |
GetValueOrDefault<TKey,TValue>(IDictionary<TKey,TValue>, TKey, TValue) |
Gets the value associated with specified key. |
AsFormattedString<TKey,TValue>(IDictionary<TKey,TValue>) |