MetadataResponse is the response from GET /pricing/metadata.
| 132 | |
| 133 | // MetadataResponse is the response from GET /pricing/metadata. |
| 134 | type MetadataResponse struct { |
| 135 | ProductRegions map[string][]string `json:"product_regions"` |
| 136 | ProductAttrs map[string][]string `json:"product_attrs"` |
| 137 | AttributeValues map[string]map[string][]string `json:"attribute_values"` |
| 138 | ProductGroups map[string]uint64 `json:"product_groups"` |
| 139 | PulumiResources map[string]PulumiResourceDef `json:"pulumi_resources"` |
| 140 | FreeTypes []string `json:"free_types"` |
| 141 | } |
| 142 | |
| 143 | // PulumiResourceDef describes how to decode a Pulumi resource type for pricing. |
| 144 | type PulumiResourceDef struct { |
nothing calls this directly
no outgoing calls
no test coverage detected