Share via


ObjectMetaV1.GenerateName Property

Definition

Specifies a prefix to be used by the system for generating a unique name if the Name property is not provided.

[YamlDotNet.Serialization.YamlMember(Alias="generateName")]
public string GenerateName { get; set; }
[<YamlDotNet.Serialization.YamlMember(Alias="generateName")>]
member this.GenerateName : string with get, set
Public Property GenerateName As String

Property Value

Attributes
YamlDotNet.Serialization.YamlMemberAttribute

Remarks

When set, the system ensures uniqueness by appending a unique identifier to the value of `GenerateName`. This is commonly used in scenarios where the exact name is not critical but must not collide with existing names.

Applies to