Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParseConfiguration ¶
func ParseConfiguration()
func ValidateConfiguration ¶
func ValidateConfiguration()
Types ¶
type Specification ¶
type Specification struct {
AzureCertificatePath string `json:"azureCertificatePath" required:"false" split_words:"true"`
AzureCertificatePassword string `json:"azureCertificatePassword" required:"false" split_words:"true"`
AzureUserAssertionString string `json:"azureUserAssertionString" required:"false" split_words:"true"`
DiscoveryAttributesExcludesScaleSetInstance []string `json:"discoveryAttributesExcludesScaleSetInstance" required:"false" split_words:"true"`
DiscoveryAttributesExcludesVM []string `json:"discoveryAttributesExcludesVM" required:"false" split_words:"true"`
DiscoveryAttributesExcludesAzureFunction []string `json:"discoveryAttributesExcludesAzureFunction" required:"false" split_words:"true"`
DiscoveryAttributesExcludesNetworkSecurityGroup []string `json:"discoveryAttributesExcludesNetworkSecurityGroup" required:"false" split_words:"true"`
DiscoveryAttributesExcludesContainerApp []string `json:"discoveryAttributesExcludesContainerApp" required:"false" split_words:"true"`
EnrichScaleSetVMDataForTargetTypes []string `` /* 586-byte string literal not displayed */
DiscoveryEnableVirtualMachines bool `json:"discoveryEnableVirtualMachines" split_words:"true" required:"false" default:"true"`
DiscoveryEnableScaleInstances bool `json:"discoveryEnableScaleInstances" split_words:"true" required:"false" default:"true"`
DiscoveryEnableAzureFunctions bool `json:"discoveryEnableAzureFunctions" split_words:"true" required:"false" default:"false"`
DiscoveryEnableNetworkSecurityGroups bool `json:"discoveryEnableNetworkSecurityGroups" split_words:"true" required:"false" default:"false"`
DiscoveryEnableContainerApps bool `json:"discoveryEnableContainerApps" split_words:"true" required:"false" default:"false"`
}
Specification is the configuration specification for the extension. Configuration values can be applied through environment variables. Learn more through the documentation of the envconfig package. https://github.com/kelseyhightower/envconfig
var (
Config Specification
)
Click to show internal directories.
Click to hide internal directories.