schema

package
v0.9.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 20, 2026 License: MPL-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAzAPIAllowedValues added in v0.5.0

func GetAzAPIAllowedValues(resourceType *types.TypeBase) []string

func GetAzAPIDef added in v0.5.0

func GetAzAPIDef(resourceType *types.TypeBase, hclNodes []*parser.HclNode, index int) []*types.TypeBase

func GetAzAPITypeName added in v0.5.0

func GetAzAPITypeName(typeBase *types.TypeBase) string

func GetMSGraphAllowedValues added in v0.5.0

func GetMSGraphAllowedValues(resourceType *types.TypeBase) []string

func GetMSGraphDef added in v0.5.0

func GetMSGraphDef(resourceType *types.TypeBase, hclNodes []*parser.HclNode, index int) []*types.TypeBase

func GetMSGraphTypeName added in v0.5.0

func GetMSGraphTypeName(typeBase *types.TypeBase) string

Types

type Modifier

type Modifier string
const (
	Optional Modifier = "Optional"
	Required Modifier = "Required"
)

type Property

type Property struct {
	Name        string
	Description string
	Modifier    Modifier
	Type        string
	Value       string
}

func AzAPIPropertyFromObjectProperty added in v0.5.0

func AzAPIPropertyFromObjectProperty(propertyName string, property types.ObjectProperty) *Property

func GetAzAPIAllowedProperties added in v0.5.0

func GetAzAPIAllowedProperties(resourceType *types.TypeBase) []Property

func GetMSGraphAllowedProperties added in v0.5.0

func GetMSGraphAllowedProperties(resourceType *types.TypeBase) []Property

func MSGraphPropertyFromObjectProperty added in v0.5.0

func MSGraphPropertyFromObjectProperty(propertyName string, property types.ObjectProperty) *Property

type PropertySet

type PropertySet struct {
	Name       string
	Properties map[string]Property
}

func GetAzAPIRequiredPropertySet added in v0.5.0

func GetAzAPIRequiredPropertySet(typeBase *types.TypeBase) []PropertySet

func GetMSGraphRequiredPropertySet added in v0.5.0

func GetMSGraphRequiredPropertySet(typeBase *types.TypeBase) []PropertySet

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL