applicationautoscaling_services_k8s_aws_v1alpha1

package
v0.0.0-...-6209148 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 27, 2024 License: 0BSD Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewApplicationautoscalingServicesK8SAwsScalableTargetV1Alpha1Manifest

func NewApplicationautoscalingServicesK8SAwsScalableTargetV1Alpha1Manifest() datasource.DataSource

func NewApplicationautoscalingServicesK8SAwsScalingPolicyV1Alpha1Manifest

func NewApplicationautoscalingServicesK8SAwsScalingPolicyV1Alpha1Manifest() datasource.DataSource

Types

type ApplicationautoscalingServicesK8SAwsScalableTargetV1Alpha1Manifest

type ApplicationautoscalingServicesK8SAwsScalableTargetV1Alpha1Manifest struct{}

func (*ApplicationautoscalingServicesK8SAwsScalableTargetV1Alpha1Manifest) Metadata

func (*ApplicationautoscalingServicesK8SAwsScalableTargetV1Alpha1Manifest) Read

func (*ApplicationautoscalingServicesK8SAwsScalableTargetV1Alpha1Manifest) Schema

type ApplicationautoscalingServicesK8SAwsScalableTargetV1Alpha1ManifestData

type ApplicationautoscalingServicesK8SAwsScalableTargetV1Alpha1ManifestData struct {
	YAML types.String `tfsdk:"yaml" json:"-"`

	ApiVersion *string `tfsdk:"-" json:"apiVersion"`
	Kind       *string `tfsdk:"-" json:"kind"`

	Metadata struct {
		Name        string            `tfsdk:"name" json:"name"`
		Namespace   string            `tfsdk:"namespace" json:"namespace"`
		Labels      map[string]string `tfsdk:"labels" json:"labels,omitempty"`
		Annotations map[string]string `tfsdk:"annotations" json:"annotations,omitempty"`
	} `tfsdk:"metadata" json:"metadata"`

	Spec *struct {
		MaxCapacity       *int64  `tfsdk:"max_capacity" json:"maxCapacity,omitempty"`
		MinCapacity       *int64  `tfsdk:"min_capacity" json:"minCapacity,omitempty"`
		ResourceID        *string `tfsdk:"resource_id" json:"resourceID,omitempty"`
		RoleARN           *string `tfsdk:"role_arn" json:"roleARN,omitempty"`
		ScalableDimension *string `tfsdk:"scalable_dimension" json:"scalableDimension,omitempty"`
		ServiceNamespace  *string `tfsdk:"service_namespace" json:"serviceNamespace,omitempty"`
		SuspendedState    *struct {
			DynamicScalingInSuspended  *bool `tfsdk:"dynamic_scaling_in_suspended" json:"dynamicScalingInSuspended,omitempty"`
			DynamicScalingOutSuspended *bool `tfsdk:"dynamic_scaling_out_suspended" json:"dynamicScalingOutSuspended,omitempty"`
			ScheduledScalingSuspended  *bool `tfsdk:"scheduled_scaling_suspended" json:"scheduledScalingSuspended,omitempty"`
		} `tfsdk:"suspended_state" json:"suspendedState,omitempty"`
	} `tfsdk:"spec" json:"spec,omitempty"`
}

type ApplicationautoscalingServicesK8SAwsScalingPolicyV1Alpha1Manifest

type ApplicationautoscalingServicesK8SAwsScalingPolicyV1Alpha1Manifest struct{}

func (*ApplicationautoscalingServicesK8SAwsScalingPolicyV1Alpha1Manifest) Metadata

func (*ApplicationautoscalingServicesK8SAwsScalingPolicyV1Alpha1Manifest) Read

func (*ApplicationautoscalingServicesK8SAwsScalingPolicyV1Alpha1Manifest) Schema

type ApplicationautoscalingServicesK8SAwsScalingPolicyV1Alpha1ManifestData

type ApplicationautoscalingServicesK8SAwsScalingPolicyV1Alpha1ManifestData struct {
	YAML types.String `tfsdk:"yaml" json:"-"`

	ApiVersion *string `tfsdk:"-" json:"apiVersion"`
	Kind       *string `tfsdk:"-" json:"kind"`

	Metadata struct {
		Name        string            `tfsdk:"name" json:"name"`
		Namespace   string            `tfsdk:"namespace" json:"namespace"`
		Labels      map[string]string `tfsdk:"labels" json:"labels,omitempty"`
		Annotations map[string]string `tfsdk:"annotations" json:"annotations,omitempty"`
	} `tfsdk:"metadata" json:"metadata"`

	Spec *struct {
		PolicyName                     *string `tfsdk:"policy_name" json:"policyName,omitempty"`
		PolicyType                     *string `tfsdk:"policy_type" json:"policyType,omitempty"`
		ResourceID                     *string `tfsdk:"resource_id" json:"resourceID,omitempty"`
		ScalableDimension              *string `tfsdk:"scalable_dimension" json:"scalableDimension,omitempty"`
		ServiceNamespace               *string `tfsdk:"service_namespace" json:"serviceNamespace,omitempty"`
		StepScalingPolicyConfiguration *struct {
			AdjustmentType         *string `tfsdk:"adjustment_type" json:"adjustmentType,omitempty"`
			Cooldown               *int64  `tfsdk:"cooldown" json:"cooldown,omitempty"`
			MetricAggregationType  *string `tfsdk:"metric_aggregation_type" json:"metricAggregationType,omitempty"`
			MinAdjustmentMagnitude *int64  `tfsdk:"min_adjustment_magnitude" json:"minAdjustmentMagnitude,omitempty"`
			StepAdjustments        *[]struct {
				MetricIntervalLowerBound *float64 `tfsdk:"metric_interval_lower_bound" json:"metricIntervalLowerBound,omitempty"`
				MetricIntervalUpperBound *float64 `tfsdk:"metric_interval_upper_bound" json:"metricIntervalUpperBound,omitempty"`
				ScalingAdjustment        *int64   `tfsdk:"scaling_adjustment" json:"scalingAdjustment,omitempty"`
			} `tfsdk:"step_adjustments" json:"stepAdjustments,omitempty"`
		} `tfsdk:"step_scaling_policy_configuration" json:"stepScalingPolicyConfiguration,omitempty"`
		TargetTrackingScalingPolicyConfiguration *struct {
			CustomizedMetricSpecification *struct {
				Dimensions *[]struct {
					Name  *string `tfsdk:"name" json:"name,omitempty"`
					Value *string `tfsdk:"value" json:"value,omitempty"`
				} `tfsdk:"dimensions" json:"dimensions,omitempty"`
				MetricName *string `tfsdk:"metric_name" json:"metricName,omitempty"`
				Namespace  *string `tfsdk:"namespace" json:"namespace,omitempty"`
				Statistic  *string `tfsdk:"statistic" json:"statistic,omitempty"`
				Unit       *string `tfsdk:"unit" json:"unit,omitempty"`
			} `tfsdk:"customized_metric_specification" json:"customizedMetricSpecification,omitempty"`
			DisableScaleIn                *bool `tfsdk:"disable_scale_in" json:"disableScaleIn,omitempty"`
			PredefinedMetricSpecification *struct {
				PredefinedMetricType *string `tfsdk:"predefined_metric_type" json:"predefinedMetricType,omitempty"`
				ResourceLabel        *string `tfsdk:"resource_label" json:"resourceLabel,omitempty"`
			} `tfsdk:"predefined_metric_specification" json:"predefinedMetricSpecification,omitempty"`
			ScaleInCooldown  *int64   `tfsdk:"scale_in_cooldown" json:"scaleInCooldown,omitempty"`
			ScaleOutCooldown *int64   `tfsdk:"scale_out_cooldown" json:"scaleOutCooldown,omitempty"`
			TargetValue      *float64 `tfsdk:"target_value" json:"targetValue,omitempty"`
		} `tfsdk:"target_tracking_scaling_policy_configuration" json:"targetTrackingScalingPolicyConfiguration,omitempty"`
	} `tfsdk:"spec" json:"spec,omitempty"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL