Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Type ¶ added in v0.3.0
type Type struct { AzureId armid.ResourceId TFType string }
func QueryType ¶
QueryType queries a given ARM resource ID and returns a list of potential matched Terraform resource type. It firstly statically search the known resource mappings. If there are multiple matches and the "allowAPI" is true, it will further call Azure API to retrieve additionl information about this resource and return the exact match. Additionally, if allowAPI is true and this resource maps to multiple TF resources, then multiple Types will be returned.
Click to show internal directories.
Click to hide internal directories.