MCPcopy Create free account
hub / github.com/OverloadBlitz/cloudcent-cli / DecodedResource

Struct DecodedResource

internal/pulumi/resources/model.go:16–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

14}
15
16type DecodedResource struct {
17 Provider string
18 Region string
19 Service string
20 Name string
21 SubLabel string // non-empty when one resource produces multiple pricing queries (e.g. "Requests", "Duration")
22 RawType string // original Pulumi resource type, e.g. "aws:ec2/securityGroup:SecurityGroup"
23 Attrs map[string]string // pricing attributes used for client-side match filtering
24 QueryAttrs map[string]string // when non-nil, sent to the API instead of Attrs (use when query filters differ from match filters)
25 Props map[string]string // display properties (instance type, region, etc.)
26 InputsJSON string // formatted Pulumi input properties for debugging/inspection
27 PriceFilter string
28 NoPricing bool // true for resources that don't have pricing (e.g. security groups)
29 IsFreeType bool // true when the resource type is in the metadata free_types list
30 RegionFallback bool // true when region was not detected and us-east-1 was used as default
31 HourlyQty decimal.Decimal // quantity multiplier applied to the hourly rate (e.g. vCPU count × task count)
32 HourlyQtyLabel string // optional display label for HourlyQty (e.g. "256 × 3 tasks"); overrides numeric display
33}
34
35// PriceEntry is one pricing option for a resource.
36type PriceEntry struct {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected