OptionalcontainerOptionalexternalOptionalobjectOptionalpodsOptionalresourcetype is the type of metric source. It should be one of "ContainerResource", "External", "Object", "Pods" or "Resource", each mapping to a matching field in the object.
Static ReadonlyattributeStatic ReadonlydiscriminatorStatic Readonlymapping
MetricSpec specifies how to scale based on a single metric (only
typeand one other matching field should be set at once).