Beispiel #1
0
        private HorizontalPodAutoscalerSpec(
            int maxReplicas,

            ImmutableArray <Pulumi.Kubernetes.Types.Outputs.Autoscaling.V2Beta1.MetricSpec> metrics,

            int minReplicas,

            Pulumi.Kubernetes.Types.Outputs.Autoscaling.V2Beta1.CrossVersionObjectReference scaleTargetRef)
        {
            MaxReplicas    = maxReplicas;
            Metrics        = metrics;
            MinReplicas    = minReplicas;
            ScaleTargetRef = scaleTargetRef;
        }
        private ObjectMetricStatus(
            string averageValue,

            string currentValue,

            string metricName,

            Pulumi.Kubernetes.Types.Outputs.Meta.V1.LabelSelector selector,

            Pulumi.Kubernetes.Types.Outputs.Autoscaling.V2Beta1.CrossVersionObjectReference target)
        {
            AverageValue = averageValue;
            CurrentValue = currentValue;
            MetricName   = metricName;
            Selector     = selector;
            Target       = target;
        }