Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AutoName ¶
func AutoName(name string, options AutoNameOptions) *tfbridge.SchemaInfo
AutoName creates custom schema for a Terraform name property which is automatically populated from the resource's URN name, and tranformed based on the provided options.
func FromName ¶
func FromName(options AutoNameOptions) func(res *tfbridge.PulumiResource) (interface{}, error)
FromName automatically propagates a resource's URN onto the resulting default info.
func Provider ¶
func Provider() tfbridge.ProviderInfo
Provider returns additional overlaid schema and metadata associated with the azure package.
Types ¶
type AutoNameOptions ¶
type AutoNameOptions struct { // A separator between name and random portions of the Separator string // Maximum length of the generated name Maxlen int // Number of characters of random hex digits to add to the name Randlen int // A transform to apply to the name prior to adding random characters Transform func(string) string // Force the name to be lowercase prior to adding random characters ForceLowercase bool }
AutoNameOptions provides parameters to AutoName to control how names will be generated
Click to show internal directories.
Click to hide internal directories.